:root {
  --brand: #E86020;
  --brand-dark: #c94f18;
  --soft: #FFF6F1;
  --ink: #171717;
  --muted: #666;
  --line: rgba(232,96,32,.14);
  --shadow: 0 24px 70px rgba(232,96,32,.14);
  --radius: 2.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter,system-ui,-apple-system,Segoe UI,sans-serif;
  color: var(--ink);
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px,calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: .8rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
}

.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
}

.navbar {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand img {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
}

.menu a:hover, .menu a[aria-current=page] {
  color: var(--brand);
}

.nav-phone {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(232,96,32,.2);
  white-space: nowrap;
}

.nav-phone:hover, .btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  color: var(--brand);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  z-index: 50;
  transition: .25s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: var(--brand-dark);
}

.whatsapp-float img {
  width: 38px;
  height: 38px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('../../assets/img/instalaciones-recepcion-amplia.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 992px) {
  .hero-media {
    position: absolute;
    inset: 0;
    background-image: url('../../assets/img/WhatsApp-Image-2024-07-09-at-14.15.05-2-2.webp');
    background-size: cover;
    background-position: 1213px !important;
    background-attachment: fixed;
  }
}

@container (min-width: 553px) {
  .hero-media {
    position: relative;
    inset: 0;
    background-image: url('../../assets/img/instalaciones-recepcion-amplia.webp');
    background-size: cover;
    background-position: initial !important;
    background-attachment: fixed;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,0.55) 43%,rgba(255,255,255,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 100vh;
  padding-top: 120px;
}

.hero-copy {
  max-width: 650px;
}

.kicker, .eyebrow {
  display: inline-flex;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero h1 {
  font-size: clamp(42px,6vw,72px);
  line-height: 1.02;
  margin: 18px 0 22px;
  font-weight: 900;
  letter-spacing: -.045em;
}

.lead {
  font-size: 20px;
  line-height: 1.75;
  color: #565656;
  max-width: 590px;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 900;
  border: 2px solid transparent;
  transition: .25s;
}

.btn img {
  width: 24px;
  height: 24px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 40px rgba(232,96,32,.25);
}

.btn-outline {
  border-color: var(--brand);
  background: #fff;
  color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
}

.btn-soft {
  background: var(--soft);
  color: var(--brand);
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 28px;
  max-width: 610px;
}

.hero-badges span {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  font-weight: 800;
}

.scroll-link {
  display: inline-flex;
  margin-top: 30px;
  color: var(--brand);
  font-weight: 900;
}

.summary-card {
  position: relative;
  z-index: 5;
  margin-top: -54px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  overflow: hidden;
}

.summary-card div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.summary-card div:last-child {
  border-right: 0;
}

.summary-card strong {
  display: block;
  color: var(--brand);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.summary-card span {
  display: block;
  margin-top: 7px;
  font-weight: 800;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--soft);
}

.section-white {
  background: #fff;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.section-head h2 {
  font-size: clamp(34px,4.6vw,56px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 14px 0 18px;
  font-weight: 900;
}

.section-head p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2,1fr);
}

.grid-3 {
  grid-template-columns: repeat(3,1fr);
}

.grid-4 {
  grid-template-columns: repeat(4,1fr);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}

.service-card {
  overflow: hidden;
  border-radius: 2rem;
  background: var(--soft);
  box-shadow: 0 18px 45px rgba(232,96,32,.12);
  transition: .25s;
}

.service-card:nth-child(1), .service-card:nth-child(4) {
  transform: translateY(30px);
}

.service-card:hover, .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(232,96,32,.2);
}

.service-card:nth-child(1):hover, .service-card:nth-child(4):hover {
  transform: translateY(22px);
}

.service-card .media {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.service-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s;
}

.service-card:hover img {
  transform: scale(1.06);
}

.num {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

.service-card .body {
  padding: 24px;
}

.service-card h3, .card h3 {
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 900;
}

.service-card p, .card p {
  color: #666;
  line-height: 1.65;
}

.link-arrow {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 900;
}

.cta-band {
  margin-top: 88px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  border-radius: 2rem;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 24px 70px rgba(232,96,32,.25);
}

.cta-band div {
  padding: 42px;
}

.cta-band .right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
}

.slider-card {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background: var(--soft);
  padding: 12px;
  box-shadow: var(--shadow);
}

.slider-window {
  position: relative;
  height: 100%;
  border-radius: 2rem;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s,transform 1s;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.95);
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
}

.slide-caption small {
  color: var(--brand);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.slide-caption strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.dots button {
  border: 0;
  background: rgba(0,0,0,.18);
  height: 12px;
  width: 12px;
  border-radius: 999px;
  cursor: pointer;
}

.dots button.active {
  background: var(--brand);
  width: 32px;
}

.values {
  display: grid;
  gap: 18px;
}

.value {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2rem;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(232,96,32,.1);
  transition: .25s;
}

.value:hover {
  background: var(--soft);
  transform: translateY(-4px);
}

.value span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.value h3 {
  font-size: 24px;
  margin: 16px 0 8px;
}

.value p {
  color: #666;
  line-height: 1.7;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 30px;
}

.facility-card {
  overflow: hidden;
  border-radius: 2.2rem;
  background: #fff;
  box-shadow: 0 22px 60px rgba(232,96,32,.13);
  transition: .25s;
}

.facility-card:hover {
  transform: translateY(-6px);
}

.facility-card .slider-window {
  height: 224px;
  border-radius: 0;
}

.facility-card-body {
  display: flex;
  gap: 20px;
  padding: 28px;
}

.icon-box {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--brand);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.feature-box {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  overflow: hidden;
  border-radius: 2.5rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-media {
  position: relative;
  min-height: 560px;
}

.feature-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-body {
  background: var(--soft);
  padding: 55px;
  display: flex;
  align-items: center;
}

.mini-img {
  position: absolute;
  right: -24px;
  top: 42px;
  width: 190px;
  border: 5px solid #fff;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(0,0,0,.2);
  overflow: hidden;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 36px;
}

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  font-weight: 900;
  color: var(--brand);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

.process-card {
  display: flex;
  gap: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(232,96,32,.08);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.review {
  min-height: 370px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(232,96,32,.1);
}

.review:nth-child(2) {
  transform: translateY(-22px);
}

.stars {
  color: var(--brand);
  letter-spacing: .12em;
  font-size: 22px;
}

.blog-home-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
}

.blog-featured {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.blog-featured .media {
  height: 440px;
  position: relative;
}

.blog-featured img, .post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s;
}

.blog-featured:hover img, .post-card:hover img {
  transform: scale(1.04);
}

.blog-featured .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(0,0,0,.7),transparent);
}

.blog-featured .txt {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: #fff;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.blog-side {
  display: grid;
  gap: 24px;
}

.post-card {
  overflow: hidden;
  border-radius: 2rem;
  background: var(--soft);
  box-shadow: 0 18px 45px rgba(232,96,32,.1);
  transition: .25s;
}

.post-card:hover {
  transform: translateY(-5px);
}

.post-card.horizontal {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}

.post-card .media {
  height: 220px;
  overflow: hidden;
}

.post-card.horizontal .media {
  height: 100%;
}

.post-body {
  padding: 24px;
}

.post-body h3 {
  font-size: 22px;
  margin: 10px 0;
}

.location-card {
  overflow: hidden;
  border-radius: 2.5rem;
  box-shadow: var(--shadow);
}

.location-head {
  background: var(--soft);
  text-align: center;
  padding: 32px;
}

.location-card iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-item {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(232,96,32,.08);
}

.schedule {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(232,96,32,.08);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.schedule-row:last-child {
  border: 0;
}

.contact-photo {
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.site-footer {
  background: var(--brand);
  color: #fff;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.footer-logo {
  filter: brightness(0) invert(1);
  width: 219px;
}

.site-footer p {
  color: rgba(255,255,255,.9);
  line-height: 1.8;
}

.footer-contact {
  text-align: right;
}

.footer-contact h3 {
  font-size: 32px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  font-weight: 900;
}

.footer-cta {
  margin-top: 40px;
  border-radius: 2rem;
  background: rgba(255,255,255,.12);
  padding: 30px;
  text-align: center;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.25);
  text-align: center;
}

.footer-bottom nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  color: rgba(255,255,255,.9);
  font-size: 14px;
}

.page-hero {
  padding: 170px 0 80px;
  background: var(--soft);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 40px;
  width: 360px;
  height: 360px;
  background: var(--brand);
  opacity: .08;
  border-radius: 50%;
  filter: blur(30px);
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(38px,5vw,64px);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0;
  font-weight: 900;
  max-width: 920px;
}

.page-hero p {
  font-size: 20px;
  line-height: 1.7;
  color: #666;
  max-width: 820px;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.tile {
  overflow: hidden;
  border-radius: 2rem;
  background: var(--soft);
  box-shadow: 0 18px 45px rgba(232,96,32,.1);
  transition: .25s;
}

.tile:hover {
  transform: translateY(-5px);
}

.tile .media {
  height: 240px;
  overflow: hidden;
}

.tile img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.tile .body {
  padding: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: start;
}

.article-card, .sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 18px 45px rgba(232,96,32,.08);
  padding: 30px;
}

.article-main-img {
  border-radius: 1.6rem;
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 24px;
}

.article-card h2 {
  font-size: 30px;
  margin-top: 30px;
}

.article-card p, .article-card li {
  line-height: 1.85;
  color: #555;
}

.article-card ul {
  padding-left: 22px;
}

.sidebar-card {
  position: sticky;
  top: 120px;
}

.sidebar-card h3 {
  margin-top: 0;
}

.side-list {
  display: grid;
  gap: 12px;
}

.side-list a {
  padding: 14px;
  border-radius: 16px;
  background: var(--soft);
  font-weight: 800;
  color: var(--brand);
}

.faq-section {
  background: var(--soft);
  padding: 80px 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(232,96,32,.06);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: #222;
}

.faq-list p {
  color: #666;
  line-height: 1.7;
}

.team-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  overflow: hidden;
  border-radius: 2.5rem;
  background: var(--soft);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.team-card:nth-child(even) .team-media {
  order: 2;
}

.team-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.team-body {
  display: flex;
  align-items: center;
  padding: 48px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  color: var(--brand);
  margin-top: 38px;
}

.ai-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(232,96,32,.08);
}

.hero .mobile-hero-img {
  display: none;
}

@media (max-width:980px) {
  .menu {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width:980px) {
  .menu.open {
    display: flex;
  }
}

@media (max-width:980px) {
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width:980px) {
  .nav-phone {
    font-size: 13px;
    padding: 10px 12px;
  }
}

@media (max-width:980px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width:980px) {
  .hero::after {
    background-image: url("../../assets/img/WhatsApp%20Image%202026-07-08%20at%2023.08.47.jpeg");
    background: linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,0.75) 75%,rgba(255,255,255,0.08) 100%);
    opacity: 0.7;
  }
}

@media (max-width:980px) {
  .summary-card {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:980px) {
  .grid-2, .grid-3, .grid-4, .service-cards, .why-grid, .facility-grid, .feature-box, .process-grid, .reviews, .blog-home-grid, .contact-grid, .footer-grid, .treatments-grid, .article-layout, .team-card, .case-grid, .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width:980px) {
  .service-card:nth-child(1), .service-card:nth-child(4), .review:nth-child(2) {
    transform: none;
  }
}

@media (max-width:980px) {
  .feature-media {
    min-height: 420px;
  }
}

@media (max-width:980px) {
  .footer-contact {
    text-align: left;
  }
}

@media (max-width:980px) {
  .sidebar-card {
    position: static;
  }
}

@media (max-width:980px) {
  .post-card.horizontal {
    grid-template-columns: 1fr;
  }
}

@media (max-width:980px) {
  .post-card.horizontal .media {
    height: 240px;
  }
}

@media (max-width:980px) {
  .mini-img {
    display: none;
  }
}

@media (max-width:980px) {
  .hero-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width:980px) {
  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width:980px) {
  .lead {
    font-size: 18px;
  }
}

@media (max-width:980px) {
  .section {
    padding: 70px 0;
  }
}

@media (max-width:980px) {
  .page-hero {
    padding-top: 150px;
  }
}

@media (max-width:980px) {
  .slider-window {
    height: 420px;
  }
}

@media (max-width:980px) {
  .facility-card .slider-window {
    height: 170px;
  }
}

@media (max-width:980px) {
  .team-card:nth-child(even) .team-media {
    order: 0;
  }
}

@media (max-width:620px) {
  .container {
    width: min(100% - 22px,1180px);
  }
}

@media (max-width:620px) {
  .topbar {
    font-size: 11px;
  }
}

@media (max-width:620px) {
  .brand img {
    height: 46px;
  }
}

@media (max-width:620px) {
  .nav-inner {
    gap: 8px;
  }
}

@media (max-width:620px) {
  .nav-phone {
    display: none;
  }
}

@media (max-width:620px) {
  .hero-media {
    background-attachment: scroll;
    background-position: 60% center;
  }
}

@media (max-width:620px) {
  .hero-copy {
    padding-top: 50px;
  }
}

@media (max-width:620px) {
  .button-row {
    flex-direction: column;
  }
}

@media (max-width:620px) {
  .btn {
    width: 100%;
  }
}

@media (max-width:620px) {
  .summary-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width:620px) {
  .summary-card div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width:620px) {
  .summary-card div:last-child {
    border-bottom: 0;
  }
}

@media (max-width:620px) {
  .section-head h2 {
    font-size: 34px;
  }
}

@media (max-width:620px) {
  .service-card .media, .tile .media {
    height: 230px;
  }
}

@media (max-width:620px) {
  .slider-window {
    height: 330px;
  }
}

@media (max-width:620px) {
  .slide-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px;
  }
}

@media (max-width:620px) {
  .slide-caption strong {
    font-size: 20px;
  }
}

@media (max-width:620px) {
  .feature-body {
    padding: 28px;
  }
}

@media (max-width:620px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:620px) {
  .contact-item {
    padding: 20px;
  }
}

@media (max-width:620px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
  }
}

@media (max-width:620px) {
  .whatsapp-float img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width:620px) {
  .team-body {
    padding: 28px;
  }
}

@media (max-width:620px) {
  .team-media img {
    min-height: 300px;
  }
}

/* === Mejoras avanzadas SEO/UI: blog, equipo y tratamientos === */

.treatment-pro-hero .treatment-hero-grid, .blog-hero-pro-grid, .team-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.treatment-hero-card, .blog-hero-feature, .team-hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 2.4rem;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.treatment-hero-card img, .team-hero-photo > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.treatment-hero-card div, .floating-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border-radius: 1.5rem;
  background: rgba(255,255,255,.94);
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.treatment-hero-card strong, .floating-note strong {
  display: block;
  color: var(--brand);
  font-size: 1.15rem;
}

.treatment-hero-card span, .floating-note span {
  display: block;
  margin-top: 5px;
  color: #555;
  font-weight: 700;
}

.treatment-filter-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: -20px 0 38px;
}

.treatment-filter-row a, .blog-topic-pills a, .cluster-tags a {
  display: inline-flex;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-weight: 900;
  padding: 12px 16px;
  box-shadow: 0 12px 28px rgba(232,96,32,.06);
}

.treatments-pro-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.treatment-pro-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(232,96,32,.1);
  transition: .25s;
}

.treatment-pro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(232,96,32,.16);
}

.treatment-pro-card .media {
  height: 230px;
  display: block;
  overflow: hidden;
}

.treatment-pro-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.treatment-pro-card:hover img {
  transform: scale(1.06);
}

.treatment-pro-card .body {
  padding: 24px;
}

.treatment-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 16px;
}

.treatment-pro-card h2 {
  font-size: 1.35rem;
  margin: 0 0 10px;
  font-weight: 900;
}

.treatment-pro-card p {
  color: #666;
  line-height: 1.7;
}

.treatment-seo-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2.4rem;
  padding: 42px;
  box-shadow: var(--shadow);
}

.seo-keyword-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-keyword-box strong {
  flex-basis: 100%;
  font-size: 1.2rem;
}

.seo-keyword-box span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  color: var(--brand);
}

.blog-pro-hero {
  background: linear-gradient(135deg,#fff7f1 0%,#fff 58%,#fff1e8 100%);
}

.blog-hero-feature {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 520px;
}

.blog-hero-feature img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.blog-hero-feature div {
  padding: 28px;
}

.blog-hero-feature h2 {
  font-size: 1.75rem;
  line-height: 1.12;
  margin: 16px 0;
}

.blog-topic-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.blog-advanced-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 34px;
  align-items: start;
}

.blog-grid-masonry {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 26px;
}

.blog-pro-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 20px 55px rgba(232,96,32,.1);
  overflow: hidden;
  transition: .25s;
}

.blog-pro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 75px rgba(232,96,32,.17);
}

.blog-pro-card.blog-big {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}

.blog-pro-card .media {
  height: 240px;
  overflow: hidden;
  display: block;
}

.blog-pro-card.blog-big .media {
  height: 100%;
}

.blog-pro-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.blog-pro-card:hover img {
  transform: scale(1.06);
}

.blog-pro-card .body {
  padding: 26px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.blog-pro-card h2 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 0 0 12px;
}

.blog-pro-card.blog-big h2 {
  font-size: 2rem;
}

.blog-pro-card p {
  color: #666;
  line-height: 1.75;
}

.blog-sidebar-pro {
  display: grid;
  gap: 22px;
}

.sidebar-card-pro {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(232,96,32,.1);
}

.sidebar-card-pro.sticky {
  position: sticky;
  top: 120px;
}

.sidebar-card-pro a:not(.btn) {
  display: block;
  margin-top: 10px;
  border-radius: 16px;
  background: var(--soft);
  padding: 13px 15px;
  color: var(--brand);
  font-weight: 900;
}

.blog-cluster {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
}

.cluster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.team-pro-hero {
  background: linear-gradient(135deg,#fff6f1,#fff);
}

.team-hero-photo > img {
  height: 520px;
}

.team-pro-grid {
  display: grid;
  gap: 34px;
}

.team-pro-card {
  display: grid;
  grid-template-columns: 390px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-pro-card:nth-child(even) {
  grid-template-columns: 1fr 390px;
}

.team-pro-card:nth-child(even) .team-pro-media {
  order: 2;
}

.team-pro-media {
  min-height: 327px !important;
  background: var(--soft);
}

.team-pro-media img {
  width: 100%;
  height: 100% !important;
}

.team-pro-body {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-pro-body h2 {
  font-size: clamp(2rem,4vw,3rem);
  line-height: 1;
  margin: 12px 0 10px;
}

.team-pro-body h3 {
  color: var(--brand);
  font-size: 1.2rem;
  margin: 0 0 20px;
}

.team-pro-body p, .team-pro-body li {
  color: #666;
  line-height: 1.75;
}

.team-pro-body ul {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.team-pro-body li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  font-weight: 800;
  color: #333;
}

.team-values-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.team-value-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.team-value-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(232,96,32,.08);
}

.team-value-grid span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.team-value-grid h3 {
  font-size: 1.35rem;
  margin: 18px 0 10px;
}

.team-value-grid p {
  color: #666;
  line-height: 1.7;
}

@media (max-width:980px) {
  .treatment-pro-hero .treatment-hero-grid, .blog-hero-pro-grid, .team-hero-grid, .treatment-seo-panel, .blog-advanced-layout, .blog-cluster, .team-values-panel, .team-pro-card, .team-pro-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
}

@media (max-width:980px) {
  .treatments-pro-grid, .blog-grid-masonry, .team-value-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:980px) {
  .blog-pro-card.blog-big {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width:980px) {
  .blog-pro-card.blog-big .media {
    height: 260px;
  }
}

@media (max-width:980px) {
  .team-pro-card:nth-child(even) .team-pro-media {
    order: 0;
  }
}

@media (max-width:980px) {
  .team-pro-body ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width:980px) {
  .sidebar-card-pro.sticky {
    position: static;
  }
}

@media (max-width:980px) {
  .cluster-tags {
    justify-content: flex-start;
  }
}

@media (max-width:640px) {
  .treatments-pro-grid, .blog-grid-masonry, .team-value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px) {
  .treatment-hero-card img, .team-hero-photo > img {
    height: 340px;
  }
}

@media (max-width:640px) {
  .team-pro-media {
    min-height: 330px;
  }
}

@media (max-width:640px) {
  .team-pro-body {
    padding: 28px;
  }
}

@media (max-width:640px) {
  .blog-hero-feature {
    min-height: auto;
  }
}

@media (max-width:640px) {
  .blog-pro-card.blog-big h2 {
    font-size: 1.45rem;
  }
}

@media (max-width:640px) {
  .treatment-seo-panel {
    padding: 26px;
  }
}

@media (max-width:640px) {
  .blog-pro-card .media {
    height: 220px;
  }
}

