/* ==========================================================================
   MEDLA · Landing Asesoría Fiscal · v2
   Sistema cálido y redondeado: paneles enmarcados, tarjetas apiladas,
   fotografía propia, navy + marfil + dorado de la guía de marca. Ver DESIGN.md.
   ========================================================================== */

:root {
  /* color: 7 tokens */
  --ink: #142D37;          /* texto */
  --navy: #142D37;         /* paneles navy */
  --navy-deep: #0B1D24;    /* hero, cierre, tarjeta profunda */
  --ivory: #F9F8F6;        /* lienzo: claro de MEDLA */
  --paper: #FFFFFF;        /* tarjetas */
  --gold: #C9A84C;         /* acento único */
  --gold-ink: #7D6219;     /* dorado para texto pequeño sobre claro (5,1:1) */
  --muted: #586A70;        /* texto secundario (5,0:1 sobre marfil) */

  /* derivados (no son tokens nuevos) */
  --gold-display: #9C7C2A; /* dorado para titulares grandes sobre claro (3,5:1) */
  --gold-hi: #D8BC66;      /* hover de botones dorados */
  --sand: color-mix(in srgb, var(--gold) 20%, var(--ivory));
  --line: color-mix(in srgb, var(--ink) 11%, transparent);
  --on-dark: #F9F8F6;
  --on-dark-muted: #B9C6CA;

  /* tipografía */
  --f-display: "DM Serif Display", "Playfair Display", Georgia, serif;
  --f-sans: "DM Sans", "Segoe UI", system-ui, sans-serif;

  /* espacio (escala 4/8) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  /* layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --frame: clamp(0.5rem, 1vw, 0.875rem);
  --section: clamp(6rem, 12vw, 14rem);
  --nav-h: 64px;

  /* forma */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* profundidad (sombras teñidas de navy, nunca negras) */
  --shadow-sm: 0 1px 2px rgba(11, 29, 36, .06), 0 10px 28px -14px rgba(11, 29, 36, .22);
  --shadow-lg: 0 2px 6px rgba(11, 29, 36, .05), 0 48px 90px -40px rgba(11, 29, 36, .5);

  /* motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  color-scheme: light;
}

/* Tema oscuro solo bajo demanda (data-theme="dark"). La landing va siempre en claro,
   aunque el sistema esté en oscuro: el fondo es el claro de MEDLA. */
:root[data-theme="dark"] {
  --ink: #EFEBE2;
  --navy: #17323D;
  --navy-deep: #0E2129;
  --ivory: #0B171C;
  --paper: #12242B;
  --gold: #D2B25A;
  --gold-ink: #D2B25A;
  --muted: #A8B5B9;
  --gold-display: #D2B25A;
  --gold-hi: #E0C576;
  --sand: color-mix(in srgb, var(--gold) 13%, #0B171C);
  --line: rgba(239, 235, 226, .1);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 48px 90px -40px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 32px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-style: italic; }
sup { font-size: .55em; line-height: 0; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: #0B1D24; }

.ic { width: 1em; height: 1em; flex: 0 0 auto; fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 120;
  padding: var(--s-3) var(--s-5); border-radius: var(--r-pill);
  background: var(--gold); color: #0B1D24; font-weight: 600; text-decoration: none;
  transform: translateY(-180%); transition: transform .25s var(--ease);
}
.skip:focus { transform: translateY(0); }

/* ---------- tipografía ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 16ch;
}
.h2 em, .pain__text em, .book__title em { color: var(--gold-display); padding-right: .04em; }
.h2--light { color: var(--on-dark); }
.h2--light em { color: var(--gold); }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.lead--light { color: var(--on-dark-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

/* ---------- botones (píldora con ícono en su propio círculo) ---------- */
.btn {
  --bg: var(--gold); --fg: #0B1D24; --hover: var(--gold-hi); --well: rgba(11, 29, 36, .12);
  position: relative;
  display: inline-flex; align-items: center; gap: var(--s-3);
  height: 52px; padding: 0 6px 0 var(--s-6);
  border: 0; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--bg) 80%, transparent);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn:hover, .btn:focus-visible { background: var(--hover); box-shadow: 0 18px 36px -16px color-mix(in srgb, var(--bg) 90%, transparent); }
.btn__i {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--well); font-size: 18px;
  transition: transform .45s var(--spring), background-color .3s var(--ease);
}
.btn:hover .btn__i, .btn:focus-visible .btn__i { transform: translateX(2px) rotate(-45deg); }
.btn:active .btn__i { transform: scale(.88); }
.btn--sm { height: 44px; padding-left: var(--s-5); font-size: 14px; }
.btn--sm .btn__i { width: 32px; height: 32px; font-size: 15px; }
.btn--lg { height: 60px; padding-left: var(--s-8); font-size: 16px; }
.btn--lg .btn__i { width: 48px; height: 48px; font-size: 20px; }
.btn--ink { --bg: var(--ink); --fg: var(--ivory); --hover: color-mix(in srgb, var(--ink) 86%, var(--gold)); --well: color-mix(in srgb, var(--ivory) 14%, transparent); }
.btn--glass { --bg: rgba(255, 255, 255, .1); --fg: #fff; --hover: rgba(255, 255, 255, .18); --well: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.btn--glass:hover, .btn--glass:focus-visible { box-shadow: none; border-color: rgba(255, 255, 255, .5); }
.btn--glass .btn__i { color: var(--gold); }
.btn--block { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .65; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; font-size: 15px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  border-radius: var(--r-sm);
  transition: text-underline-offset .25s var(--ease), color .25s var(--ease);
}
.link:hover { text-underline-offset: 9px; }
.link .ic { font-size: 18px; color: var(--gold-ink); }
.link--light { color: var(--on-dark); }
.link--light .ic { color: var(--gold); }
.link--light:hover { color: var(--gold); }

.pill {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: 6px 16px 6px 6px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; line-height: 1.2;
}
.pill__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #0B1D24; font-size: 15px; }
.pill--glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }

.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 15px; }

/* ---------- cabecera flotante ---------- */
.nav {
  position: fixed; z-index: 90;
  top: calc(var(--frame) + 10px); left: 50%;
  width: min(1180px, calc(100% - 2 * var(--frame) - 20px)); height: var(--nav-h);
  transform: translateX(-50%);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 0 10px 0 var(--s-4); }
.nav__brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; border-radius: var(--r-pill); }
.nav__logo { width: 38px; height: auto; }
.nav__name { font-family: var(--f-display); font-size: 21px; letter-spacing: .01em; line-height: 1; }
.nav__name span { font-family: var(--f-sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-left: 3px; }
.nav__dl {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 8px 14px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  font-size: 13.5px; color: var(--ink); white-space: nowrap;
}
.nav__dl .ic { color: var(--gold-ink); font-size: 16px; }
.nav__dl strong { font-weight: 700; }
.nav__act { display: flex; align-items: center; gap: var(--s-3); }
.nav__tel {
  display: inline-flex; align-items: center; gap: var(--s-2);
  height: 44px; padding: 0 var(--s-4); border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: background-color .25s var(--ease);
}
.nav__tel .ic { font-size: 18px; color: var(--gold-ink); }
.nav__tel:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
:root[data-theme="dark"] .nav__logo, :root[data-theme="dark"] .ftr__logo { content: url("img/medla-logo-white.png"); }

/* ---------- 1 · hero ---------- */
.hero { position: relative; padding: var(--frame) var(--frame) 0; }
.hero__panel {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(100svh - 2 * var(--frame)); min-height: 640px; max-height: 980px;
  border-radius: var(--r-xl);
  background: #0B1D24; color: #fff;
  transform-origin: 50% 0;
}
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 50%;
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 29, 36, .88) 0%, rgba(11, 29, 36, .64) 30%, rgba(11, 29, 36, .14) 56%, rgba(11, 29, 36, 0) 70%),
    linear-gradient(0deg, rgba(11, 29, 36, .62) 0%, rgba(11, 29, 36, 0) 42%);
}
.hero__content {
  position: absolute; z-index: 2;
  left: clamp(1.5rem, 5vw, 5rem); bottom: clamp(2rem, 6vw, 5rem);
  width: min(660px, calc(100% - 3rem));
  display: grid; gap: var(--s-6); justify-items: start;
}
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.4rem, 8.4vw, 8rem); line-height: .95; letter-spacing: -0.025em;
  color: #fff;
}
.hero__title em { color: var(--gold); padding-right: .05em; }
/* aire para la itálica dentro de las máscaras de SplitText */
.hero__title [class*="mask"] { padding: 0 .1em .08em 0; margin: 0 -.1em -.08em 0; }
.hero__sub { max-width: 40ch; font-size: clamp(1.06rem, 1.4vw, 1.3rem); line-height: 1.55; color: rgba(249, 248, 246, .88); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-8); margin-top: var(--s-2); }
.hero__rating {
  position: absolute; z-index: 2;
  top: calc(var(--nav-h) + clamp(2rem, 4vw, 3rem)); right: clamp(1.25rem, 3.5vw, 3rem);
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: 10px 18px 10px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94); color: #142D37;
  font-size: 14px; box-shadow: var(--shadow-sm);
}
.hero__rating strong { font-weight: 700; }
.hero__rating span:last-child { color: #586A70; }
.hero__rating .stars { color: #B8963A; }

.deadline {
  position: absolute; z-index: 5;
  right: calc(var(--frame) + clamp(1.25rem, 3.5vw, 3rem)); bottom: -56px;
  width: 300px; padding: var(--s-5) var(--s-6) var(--s-6);
  border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-lg);
  display: grid; gap: var(--s-1);
}
.deadline__k { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-ink); }
.deadline__k .ic { font-size: 16px; }
.deadline__date { font-family: var(--f-display); font-size: 48px; line-height: 1.05; letter-spacing: -0.02em; margin-top: var(--s-1); }
.deadline__label { font-size: 15px; line-height: 1.4; color: var(--muted); }
.deadline__days {
  justify-self: start; margin-top: var(--s-3);
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--ivory);
  font-size: 13.5px; font-weight: 600;
}

/* ---------- 2 · marquesina ---------- */
.topics { padding: clamp(5.5rem, 9vw, 8rem) 0 clamp(1rem, 2vw, 1.5rem); }
.marquee { overflow: hidden; padding-block: var(--s-3); }
.marquee__track { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); padding-inline: var(--gutter); }
.marquee.is-looping { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee.is-looping .marquee__track { flex-wrap: nowrap; width: max-content; gap: 0; padding-inline: 0; justify-content: flex-start; }
.marquee.is-looping .chip { margin-right: var(--s-3); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: 14px 22px 14px 16px; border-radius: var(--r-pill);
  background: var(--paper); box-shadow: var(--shadow-sm);
  font-size: 16px; font-weight: 500; white-space: nowrap;
}
.chip .ic { font-size: 20px; color: var(--gold-ink); }

/* ---------- 3 · problema ---------- */
.pain { padding: clamp(4rem, 8vw, 8rem) 0 var(--section); }
.pain__text {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: 1.04; letter-spacing: -0.022em;
  max-width: 17ch; text-wrap: balance;
}
.facts { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); margin-top: clamp(3rem, 6vw, 5.5rem); }
.fact {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-8);
  min-height: 280px; padding: clamp(1.5rem, 2.6vw, 2.4rem);
  border-radius: var(--r-lg);
}
.fact__n { font-family: var(--f-display); font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -0.025em; }
.fact__pre { display: block; margin-bottom: var(--s-2); font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.fact__t { font-size: 17px; line-height: 1.5; max-width: 32ch; }
.fact__src { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.fact__src .ic { font-size: 16px; }
.fact--navy { grid-column: 1 / 6; background: var(--navy); color: var(--on-dark); }
.fact--navy .fact__pre { color: var(--gold); }
.fact--navy .fact__t { color: var(--on-dark-muted); }
.fact--navy .fact__src { color: var(--gold); }
.fact--paper { grid-column: 6 / 10; background: var(--paper); box-shadow: var(--shadow-sm); }
.fact--paper .fact__pre { color: var(--gold-ink); }
.fact--paper .fact__t { color: var(--muted); }
.fact--paper .fact__src { color: var(--gold-ink); }
.fact--sand { grid-column: 10 / 13; background: var(--sand); }
.fact--sand .fact__pre { color: color-mix(in srgb, var(--gold-ink) 80%, #000); }
.fact--sand .fact__t { color: color-mix(in srgb, var(--ink) 82%, var(--sand)); }
.fact--sand .fact__src { color: color-mix(in srgb, var(--gold-ink) 80%, #000); }

/* franja de CTA: cierra un bloque con la reserva y WhatsApp a mano */
.nudge {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6) var(--s-10);
  margin-top: var(--s-4);
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.5rem, 3vw, 2.75rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 50%, transparent);
}
.nudge__t { font-family: var(--f-display); font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 30ch; text-wrap: balance; }
.nudge__t span { display: block; margin-top: var(--s-2); font-family: var(--f-sans); font-size: 15.5px; line-height: 1.5; letter-spacing: 0; color: var(--muted); }
.nudge__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-8); }
.nudge--paper { background: var(--paper); border-color: transparent; box-shadow: var(--shadow-sm); }

/* ---------- 4 · servicios (apilado) ---------- */
.svc { padding-bottom: var(--section); }
.svc__head { display: grid; gap: var(--s-5); justify-items: start; }
.svc__head .h2 { max-width: 14ch; }
.ref a { color: var(--gold-ink); text-decoration: none; font-weight: 700; padding: 8px 4px; margin: -8px -2px; }
/* flex (no grid): un item de grid no puede "pegarse" fuera de su propia celda */
.stack { display: flex; flex-direction: column; gap: var(--s-8); margin-top: clamp(3rem, 6vw, 5rem); }
.card {
  --top: calc(var(--frame) + var(--nav-h) + 34px + var(--i, 0) * 16px);
  position: sticky; top: var(--top);
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1rem, 2.5vw, 2.5rem);
  height: min(calc(100svh - var(--top) - 28px), 720px); min-height: 560px;
  padding: clamp(.75rem, 1.1vw, 1rem);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden; transform-origin: 50% 0;
  isolation: isolate;
}
.card__copy { display: flex; flex-direction: column; justify-content: center; gap: clamp(.75rem, 1.6vh, 1.1rem); padding: clamp(1.25rem, 4vh, 3rem) clamp(1.25rem, 3vw, 3rem); min-width: 0; }
.card__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.tag { display: inline-flex; padding: 6px 12px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.card__name { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.card__hook { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 3.1vw, 3rem); line-height: 1.05; letter-spacing: -0.018em; text-wrap: balance; max-width: 18ch; }
.card__body { font-size: 16.5px; line-height: 1.55; max-width: 50ch; }
.card__list { display: grid; gap: var(--s-2); }
.card__list li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: 15.5px; font-weight: 500; line-height: 1.4; }
.card__list .ic { margin-top: 2px; font-size: 18px; }
.card__fact { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); font-size: 14.5px; line-height: 1.5; }
.card__fact > .ic { font-size: 20px; margin-top: 1px; }
.card__src { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.card__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); margin-top: var(--s-1); }
.card__wa {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  border-radius: var(--r-sm);
  transition: text-underline-offset .25s var(--ease), color .25s var(--ease);
}
.card__wa .ic { font-size: 19px; }
.card__wa:hover { text-underline-offset: 8px; }
.card--paper .card__wa .ic, .card--sand .card__wa .ic { color: var(--gold-ink); }
.card--navy .card__wa .ic, .card--deep .card__wa .ic { color: var(--gold); }
.card--navy .card__wa:hover, .card--deep .card__wa:hover { color: var(--gold); }
.card__media { position: relative; overflow: hidden; border-radius: calc(var(--r-xl) - 12px); min-height: 0; }
.card__media img { position: absolute; inset: -7% 0; width: 100%; height: 114%; object-fit: cover; will-change: transform; }
.card__shade { position: absolute; inset: 0; z-index: 4; background: #0B1D24; opacity: 0; pointer-events: none; border-radius: inherit; }

.card--paper { background: var(--paper); }
.card--paper .tag { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold-ink); }
.card--paper .card__body { color: var(--muted); }
.card--paper .card__list .ic { color: var(--gold-ink); }
.card--paper .card__fact { background: var(--ivory); }
.card--paper .card__fact > .ic, .card--paper .card__src { color: var(--gold-ink); }

.card--navy { background: var(--navy); color: var(--on-dark); }
.card--navy .tag { background: var(--gold); color: #0B1D24; }
.card--navy .card__name { color: var(--gold); }
.card--navy .card__body { color: var(--on-dark-muted); }
.card--navy .card__list .ic, .card--navy .card__fact > .ic, .card--navy .card__src { color: var(--gold); }
.card--navy .card__fact { background: rgba(255, 255, 255, .07); color: var(--on-dark); }

.card--sand { background: var(--sand); }
.card--sand .tag { background: var(--ink); color: var(--ivory); }
.card--sand .card__body { color: color-mix(in srgb, var(--ink) 80%, var(--sand)); }
.card--sand .card__list .ic, .card--sand .card__fact > .ic, .card--sand .card__src { color: color-mix(in srgb, var(--gold-ink) 82%, #000); }
.card--sand .card__fact { background: color-mix(in srgb, var(--paper) 60%, transparent); }

.card--deep { background: var(--navy-deep); color: var(--on-dark); }
.card--deep .tag { background: rgba(201, 168, 76, .16); color: var(--gold); border: 1px solid rgba(201, 168, 76, .4); }
.card--deep .card__name { color: var(--gold); }
.card--deep .card__body { color: var(--on-dark-muted); }
.card--deep .card__list .ic, .card--deep .card__fact > .ic, .card--deep .card__src { color: var(--gold); }
.card--deep .card__fact { background: rgba(255, 255, 255, .06); color: var(--on-dark); }

.note { margin-top: clamp(2rem, 4vw, 3rem); max-width: 90ch; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---------- 5 · oferta ---------- */
.offer { padding-bottom: var(--section); }
.offer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-6); align-items: start; }
.offer__copy { grid-column: 1 / 7; display: grid; gap: var(--s-6); justify-items: start; }
.steps { position: relative; margin-top: var(--s-6); width: 100%; }
.steps__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.steps__line span { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: 50% 0; }
.steps__list { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--s-5); align-items: start; }
.step__ic {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); color: var(--gold-ink); font-size: 24px;
  box-shadow: var(--shadow-sm);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--spring);
}
.step.is-on .step__ic { background: var(--gold); color: #0B1D24; transform: scale(1.06); }
.step__txt { padding-top: 6px; }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.15; letter-spacing: -0.01em; }
.step p { margin-top: var(--s-2); color: var(--muted); max-width: 44ch; }

.ticket { grid-column: 8 / 13; position: sticky; top: calc(var(--frame) + var(--nav-h) + 40px); perspective: 1200px; }
.ticket__in {
  position: relative; display: grid; gap: var(--s-3);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--r-xl);
  background: var(--navy-deep); color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  overflow: hidden; will-change: transform;
}
/* perforación del ticket: línea discontinua + dos muescas del color del lienzo */
.ticket__sep { position: relative; display: block; height: 0; margin: var(--s-3) calc(-1 * clamp(1.75rem, 3vw, 2.5rem)); border-top: 2px dashed rgba(249, 248, 246, .2); }
.ticket__sep::before, .ticket__sep::after { content: ""; position: absolute; top: -17px; width: 32px; height: 32px; border-radius: 50%; background: var(--ivory); }
.ticket__sep::before { left: -16px; }
.ticket__sep::after { right: -16px; }
.ticket__k { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ticket__price { font-family: var(--f-display); font-size: clamp(4.5rem, 7vw, 6.5rem); line-height: .95; letter-spacing: -0.03em; }
.ticket__iva { font-size: 15px; color: var(--on-dark-muted); }
.ticket__list { display: grid; gap: var(--s-3); margin: var(--s-3) 0 var(--s-5); }
.ticket__list li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: 15.5px; line-height: 1.45; }
.ticket__list .ic { color: var(--gold); font-size: 20px; }
.ticket__fine { display: flex; gap: var(--s-2); align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--on-dark-muted); }
.ticket__fine .ic { font-size: 17px; color: var(--gold); margin-top: 1px; }

/* ---------- 6 · por qué MEDLA ---------- */
.why { padding: 0 var(--frame); }
.why__panel {
  position: relative; overflow: hidden;
  padding-block: clamp(5rem, 10vw, 10rem);
  border-radius: var(--r-xl);
  background: var(--navy-deep); color: var(--on-dark);
}
.why__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-6); align-items: center; }
.why__copy { grid-column: 1 / 7; display: grid; gap: var(--s-6); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-6); }
.stat { display: flex; flex-direction: column-reverse; gap: var(--s-2); padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.stat dd { font-family: var(--f-display); font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -0.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat dt { font-size: 14.5px; line-height: 1.45; color: var(--on-dark-muted); }
.why__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-8); margin-top: var(--s-4); }
.why__collage { grid-column: 8 / 13; position: relative; height: clamp(420px, 44vw, 600px); }
.why__ph { position: absolute; overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.why__ph img { width: 100%; height: 100%; object-fit: cover; }
.why__ph--a { inset: 0 0 18% 12%; }
.why__ph--b { left: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--navy-deep); }
.why__badge {
  position: absolute; right: 6%; bottom: 8%;
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 10px 16px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94); color: #142D37;
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.why__badge .ic { color: #9C7C2A; font-size: 16px; }

/* ---------- 7 · reseñas ---------- */
.reviews { padding-block: var(--section); overflow: hidden; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-8); }
.reviews__head .h2 { max-width: 15ch; }
.reviews__meta { display: flex; align-items: center; gap: var(--s-6); }
.score { display: grid; gap: var(--s-1); }
.score .stars { font-size: 18px; color: var(--gold-display); }
.score p { font-size: 15px; }
.score strong { font-weight: 700; }
.score span { color: var(--muted); }
.reviews__nav { display: flex; gap: var(--s-2); }
.round {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-size: 20px; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), opacity .25s var(--ease);
}
.round:hover { background: var(--ink); color: var(--ivory); }
.round:active { transform: scale(.94); }
.round[disabled] { opacity: .35; pointer-events: none; }
.reviews__track {
  --pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: flex; gap: var(--s-5);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: var(--s-4) var(--pad) var(--s-8);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none; cursor: grab;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.review {
  flex: 0 0 clamp(290px, 30vw, 400px);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-8);
  min-height: 300px; padding: clamp(1.5rem, 2.4vw, 2.1rem);
  border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.review__q { font-size: 34px; color: var(--gold); }
.review blockquote { font-family: var(--f-display); font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.3; letter-spacing: -0.005em; text-wrap: pretty; }
.review figcaption { display: flex; align-items: center; gap: var(--s-3); font-size: 15px; }
.review figcaption strong { display: block; font-weight: 700; }
.review figcaption span span { font-size: 13px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.review--navy { background: var(--navy); color: var(--on-dark); }
.review--navy figcaption span span { color: var(--on-dark-muted); }
.review--navy .avatar { background: var(--gold); color: #0B1D24; }
.reviews .nudge { margin-top: var(--s-4); }
.review--sand { background: var(--sand); }
.review--sand .avatar { background: var(--paper); }

/* ---------- 8 · reservar ---------- */
.book { padding-bottom: var(--section); }
.book__shell { padding: 10px; border-radius: calc(var(--r-xl) + 10px); background: color-mix(in srgb, var(--paper) 55%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.book__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--r-xl); overflow: hidden; background: var(--paper); }
.book__aside {
  display: flex; flex-direction: column; gap: var(--s-5);
  padding: clamp(1.75rem, 3.4vw, 3rem);
  background: var(--navy-deep); color: var(--on-dark);
}
.book__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1.04; letter-spacing: -0.02em; }
.book__title em { color: var(--gold); }
.book__price { font-size: 15px; color: var(--on-dark-muted); }
.book__price span { display: block; font-family: var(--f-display); font-size: 56px; line-height: 1; letter-spacing: -0.02em; color: var(--on-dark); margin-bottom: var(--s-2); }
.book__list { display: grid; gap: var(--s-2); }
.book__list li { display: flex; gap: var(--s-3); align-items: center; font-size: 15.5px; }
.book__list .ic { color: var(--gold); font-size: 19px; }
.book__dl { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: rgba(201, 168, 76, .12); border: 1px solid rgba(201, 168, 76, .28); font-size: 14.5px; line-height: 1.5; }
.book__dl .ic { color: var(--gold); font-size: 20px; margin-top: 1px; }
.book__quote { display: grid; gap: var(--s-2); margin-top: var(--s-2); padding: var(--s-5); border-radius: var(--r-md); background: rgba(255, 255, 255, .05); }
.book__quote .stars { font-size: 14px; }
.book__quote blockquote { font-family: var(--f-display); font-size: 21px; line-height: 1.3; }
.book__quote figcaption { font-size: 13px; color: var(--on-dark-muted); }
.book__contact { margin-top: auto; display: grid; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .1); }
.book__contact p { font-size: 14.5px; color: var(--on-dark-muted); }
.book__btns { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ghost {
  display: inline-flex; align-items: center; gap: var(--s-2);
  height: 44px; padding: 0 var(--s-5); border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .22); color: var(--on-dark);
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.ghost .ic { font-size: 18px; color: var(--gold); }
.ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.book__main { padding: clamp(1rem, 2vw, 1.5rem); display: grid; gap: var(--s-4); align-content: start; min-width: 0; }


.cal { position: relative; min-height: 760px; border-radius: var(--r-lg); overflow: hidden; background: var(--ivory); }
.cal iframe { position: relative; z-index: 1; display: block; width: 100%; min-height: 760px; border: 0; background: transparent; opacity: 0; transition: opacity .6s var(--ease); }
.cal.is-ready iframe { opacity: 1; }
.cal__skeleton { position: absolute; inset: var(--s-6); display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 72px; gap: var(--s-3); align-content: start; transition: opacity .4s var(--ease); }
.cal__skeleton span { border-radius: var(--r-md); background: linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 40%, var(--ivory)) 50%, var(--paper) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.cal__skeleton span:first-child { grid-column: 1 / -1; height: 120px; }
.cal.is-ready .cal__skeleton { opacity: 0; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.cal__alt { padding: var(--s-3) var(--s-2) 0; font-size: 14px; color: var(--muted); }
.cal__alt a { color: var(--ink); text-underline-offset: 3px; }


/* ---------- 9 · FAQ ---------- */
.faq { padding-bottom: var(--section); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-6); align-items: start; }
.faq__side { grid-column: 1 / 5; display: grid; gap: var(--s-8); position: sticky; top: calc(var(--frame) + var(--nav-h) + 40px); }
.talk { display: grid; gap: var(--s-3); justify-items: start; padding: var(--s-8); border-radius: var(--r-lg); background: var(--navy); color: var(--on-dark); }
.talk__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(201, 168, 76, .16); color: var(--gold); font-size: 24px; }
.talk__t { font-family: var(--f-display); font-size: 26px; line-height: 1.15; }
.talk__p { color: var(--on-dark-muted); font-size: 15px; margin-bottom: var(--s-3); }
.talk__p a { color: var(--on-dark); text-underline-offset: 3px; white-space: nowrap; }
.acc { grid-column: 6 / 13; display: grid; gap: var(--s-3); }
.acc__item { border-radius: var(--r-md); background: color-mix(in srgb, var(--paper) 55%, transparent); border: 1px solid var(--line); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); interpolate-size: allow-keywords; }
.acc__item[open] { background: var(--paper); box-shadow: var(--shadow-sm); border-color: transparent; }
.acc__item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-6);
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-6); cursor: pointer;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem); font-weight: 600; line-height: 1.35;
  border-radius: var(--r-md);
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary i { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--ivory); transition: background-color .3s var(--ease), transform .45s var(--spring); }
.acc__item summary i::before, .acc__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; margin: -.8px 0 0 -6.5px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease-out), background-color .3s; }
.acc__item summary i::after { transform: rotate(90deg); }
.acc__item[open] summary i { background: var(--gold); transform: rotate(180deg); }
.acc__item[open] summary i::after { transform: rotate(0deg); }
.acc__item[open] summary i::before, .acc__item[open] summary i::after { background: #0B1D24; }
.acc__item:hover summary i { background: color-mix(in srgb, var(--gold) 30%, var(--ivory)); }
.acc__item::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
.acc__item[open]::details-content { block-size: auto; }
.acc__body { padding: 0 var(--s-16) var(--s-6) var(--s-6); color: var(--muted); max-width: 64ch; }

/* ---------- 10 · cierre ---------- */
.final { padding: 0 var(--frame) var(--frame); }
.final__panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); min-height: clamp(520px, 64vh, 700px); display: grid; align-items: center; color: #fff; background: #0B1D24; }
.final__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; will-change: transform; }
.final__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 29, 36, .94) 0%, rgba(11, 29, 36, .82) 45%, rgba(11, 29, 36, .55) 100%); }
.final__in { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter); display: grid; gap: var(--s-6); justify-items: start; }
.final__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 7.4vw, 7rem); line-height: .98; letter-spacing: -0.025em; max-width: 12ch; }
.final__title em { color: var(--gold); }
.final__dl { display: flex; gap: var(--s-3); align-items: flex-start; max-width: 56ch; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.5; color: rgba(249, 248, 246, .88); }
.final__dl .ic { color: var(--gold); font-size: 22px; margin-top: 2px; }
.final__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-2); }
.final__tel { font-size: 15px; color: rgba(249, 248, 246, .78); }
.final__tel a { color: #fff; font-weight: 600; text-underline-offset: 4px; white-space: nowrap; transition: color .25s var(--ease); }
.final__tel a:hover { color: var(--gold); }

/* ---------- pie ---------- */
.ftr { padding-block: var(--s-12); font-size: 14px; color: var(--muted); }
.ftr__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6); }
.ftr__brand { display: flex; align-items: center; gap: var(--s-4); }
.ftr__logo { width: 40px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.ftr__links a { text-decoration: none; border-radius: var(--r-sm); transition: color .25s var(--ease); }
.ftr__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- barra móvil ---------- */
.dock { display: none; }

/* ---------- estado inicial de la entrada (solo con JS; el JS lo retira) ---------- */
.is-loading [data-hero-item], .is-loading [data-hero-title], .is-loading [data-hero-float] { opacity: 0; animation: hero-safety .01s 2.6s forwards; }
@keyframes hero-safety { to { opacity: 1; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__dl-more { display: none; }
}

@media (max-width: 1023px) {
  .nav__dl { display: none; }
  .hero__panel { max-height: 900px; }
  .hero__shade { background: linear-gradient(90deg, rgba(11, 29, 36, .9) 0%, rgba(11, 29, 36, .62) 42%, rgba(11, 29, 36, .1) 72%), linear-gradient(0deg, rgba(11, 29, 36, .72) 0%, rgba(11, 29, 36, 0) 48%); }
  .hero__rating { display: none; }

  .facts { grid-template-columns: 1fr 1fr; }
  .fact--navy { grid-column: 1 / -1; }
  .fact--paper, .fact--sand { grid-column: span 1; }

  .card { position: relative; top: auto; height: auto; min-height: 0; grid-template-columns: 1fr; }
  .card__media { order: -1; aspect-ratio: 16 / 10; }
  .card__media img { inset: -6% 0; height: 112%; }
  .card__copy { padding: var(--s-6) var(--s-4) var(--s-4); }

  .offer__grid { grid-template-columns: 1fr; row-gap: var(--s-12); }
  .offer__copy, .ticket { grid-column: 1 / -1; }
  .ticket { position: relative; top: auto; max-width: 520px; }

  .why__grid { grid-template-columns: 1fr; row-gap: var(--s-12); }
  .why__copy, .why__collage { grid-column: 1 / -1; }
  .why__collage { height: clamp(360px, 70vw, 520px); }

  .book__in { grid-template-columns: 1fr; }

  .faq__grid { grid-template-columns: 1fr; row-gap: var(--s-10); }
  .faq__side, .acc { grid-column: 1 / -1; }
  .faq__side { position: static; }
}

@media (max-height: 700px) and (min-width: 1024px) {
  .card { position: relative; top: auto; height: auto; min-height: 0; }
  .card__media { min-height: 480px; }
}

@media (max-width: 767px) {
  :root { --nav-h: 58px; }
  body { font-size: 16px; }
  .nav { width: calc(100% - 2 * var(--frame) - 12px); top: calc(var(--frame) + 6px); }
  .nav__in { padding: 0 6px 0 var(--s-3); }
  .nav__cta, .nav__name span { display: none; }
  .nav__logo { width: 32px; }
  .nav__name { font-size: 19px; }
  .nav__tel { height: 44px; padding: 0 var(--s-4); background: var(--ink); color: var(--ivory); }
  .nav__tel .ic { color: var(--gold); }
  .nav__tel:hover { background: var(--ink); }

  .hero__panel { height: calc(100svh - 2 * var(--frame)); min-height: 600px; max-height: 860px; }
  .hero__media img { object-position: 50% 30%; }
  .hero__shade { background: linear-gradient(0deg, rgba(11, 29, 36, .96) 0%, rgba(11, 29, 36, .82) 36%, rgba(11, 29, 36, .2) 62%, rgba(11, 29, 36, 0) 78%); }
  /* la tarjeta del plazo se monta 28px sobre el panel: el último botón queda por encima */
  .hero__content { left: var(--s-5); right: var(--s-5); bottom: calc(var(--s-6) + 28px); width: auto; gap: var(--s-4); }
  .hero__title { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero__ctas { width: 100%; gap: var(--s-3); }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .pill { font-size: 13px; }
  .deadline { position: relative; right: auto; bottom: auto; width: auto; margin: -28px var(--s-4) 0; }
  .deadline__date { font-size: 40px; }

  .topics { padding-top: var(--s-12); }
  .chip { font-size: 14.5px; padding: 12px 18px 12px 14px; }

  .pain { padding-top: var(--s-12); }
  .facts { grid-template-columns: 1fr; }
  .fact--paper, .fact--sand { grid-column: 1 / -1; }
  .fact { min-height: 0; }

  .card { border-radius: var(--r-lg); padding: 8px; }
  .card__media { border-radius: calc(var(--r-lg) - 8px); aspect-ratio: 4 / 3; }
  .card__copy { padding: var(--s-5) var(--s-3) var(--s-3); }
  .card__cta { width: 100%; justify-content: space-between; }

  .ticket__in { border-radius: var(--r-lg); }

  .why__panel { border-radius: var(--r-lg); }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .stat { padding: var(--s-4); }
  .why__collage { height: 340px; }

  .reviews__head { align-items: flex-start; }
  .reviews__meta { width: 100%; justify-content: space-between; }
  .round { width: 46px; height: 46px; }
  .review { flex-basis: 84vw; }

  .book__shell { padding: 6px; border-radius: calc(var(--r-lg) + 6px); }
  .book__in { border-radius: var(--r-lg); }
  .cal, .cal iframe { min-height: 820px; }

  .acc__body { padding-right: var(--s-6); }
  .talk { padding: var(--s-6); }

  .final__panel { border-radius: var(--r-lg); }
  .final__ctas .btn { width: 100%; justify-content: space-between; }

  .ftr { padding-bottom: calc(var(--s-12) + 88px); }
  .ftr__in { flex-direction: column; align-items: flex-start; }

  .dock {
    position: fixed; z-index: 80; left: var(--s-3); right: var(--s-3); bottom: calc(var(--s-3) + env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
    padding: 8px 8px 8px var(--s-5); border-radius: var(--r-pill);
    background: #0B1D24; color: #fff;
    box-shadow: 0 24px 48px -16px rgba(11, 29, 36, .6);
    transform: translateY(160%); transition: transform .55s var(--ease-out);
  }
  .dock.is-on { transform: translateY(0); }
  .dock__txt { display: grid; line-height: 1.2; }
  .dock__txt strong { font-family: var(--f-display); font-size: 22px; font-weight: 400; }
  .dock__txt span { font-size: 12.5px; color: #B9C6CA; }
  .dock__wa {
    display: grid; place-items: center; flex: 0 0 auto; margin-left: auto;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
    color: var(--gold); font-size: 22px;
    transition: background-color .25s var(--ease), transform .2s var(--ease);
  }
  .dock__wa:active { transform: scale(.92); }
  .dock { gap: var(--s-2); }

  .nudge__act { width: 100%; gap: var(--s-3); }
  .why__ctas { gap: var(--s-3); }
  .nudge__act .btn, .why__ctas .btn { width: 100%; justify-content: space-between; }
  .card__acts { gap: var(--s-3); }

  /* acciones secundarias (WhatsApp, teléfono): botón de contorno a lo ancho, área táctil de 52px */
  .hero__ctas .link, .why__ctas .link, .nudge__act .link, .card__wa {
    justify-content: center; width: 100%; min-height: 52px; padding: 0 var(--s-5);
    border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
    text-decoration: none; font-size: 15px;
    transition: background-color .25s var(--ease), transform .2s var(--ease);
  }
  .hero__ctas .link--light, .why__ctas .link--light, .card--navy .card__wa, .card--deep .card__wa {
    border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07);
  }
  .card--sand .card__wa { border-color: color-mix(in srgb, var(--ink) 26%, transparent); }
  .hero__ctas .link:active, .why__ctas .link:active, .nudge__act .link:active, .card__wa:active { transform: scale(.98); }

  /* en móvil la reseña del bloque de reserva sobra: el calendario sube */
  .book__quote { display: none; }

  /* áreas táctiles */
  .nav__brand { min-height: 44px; }
  .ftr__links a { display: inline-block; padding-block: 11px; }
  .ftr__links { gap: 0 var(--s-6); }
}

@media (max-width: 429px) {
  .dock__txt span { display: none; }
}

@media (max-width: 379px) {
  .dock { padding-left: var(--s-4); }
  .dock .btn--sm { gap: var(--s-2); padding-left: var(--s-4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .is-loading [data-hero-item], .is-loading [data-hero-title], .is-loading [data-hero-float] { opacity: 1; }
}
