/* ==========================================================================
   Nácar Odontología · Landing de demostración
   ========================================================================== */

/* ---------- Tipografía alojada en el sitio ----------
   Figtree, SIL Open Font License 1.1 (ver assets/fonts/OFL.txt).
   Se sirve desde el propio dominio: ningún pedido a terceros ni datos de visitantes a Google. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #071a2b;
  --navy-900: #0b2238;
  --navy-800: #0f2a44;
  --navy-700: #1d3a57;
  --text: #3f5266;
  --muted: #5e7183;
  --line: #dce6ec;
  --line-strong: #c5d4dd;

  --teal-800: #095b65;
  --teal-700: #0b6e7a;
  --teal-600: #0e7c8a;
  --teal-500: #1ba6b8;
  --teal-300: #7fd0da;
  --teal-200: #b4e3e9;
  --teal-100: #d5eef1;
  --teal-50: #eaf6f8;
  --mist: #f4f8f9;
  --white: #ffffff;

  --coral-700: #a8382d;
  --coral-600: #c2463a;
  --coral-50: #fcedeb;
  --star: #f2a93b;
  --ok: #1e8e5a;
  --wa: #25d366;
  --wa-ink: #075e54;

  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-xs: 0 1px 2px rgb(15 42 68 / 0.06);
  --shadow-sm: 0 1px 2px rgb(15 42 68 / 0.05), 0 4px 10px rgb(15 42 68 / 0.06);
  --shadow-md: 0 2px 4px rgb(15 42 68 / 0.04), 0 12px 28px rgb(15 42 68 / 0.09);
  --shadow-lg: 0 6px 14px rgb(15 42 68 / 0.06), 0 26px 60px rgb(15 42 68 / 0.14);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  interpolate-size: allow-keywords;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--teal-600);
  accent-color: var(--teal-600);
}

body.menu-open { overflow: hidden; }

/* El atributo hidden siempre gana, aunque el componente tenga display propio */
[hidden] { display: none !important; }

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy-800);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { color: var(--teal-800); }

button,
input,
select,
textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--teal-200); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--navy-800);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 18px; height: 18px; }

/* Scrollbars discretos en los carruseles */
.dates,
.explorer-tabs,
.team {
  scrollbar-width: thin;
  scrollbar-color: var(--teal-200) transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75em 1.4em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 1px 2px rgb(9 91 101 / 0.24), 0 6px 16px rgb(14 124 138 / 0.24);
}
.btn-primary:hover {
  background: var(--teal-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgb(9 91 101 / 0.24), 0 12px 24px rgb(14 124 138 / 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--line-strong);
}
.btn-secondary:hover { color: var(--navy-800); border-color: var(--navy-800); }

.btn-urgent {
  background: var(--coral-600);
  color: #fff;
  box-shadow: 0 1px 2px rgb(168 56 45 / 0.25), 0 6px 16px rgb(194 70 58 / 0.24);
}
.btn-urgent:hover { background: var(--coral-700); color: #fff; transform: translateY(-1px); }

.btn-wa {
  background: var(--wa-ink);
  color: #fff;
}
.btn-wa:hover { background: #054a42; color: #fff; transform: translateY(-1px); }

.btn-lg { min-height: 56px; padding: 0.9em 1.75em; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0.5em 1.05em; font-size: 0.9375rem; }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: rgb(14 124 138 / 0.35);
  text-underline-offset: 0.3em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.text-link:hover { color: var(--teal-800); text-decoration-color: currentColor; }

/* ---------- Aviso de demo ---------- */
.demo-bar {
  background: var(--navy-900);
  color: #c9d7e3;
  font-size: 0.875rem;
  line-height: 1.45;
}
.demo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding-block: 8px;
}
.demo-bar strong { color: #fff; font-weight: 600; }
.demo-short { display: none; }
.demo-bar-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #c9d7e3;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.demo-bar-close:hover { background: rgb(255 255 255 / 0.1); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgb(15 42 68 / 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-800);
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--navy-800); }
.brand-mark { width: 40px; height: 40px; color: var(--teal-600); }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: 1.4375rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}
.brand-sub {
  margin-top: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; }
.nav a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--navy-800);
  font-size: 0.96875rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }

.header-cta { flex: none; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy-800);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 1.45rem + 3.4vw, 4.125rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.038em;
}
.hero h1 .accent { display: block; color: var(--teal-600); }
.hero-lead {
  max-width: 34rem;
  margin-top: 24px;
  font-size: clamp(1.125rem, 1.02rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  list-style: none;
  color: var(--navy-700);
  font-size: 0.9375rem;
  font-weight: 500;
}
.hero-checks li { display: flex; align-items: center; gap: 7px; }
.hero-checks .icon { color: var(--teal-600); stroke-width: 2.25; }

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy-700);
  font-size: 0.875rem;
  font-weight: 500;
}
.open-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}
.open-status.is-open .open-dot { background: var(--ok); box-shadow: 0 0 0 4px rgb(30 142 90 / 0.16); }
.open-status.is-closed .open-dot { background: var(--teal-500); box-shadow: 0 0 0 4px rgb(27 166 184 / 0.18); }

.hero-media { position: relative; margin: 0; isolation: isolate; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 32px -28px -28px 36px;
  z-index: -1;
  border-radius: var(--r-xl);
  background: var(--teal-100);
}
.hero-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  background: var(--teal-50);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid rgb(15 42 68 / 0.06);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Abajo a la izquierda: tapa el banquito, nunca las caras */
.next-slot {
  left: -44px;
  bottom: 8%;
  width: min(272px, 62%);
  padding: 18px 18px 16px;
}
.ns-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}
.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--ok);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
.ns-time {
  margin-top: 6px;
  color: var(--navy-800);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ns-meta { margin-top: 2px; color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.next-slot .btn { width: 100%; margin-top: 14px; }

.kids-chip {
  right: -22px;
  top: 7%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  color: var(--navy-800);
  font-size: 0.9375rem;
  font-weight: 600;
}
.kids-chip-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
}
.kids-chip-icon .icon { width: 22px; height: 22px; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(80px, 10vw, 136px); }
.section-tint { background: var(--teal-50); }
.section-navy { background: var(--navy-800); color: #c9d7e3; }
.section-navy h2 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2,
.booking-intro h2,
.why-copy h2,
.faq-intro h2,
.location-info h2,
.cta-copy h2 {
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3.125rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}
.section-head > p,
.lead {
  margin-top: 18px;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
}
.section-navy .section-head > p { color: #b8cad8; }

/* ---------- Explorador de tratamientos ---------- */
.explorer {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.explorer-tabs { display: flex; flex-direction: column; gap: 6px; }

.tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--navy-800);
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.3s var(--ease-out);
}
.tab:hover { background: rgb(255 255 255 / 0.65); }
.tab[aria-selected="true"] {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.tab-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--teal-700);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tab[aria-selected="true"] .tab-icon { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.tab--urgent .tab-icon { color: var(--coral-600); }
.tab--urgent[aria-selected="true"] .tab-icon { background: var(--coral-600); border-color: var(--coral-600); color: #fff; }
.tab-text { display: flex; flex-direction: column; min-width: 0; }
.tab-name { font-weight: 600; line-height: 1.3; }
.tab-meta { color: var(--muted); font-size: 0.8125rem; line-height: 1.35; }

.panel {
  padding: clamp(24px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.panel:focus-visible { outline-offset: 4px; border-radius: 28px; }
.panel-head { display: flex; align-items: center; gap: 18px; }
.panel-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 20px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.panel-icon .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.panel--urgent .panel-icon { background: var(--coral-50); color: var(--coral-600); }
.panel-head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.028em; }
.panel-tags { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.panel-desc { max-width: 62ch; margin-top: 22px; font-size: 1.0625rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.facts div { padding: 14px 16px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.facts dd { margin: 4px 0 0; color: var(--navy-800); font-size: 0.96875rem; font-weight: 600; line-height: 1.35; }

.includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: 26px;
  list-style: none;
}
.includes li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; }
.includes .icon { margin-top: 3px; color: var(--teal-600); stroke-width: 2.25; }
.panel--urgent .includes .icon { color: var(--coral-600); }

.panel-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.panel-next { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9375rem; }
.panel-next strong { color: var(--navy-800); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Reserva ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.booking-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.booking-lead { margin-top: 18px; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }
.booking-notes { display: grid; gap: 18px; margin: 32px 0 26px; list-style: none; }
.booking-notes li { display: flex; gap: 14px; align-items: flex-start; }
.booking-notes .icon { margin-top: 2px; color: var(--teal-600); }
.booking-notes p { font-size: 0.9375rem; }
.booking-notes strong { display: block; color: var(--navy-800); font-weight: 600; }

.booking {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.steps { display: flex; gap: 10px; margin-bottom: 30px; list-style: none; }
.steps li { flex: 1; min-width: 0; }
.steps button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
}
.steps button:disabled { cursor: default; }
.step-bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}
.step-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--teal-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.steps .is-current .step-bar::after,
.steps .is-done .step-bar::after { transform: scaleX(1); }
.steps .is-done .step-bar::after { background: var(--teal-500); }
.step-label { display: flex; align-items: center; gap: 8px; }
.step-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mist);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.steps .is-current button { color: var(--navy-800); }
.steps .is-current .step-num { background: var(--teal-600); color: #fff; }
.steps .is-done button { color: var(--navy-700); }
.steps .is-done .step-num { background: var(--teal-100); color: var(--teal-800); }
.steps .is-done button:hover .step-label { text-decoration: underline; text-underline-offset: 0.25em; }

.steps-compact { display: none; }

.step-title {
  margin-bottom: 18px;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.step-title:focus { outline: none; }
.step-title:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 4px; }
.step-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.step-head .step-title { margin-bottom: 0; }

.step.is-entering { animation: step-in 0.42s var(--ease-out) both; }

.step-error {
  margin-top: 14px;
  color: var(--coral-700);
  font-size: 0.9375rem;
  font-weight: 500;
}
.step-error:empty { display: none; }

/* Opciones tipo tarjeta (radio) */
.options { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.options--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.3s var(--ease-out);
}
.option:hover { border-color: var(--teal-300); background: #f7fbfc; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:has(input:focus-visible) { outline: 3px solid var(--teal-600); outline-offset: 2px; }
.option:has(input:checked) {
  border-color: var(--teal-600);
  background: var(--teal-50);
  box-shadow: 0 6px 16px rgb(14 124 138 / 0.12);
}
.option:has(input:disabled) { cursor: not-allowed; opacity: 0.55; }
.option-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.option:has(input:checked) .option-icon { background: var(--teal-600); color: #fff; }
.option.is-urgent .option-icon { background: var(--coral-50); color: var(--coral-600); }
.option.is-urgent:has(input:checked) .option-icon { background: var(--coral-600); color: #fff; }
.option-text { display: flex; flex-direction: column; min-width: 0; }
.option-title { color: var(--navy-800); font-weight: 600; line-height: 1.3; }
.option-meta { color: var(--muted); font-size: 0.875rem; line-height: 1.35; }
.option-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  margin-left: auto;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.option-check .icon { width: 14px; height: 14px; stroke-width: 3; }
.option:has(input:checked) .option-check { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

.option-avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--teal-50);
}
.option-avatar--any { display: grid; place-items: center; color: var(--teal-700); }
.option-next {
  margin-left: auto;
  padding-left: 12px;
  color: var(--navy-800);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.option-next small { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 500; }

/* Selector de días */
.date-picker { position: relative; min-width: 0; margin: 0 -4px; padding: 0; border: 0; }
.dates {
  display: flex;
  gap: 8px;
  padding: 4px 4px 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  overscroll-behavior-x: contain;
}
.date {
  position: relative;
  display: flex;
  flex: 0 0 78px;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 10px 6px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.3s var(--ease-out);
}
.date:hover { border-color: var(--teal-300); }
.date input { position: absolute; opacity: 0; pointer-events: none; }
.date:has(input:focus-visible) { outline: 3px solid var(--teal-600); outline-offset: 2px; }
.date-dow { color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.date-num {
  color: var(--navy-800);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.date-mon { color: var(--muted); font-size: 0.75rem; }
.date-avail {
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}
.date:has(input:checked) {
  border-color: var(--teal-600);
  background: var(--teal-600);
  box-shadow: 0 8px 18px rgb(14 124 138 / 0.25);
}
.date:has(input:checked) :is(.date-dow, .date-num, .date-mon) { color: #fff; }
.date:has(input:checked) .date-avail { background: rgb(255 255 255 / 0.18); color: #fff; }
.date.is-disabled { background: var(--mist); border-color: var(--mist); cursor: not-allowed; }
.date.is-disabled .date-num { color: #8a9aa8; }
.date.is-disabled .date-avail { background: transparent; color: var(--muted); }

.date-nav {
  position: absolute;
  top: calc(50% - 6px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  transform: translateY(-50%);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.date-nav:hover { border-color: var(--navy-800); }
.date-nav--prev { left: -14px; }
.date-nav--next { right: -14px; }
.date-nav:disabled { opacity: 0; pointer-events: none; }

/* Horarios */
.slots { min-height: 132px; margin-top: 10px; }
.slots-day { color: var(--navy-800); font-weight: 600; }
.slot-group { min-width: 0; margin: 16px 0 0; padding: 0; border: 0; }
.slot-group legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0;
  color: var(--navy-700);
  font-size: 0.875rem;
  font-weight: 600;
}
.slot-group legend .icon { color: var(--teal-600); }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.slot span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--navy-800);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.3s var(--ease-out);
}
.slot:hover span { border-color: var(--teal-300); background: #f7fbfc; }
.slot input:checked + span {
  border-color: var(--teal-600);
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 6px 14px rgb(14 124 138 / 0.25);
}
.slot input:focus-visible + span { outline: 3px solid var(--teal-600); outline-offset: 2px; }

.slots-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--mist);
  color: var(--text);
}

/* Datos personales */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field > label,
.field .label { padding: 0; color: var(--navy-800); font-size: 0.9375rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.subfields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.subfields[hidden] { display: none; }

.input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--navy-800);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea.input { height: auto; min-height: 92px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input::placeholder { color: var(--muted); opacity: 1; }
.input:hover { border-color: #9fb3c1; }
.input:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgb(27 166 184 / 0.2); }
.input[aria-invalid="true"] { border-color: var(--coral-600); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(194 70 58 / 0.16); }
.field-hint { color: var(--muted); font-size: 0.8125rem; }
.field-error { color: var(--coral-700); font-size: 0.8125rem; font-weight: 500; }
.field-error:empty { display: none; }

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  padding: 4px;
  border-radius: 16px;
  background: var(--mist);
}
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span {
  display: block;
  padding: 9px 16px;
  border-radius: 12px;
  color: var(--navy-700);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.segmented input:checked + span { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--teal-600); outline-offset: 1px; }

.check { display: flex; align-items: flex-start; gap: 10px; color: var(--navy-800); font-size: 0.9375rem; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; }

.consent { margin-top: 18px; color: var(--muted); font-size: 0.8125rem; }

.booking-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.booking-summary { min-width: 0; color: var(--navy-700); font-size: 0.9375rem; font-weight: 500; }
.booking-buttons { display: flex; gap: 10px; margin-left: auto; }

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgb(255 255 255 / 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.is-loading .spinner { display: inline-block; }

.noscript { padding: 16px; border-radius: var(--r-md); background: var(--mist); }

/* Confirmación: el único momento con movimiento coreografiado */
.booking-done:focus { outline: none; }
.done-head { text-align: center; }
.done-check { display: block; width: 64px; height: 64px; margin: 4px auto 18px; }
.done-check svg { width: 100%; height: 100%; }
.done-check circle { fill: var(--teal-50); stroke: var(--teal-600); stroke-width: 2.5; }
.done-check path { fill: none; stroke: var(--teal-600); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.done-title { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); letter-spacing: -0.025em; }
.done-sub { max-width: 34rem; margin: 10px auto 0; color: var(--text); }

.ticket {
  position: relative;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--mist);
}
.ticket-when {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 2px dashed var(--line-strong);
}
.ticket-when dt { color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.ticket-when dd { margin: 2px 0 0; }
.ticket-date { display: block; color: var(--navy-800); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.ticket-time {
  color: var(--teal-700);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ticket-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; padding: 20px 22px 22px; }
.ticket-rows dt { color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.ticket-rows dd { margin: 3px 0 0; color: var(--navy-800); font-weight: 600; line-height: 1.35; }
.ticket-pro { display: flex; align-items: center; gap: 10px; }
.ticket-pro img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.ticket-code { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.done-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}
.done-note .icon { margin-top: 1px; }

.booking-done.is-in .done-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.8s var(--ease-out) 0.05s forwards; }
.booking-done.is-in .done-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s var(--ease-out) 0.55s forwards; }
.booking-done.is-in .done-head :is(.done-title, .done-sub) { animation: rise 0.6s var(--ease-out) both; }
.booking-done.is-in .done-sub { animation-delay: 0.08s; }
.booking-done.is-in .ticket { animation: settle 0.8s var(--ease-out) 0.2s both; }
.booking-done.is-in :is(.done-actions, .done-note) { animation: rise 0.6s var(--ease-out) 0.45s both; }

/* ---------- Por qué ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.why-media { margin: 0; }
.why-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.why-list { margin-top: 36px; list-style: none; border-top: 1px solid var(--line-strong); }
.why-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
}
.why-list .icon { margin-top: 2px; color: var(--teal-600); }
.why-list h3 { font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.35; }
.why-list p { margin-top: 3px; color: var(--text); font-size: 0.96875rem; }

/* ---------- Equipo ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  list-style: none;
}
.member { display: flex; flex-direction: column; align-items: flex-start; }
.member img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--teal-50);
}
.member h3 { margin-top: 18px; font-size: 1.1875rem; letter-spacing: -0.015em; }
.member-role { margin-top: 4px; color: var(--teal-700); font-size: 0.9375rem; font-weight: 600; }
.member-bio { margin-top: 8px; color: var(--text); font-size: 0.9375rem; }
.member-hours { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; color: var(--navy-700); font-size: 0.875rem; font-weight: 500; }
.member-hours .icon { margin-top: 1px; color: var(--teal-600); }
.member-hours { margin-bottom: 18px; }
.team-note { margin-top: 32px; color: var(--muted); font-size: 0.8125rem; }
.member .btn { margin-top: auto; }

/* ---------- Opiniones ---------- */
.quotes {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}
.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px 30px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.04);
}
.quote blockquote { margin: 16px 0 0; }
.quote blockquote p { color: #fff; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; }
.quote--featured {
  grid-row: span 2;
  padding: clamp(28px, 4vw, 48px);
  border-color: transparent;
  background: var(--teal-700);
}
.quote--featured blockquote { margin-top: 20px; }
.quote--featured blockquote p {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.quote-mark { width: 52px; height: 52px; color: var(--teal-200); }
.quote--featured .stars { margin-left: auto; }
.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-200);
  color: var(--navy-900);
  font-size: 0.9375rem;
  font-weight: 700;
}
.quote-name { display: block; color: #fff; font-weight: 600; line-height: 1.3; }
.quote-context { display: block; color: #b8cad8; font-size: 0.875rem; }
.quote--featured .quote-context { color: #d2ecef; }
.stars { display: flex; gap: 2px; color: var(--star); }
.quotes-note { margin-top: 28px; color: #a9bdcd; font-size: 0.8125rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-contact {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--teal-50);
}
.faq-contact p { color: var(--text); }
.faq-contact strong { display: block; color: var(--navy-800); }
.faq-contact .btn { margin-top: 16px; }

.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  color: var(--navy-800);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-700); }
.faq-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  transition: transform 0.35s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
}
.faq[open] .faq-icon { transform: rotate(180deg); background: var(--teal-600); color: #fff; }
.faq-body { padding: 0 56px 24px 4px; }
.faq::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
}
.faq[open]::details-content { block-size: auto; }

/* ---------- Ubicación ---------- */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.map-card {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.map { width: 100%; height: 100%; }
.map-street { fill: #6b8090; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; }
.map-park { fill: #3b7a55; font-size: 13px; font-weight: 600; }
.map-label rect { filter: drop-shadow(0 6px 14px rgb(15 42 68 / 0.16)); }
.map-label-title { fill: var(--navy-800); font-size: 15px; font-weight: 700; }
.map-label-sub { fill: var(--muted); font-size: 13px; font-weight: 500; }
.map-pulse {
  fill: rgb(14 124 138 / 0.25);
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 2.6s var(--ease-out) infinite;
}

.contact-list { display: grid; gap: 20px; margin: 32px 0; list-style: none; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: #fff;
  color: var(--teal-700);
  box-shadow: var(--shadow-xs);
}
.contact-list strong { display: block; color: var(--navy-800); font-weight: 600; }
.contact-list p { padding-top: 1px; }

/* ---------- Cierre ---------- */
.cta { padding-block: clamp(72px, 9vw, 120px); background: #fff; }
.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(36px, 6vw, 80px);
  border-radius: var(--r-xl);
  background: var(--teal-700);
  color: #d8f0f3;
}
.cta-copy { max-width: 36rem; }
.cta-panel h2 { color: #fff; }
.cta-panel .lead { color: #d8f0f3; }
.cta-next {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 24px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  color: #e6f6f8;
  font-size: 0.9375rem;
}
.cta-next strong { color: #fff; font-variant-numeric: tabular-nums; }
.cta-next .live-dot,
.cta-next .live-dot::after { background: #8be3b4; border-color: #8be3b4; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-mark {
  position: absolute;
  right: -4%;
  bottom: -18%;
  z-index: -1;
  width: clamp(220px, 34vw, 460px);
  height: auto;
  fill: none;
  stroke: var(--teal-500);
  stroke-width: 0.45;
  opacity: 0.6;
}
.cta-panel :focus-visible { outline-color: #fff; }

.btn-light { background: #fff; color: var(--teal-800); box-shadow: 0 6px 18px rgb(7 26 43 / 0.18); }
.btn-light:hover { background: var(--teal-50); color: var(--teal-800); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.5); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgb(255 255 255 / 0.08); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 72px 0 32px;
  background: var(--navy-900);
  color: #a9bdcd;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.brand--light,
.brand--light:hover { color: #fff; }
.brand--light .brand-mark { color: var(--teal-500); }
.brand--light .brand-sub { color: #a9bdcd; }
.footer-brand p { max-width: 22rem; margin-top: 18px; }
.footer-title { margin-bottom: 14px; color: #fff; font-size: 0.9375rem; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 10px; list-style: none; }
.site-footer a { color: #d9e6ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-author { color: #d9e6ef; font-weight: 600; }
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #d9e6ef;
  font-weight: 600;
}
.footer-wa:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.22em; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.875rem;
}
.site-footer :focus-visible { outline-color: var(--teal-300); }

/* ---------- 404 ---------- */
.nf {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 48px var(--gutter);
  background: var(--teal-50);
  text-align: center;
}
.nf .brand { margin-bottom: 56px; text-align: left; }
.nf-mark { width: 88px; height: 88px; color: var(--teal-500); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.nf h1 { margin-top: 28px; font-size: clamp(2rem, 1.35rem + 2.2vw, 3.125rem); letter-spacing: -0.032em; }
.nf p { max-width: 30rem; margin-top: 16px; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- Chat de WhatsApp (simulado) ---------- */
.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  transition: bottom 0.35s var(--ease-out);
}
.wa-fab {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.08), 0 10px 24px rgb(7 94 84 / 0.32);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.wa-fab:hover { transform: translateY(-2px) scale(1.04); }
.wa-fab .icon { width: 30px; height: 30px; }
.wa-fab[aria-expanded="true"] { background: var(--wa-ink); }

.wa-panel {
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}
.wa-panel.is-open { opacity: 1; transform: none; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--wa-ink); color: #fff; }
.wa-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-600);
}
.wa-title { color: #fff; font-weight: 700; line-height: 1.25; }
.wa-sub { color: #cfe7e3; font-size: 0.8125rem; }
.wa-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}
.wa-close:hover { background: rgb(255 255 255 / 0.12); }
.wa-head :focus-visible { outline-color: #fff; }

.wa-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  padding: 16px;
  overflow-y: auto;
  background: #efeae2;
}
.wa-bubble {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 0 16px 16px 16px;
  background: #fff;
  color: #111b21;
  font-size: 0.9375rem;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
}
.wa-bubble--out { align-self: flex-end; border-radius: 16px 0 16px 16px; background: #d9fdd3; }
.wa-bubble--note { color: #3b4a54; }
.wa-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-quick button {
  padding: 8px 12px;
  border: 1px solid #c8e2dd;
  border-radius: 999px;
  background: #fff;
  color: var(--wa-ink);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.wa-quick button:hover { background: #f1fbf8; border-color: var(--wa-ink); }
.wa-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e3e8eb; }
.wa-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dbe2e6;
  border-radius: 999px;
  background: #fff;
}
.wa-form input:focus { outline: none; border-color: var(--wa-ink); box-shadow: 0 0 0 3px rgb(7 94 84 / 0.15); }
.wa-form button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--wa-ink);
  color: #fff;
}

/* ---------- Barra de turno en celulares ---------- */
.mobile-cta { display: none; }

/* ---------- Animaciones ---------- */
@keyframes ping {
  0% { opacity: 0.7; transform: scale(0.6); }
  80%, 100% { opacity: 0; transform: scale(1.6); }
}
@keyframes map-pulse {
  0% { opacity: 0.9; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(2.6); }
}
@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(18px) scale(0.98); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .live-dot::after,
  .map-pulse { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: 20px; }
  .header-inner { gap: 22px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .member img { aspect-ratio: 1 / 1; object-position: 50% 25%; }
}

@media (max-width: 1023px) {
  .menu-toggle { display: grid; }
  .header-cta { margin-left: auto; }
  .nav {
    position: fixed;
    top: var(--nav-top, var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 49;
    margin: 0;
    padding: 12px var(--gutter) 32px;
    overflow-y: auto;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s;
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { padding: 18px 2px; font-size: 1.25rem; font-weight: 600; }
  .nav a::after { display: none; }

  .hero-grid,
  .booking-grid,
  .why-grid,
  .faq-grid,
  .location-grid { grid-template-columns: minmax(0, 1fr); }

  .hero-media { width: min(100%, 560px); margin-inline: auto; }
  .booking-intro,
  .faq-intro { position: static; }

  .explorer { grid-template-columns: minmax(0, 1fr); }
  .explorer-tabs {
    flex-direction: row;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
  }
  .tab { width: auto; flex: none; padding: 8px 16px 8px 8px; border-radius: 999px; scroll-snap-align: start; }
  .tab-icon { width: 36px; height: 36px; border-radius: 50%; }
  .tab-icon .icon { width: 20px; height: 20px; }
  .tab-meta { display: none; }
  .tab-name { white-space: nowrap; }

  .why-media { order: 2; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* Tablet: la foto de portada acompaña el ancho del texto y la tarjeta se compacta */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-media { width: 100%; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .hero-photo img { object-position: 50% 12%; }
  .hero-media::before { inset: 28px -14px -14px 28px; }
  .next-slot {
    left: 20px;
    bottom: 20px;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 18px;
    width: auto;
    padding: 12px 12px 12px 18px;
  }
  .next-slot .ns-label,
  .next-slot .ns-time { grid-column: 1; }
  .next-slot .ns-meta { display: none; }
  .next-slot .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; margin-top: 0; }
  .kids-chip { top: 20px; right: 20px; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .demo-bar { font-size: 0.8125rem; }
  .demo-bar-inner { justify-content: space-between; min-height: 40px; padding-block: 4px; }
  .demo-long { display: none; }
  .demo-short { display: inline; }

  .header-inner { gap: 12px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.3125rem; }
  .header-cta { min-height: 40px; padding: 0.5em 1em; font-size: 0.9375rem; }
  .cta-actions .btn { flex: 1 1 auto; }

  /* Primera pantalla en celular: la foto entra antes del pliegue */
  .hero { padding-top: 24px; }
  .hero-grid { row-gap: 0; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; }
  .hero-lead { order: 2; margin-top: 16px; }
  .hero-actions { order: 3; gap: 10px; margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 auto; padding-inline: 1em; font-size: 1rem; }
  .hero-checks { order: 4; gap: 6px 16px; margin-top: 18px; font-size: 0.875rem; }
  .hero-media { order: 5; width: 100%; margin-top: 26px; }
  .open-status { order: 6; justify-self: start; margin-top: 18px; }
  .hero-media::before { display: none; }
  .hero-photo { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
  .hero-photo img { object-position: 50% 8%; }
  .next-slot {
    position: relative;
    left: auto;
    bottom: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    width: auto;
    /* deja libre la esquina derecha para el botón de WhatsApp */
    margin: -34px 70px 0 10px;
    padding: 12px 12px 12px 16px;
  }
  .next-slot .ns-label { grid-column: 1; font-size: 0.75rem; }
  .next-slot .ns-time { grid-column: 1; margin-top: 2px; font-size: 1.25rem; }
  .next-slot .ns-meta { display: none; }
  .next-slot .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; margin-top: 0; }
  .ns-long { display: none; }
  .kids-chip { top: 10px; right: 10px; left: auto; bottom: auto; gap: 8px; padding: 6px 14px 6px 6px; font-size: 0.8125rem; }
  .kids-chip-icon { width: 30px; height: 30px; }
  .why-media img { aspect-ratio: 1 / 1; object-position: 50% 30%; }

  .section-head { margin-bottom: 36px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .includes { grid-template-columns: minmax(0, 1fr); }
  .panel-cta .btn { width: 100%; }

  .booking { margin-inline: calc(var(--gutter) * -0.5); border-radius: 24px; }
  .steps { display: none; }
  .steps-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
  }
  .steps-compact::after {
    content: "";
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--teal-600) var(--progress, 25%), var(--line) var(--progress, 25%));
  }
  .options--grid { grid-template-columns: minmax(0, 1fr); }
  .option-next { font-size: 0.8125rem; }
  .date-nav { display: none; }
  .fields,
  .subfields { grid-template-columns: minmax(0, 1fr); }
  .booking-footer { flex-direction: column; align-items: stretch; }
  .booking-buttons { margin-left: 0; }
  .booking-buttons .btn { flex: 1; }
  .ticket-rows { grid-template-columns: minmax(0, 1fr); }
  .ticket-when { flex-direction: column; align-items: flex-start; gap: 6px; }
  .done-actions .btn { width: 100%; }

  .team {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
  }
  .member { scroll-snap-align: start; }
  .member img { aspect-ratio: 4 / 5; }

  .quotes { grid-template-columns: minmax(0, 1fr); }
  .quote--featured { grid-row: auto; }
  .quote { padding: 24px; }

  .faq-body { padding-right: 8px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -10px 30px rgb(15 42 68 / 0.1);
    transform: translateY(110%);
    transition: transform 0.4s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta p { display: flex; flex-direction: column; margin-right: auto; line-height: 1.3; }
  .mobile-cta span { color: var(--muted); font-size: 0.75rem; font-weight: 600; }
  .mobile-cta strong { color: var(--navy-800); font-size: 1rem; font-variant-numeric: tabular-nums; }
  .mc-wa {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border: 1px solid #c8e2dd;
    border-radius: 50%;
    background: #effaf6;
    color: var(--wa-ink);
  }
  /* En celulares el botón flotante solo acompaña la portada; después WhatsApp vive en la barra fija
     y sobre el turnero o el pie no aparece, para no tapar botones ni texto. */
  .wa-fab { width: 56px; height: 56px; transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s linear 0s; }
  body.fab-hidden .wa-fab {
    visibility: hidden;
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }
  .wa { right: 16px; bottom: 16px; }
  body.has-mobile-cta .wa { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (max-width: 359px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}
