/* ═══════════════════════════════════════════════════════════════════════
   CLÍNICA EPELBAUM — Design System v2.0 · NeoDent Variant
   Light + Blue Accents · WCAG 2.2 AA · Mobile-First
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Arapey:ital@1&display=swap');


/* ─────────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ───────────────────────────────────────────────────────────────────── */
:root {
  /* ── Backgrounds ── */
  --c-bg:           #F5F7FF;
  --c-bg-lav:       #DFE5F9;
  --c-bg-periw:     rgba(201,207,227,.50);
  --c-dark:         #2E4699;
  --c-darker:       #1d2e6a;
  --c-deep:         #00104C;

  /* ── Text ── */
  --c-h:            #00104C;
  --c-body:         #2E4699;
  --c-muted:        rgba(0,16,76,.45);
  --c-on-dark:      #F5F7FF;
  --c-on-dark-2:    #DFE5F9;
  --c-on-dark-m:    rgba(245,247,255,.60);

  /* ── Borders ── */
  --c-border:       rgba(0,16,76,.10);
  --c-border-card:  rgba(201,207,227,.60);
  --c-border-dark:  rgba(245,247,255,.15);

  /* ── Fonts ── */
  --ff:       'Inter Tight', system-ui, sans-serif;
  --ff-serif: 'Arapey', Georgia, serif;

  /* ── Type Scale ── */
  --fs-h1:    clamp(2.5rem, 5.5vw, 5.25rem);
  --fs-h2:    clamp(2rem, 4vw, 4rem);
  --fs-h3:    clamp(1.25rem, 2vw, 2rem);
  --fs-h4:    clamp(1.05rem, 1.2vw, 1.3rem);
  --fs-body:  1rem;
  --fs-sm:    .875rem;
  --fs-xs:    .75rem;
  --fs-badge: .78125rem;
  --fs-ghost: clamp(3.5rem, 9vw, 8rem);

  --fw-reg:   400;
  --fw-med:   500;
  --fw-semi:  600;
  --fw-bold:  700;
  --fw-xbold: 800;

  --lh-h:    .9;
  --lh-snug: 1.1;
  --lh-body: 1.3;
  --lh-rel:  1.55;

  --ls-h:     -0.03em;
  --ls-body:  -0.01em;
  --ls-badge:  0.06em;

  /* ── Components ── */
  --r-card:   16px;
  --r-pill:   40px;
  --r-btn:    8px;
  --r-full:   9999px;
  --shadow:   0 2px 20px rgba(0,16,76,.06);
  --shadow-h: 0 8px 40px rgba(0,16,76,.12);
  --shadow-btn: 0 4px 16px rgba(46,70,153,.28);

  /* ── Spacing ── */
  --sp-2xs: .25rem;
  --sp-xs:  .5rem;
  --sp-sm:  .75rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 5.5rem;
  --sp-sec: clamp(4rem, 8vw, 7rem);

  /* ── Layout ── */
  --max-w:  1360px;
  --max-sm:  960px;
  --pad-x:  clamp(1.25rem, 5vw, 3rem);
  --nav-h:  72px;

  /* ── Transitions ── */
  --ease:   cubic-bezier(.25, 1, .5, 1);
  --ease-b: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: 150ms;
  --t-norm: 300ms;
  --t-slow: 500ms;

  --z-nav: 500;
  --z-fab: 900;
  --z-bar: 850;
}


/* ─────────────────────────────────────────────────────────────────────
   2. RESET + BASE
   ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: light;
}

body {
  font-family: var(--ff);
  font-size: var(--fs-body);
  font-weight: var(--fw-reg);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--c-body);
  background: var(--c-bg);
  overflow-x: hidden;
  min-height: 100dvh;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { max-width: 64ch; text-wrap: pretty; }
p + p { margin-top: var(--sp-md); }

:focus-visible {
  outline: 2px solid var(--c-dark);
  outline-offset: 3px;
  border-radius: var(--r-btn);
}
:target { scroll-margin-top: calc(var(--nav-h) + 24px); }
::selection { background: rgba(46,70,153,.15); color: var(--c-h); }


/* ─────────────────────────────────────────────────────────────────────
   3. TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff);
  font-weight: var(--fw-bold);
  color: var(--c-h);
  line-height: var(--lh-h);
  letter-spacing: var(--ls-h);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: var(--fw-xbold); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }

/* Mixed headline: em → Arapey italic */
h1 em, h2 em, h3 em, h4 em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: var(--fw-reg);
  letter-spacing: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--c-bg-lav);
  color: var(--c-dark);
  font-size: var(--fs-badge);
  font-weight: var(--fw-med);
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border-card);
  width: fit-content;
}
.chip--dark {
  background: rgba(245,247,255,.12);
  color: var(--c-on-dark);
  border-color: var(--c-border-dark);
}
.chip--dot::before {
  content: '';
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: var(--r-full);
  flex-shrink: 0;
  opacity: .7;
}

.s-lead {
  font-size: 1.0625rem;
  color: var(--c-muted);
  line-height: var(--lh-rel);
  max-width: 46ch;
}
.s-lead--dark { color: var(--c-on-dark-m); }


/* ─────────────────────────────────────────────────────────────────────
   4. LAYOUT
   ───────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.sec { padding-block: var(--sp-sec); }

.s-hd { margin-bottom: var(--sp-3xl); }
.s-hd .chip { margin-bottom: var(--sp-md); }
.s-hd h2   { margin-bottom: var(--sp-md); }
.s-hd--center { text-align: center; }
.s-hd--center .chip, .s-hd--center .s-lead { margin-inline: auto; }


/* ─────────────────────────────────────────────────────────────────────
   5. BUTTONS
   ───────────────────────────────────────────────────────────────────── */
.btn-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--c-deep);
  color: var(--c-on-dark);
  border-radius: var(--r-btn);
  padding: .8rem 1.75rem;
  font-family: var(--ff);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-badge);
  border: none;
  box-shadow: var(--shadow-btn);
  transition: all var(--t-norm) var(--ease);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-filled:hover { background: var(--c-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,70,153,.35); color: var(--c-on-dark); }
.btn-filled:active { transform: translateY(0); }
.btn-filled--lg { padding: 1rem 2.25rem; font-size: var(--fs-body); }
.btn-filled--mid { background: var(--c-dark); }
.btn-filled--mid:hover { background: var(--c-deep); }

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: transparent;
  color: var(--c-deep);
  border-radius: var(--r-pill);
  padding: .75rem 1.75rem;
  font-family: var(--ff);
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  letter-spacing: var(--ls-badge);
  border: 1.5px solid var(--c-border);
  transition: all var(--t-norm) var(--ease);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-pill:hover { border-color: var(--c-deep); background: rgba(0,16,76,.04); color: var(--c-deep); }
.btn-pill--lg { padding: .9rem 2.25rem; font-size: var(--fs-body); }
.btn-pill--dark { color: var(--c-on-dark); border-color: rgba(245,247,255,.35); }
.btn-pill--dark:hover { border-color: var(--c-on-dark); background: rgba(245,247,255,.10); color: var(--c-on-dark); }

.btn-full { width: 100%; }


/* ─────────────────────────────────────────────────────────────────────
   6. NAVIGATION
   ───────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--t-norm) var(--ease),
              backdrop-filter var(--t-norm),
              box-shadow var(--t-norm) var(--ease);
}
.nav--scrolled {
  background: rgba(245,247,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--c-border), 0 4px 20px rgba(0,16,76,.06);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: var(--c-deep);
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}
.nav-logo em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: var(--fw-reg);
  color: var(--c-dark);
}
.nav-logo span { color: var(--c-dark); }
.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}
.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  color: var(--c-muted);
  letter-spacing: var(--ls-badge);
  padding: .375rem 0;
  position: relative;
  transition: color var(--t-fast);
  text-decoration: none;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--c-deep);
  border-radius: var(--r-full);
  transition: width var(--t-norm) var(--ease);
}
.nav__link:hover { color: var(--c-deep); }
.nav__link:hover::after { width: 100%; }

.nav__cta { margin-left: var(--sp-md); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: calc(var(--z-nav) + 20);
  background: none;
  border: none;
  padding: 0;
}
.nav__hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--c-deep);
  border-radius: var(--r-full);
  transition: transform var(--t-norm) var(--ease), opacity var(--t-fast), background var(--t-fast);
  transform-origin: center;
}
.nav__hamburger--open span {
  background: var(--c-on-dark) !important;
}
.nav__hamburger--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger--open span:nth-child(2) { opacity: 0; }
.nav__hamburger--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  z-index: calc(var(--z-nav) + 10);
  background: var(--c-deep);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xl);
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-norm) var(--ease);
}
.nav__mobile--open { display: flex; opacity: 1; pointer-events: auto; }
.nav__mobile .nav__link { font-size: var(--fs-h3); font-weight: var(--fw-semi); color: var(--c-on-dark); }
.nav__mobile .nav__link::after { display: none; }
.nav__mobile .nav__link:hover { color: var(--c-on-dark-2); }
.nav__mobile .btn-filled {
  background: var(--c-on-dark);
  color: var(--c-deep);
  box-shadow: 0 4px 14px rgba(245,247,255,.2);
}
.nav__mobile .btn-filled:hover {
  background: var(--c-on-dark-2);
  color: var(--c-deep);
  transform: translateY(-2px);
}


/* ─────────────────────────────────────────────────────────────────────
   7. HERO
   ───────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--c-bg);
  padding-top: calc(var(--nav-h) + var(--sp-3xl));
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
  min-height: 78vh;
  padding-bottom: var(--sp-3xl);
}

.hero__text .chip { margin-bottom: var(--sp-lg); }
.hero__text h1 { margin-bottom: var(--sp-lg); }
.hero__text p {
  font-size: 1.0625rem;
  color: var(--c-muted);
  line-height: var(--lh-rel);
  max-width: 44ch;
  margin-bottom: var(--sp-2xl);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-md); align-items: center; }

.hero__visual { position: relative; }

.hero__img-frame {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 580px;
  box-shadow: var(--shadow-h);
}
.hero__img-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.hero__badge {
  position: absolute;
  bottom: var(--sp-xl);
  left: calc(-1 * var(--sp-2xl));
  background: white;
  border-radius: var(--r-card);
  padding: var(--sp-md) var(--sp-lg);
  box-shadow: var(--shadow-h);
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  border: 1px solid var(--c-border-card);
}
.hero__badge-num {
  font-family: var(--ff);
  font-size: 2.25rem;
  font-weight: var(--fw-xbold);
  color: var(--c-deep);
  line-height: 1;
}
.hero__badge-lbl {
  font-size: var(--fs-xs);
  font-weight: var(--fw-med);
  color: var(--c-muted);
  line-height: 1.4;
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
}

/* Stats bar */
.hero__stats {
  background: white;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-2xl);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: var(--sp-xs); align-items: center; }
.stat__n {
  font-family: var(--ff);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: var(--fw-xbold);
  color: var(--c-deep);
  line-height: 1;
}
.stat__l {
  font-size: var(--fs-xs);
  font-weight: var(--fw-med);
  color: var(--c-muted);
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
}
.stat + .stat { border-left: 1px solid var(--c-border); }


/* ─────────────────────────────────────────────────────────────────────
   8. SERVICES — 3D CAROUSEL
   ───────────────────────────────────────────────────────────────────── */
.sec-services {
  background: var(--c-bg);
  padding-block: var(--sp-sec);
}

.sc-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: end;
  margin-bottom: var(--sp-3xl);
}
.sc-header .chip { margin-bottom: var(--sp-lg); }
.sc-header h2 { margin-bottom: 0; }
.sc-header p {
  color: var(--c-muted);
  font-size: 1.0625rem;
  line-height: var(--lh-rel);
  max-width: 42ch;
  align-self: end;
  margin: 0;
}

.sc-wrapper { position: relative; padding-block: var(--sp-lg); }
.sc-viewport {
  perspective: 1400px;
  overflow: hidden;
  padding-block: var(--sp-xl);
}
.sc-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 420px;
  transform-style: preserve-3d;
}

.sc-card {
  position: absolute;
  width: 268px;
  background: white;
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  border: 1px solid var(--c-border-card);
  overflow: hidden;
  transition: all .55s var(--ease);
  cursor: pointer;
}
.sc-card__img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--c-bg-lav); }
.sc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sc-card:hover .sc-card__img img { transform: scale(1.04); }
.sc-card__body { padding: var(--sp-lg); }
.sc-card__name {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  color: var(--c-h);
  margin-bottom: var(--sp-xs);
  line-height: 1.2;
  letter-spacing: var(--ls-h);
}
.sc-card__price { display: block; font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: var(--sp-md); }
.sc-card__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--c-dark);
  letter-spacing: var(--ls-badge);
  transition: letter-spacing var(--t-fast);
  text-decoration: none;
}
.sc-card__link:hover { letter-spacing: .08em; }

/* Carousel states */
.sc-card--far-prev  { transform: translateX(-390px) rotateY(42deg) scale(.62); opacity: .18; pointer-events: none; }
.sc-card--prev      { transform: translateX(-230px) rotateY(24deg) scale(.84); opacity: .58; box-shadow: none; }
.sc-card--active    { transform: translateX(0) rotateY(0deg) scale(1); opacity: 1; z-index: 10; box-shadow: var(--shadow-h); }
.sc-card--next      { transform: translateX(230px) rotateY(-24deg) scale(.84); opacity: .58; box-shadow: none; }
.sc-card--far-next  { transform: translateX(390px) rotateY(-42deg) scale(.62); opacity: .18; pointer-events: none; }
.sc-card--hidden    { opacity: 0; pointer-events: none; transform: scale(.3); }

.sc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: white;
  border: 1px solid var(--c-border-card);
  color: var(--c-deep);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  box-shadow: var(--shadow);
  transition: all var(--t-fast);
  cursor: pointer;
}
.sc-btn:hover { background: var(--c-deep); color: white; border-color: var(--c-deep); transform: translateY(-50%) scale(1.1); }
.sc-btn--prev { left: 0; }
.sc-btn--next { right: 0; }

/* Category nav */
.sc-cats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xl);
  justify-content: center;
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--c-border);
}
.sc-cat {
  font-family: var(--ff);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: var(--fw-bold);
  color: var(--c-muted);
  letter-spacing: var(--ls-h);
  cursor: pointer;
  transition: color var(--t-fast), opacity var(--t-fast);
  opacity: .38;
  border: none; background: none;
}
.sc-cat:hover { opacity: .72; color: var(--c-deep); }
.sc-cat--active { color: var(--c-deep); opacity: 1; }


/* ─────────────────────────────────────────────────────────────────────
   9. HOW WE CARE
   ───────────────────────────────────────────────────────────────────── */
.sec-care {
  background: var(--c-dark);
  padding-block: var(--sp-sec);
}

.care-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: end;
  margin-bottom: var(--sp-3xl);
}
.care-top .chip { margin-bottom: var(--sp-lg); }
.care-top h2 { color: var(--c-on-dark); }
.care-top h2 em { color: var(--c-on-dark-2); }
.care-top p { color: var(--c-on-dark-m); font-size: 1.0625rem; line-height: var(--lh-rel); max-width: 44ch; align-self: end; margin: 0; }

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
  perspective: 1200px;
}

.care-card {
  background: rgba(245,247,255,.08);
  border: 1px solid rgba(245,247,255,.14);
  border-radius: var(--r-card);
  padding: var(--sp-2xl);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--t-norm) var(--ease);
  position: relative;
  overflow: hidden;
}
.care-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,247,255,.28), transparent);
  opacity: 0;
  transition: opacity var(--t-norm);
}
.care-card:hover { background: rgba(245,247,255,.13); border-color: rgba(245,247,255,.22); transform: translateY(-4px) rotateY(0) rotateX(0) !important; }
.care-card:hover::before { opacity: 1; }

.care-card:nth-child(1) { transform: perspective(800px) rotateY(3.5deg) rotateX(-2deg); }
.care-card:nth-child(2) { transform: perspective(800px) rotateY(-3.5deg) rotateX(-2deg); }
.care-card:nth-child(3) { transform: perspective(800px) rotateY(3.5deg) rotateX(2deg); }
.care-card:nth-child(4) { transform: perspective(800px) rotateY(-3.5deg) rotateX(2deg); }

.care-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-xl); }
.care-card__icon {
  width: 48px; height: 48px;
  background: rgba(245,247,255,.12);
  border: 1px solid rgba(245,247,255,.16);
  border-radius: var(--r-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.care-card__num { font-size: var(--fs-badge); font-weight: var(--fw-med); color: var(--c-on-dark-m); letter-spacing: var(--ls-badge); }

.care-card__title {
  font-family: var(--ff);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  color: var(--c-on-dark);
  margin-bottom: var(--sp-sm);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-h);
}
.care-card__title em { font-family: var(--ff-serif); font-style: italic; font-weight: var(--fw-reg); color: var(--c-on-dark-2); }
.care-card__desc { font-size: var(--fs-sm); color: var(--c-on-dark-m); line-height: var(--lh-rel); max-width: 36ch; }

.care-card--sta { background: rgba(245,247,255,.14); border-color: rgba(245,247,255,.22); }
.care-card--sta .care-card__icon { background: rgba(245,247,255,.2); box-shadow: 0 0 18px rgba(245,247,255,.10); }

/* ── Light variant — for sections with light background (e.g. #enfoque) ── */
.care-card--light {
  background: white;
  border-color: var(--c-border-card);
  box-shadow: var(--shadow);
}
.care-card--light:hover {
  background: white;
  border-color: transparent;
  box-shadow: var(--shadow-h);
  transform: translateY(-4px) !important;
}
.care-card--light::before { display: none; }
.care-card--light .care-card__icon {
  background: var(--c-bg-lav);
  border-color: var(--c-border-card);
}
.care-card--light .care-card__title { color: var(--c-h); }
.care-card--light .care-card__title em { font-family: var(--ff-serif); font-style: italic; font-weight: var(--fw-reg); color: var(--c-dark); }
.care-card--light .care-card__num { color: var(--c-muted); }
.care-card--light .care-card__desc { color: var(--c-muted); }

/* ── Sección con fondo claro que contiene cards de cuidado ── */
.sec--light {
  background: var(--c-bg);
  padding-block: var(--sp-sec);
}
.sec--light .care-grid {
  perspective: none;
}
.sec--light .care-card:nth-child(1),
.sec--light .care-card:nth-child(2),
.sec--light .care-card:nth-child(3),
.sec--light .care-card:nth-child(4) {
  transform: none;
}


/* ─────────────────────────────────────────────────────────────────────
   10. TESTIMONIALS
   ───────────────────────────────────────────────────────────────────── */
.sec-testimonios { background: var(--c-bg); padding-block: var(--sp-sec); }

.testi-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-2xl);
  align-items: end;
  margin-bottom: var(--sp-3xl);
}
.testi-top .chip { margin-bottom: var(--sp-lg); }
.testi-metric { text-align: right; flex-shrink: 0; }
.testi-num {
  display: block;
  font-family: var(--ff);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: var(--fw-xbold);
  color: var(--c-deep);
  line-height: 1;
}
.testi-lab { font-size: var(--fs-sm); color: var(--c-muted); font-weight: var(--fw-med); letter-spacing: var(--ls-badge); text-transform: uppercase; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }

.testi-card {
  background: white;
  border: 1px solid var(--c-border-card);
  border-radius: var(--r-card);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow);
  transition: all var(--t-norm) var(--ease);
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: var(--sp-md); right: var(--sp-xl);
  font-family: var(--ff-serif);
  font-size: 4rem;
  color: var(--c-bg-lav);
  line-height: 1;
  pointer-events: none;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: transparent; }

.testi-stars { color: #F59E0B; font-size: .85rem; margin-bottom: var(--sp-md); letter-spacing: 2px; }
.testi-quote { font-size: var(--fs-sm); color: var(--c-body); line-height: var(--lh-rel); font-style: italic; margin-bottom: var(--sp-xl); }
.testi-author { display: flex; align-items: center; gap: var(--sp-sm); }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: var(--c-bg-lav);
  border: 2px solid var(--c-border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  color: var(--c-dark);
  flex-shrink: 0;
  overflow: hidden;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-weight: var(--fw-semi); color: var(--c-h); font-size: var(--fs-sm); display: block; }
.testi-proc { font-size: var(--fs-xs); color: var(--c-muted); }

.testi-footer {
  text-align: center;
  margin-top: var(--sp-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
}


/* ─────────────────────────────────────────────────────────────────────
   11. TEAM
   ───────────────────────────────────────────────────────────────────── */
.sec-team { background: var(--c-bg-periw); padding-block: var(--sp-sec); }

.team-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  margin-bottom: var(--sp-2xl);
}

.team-card {
  background: var(--c-bg-lav);
  border: 1px solid var(--c-border-card);
  border-radius: var(--r-card);
  padding: var(--sp-xl);
  box-shadow: var(--shadow);
  transition: transform var(--t-norm) var(--ease), box-shadow var(--t-norm) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.team-card--float { will-change: transform; }

.team-card__badges { display: flex; gap: var(--sp-xs); flex-wrap: wrap; }
.team-card__badge-item {
  background: white;
  border: 1px solid var(--c-border-card);
  border-radius: var(--r-pill);
  padding: .25rem .75rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--c-dark);
  letter-spacing: var(--ls-badge);
}
.team-card__photo { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--c-border-card); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card__name {
  font-family: var(--ff);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  color: var(--c-h);
  line-height: 1.2;
  letter-spacing: var(--ls-h);
}
.team-card__name em { font-family: var(--ff-serif); font-style: italic; font-weight: var(--fw-reg); color: var(--c-dark); }
.team-card__spec { font-size: var(--fs-xs); font-weight: var(--fw-med); color: var(--c-dark); letter-spacing: var(--ls-badge); text-transform: uppercase; }
.team-card__bio { font-size: var(--fs-sm); color: var(--c-muted); line-height: var(--lh-rel); }
.team-card__mat { font-size: var(--fs-xs); color: var(--c-muted); letter-spacing: var(--ls-badge); }

.team-center .chip { margin-bottom: var(--sp-lg); }
.team-center h2 { margin-bottom: var(--sp-md); }
.team-center p { color: var(--c-muted); line-height: var(--lh-rel); margin-bottom: var(--sp-xl); max-width: 38ch; }

.team-bottom { display: grid; grid-template-columns: 1fr 2fr; gap: var(--sp-xl); align-items: center; }

.team-cta-block {
  background: var(--c-dark);
  border-radius: var(--r-card);
  padding: var(--sp-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}
.team-cta-block h3 { color: var(--c-on-dark); }
.team-cta-block h3 em { color: var(--c-on-dark-2); }
.team-cta-block ul { display: flex; flex-direction: column; gap: var(--sp-sm); }
.team-cta-block li {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--c-on-dark-m);
  line-height: 1.4;
}
.team-cta-block li::before { content: '✓'; color: var(--c-on-dark-2); font-weight: var(--fw-bold); flex-shrink: 0; }


/* ─────────────────────────────────────────────────────────────────────
   12. PROCESS / STAGES
   ───────────────────────────────────────────────────────────────────── */
.sec-process { background: var(--c-bg); padding-block: var(--sp-sec); }

.process-hd { margin-bottom: var(--sp-3xl); }
.process-hd .chip { margin-bottom: var(--sp-lg); }

.process-layout {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.process-bar {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-xl));
  width: 4px;
  height: 440px;
  background: var(--c-border-card);
  border-radius: var(--r-full);
  margin-left: auto;
  overflow: hidden;
}
.process-bar__fill {
  width: 100%;
  height: 0%;
  background: var(--c-dark);
  border-radius: var(--r-full);
  transition: height .35s var(--ease);
}

.process-steps { display: flex; flex-direction: column; gap: var(--sp-3xl); }

.process-step {
  position: relative;
  padding-left: var(--sp-xl);
  opacity: .35;
  transition: opacity var(--t-slow) var(--ease);
}
.process-step--active { opacity: 1; }
.process-step--active::before {
  content: '';
  position: absolute;
  left: 0; top: .5rem;
  width: 3px; height: calc(100% - .5rem);
  background: var(--c-dark);
  border-radius: var(--r-full);
}
.process-step__ghost {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff);
  font-size: var(--fs-ghost);
  font-weight: var(--fw-xbold);
  color: rgba(0,16,76,.03);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: var(--ls-h);
  user-select: none;
}
.process-step__num {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--c-dark);
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}
.process-step h3 { margin-bottom: var(--sp-md); }
.process-step p { color: var(--c-muted); line-height: var(--lh-rel); max-width: 52ch; }


/* ─────────────────────────────────────────────────────────────────────
   13. PRICING SPLIT
   ───────────────────────────────────────────────────────────────────── */
.sec-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.pricing-dark {
  background: var(--c-dark);
  padding: var(--sp-sec) var(--sp-sec) var(--sp-sec) max(var(--pad-x), calc((100vw - var(--max-w)) / 2 + var(--pad-x)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-xl);
}
.pricing-step-num {
  font-family: var(--ff);
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  font-weight: var(--fw-xbold);
  color: rgba(245,247,255,.12);
  line-height: 1;
  letter-spacing: var(--ls-h);
}
.pricing-dark h2 { color: var(--c-on-dark); }
.pricing-dark h2 em { color: var(--c-on-dark-2); }
.pricing-dark p { color: var(--c-on-dark-m); line-height: var(--lh-rel); max-width: 38ch; }

.pricing-light {
  background: var(--c-bg);
  padding: var(--sp-sec) max(var(--pad-x), calc((100vw - var(--max-w)) / 2 + var(--pad-x))) var(--sp-sec) var(--sp-sec);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-xl);
}
.pricing-light h3 { letter-spacing: var(--ls-h); }
.pricing-light > p { color: var(--c-muted); line-height: var(--lh-rel); max-width: 44ch; }

.pricing-items { display: flex; flex-direction: column; gap: var(--sp-sm); }
.pricing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-lg);
  background: white;
  border: 1px solid var(--c-border-card);
  border-radius: var(--r-btn);
}
.pricing-item__name { font-weight: var(--fw-semi); color: var(--c-h); font-size: var(--fs-sm); }
.pricing-item__price { font-weight: var(--fw-bold); color: var(--c-dark); font-size: var(--fs-sm); }


/* ─────────────────────────────────────────────────────────────────────
   14. BOOKING + MAP
   ───────────────────────────────────────────────────────────────────── */
.sec-booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.booking-form-col {
  background: var(--c-dark);
  padding: var(--sp-sec) var(--sp-sec) var(--sp-sec) max(var(--pad-x), calc((100vw - var(--max-w)) / 2 + var(--pad-x)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-lg);
}
.booking-form-col h2 { color: var(--c-on-dark); }
.booking-form-col h2 em { color: var(--c-on-dark-2); }
.booking-offer {
  font-size: var(--fs-sm);
  color: var(--c-on-dark-2);
  background: rgba(245,247,255,.10);
  border: 1px solid rgba(245,247,255,.18);
  border-radius: var(--r-btn);
  padding: var(--sp-sm) var(--sp-md);
  line-height: 1.5;
}
.booking-offer strong { color: var(--c-on-dark); }

.booking-form { display: flex; flex-direction: column; gap: var(--sp-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }

.form-group { position: relative; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1.5rem var(--sp-md) .5rem;
  background: rgba(245,247,255,.10);
  border: 1px solid rgba(245,247,255,.18);
  border-radius: var(--r-btn);
  color: var(--c-on-dark);
  font-family: var(--ff);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  transition: border-color var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(245,247,255,.35); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: rgba(245,247,255,.4);
  background: rgba(245,247,255,.14);
}
.form-label {
  position: absolute;
  left: var(--sp-md);
  top: .45rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-med);
  color: rgba(245,247,255,.55);
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
  pointer-events: none;
}
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='rgba(245,247,255,0.45)' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-md) center;
  padding-right: var(--sp-2xl);
}
.form-select option { background: var(--c-dark); color: var(--c-on-dark); }
.form-textarea { min-height: 76px; resize: none; padding-top: 1.6rem; }

.time-pills-label { font-size: var(--fs-xs); font-weight: var(--fw-med); color: rgba(245,247,255,.55); letter-spacing: var(--ls-badge); text-transform: uppercase; }
.time-pills { display: flex; gap: var(--sp-sm); flex-wrap: wrap; margin-top: var(--sp-xs); }
.time-pill {
  padding: .5rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(245,247,255,.25);
  color: var(--c-on-dark-m);
  font-size: var(--fs-xs);
  font-weight: var(--fw-med);
  letter-spacing: var(--ls-badge);
  cursor: pointer;
  transition: all var(--t-fast);
  background: none;
  font-family: var(--ff);
}
.time-pill:hover, .time-pill--active { background: rgba(245,247,255,.16); border-color: rgba(245,247,255,.55); color: var(--c-on-dark); }

.booking-map-col { position: relative; background: var(--c-bg); display: flex; flex-direction: column; }
.booking-map-col iframe { flex: 1; width: 100%; border: none; min-height: 380px; filter: grayscale(15%) contrast(.95) brightness(1.02); }
.clinic-info-card {
  padding: var(--sp-xl);
  padding-right: max(var(--pad-x), calc((100vw - var(--max-w)) / 2 + var(--pad-x)));
  background: white;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.clinic-info-logo {
  font-family: var(--ff);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--c-deep);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-xs);
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}
.clinic-info-logo em { font-family: var(--ff-serif); font-style: italic; color: var(--c-dark); }
.clinic-info-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.clinic-info-row {
  display: flex;
  gap: var(--sp-xs);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.5;
}
.clinic-info-row svg { flex-shrink: 0; margin-top: 2px; color: var(--c-dark); opacity: .7; }


/* ─────────────────────────────────────────────────────────────────────
   15. FAQ — CHAT FORMAT
   ───────────────────────────────────────────────────────────────────── */
.sec-faq { background: var(--c-bg); padding-block: var(--sp-sec); }

.faq-hd { margin-bottom: var(--sp-2xl); }
.faq-hd .chip { margin-bottom: var(--sp-lg); }

.faq-chips { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin-bottom: var(--sp-2xl); }
.faq-chip {
  font-family: var(--ff);
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  color: var(--c-body);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: .6rem 1.25rem;
  cursor: pointer;
  transition: all var(--t-fast);
  letter-spacing: var(--ls-body);
  white-space: nowrap;
  background: none;
}
.faq-chip:hover { border-color: var(--c-dark); color: var(--c-dark); }
.faq-chip--active { background: var(--c-deep); border-color: var(--c-deep); color: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), margin-bottom .5s var(--ease);
  margin-bottom: 0;
}
.faq-answer--open { max-height: 280px; margin-bottom: var(--sp-xl); }

.faq-bubble {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
  background: white;
  border: 1px solid var(--c-border-card);
  border-radius: 0 var(--r-card) var(--r-card) var(--r-card);
  padding: var(--sp-xl);
  box-shadow: var(--shadow);
  max-width: 680px;
}
.faq-avatar {
  width: 48px; height: 48px;
  border-radius: var(--r-full);
  background: var(--c-dark);
  color: var(--c-on-dark);
  font-family: var(--ff);
  font-weight: var(--fw-bold);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.faq-bubble-text { font-size: var(--fs-sm); color: var(--c-body); line-height: var(--lh-rel); }

.faq-cta-wrap { max-width: 680px; margin-top: var(--sp-lg); }
.faq-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  width: 100%;
  padding: var(--sp-md) var(--sp-2xl);
  background: var(--c-dark);
  color: var(--c-on-dark);
  border-radius: var(--r-pill);
  font-family: var(--ff);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all var(--t-norm) var(--ease);
  text-decoration: none;
}
.faq-cta:hover { background: var(--c-deep); transform: translateY(-2px); box-shadow: var(--shadow-btn); color: var(--c-on-dark); }


/* ─────────────────────────────────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--c-dark);
  padding-top: var(--sp-sec);
  padding-bottom: var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.5fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-4xl);
}

.footer-col__title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: rgba(245,247,255,.40);
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
  margin-bottom: var(--sp-lg);
}

.footer-nav { display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer-nav a { font-size: var(--fs-sm); color: var(--c-on-dark-2); transition: color var(--t-fast); line-height: 1.5; }
.footer-nav a:hover { color: var(--c-on-dark); }

.footer-info { display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-xs);
  font-size: var(--fs-sm);
  color: var(--c-on-dark-2);
  line-height: 1.5;
}
.footer-info-row a { color: var(--c-on-dark-2); transition: color var(--t-fast); }
.footer-info-row a:hover { color: var(--c-on-dark); }
.footer-info-row svg { flex-shrink: 0; margin-top: 2px; opacity: .5; }

.footer-tagline-col { display: flex; flex-direction: column; justify-content: flex-start; }
.footer-tagline-col .s-lead--dark { margin-bottom: var(--sp-lg); }

.footer-tagline {
  font-family: var(--ff);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: var(--fw-xbold);
  color: var(--c-on-dark);
  line-height: 1.0;
  letter-spacing: var(--ls-h);
}
.footer-tagline em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: var(--fw-reg);
  color: var(--c-on-dark-2);
  display: block;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
  padding-top: var(--sp-xl);
  border-top: 1px solid rgba(245,247,255,.10);
}
.footer-copy { font-size: var(--fs-xs); color: var(--c-on-dark-m); }
.footer-legal { display: flex; gap: var(--sp-lg); }
.footer-legal a { font-size: var(--fs-xs); color: var(--c-on-dark-m); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--c-on-dark); }
.footer-social { display: flex; gap: var(--sp-sm); }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--r-btn);
  background: rgba(245,247,255,.08);
  border: 1px solid rgba(245,247,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-on-dark-2);
  transition: all var(--t-fast);
}
.footer-social a:hover { background: rgba(245,247,255,.16); color: var(--c-on-dark); border-color: rgba(245,247,255,.25); }


/* ─────────────────────────────────────────────────────────────────────
   17. WA FAB + MOBILE BAR
   ───────────────────────────────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: var(--sp-xl); right: var(--sp-xl);
  z-index: var(--z-fab);
  width: 58px; height: 58px;
  border-radius: var(--r-full);
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: all var(--t-norm) var(--ease);
  text-decoration: none;
  animation: pulse-wa 2.5s ease-in-out infinite;
}
.wa-fab:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,.45); color: white; }
.wa-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: rgba(37,211,102,.18);
  animation: pulse-ring 2.5s ease-out infinite;
  z-index: -1;
}
.wa-fab__tip {
  position: absolute;
  right: calc(100% + .75rem); top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: white;
  color: var(--c-deep);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  padding: .4rem .9rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: all var(--t-fast);
}
.wa-fab:hover .wa-fab__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

.mob-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-bar);
  background: rgba(245,247,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-border);
  padding: var(--sp-sm) var(--pad-x);
  padding-bottom: calc(var(--sp-sm) + env(safe-area-inset-bottom));
}
.mob-bar__inner { display: flex; gap: var(--sp-sm); }
.mob-bar__btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-xs);
  padding: .75rem var(--sp-md);
  border-radius: var(--r-btn);
  font-family: var(--ff);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  text-decoration: none;
  letter-spacing: var(--ls-badge);
  transition: all var(--t-fast);
}
.mob-bar__btn--p { background: var(--c-deep); color: white; }
.mob-bar__btn--s { background: var(--c-bg-lav); border: 1px solid var(--c-border-card); color: var(--c-dark); }


/* ─────────────────────────────────────────────────────────────────────
   18. SCROLL REVEAL
   ───────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}
.reveal--left  { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal--scale { transform: scale(.94); opacity: 0; }
.reveal--in    { opacity: 1; transform: none; }

.d1 { transition-delay: 80ms !important; }
.d2 { transition-delay: 160ms !important; }
.d3 { transition-delay: 240ms !important; }
.d4 { transition-delay: 320ms !important; }
.d5 { transition-delay: 400ms !important; }


/* ─────────────────────────────────────────────────────────────────────
   19. KEYFRAMES
   ───────────────────────────────────────────────────────────────────── */
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.35); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,.55); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.55); opacity: 0; }
}


/* ─────────────────────────────────────────────────────────────────────
   20. RESPONSIVE
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
  .team-layout { gap: var(--sp-lg); }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); min-height: 64vh; }
  .care-top { grid-template-columns: 1fr; }
  .team-layout { grid-template-columns: 1fr 1fr; }
  .team-layout > .team-card:last-child { display: none; }
  .team-bottom { grid-template-columns: 1fr; }
  .sec-pricing, .sec-booking { grid-template-columns: 1fr; }
  .pricing-dark, .booking-form-col { padding: var(--sp-3xl) var(--pad-x); }
  .pricing-light { padding: var(--sp-3xl) var(--pad-x); }
  .booking-map-col iframe { min-height: 320px; }
  .clinic-info-card { padding: var(--sp-xl) var(--pad-x); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; min-height: auto; padding-bottom: var(--sp-xl); }
  .hero__visual { display: none; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg); }
  .stat + .stat { border-left: none; }
  .stats-row .stat:nth-child(-n+2) { border-bottom: 1px solid var(--c-border); padding-bottom: var(--sp-lg); }

  .sc-header { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .sc-card--far-prev, .sc-card--far-next { display: none; }

  .care-grid { grid-template-columns: 1fr; }
  .care-card:nth-child(n) { transform: none; }

  .testi-grid { grid-template-columns: 1fr; }
  .testi-top { grid-template-columns: 1fr; }
  .testi-metric { text-align: left; }

  .team-layout { grid-template-columns: 1fr; }
  .team-center { order: -1; }

  .process-layout { grid-template-columns: 1fr; }
  .process-bar { display: none; }
  .process-step { padding-left: var(--sp-md); opacity: 1; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }

  .mob-bar { display: block; }
  .wa-fab { bottom: calc(64px + var(--sp-md) + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

@media (max-width: 540px) {
  .sc-track { height: 360px; }
  .sc-card { width: 244px; }
  .sc-card--prev, .sc-card--next { display: none; }

  .testi-card { padding: var(--sp-lg); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-tagline { font-size: clamp(1.75rem, 7vw, 2.5rem); }

  .hero__actions { flex-direction: column; }
  .hero__actions a { width: 100%; justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .faq-chip { white-space: normal; text-align: left; }
}


/* ─────────────────────────────────────────────────────────────────────
   21. REDUCED MOTION
   ───────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .wa-fab, .wa-fab::before { animation: none; }
}


/* ─────────────────────────────────────────────────────────────────────
   22. UTILITIES
   ───────────────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.text-center { text-align: center; }
.mx-auto     { margin-inline: auto; }
.mt-sm  { margin-top: var(--sp-sm); }
.mt-md  { margin-top: var(--sp-md); }
.mt-lg  { margin-top: var(--sp-lg); }
.mt-xl  { margin-top: var(--sp-xl); }
.mt-2xl { margin-top: var(--sp-2xl); }
.mb-lg  { margin-bottom: var(--sp-lg); }
.mb-xl  { margin-bottom: var(--sp-xl); }
.w-full { width: 100%; }


/* ─────────────────────────────────────────────────────────────────────
   23. INTERNATIONAL VISITOR BANNER
   ───────────────────────────────────────────────────────────────────── */
.intl-banner {
  background: var(--c-deep);
  color: var(--c-on-dark);
  padding: .6rem var(--pad-x);
  position: relative;
  z-index: calc(var(--z-nav) - 1);
  border-bottom: 1px solid rgba(245,247,255,.12);
}
.intl-banner__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}
.intl-banner__text {
  font-size: var(--fs-sm);
  color: var(--c-on-dark-2);
  flex: 1;
  min-width: 200px;
}
.intl-banner__text strong { color: var(--c-on-dark); }
.intl-banner__cta {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: #7CB3F5;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}
.intl-banner__cta:hover { color: var(--c-on-dark); }
.intl-banner__close {
  background: none;
  border: none;
  color: var(--c-on-dark-m);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 var(--sp-2xs);
  line-height: 1;
  transition: color var(--t-fast);
  flex-shrink: 0;
}
.intl-banner__close:hover { color: var(--c-on-dark); }

@media (max-width: 640px) {
  .intl-banner__cta { display: none; }
}


/* ─────────────────────────────────────────────────────────────────────
   24. SAVINGS CALCULATOR
   ───────────────────────────────────────────────────────────────────── */
.sec-calc {
  display: none;
  background: var(--c-dark);
  padding-block: var(--sp-sec);
}

.intl-visitor .sec-calc {
  display: block;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--sp-3xl);
  align-items: center;
}

/* Left: text */
.calc-text .chip { margin-bottom: var(--sp-lg); }
.calc-text h2 {
  color: var(--c-on-dark);
  margin-bottom: var(--sp-lg);
}
.calc-text h2 em { color: var(--c-on-dark-2); }
.calc-text .s-lead { margin-bottom: var(--sp-xl); }

.calc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.calc-tag {
  background: rgba(245,247,255,.10);
  border: 1px solid rgba(245,247,255,.18);
  color: var(--c-on-dark-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-med);
  padding: .3rem .8rem;
  border-radius: var(--r-pill);
  letter-spacing: var(--ls-badge);
}

/* Right: widget card */
.calc-widget {
  background: white;
  border-radius: var(--r-card);
  padding: var(--sp-2xl);
  box-shadow: 0 24px 64px rgba(0,16,76,.30);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.calc-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.calc-group { display: flex; flex-direction: column; gap: var(--sp-xs); }

.calc-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--c-muted);
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
}

.calc-select {
  padding: .65rem var(--sp-md);
  border: 1.5px solid var(--c-border-card);
  border-radius: var(--r-btn);
  font-family: var(--ff);
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  color: var(--c-h);
  background: var(--c-bg);
  cursor: pointer;
  transition: border-color var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232E4699' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.25rem;
}
.calc-select:focus { border-color: var(--c-dark); outline: none; box-shadow: 0 0 0 3px rgba(46,70,153,.12); }

/* Comparison bars */
.calc-bars {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.calc-bar-item__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--sp-xs);
}
.calc-bar-item__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-badge);
}
.calc-bar-item__price {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: var(--fw-bold);
  color: var(--c-muted);
  letter-spacing: var(--ls-h);
  line-height: 1;
}
.calc-bar-item__price--epe { color: var(--c-deep); }

.calc-bar-item__track {
  height: 10px;
  background: var(--c-bg-lav);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.calc-bar-item__fill {
  height: 100%;
  border-radius: var(--r-pill);
  transition: width .65s var(--ease);
}
.calc-bar-item__fill--origin {
  background: rgba(0,16,76,.22);
}
.calc-bar-item__fill--epe {
  background: linear-gradient(90deg, var(--c-dark), var(--c-deep));
  box-shadow: 0 0 12px rgba(46,70,153,.35);
}

/* Savings result card */
.calc-savings {
  background: linear-gradient(135deg, var(--c-bg-lav) 0%, white 100%);
  border: 1.5px solid var(--c-border-card);
  border-radius: var(--r-card);
  padding: var(--sp-lg) var(--sp-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}
.calc-savings__main { display: flex; flex-direction: column; gap: .2rem; }
.calc-savings__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-badge);
}
.calc-savings__amount {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: var(--fw-xbold);
  color: var(--c-deep);
  letter-spacing: var(--ls-h);
  line-height: 1;
  transition: all .4s var(--ease);
}
.calc-savings__badge {
  background: var(--c-dark);
  color: var(--c-on-dark);
  font-size: var(--fs-badge);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .4s var(--ease);
}

.calc-cta { width: 100%; text-align: center; justify-content: center; }

.calc-disclaimer {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 960px) {
  .calc-layout { grid-template-columns: 1fr; gap: var(--sp-2xl); }
}
@media (max-width: 540px) {
  .calc-selects { grid-template-columns: 1fr; }
  .calc-savings { flex-direction: column; align-items: flex-start; gap: var(--sp-sm); }
  .calc-widget { padding: var(--sp-lg); }
}


/* ═══════════════════════════════════════════════════════════════════════
   END — Clínica Epelbaum Design System v2.0 · NeoDent Variant
   ═══════════════════════════════════════════════════════════════════════ */
