@charset "utf-8";
/* ============================================================================
   Studio Dental — hoja de estilo única
   Paleta tomada del logo real: taupe #584E4D sobre yeso #D5CEC4.
   ========================================================================= */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  /* Marca */
  --brand:  #584E4D;   /* el taupe exacto del logotipo */
  --brass:  #A8895E;   /* acento cálido, solo decorativo */

  /* Superficies y texto (modo claro) */
  --bg:     #F7F4F0;
  --paper:  #FFFDFB;
  --stone:  #EAE4DC;
  --sand:   #DED7CD;
  --ink:    #2B2422;   /* títulos            — 13.6:1 sobre --bg */
  --body:   #4A413F;   /*  texto corrido     —  8.9:1 sobre --bg */
  --muted:  #6E6360;   /*  texto secundario  —  5.5:1 sobre --bg */
  --line:   #DAD3C9;
  --line-2: #C8BFB3;

  --on-brand: #FBF9F6;

  /* Escala tipográfica fluida (min 375px → max 1440px) */
  --t-xs:   .75rem;
  --t-sm:   .875rem;
  --t-base: 1rem;
  --t-lg:   clamp(1.05rem, .99rem + .28vw, 1.2rem);
  --t-xl:   clamp(1.3rem, 1.16rem + .6vw, 1.65rem);
  --t-h3:   clamp(1.35rem, 1.19rem + .68vw, 1.75rem);
  --t-h2:   clamp(2rem, 1.45rem + 2.35vw, 3.5rem);
  --t-h1:   clamp(2.6rem, 1.5rem + 4.7vw, 5.4rem);

  /* Espaciado (dial de densidad 4/10 → estándar) */
  --s-1: .25rem; --s-2: .5rem;  --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;   --s-7: 3rem;   --s-8: 4rem;
  --s-9: clamp(4rem, 2.5rem + 6vw, 7rem);

  --shell: 76rem;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 30px;

  /* Sombras suaves — Soft UI evolucionado, no neumorfismo */
  --sh-1: 0 1px 2px rgba(43,36,34,.05), 0 2px 8px rgba(43,36,34,.04);
  --sh-2: 0 2px 4px rgba(43,36,34,.05), 0 10px 28px rgba(43,36,34,.07);
  --sh-3: 0 8px 20px rgba(43,36,34,.08), 0 24px 60px rgba(43,36,34,.10);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur:  .28s;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:     #17130F;
  --paper:  #201B18;
  --stone:  #272019;
  --sand:   #322A23;
  --ink:    #F5F0EA;
  --body:   #D3C9C0;
  --muted:  #A2958C;
  --line:   #392F28;
  --line-2: #4A3E35;
  --brand:  #D9D1C7;
  --brass:  #C9A778;
  --on-brand: #17130F;
  --sh-1: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.24);
  --sh-2: 0 2px 4px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.34);
  --sh-3: 0 8px 20px rgba(0,0,0,.36), 0 24px 60px rgba(0,0,0,.44);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#17130F; --paper:#201B18; --stone:#272019; --sand:#322A23;
    --ink:#F5F0EA; --body:#D3C9C0; --muted:#A2958C;
    --line:#392F28; --line-2:#4A3E35; --brand:#D9D1C7; --brass:#C9A778;
    --on-brand:#17130F;
    --sh-1: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.24);
    --sh-2: 0 2px 4px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.34);
    --sh-3: 0 8px 20px rgba(0,0,0,.36), 0 24px 60px rgba(0,0,0,.44);
    color-scheme: dark;
  }
}

/* ── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--bg);
  color: var(--body);
  font: 400 var(--t-base)/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Textura de yeso del logo, casi imperceptible, sobre todo el lienzo. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url("../img/plaster.png") repeat;
  background-size: 320px;
  opacity: .5; mix-blend-mode: multiply;
}
[data-theme="dark"] body::before,
:root:not([data-theme="light"]) body::before { opacity: .34; mix-blend-mode: overlay; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) body::before { opacity: .5; mix-blend-mode: multiply; }
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 1.25rem; height: 1.25rem; flex: none; }

h1, h2, h3 { color: var(--ink); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; }
em { font-style: italic; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  background: var(--brand); color: var(--on-brand);
  padding: .8rem 1.2rem; border-radius: var(--r-sm);
  text-decoration: none; font-size: var(--t-sm); font-weight: 500;
  transition: top .2s var(--ease);
}
.skip:focus { top: 1rem; }

.shell {
  width: 100%; max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, .5rem + 2.7vw, 2.5rem);
  position: relative; z-index: 1;
}

/* Alterna assets según el tema activo. */
.only-dark { display: none; }
[data-theme="dark"] .only-dark { display: block; }
[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block; }
  :root:not([data-theme="light"]) .only-light { display: none; }
}

/* ── Tipografía compartida ───────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--t-xs); font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass); flex: none;
}

.h2 { font-family: "Playfair Display", Georgia, serif; font-size: var(--t-h2); }
.h2 em { color: var(--brand); }

.sechead { max-width: 44rem; margin-bottom: var(--s-8); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--center .eyebrow { justify-content: center; }
.sechead .eyebrow { margin-bottom: var(--s-4); }
.sechead__lead {
  margin-top: var(--s-5); font-size: var(--t-lg); color: var(--muted);
  max-width: 38rem; text-wrap: pretty;
}
.sechead--center .sechead__lead { margin-inline: auto; }

.section { padding-block: var(--s-9); position: relative; }
.section--stone { background: var(--stone); }
.section--ink { background: var(--brand); color: var(--on-brand); }
.section--ink .h2, .section--ink .h2 em { color: var(--on-brand); }
.section--ink .eyebrow { color: color-mix(in oklab, var(--on-brand) 72%, transparent); }

/* ── Botones ─────────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 44px; padding: .7rem 1.35rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: 999px;
  font-size: var(--t-sm); font-weight: 500; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn svg { width: 1.05rem; height: 1.05rem; transition: transform var(--dur) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); }
.btn:hover svg:last-child { transform: translateX(3px); }

.btn--solid { --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: var(--brand); }
.btn--solid:hover { --btn-bg: color-mix(in oklab, var(--brand) 86%, var(--ink)); }
.btn--ghost:hover { --btn-bd: var(--brand); --btn-bg: color-mix(in oklab, var(--brand) 8%, transparent); }
.btn--lg { min-height: 52px; padding: .95rem 1.75rem; font-size: var(--t-base); }
.btn--block { width: 100%; }

.section--ink .btn--ghost { --btn-fg: var(--on-brand); --btn-bd: color-mix(in oklab, var(--on-brand) 35%, transparent); }

.iconbtn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.iconbtn:hover { background: var(--paper); border-color: var(--line-2); transform: rotate(-12deg); }

/* ── Preloader ───────────────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; gap: var(--s-6); justify-items: center;
  background: var(--bg);
}
.loader.is-done { pointer-events: none; }
.loader__mark img { width: 60px; height: auto; opacity: .9; }
[data-theme="dark"] .loader__mark img,
:root:not([data-theme="light"]) .loader__mark img { filter: invert(1) brightness(1.6); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .loader__mark img { filter: none; }
}
.loader__bar {
  width: 148px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 0; background: var(--brand);
}
html.no-js .loader, html.reduced .loader { display: none; }

/* ── Cursor personalizado (solo puntero fino) ────────────────────────────── */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 190;
    pointer-events: none; mix-blend-mode: difference;
  }
  .cursor__dot, .cursor__ring {
    position: absolute; border-radius: 50%; translate: -50% -50%;
    background: #fff;
  }
  .cursor__dot { width: 6px; height: 6px; }
  .cursor__ring {
    width: 34px; height: 34px; background: none; border: 1px solid #fff; opacity: .55;
    transition: width .25s var(--ease), height .25s var(--ease), opacity .25s var(--ease);
  }
  .cursor.is-active .cursor__ring { width: 58px; height: 58px; opacity: .9; }
}
html.reduced .cursor { display: none; }

/* ── Navegación ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease);
}
.nav.is-stuck {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.nav__progress {
  position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: 0 50%;
}
.nav__inner {
  display: flex; align-items: center; gap: var(--s-5);
  min-height: 78px;
}
.nav__logo { flex: none; line-height: 0; }
.nav__logo img { width: 62px; height: auto; transition: opacity var(--dur) var(--ease); }
.nav__logo:hover img { opacity: .7; }

.nav__links { display: flex; gap: var(--s-5); margin-left: auto; }
.nav__links a {
  position: relative; padding: .5rem 0;
  font-size: var(--t-sm); color: var(--body); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--brand); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }

.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }

.burger {
  display: none; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 50%; width: 17px; height: 1.5px;
  background: var(--ink); translate: -50% 0; border-radius: 2px;
  transition: top .25s var(--ease), rotate .25s var(--ease), opacity .2s;
}
.burger span:first-child { top: 18px; }
.burger span:last-child  { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; rotate: 45deg; }
.burger[aria-expanded="true"] span:last-child  { top: 21px; rotate: -45deg; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(100svh, 60rem);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(7rem, 5rem + 12vw, 11rem) var(--s-8);
  overflow: hidden;
}
.hero__mark {
  position: absolute; z-index: 0;
  top: 50%; right: clamp(-9rem, -14vw, -3rem); translate: 0 -50%;
  width: clamp(20rem, 42vw, 38rem); opacity: .07; pointer-events: none;
  /* El canto recto de la "D" cortaría en seco junto al menú: lo difuminamos. */
  -webkit-mask-image: linear-gradient(100deg, transparent, #000 22%);
  mask-image: linear-gradient(100deg, transparent, #000 22%);
}
.hero__mark img { width: 100%; }
[data-theme="dark"] .hero__mark img,
:root:not([data-theme="light"]) .hero__mark img { filter: invert(1); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero__mark img { filter: none; }
}
.hero__glow {
  position: absolute; z-index: 0; inset: auto -20% 12% -20%; height: 60%;
  background: radial-gradient(60% 60% at 30% 100%, color-mix(in oklab, var(--brass) 20%, transparent), transparent 70%);
  pointer-events: none;
}
.hero__inner { max-width: 56rem; }

.hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: var(--t-h1); line-height: 1.02;
  margin: var(--s-5) 0 var(--s-6);
}
.hero__title em { color: var(--brand); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; }

.hero__lead {
  max-width: 34rem; font-size: var(--t-lg); color: var(--muted); text-wrap: pretty;
}
.hero__lead strong { color: var(--ink); font-weight: 500; }

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-7);
  margin-top: var(--s-8); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.hero__facts dt { font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__facts dd { margin: .3rem 0 0; font-size: var(--t-lg); color: var(--ink); font-family: "Playfair Display", serif; }

.hero__scroll {
  position: absolute; inset: auto 0 var(--s-5) 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.hero__scrollLine {
  width: 1px; height: 44px; background: linear-gradient(var(--line-2), transparent);
  position: relative; overflow: hidden;
}
.hero__scrollLine::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 40%;
  background: var(--brand); animation: scrollcue 2.1s var(--ease) infinite;
}
@keyframes scrollcue { 0% { translate: 0 -100%; } 60%, 100% { translate: 0 260%; } }

/* ── Marquee ─────────────────────────────────────────────────────────────── */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--paper); padding-block: var(--s-4);
}
.marquee__track {
  display: flex; align-items: center; gap: var(--s-5); width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-family: "Playfair Display", serif; font-size: var(--t-xl);
  color: var(--ink); white-space: nowrap;
}
/* Rombo dibujado en CSS, no un carácter: evita el cuadro vacío si la fuente
   del sistema no trae el ornamento. */
.marquee__track i {
  width: 6px; height: 6px; flex: none;
  background: var(--brass); rotate: 45deg;
}

/* ── Franja editorial ────────────────────────────────────────────────────── */
.band { padding-block: var(--s-9); }
.band__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4); align-items: start;
}
.band__fig { margin: 0; }
/* La del centro baja un poco: rompe la fila recta y da ritmo de revista. */
.band__fig--alta { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.band__fig img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.band__fig figcaption {
  margin-top: var(--s-3);
  font-size: var(--t-xs); letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.band__nota {
  margin-top: var(--s-7); text-align: center;
  font-size: var(--t-xs); color: var(--muted); text-wrap: pretty;
}
.band__nota a { color: var(--ink); }

/* ── Bento de tratamientos ───────────────────────────────────────────────── */
.bento {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(6, 1fr);
}
.card {
  position: relative; grid-column: span 2; overflow: hidden;
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  transform-style: preserve-3d;
}
.card:hover { box-shadow: var(--sh-3); border-color: var(--line-2); }
.card--feature { grid-column: span 4; grid-row: span 2; justify-content: flex-end; }
/* La marca al fondo llena el aire de la tarjeta alta sin meter más texto. */
.card--feature::after {
  content: ""; position: absolute; z-index: 0;
  right: -3.5rem; top: 8%; width: 15rem; height: 15rem;
  background: url("../img/mark.svg") no-repeat center / contain;
  opacity: .06; pointer-events: none;
}
.card--feature > * { position: relative; z-index: 1; }
/* Media fila. Rehabilitación y Cirugía comparten la tercera fila: así la
   retícula suma 24 celdas y cierra en 4 filas exactas. */
.card--half { grid-column: span 3; }

/* Banner de llamada a la acción: ocupa la fila completa para que la retícula
   cierre en 4 filas exactas en vez de dejar un hueco. */
.card--accent {
  grid-column: span 6;
  background: var(--brand); border-color: var(--brand); color: var(--on-brand);
  display: grid; align-items: center; gap: var(--s-2) var(--s-5);
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "ico title cta" "ico text cta";
}
.card--accent h3 { color: var(--on-brand); grid-area: title; }
.card--accent p { grid-area: text; }
.card--accent .card__ico {
  grid-area: ico; margin: 0; align-self: center;
  background: color-mix(in oklab, var(--on-brand) 16%, transparent); color: var(--on-brand);
}
.card--accent .btn--solid {
  grid-area: cta; margin: 0; white-space: nowrap;
  --btn-bg: var(--on-brand); --btn-fg: var(--brand); --btn-bd: var(--on-brand);
}

.card__ico {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: var(--stone); color: var(--brand);
  margin-bottom: var(--s-2);
}
.card--feature .card__ico { margin-bottom: auto; }
.card h3 { font-family: "Playfair Display", serif; font-size: var(--t-h3); }
.card p { color: var(--muted); font-size: var(--t-sm); text-wrap: pretty; }
.card--accent p { color: color-mix(in oklab, var(--on-brand) 80%, transparent); }
.card--feature p { font-size: var(--t-base); max-width: 32rem; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin-top: var(--s-2); }
.chips li {
  font-size: var(--t-xs); padding: .3rem .7rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted);
}
.card__go {
  position: absolute; top: var(--s-5); right: var(--s-5);
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; color: var(--muted);
  opacity: 0; translate: -6px 6px;
  transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease);
}
.card:hover .card__go { opacity: 1; translate: 0 0; }

/* ── Blanqueamiento paso a paso ──────────────────────────────────────────── */
.whiten {
  margin-top: var(--s-6);
  display: grid; grid-template-columns: 5fr 6fr; gap: var(--s-7);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2.4vw, 3rem);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-2);
}
.whiten__head { grid-column: 1 / -1; max-width: 42rem; }
.whiten__head .eyebrow { margin-bottom: var(--s-3); }
.whiten__head h3 {
  font-family: "Playfair Display", serif; font-size: var(--t-h3);
  text-wrap: balance;
}
.whiten__head h3 em { color: var(--brand); }
.whiten__lead { margin-top: var(--s-3); color: var(--muted); font-size: var(--t-sm); }

.whiten__stage {
  display: grid; justify-items: center; gap: var(--s-4);
  padding: var(--s-5);
  background: linear-gradient(160deg, var(--stone), var(--sand));
  border-radius: var(--r-lg);
}
.whiten__svg { width: 100%; height: auto; overflow: visible; }

/* Piezas de la ilustración. Todo se controla con [data-paso] en el contenedor:
   una sola fuente de verdad, sin clases repartidas por el SVG. */
/* Relleno plano a propósito. Probé degradado de esmalte con translucidez
   incisal y brillo especular: se veía más "3D" pero el aclarado dejaba de
   notarse entre pasos, que es justo lo que la animación tiene que contar. */
.w-encia  { fill: url(#wEncia); }
.w-diente { fill: #E6DAC0; transition: fill 1.1s var(--ease); }
.w-barrera, .w-glow, .w-rayos, .w-brillos, .w-scan { opacity: 0; }
.w-barrera { fill: #C9A978; transition: opacity .5s var(--ease); }
.w-glow, .w-rayos { transition: opacity .6s var(--ease); }
.w-brillos { transition: opacity .6s var(--ease) .2s; }
.w-gel {
  opacity: 0; transform: scaleY(0);
  transform-box: fill-box; transform-origin: top center;
  transition: transform .9s var(--ease), opacity .4s var(--ease);
}

.whiten[data-paso="1"] .w-scan { opacity: 1; animation: wScan 2.6s var(--ease) infinite; }
.whiten[data-paso="2"] .w-barrera,
.whiten[data-paso="3"] .w-barrera,
.whiten[data-paso="4"] .w-barrera { opacity: .9; }
.whiten[data-paso="3"] .w-gel,
.whiten[data-paso="4"] .w-gel { opacity: 1; transform: scaleY(1); }
.whiten[data-paso="4"] .w-glow { opacity: 1; animation: wPulso 1.8s ease-in-out infinite; }
.whiten[data-paso="4"] .w-rayos { opacity: .85; animation: wPulso 1.8s ease-in-out infinite; }
.whiten[data-paso="5"] .w-brillos { opacity: 1; }

.whiten[data-paso="3"] .w-diente { fill: #EDE4D2; }
.whiten[data-paso="4"] .w-diente { fill: #F5EFE3; }
.whiten[data-paso="5"] .w-diente { fill: #FCFAF6; }

@keyframes wScan { 0% { transform: translateY(58px); } 100% { transform: translateY(162px); } }
@keyframes wPulso { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.whiten__tono {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.whiten__tono svg { width: .9rem; height: .9rem; }
.whiten__chip { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); }
.whiten__chip--antes { background: #E6DAC0; }
.whiten__chip--despues { background: #FCFAF6; }

.whiten__pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; counter-reset: wp; }
.whiten__pasos button {
  counter-increment: wp;
  display: grid; grid-template-columns: auto 1fr; gap: .2rem var(--s-3);
  width: 100%; text-align: left; cursor: pointer;
  padding: var(--s-3) var(--s-4);
  background: transparent; border: 1px solid transparent; border-radius: var(--r-md);
  font-size: var(--t-sm); color: var(--muted); line-height: 1.5;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.whiten__pasos button::before {
  content: counter(wp); grid-row: span 2;
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--stone); color: var(--brand);
  font-size: var(--t-xs); font-weight: 600;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.whiten__pasos b { color: var(--ink); font-weight: 500; }
.whiten__pasos button:hover { background: var(--stone); }
.whiten__pasos button[aria-current="step"] {
  background: var(--stone); border-color: var(--line-2);
}
.whiten__pasos button[aria-current="step"]::before { background: var(--brand); color: var(--on-brand); }

@media (max-width: 860px) {
  .whiten { grid-template-columns: 1fr; gap: var(--s-5); }
}
@media (prefers-reduced-motion: reduce) {
  .w-scan, .w-glow, .w-rayos { animation: none !important; }
}

/* ── Comparador antes/después ────────────────────────────────────────────── */
.compare { max-width: 60rem; margin-inline: auto; }
.compare__frame {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  box-shadow: var(--sh-3); background: var(--sand);
  /* Igual a la de las fotos del caso (1400x574): así no se recorta la sonrisa. */
  aspect-ratio: 1400 / 574; touch-action: pan-y;
}
.compare__img { width: 100%; height: 100%; object-fit: cover; }
/* Sin `right`: fijar left, right y width a la vez deja la caja sobre-restringida
   y el navegador puede descartar el ancho que le pone el JS. */
.compare__clip {
  position: absolute; top: 0; bottom: 0; left: 0; right: auto;
  overflow: hidden;
  width: 50%;                       /* el JS lo reescribe al arrastrar */
  will-change: width;
}
.compare__clip .compare__img { width: var(--frame-w, 100%); max-width: none; }
.compare__tag {
  position: absolute; bottom: var(--s-4);
  font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  color: var(--ink); padding: .45rem .9rem; border-radius: 999px;
  backdrop-filter: blur(6px); pointer-events: none;
}
.compare__tag--a { left: var(--s-4); }
.compare__tag--b { right: var(--s-4); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--bg); translate: -50% 0;
  pointer-events: none;
}
/* El círculo va en un <span>, no en el <svg>: como elemento reemplazado, el
   svg resuelve su tamaño de forma poco fiable dentro de un padre de 2px. */
.compare__grip {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); color: var(--brand); box-shadow: var(--sh-2);
}
.compare__grip svg { width: 20px; height: 20px; }
.compare__pie {
  margin-top: var(--s-4); text-align: center;
  font-size: var(--t-xs); color: var(--muted); text-wrap: pretty;
}
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
}
.compare__range:focus-visible ~ .compare__handle .compare__grip {
  outline: 2px solid var(--brand); outline-offset: 3px;
}

/* ── Proceso: carril horizontal ──────────────────────────────────────────── */
.proc__pin { overflow: hidden; }
.proc__track {
  display: flex; gap: var(--s-4); list-style: none; margin: 0;
  padding-inline: clamp(1.15rem, .5rem + 2.7vw, 2.5rem);
  width: max-content;
}
.step {
  position: relative; width: min(84vw, 25rem);
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); min-height: 20rem;
}
.step__n {
  font-family: "Playfair Display", serif; font-size: 3rem; line-height: 1;
  color: var(--sand); letter-spacing: -.03em;
}
.step h3 { font-family: "Playfair Display", serif; font-size: var(--t-h3); }
.step p { color: var(--muted); font-size: var(--t-sm); }
.step__ico {
  margin-top: auto; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--stone); color: var(--brand);
}

/* Sin JS o con movimiento reducido, el carril se desplaza a mano. */
html.no-js .proc__pin, html.reduced .proc__pin { overflow-x: auto; scroll-snap-type: x mandatory; }
html.no-js .step, html.reduced .step { scroll-snap-align: center; }

/* ── Cotizador ───────────────────────────────────────────────────────────── */
.quote { display: grid; gap: var(--s-8); grid-template-columns: 1fr 1fr; align-items: start; }
.quote__note {
  display: flex; gap: .6rem; align-items: flex-start;
  margin-top: var(--s-5); padding: var(--s-4);
  font-size: var(--t-sm); color: var(--muted);
  background: color-mix(in oklab, var(--paper) 70%, transparent);
  border: 1px dashed var(--line-2); border-radius: var(--r-md);
}
.quote__note svg { color: var(--brass); margin-top: .15rem; }

.quote__panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-2);
}
.quote__list { border: 0; padding: 0; margin: 0; display: grid; gap: .35rem; }
.qitem {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: 48px; padding: .6rem .8rem;
  border-radius: var(--r-md); cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.qitem:hover { background: var(--stone); }
.qitem input { position: absolute; opacity: 0; width: 0; height: 0; }
.qitem__box {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid var(--line-2); background: var(--bg);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.qitem__box::after {
  content: ""; width: 10px; height: 6px;
  border: 2px solid var(--on-brand); border-top: 0; border-right: 0;
  rotate: -45deg; translate: 0 -1px; scale: 0;
  transition: scale .2s var(--ease);
}
.qitem input:checked + .qitem__box { background: var(--brand); border-color: var(--brand); }
.qitem input:checked + .qitem__box::after { scale: 1; }
.qitem input:focus-visible + .qitem__box { outline: 2px solid var(--brand); outline-offset: 3px; }
.qitem__name { flex: 1; font-size: var(--t-sm); color: var(--ink); }
.qitem__price { font-size: var(--t-sm); color: var(--muted); font-variant-numeric: tabular-nums; }

.quote__total {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-4); margin-top: var(--s-5); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.quote__totalLabel {
  display: block; font-size: var(--t-xs); letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.quote__totalValue {
  display: block; margin-top: .25rem;
  font-family: "Playfair Display", serif; font-size: var(--t-xl);
  color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums;
}

/* ── La doctora ──────────────────────────────────────────────────────────── */
.doc { display: grid; gap: var(--s-8); grid-template-columns: 5fr 6fr; align-items: center; }
.doc__media { position: relative; }
.doc__photo {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(150deg, var(--sand), var(--stone));
  border: 1px solid var(--line-2);
}
.doc__photo img { width: 100%; height: 100%; object-fit: cover; }
.doc__badge {
  position: absolute; right: -.5rem; bottom: -1rem;
  display: flex; align-items: center; gap: .7rem;
  padding: var(--s-4); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-3);
}
.doc__badge svg { color: var(--brass); }
.doc__badge strong { display: block; color: var(--ink); font-size: var(--t-sm); font-weight: 500; }
.doc__badge span { font-size: var(--t-xs); color: var(--muted); }

.doc__body .eyebrow { margin-bottom: var(--s-4); }
.doc__body .h2 { margin-bottom: var(--s-5); }
.doc__lead { font-size: var(--t-lg); color: var(--body); margin-bottom: var(--s-4); }
.doc__body > p { color: var(--muted); }
.doc__points { list-style: none; padding: 0; margin: var(--s-6) 0; display: grid; gap: var(--s-4); }
.doc__points li { display: flex; gap: var(--s-3); align-items: flex-start; }
.doc__points svg { color: var(--brass); margin-top: .2rem; }
.doc__points strong { display: block; color: var(--ink); font-weight: 500; }
.doc__points div { font-size: var(--t-sm); color: var(--muted); }

/* ── Reseñas ─────────────────────────────────────────────────────────────── */
/* Calificación agregada: el enlace al perfil de Google es lo que la hace
   verificable, y por eso vale más que cualquier cifra escrita en el sitio. */
.revs__score {
  display: inline-flex; align-items: center; gap: var(--s-4);
  margin-top: var(--s-5); padding: var(--s-4) var(--s-5);
  background: color-mix(in oklab, var(--on-brand) 9%, transparent);
  border: 1px solid color-mix(in oklab, var(--on-brand) 18%, transparent);
  border-radius: 999px; text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.revs__score:hover { background: color-mix(in oklab, var(--on-brand) 15%, transparent); transform: translateY(-2px); }
.revs__num {
  font-family: "Playfair Display", serif; font-size: var(--t-xl);
  color: var(--on-brand); line-height: 1;
}
.revs__meta {
  font-size: var(--t-xs); text-align: left;
  color: color-mix(in oklab, var(--on-brand) 68%, transparent);
}
.revs__meta b { color: var(--on-brand); font-weight: 500; }

.revs { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, 1fr); }
.rev {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-6); margin: 0;
  background: color-mix(in oklab, var(--on-brand) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--on-brand) 16%, transparent);
  border-radius: var(--r-lg);
}
.rev__stars { display: flex; gap: .2rem; color: var(--brass); }
.rev__stars svg { width: .95rem; height: .95rem; }
.rev p { color: color-mix(in oklab, var(--on-brand) 88%, transparent); text-wrap: pretty; }
.rev footer { margin-top: auto; font-size: var(--t-sm); }
.rev cite {
  display: block; font-style: normal; font-weight: 500;
  color: var(--on-brand);
}
.rev footer span { color: color-mix(in oklab, var(--on-brand) 62%, transparent); font-size: var(--t-xs); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: var(--s-7); grid-template-columns: 2fr 3fr; align-items: start; }
.faq .sechead { margin-bottom: 0; }
.acc { display: grid; gap: .5rem; }
.acc__item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.acc__item[open] { border-color: var(--line-2); box-shadow: var(--sh-1); }
.acc__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 56px; padding: var(--s-4) var(--s-5);
  cursor: pointer; list-style: none; color: var(--ink); font-weight: 500;
  font-size: var(--t-sm);
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary svg { color: var(--muted); transition: rotate var(--dur) var(--ease); }
.acc__item[open] summary svg { rotate: 180deg; }
.acc__body { padding: 0 var(--s-5) var(--s-5); }
.acc__body p { color: var(--muted); font-size: var(--t-sm); text-wrap: pretty; }

/* ── Contacto ────────────────────────────────────────────────────────────── */
.contact { display: grid; gap: var(--s-6); grid-template-columns: 5fr 4fr; align-items: start; }
.contact__form {
  display: grid; gap: var(--s-4);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.25rem, .8rem + 1.8vw, 2rem);
  box-shadow: var(--sh-2);
}
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--t-sm); font-weight: 500; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .select select {
  width: 100%; min-height: 48px; padding: .75rem 1rem;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  font-size: var(--t-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--muted) 70%, transparent); }
.field input:focus, .field textarea:focus, .select select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 18%, transparent);
}
.field__hint { font-size: var(--t-xs); color: var(--muted); }
.field__err { font-size: var(--t-xs); color: #B4241F; display: flex; gap: .35rem; }
[data-theme="dark"] .field__err { color: #F2857F; }
.field.is-bad input, .field.is-bad textarea { border-color: #B4241F; }

.select { position: relative; }
.select select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select svg {
  position: absolute; top: 50%; right: 1rem; translate: 0 -50%;
  color: var(--muted); pointer-events: none;
}
.contact__legal { font-size: var(--t-xs); color: var(--muted); text-align: center; }

.contact__side { display: grid; gap: var(--s-4); }
.contact__foto {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); aspect-ratio: 4 / 3;
}
.contact__foto img { width: 100%; height: 100%; object-fit: cover; }
.info { list-style: none; padding: 0; display: grid; gap: var(--s-4); }
.info li { display: flex; gap: var(--s-3); align-items: flex-start; }
.info svg { color: var(--brass); margin-top: .15rem; }
.info strong { display: block; font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.info a, .info span { color: var(--ink); font-size: var(--t-sm); text-decoration: none; }
.info a { border-bottom: 1px solid var(--line-2); transition: border-color var(--dur) var(--ease); }
.info a:hover { border-color: var(--brand); }
.info__badge {
  display: inline-block; margin-top: .3rem; padding: .15rem .55rem;
  font-size: var(--t-xs); border-radius: 999px;
}
.info__badge.is-open { background: color-mix(in oklab, #2E7D5B 18%, transparent); color: #1E5C41; }
.info__badge.is-closed { background: var(--sand); color: var(--muted); }
[data-theme="dark"] .info__badge.is-open { color: #7BD3A8; }

.map { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); }
.map__load {
  display: flex; align-items: center; gap: var(--s-4); width: 100%;
  min-height: 13rem; padding: var(--s-5); cursor: pointer; text-align: left;
  background: linear-gradient(140deg, var(--sand), var(--stone));
  border: 0; color: var(--ink);
  transition: filter var(--dur) var(--ease);
}
.map__load:hover { filter: brightness(1.03); }
.map__pin {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); color: var(--brand); box-shadow: var(--sh-2);
}
.map__txt { font-size: var(--t-sm); color: var(--muted); }
.map__txt strong { display: block; color: var(--ink); font-size: var(--t-base); font-weight: 500; margin-bottom: .15rem; }
.map iframe { display: block; width: 100%; height: 22rem; border: 0; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.foot { background: var(--brand); color: var(--on-brand); padding-top: var(--s-8); }
.foot__inner {
  display: grid; gap: var(--s-6);
  grid-template-columns: 2fr 1fr 1fr;
  padding-bottom: var(--s-7);
}
.foot__brand img { width: 92px; height: auto; margin-bottom: var(--s-4); }
.foot__brand p { font-size: var(--t-sm); color: color-mix(in oklab, var(--on-brand) 72%, transparent); }
.foot h3 {
  font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase;
  color: color-mix(in oklab, var(--on-brand) 60%, transparent);
  margin-bottom: var(--s-4); font-family: Inter, sans-serif;
}
.foot__nav, .foot__contact { display: grid; gap: .55rem; align-content: start; }
.foot__nav a, .foot__contact a {
  font-size: var(--t-sm); color: color-mix(in oklab, var(--on-brand) 85%, transparent);
  text-decoration: none; width: fit-content;
  transition: color var(--dur) var(--ease);
}
.foot__nav a:hover, .foot__contact a:hover { color: var(--on-brand); }
.foot__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2);
  padding-block: var(--s-4);
  border-top: 1px solid color-mix(in oklab, var(--on-brand) 18%, transparent);
  font-size: var(--t-xs); color: color-mix(in oklab, var(--on-brand) 58%, transparent);
}

/* ── Canales directos flotantes ──────────────────────────────────────────── */
.dock {
  position: fixed; z-index: 95;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: max(clamp(1rem, 2vw, 1.75rem), env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
}
/* Tonos de marca oscurecidos hasta 4.5:1 con texto blanco: el verde y el azul
   originales solo llegan a 3.1:1 y la etiqueta no pasaría WCAG AA. */
.dock__btn {
  --tone: var(--brand);
  display: flex; align-items: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.15rem;
  background: var(--tone); color: #fff;
  border-radius: 999px; text-decoration: none;
  font-size: var(--t-sm); font-weight: 500; white-space: nowrap;
  box-shadow: 0 6px 18px color-mix(in oklab, var(--tone) 42%, transparent);
  opacity: 0; translate: 0 1.5rem; pointer-events: none;
  transition: opacity .35s var(--ease), translate .35s var(--ease),
              box-shadow var(--dur) var(--ease), scale var(--dur) var(--ease);
}
.dock__btn--tg { --tone: #1B7DAB; }
.dock__btn--wa { --tone: #188741; }
.dock__btn svg { width: 1.35rem; height: 1.35rem; }

.dock.is-in .dock__btn { opacity: 1; translate: 0 0; pointer-events: auto; }
/* El de abajo entra un pelín después: se leen en secuencia, no como un bloque. */
.dock.is-in .dock__btn + .dock__btn { transition-delay: .07s; }
.dock__btn:hover { scale: 1.04; box-shadow: 0 10px 26px color-mix(in oklab, var(--tone) 55%, transparent); }
.dock__btn:focus-visible { outline-color: var(--tone); outline-offset: 4px; }

/* ── Estados iniciales de las animaciones ────────────────────────────────── */
/* Solo con JS confirmado: si el script falla, todo queda visible igualmente. */
html.js:not(.reduced) .reveal { opacity: 0; translate: 0 1.75rem; }
html.js:not(.reduced) .hero__title .line > span { translate: 0 105%; }
html.no-anim .reveal { opacity: 1 !important; translate: none !important; }
html.no-anim .hero__title .line > span { translate: none !important; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .quote, .doc, .faq, .contact { grid-template-columns: 1fr; }
  .doc__media { max-width: 26rem; }
  .revs { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-column: span 6; grid-row: auto; }
  .card--feature::after { display: none; }
  .card--half { grid-column: span 6; }
  .card { grid-column: span 3; }
  .card--accent { grid-column: span 6; }   /* después de .card: misma especificidad */
}

@media (max-width: 780px) {
  /* El banner de CTA vuelve a columna: en fila no cabe el botón. */
  .card--accent {
    grid-template-columns: 1fr; grid-template-areas: "ico" "title" "text" "cta";
    gap: var(--s-3);
  }
  .card--accent .card__ico { justify-self: start; }
  .card--accent .btn--solid { justify-self: start; margin-top: var(--s-2); }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; gap: 0;
    padding: var(--s-4) clamp(1.15rem, .5rem + 2.7vw, 2.5rem) var(--s-6);
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3);
    clip-path: inset(0 0 100% 0); opacity: 0;
    transition: clip-path .4s var(--ease), opacity .3s var(--ease);
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); opacity: 1; }
  .nav__links a { padding: var(--s-4) 0; font-size: var(--t-lg); border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__cta { display: none; }
  .burger { display: block; }
}

@media (max-width: 720px) {
  /* Tres columnas en un móvil darían fotos de 100px: mejor carril deslizable. */
  .band__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: var(--s-3); scrollbar-width: none;
  }
  .band__grid::-webkit-scrollbar { display: none; }
  .band__fig { scroll-snap-align: center; }
  .band__fig--alta { margin-top: 0; }

  .bento { grid-template-columns: 1fr; }
  /* En una sola columna, un span 6 crearía 5 columnas implícitas. */
  .card, .card--feature, .card--half, .card--accent { grid-column: auto; }
  .revs { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; }
  .hero__facts { gap: var(--s-4) var(--s-6); }
  .hero__facts > div { min-width: 8rem; }
  .doc__badge { position: static; margin-top: var(--s-4); }
  .dock__label { display: none; }
  .dock__btn { padding: .9rem; }
}

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

/* ── Movimiento reducido ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__scrollLine::after { display: none; }
  .marquee__track { transform: none !important; }
}

/* ── Impresión ───────────────────────────────────────────────────────────── */
@media print {
  .nav, .dock, .loader, .cursor, .hero__scroll, .marquee, .map { display: none !important; }
  body::before { display: none; }
  .section { padding-block: 1.5rem; break-inside: avoid; }
  .reveal { opacity: 1 !important; translate: none !important; }
}
