/* ==========================================================================
   ROXIBAN · Estilos
   Colores y medidas principales en :root. Cambia aquí la paleta de la marca.
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-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;
}

:root {
  --ink: #0f2a44;
  --ink-2: #2e4560;
  --muted: #5d6e82;
  --line: #e2eaf2;
  --line-2: #d3dfeb;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #f0f7ff;

  --primary: #1570ef;
  --primary-600: #0f60d6;
  --primary-700: #0b4fb2;
  --primary-100: #d6e7ff;
  --primary-50: #edf5ff;

  --green: #12b886;
  --green-600: #0c9c71;
  --green-700: #08805c;
  --green-50: #e7f8f1;

  --yellow: #ffc845;
  --danger: #d43d3d;
  --whatsapp: #25d366;
  --whatsapp-600: #1ebe5a;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 42, 68, .06), 0 1px 3px rgba(15, 42, 68, .06);
  --shadow: 0 12px 32px -14px rgba(15, 42, 68, .22);
  --shadow-lg: 0 40px 80px -28px rgba(15, 42, 68, .35), 0 12px 24px -12px rgba(15, 42, 68, .12);

  --header-h: 72px;
  --container: 1200px;
  --gutter: 24px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid rgba(21, 112, 239, .45); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s;
}
.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); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: 1.08rem; color: var(--muted); }
.optional { font-size: .72rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); padding: 2px 8px; border-radius: 99px; margin-left: 6px; letter-spacing: 0; vertical-align: middle; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--bg-soft); --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; }
.btn--primary { --btn-bg: var(--primary); --btn-fg: #fff; box-shadow: 0 8px 20px -8px rgba(21, 112, 239, .65); }
.btn--primary:hover { --btn-bg: var(--primary-600); box-shadow: 0 12px 26px -10px rgba(21, 112, 239, .75); }
.btn--soft { --btn-bg: var(--primary-50); --btn-fg: var(--primary-700); }
.btn--soft:hover { --btn-bg: var(--primary-100); }
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bd: var(--primary); --btn-fg: var(--primary-700); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--primary-700); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.btn--outline-white { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn--outline-white:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: #fff; }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; box-shadow: 0 8px 20px -10px rgba(37, 211, 102, .8); }
.btn--whatsapp:hover { --btn-bg: var(--whatsapp-600); }
.btn--whatsapp .ico { fill: currentColor; stroke: none; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--icon { width: 46px; padding: 0; }
.btn:disabled { opacity: .6; pointer-events: none; }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled, .header.is-open {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(15, 42, 68, .35);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 11px; }
.brand__name { font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; }
.brand--light, .brand--light:hover { color: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a { display: block; padding: 8px 12px; border-radius: 99px; font-weight: 600; font-size: .93rem; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav__list a:hover { background: rgba(21, 112, 239, .08); color: var(--primary-700); }
.nav__mobile-extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.header__phone .ico { width: 18px; height: 18px; color: var(--primary); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico--close { display: none; }
.header.is-open .nav-toggle .ico--open { display: none; }
.header.is-open .nav-toggle .ico--close { display: block; }

/* ---------- Portada ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 36px) 0 56px;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #eaf3fb; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, .93) 0%, rgba(247, 251, 255, .74) 32%, rgba(247, 251, 255, .2) 56%, rgba(247, 251, 255, 0) 72%),
    linear-gradient(180deg, rgba(247, 251, 255, .45) 0%, rgba(247, 251, 255, 0) 26%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  grid-template-areas: "copy booking" "trust booking";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero__copy { grid-area: copy; align-self: end; padding-top: 8px; animation: rise .8s var(--ease) both; }
.hero__trust { grid-area: trust; animation: rise .8s .12s var(--ease) both; }
.booking { grid-area: booking; animation: rise .8s .2s var(--ease) both; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 184, 134, .5); animation: pulse 2.2s infinite; }
.hero__title { font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 20px; max-width: 13ch; }
.hl { position: relative; white-space: nowrap; background: linear-gradient(100deg, var(--primary) 10%, var(--green) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; z-index: -1;
  border-radius: 99px; background: linear-gradient(90deg, rgba(21, 112, 239, .22), rgba(18, 184, 134, .28));
}
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 40ch; margin-bottom: 28px; }
.hero__points { display: grid; gap: 10px; margin-bottom: 28px; }
.hero__points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.hero__points .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; }
.hero__rating { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); font-size: .9rem; box-shadow: var(--shadow-sm); }
.hero__rating strong { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.stars svg { width: 18px; height: 18px; }

/* ---------- Tarjeta de reserva ---------- */
.booking {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(211, 223, 235, .7);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.booking.is-highlight { animation: glow 1.4s var(--ease); }
.booking__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 0; }
.booking__title { font-size: 1.3rem; margin: 0 0 2px; }
.booking__subtitle { margin: 0; font-size: .85rem; color: var(--muted); }
.hide-sm { display: inline; }
.booking__counter { flex: none; font-size: .75rem; font-weight: 700; color: var(--primary-700); background: var(--primary-50); padding: 6px 11px; border-radius: 99px; white-space: nowrap; }

.steps-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 16px 24px 0; }
.steps-bar button {
  width: 100%; display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  padding: 0 0 2px; border: 0; background: none;
  font-size: .7rem; font-weight: 700; color: #94a3b4; letter-spacing: .01em;
  cursor: default;
}
.steps-bar button::before { content: ''; width: 100%; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s; }
.steps-bar .is-done button { color: var(--green-700); cursor: pointer; }
.steps-bar .is-done button::before { background: var(--green); }
.steps-bar .is-current button { color: var(--primary-700); }
.steps-bar .is-current button::before { background: var(--primary); }
.booking.is-done .steps-bar { visibility: hidden; }

.booking__body { position: relative; padding: 20px 24px 18px; min-height: 384px; }
.step { display: none; }
.step.is-active { display: block; animation: stepIn .38s var(--ease); }
.step:focus { outline: none; }
#submit-hint .ico { fill: var(--whatsapp-600); stroke: none; }
.step.is-active.from-left { animation-name: stepInLeft; }
.step__title { display: block; width: 100%; font-size: 1.08rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; letter-spacing: -.01em; }
.step__error { min-height: 0; margin: 10px 0 0; color: var(--danger); font-size: .85rem; font-weight: 600; }
.step__error:empty { display: none; }
.step__note { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: #fff8e6; color: #7a5a00; font-size: .84rem; font-weight: 600; }
.hint { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.hint--center { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; margin-top: 14px; }
.hint .ico { width: 16px; height: 16px; color: var(--green); }
.field-label { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.field-label .ico { width: 16px; height: 16px; }

/* Opciones (tarjetas seleccionables con input real dentro) */
.opt { position: relative; display: grid; cursor: pointer; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.opt > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt:hover { border-color: #a9c8f3; }
.opt:active { transform: scale(.99); }
.opt:has(> input:checked), .opt.is-checked { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px rgba(21, 112, 239, .12); }
.opt:has(> input:focus-visible) { outline: 3px solid rgba(21, 112, 239, .45); outline-offset: 2px; }
.opt:has(> input:disabled) { opacity: .5; cursor: not-allowed; }
.opt:has(> input:disabled):hover { border-color: var(--line); }

.opt-list { display: grid; gap: 8px; }
.opt-service { grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 9px 14px 9px 10px; }
.opt-service__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--primary); transition: background-color .2s, color .2s; }
.opt-service__icon .ico { width: 22px; height: 22px; }
.opt:has(> input:checked) .opt-service__icon { background: var(--primary); color: #fff; }
.opt-service__text { min-width: 0; display: grid; }
.opt-service__text strong { font-size: .95rem; color: var(--ink); line-height: 1.3; }
.opt-service__text small { font-size: .78rem; color: var(--muted); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt-service__price { text-align: right; font-weight: 800; color: var(--ink); font-size: .95rem; line-height: 1.15; white-space: nowrap; }
.opt-service__price small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-grid:has(.opt-freq) { row-gap: 16px; }
.opt-freq { gap: 2px; padding: 14px 14px 12px; align-content: start; min-height: 112px; }
.opt-freq strong { font-size: 1rem; color: var(--ink); }
.opt-freq small { font-size: .8rem; color: var(--muted); }
.opt-freq__price { margin-top: 8px; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.opt-freq__price em { font-style: normal; font-weight: 600; color: var(--muted); font-size: .75rem; }
.opt-freq__badge { position: absolute; top: 12px; right: 12px; font-size: .75rem; font-weight: 800; color: #fff; background: var(--green); padding: 3px 8px; border-radius: 99px; }
.opt-freq__tag { position: absolute; top: -10px; left: 12px; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--primary-700); background: #fff; border: 1.5px solid var(--primary-100); padding: 1px 8px; border-radius: 99px; }

.opt-grid--extras { gap: 8px; }
.opt-extra { grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; min-height: 58px; }
.opt-extra__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--primary); }
.opt-extra__icon .ico { width: 19px; height: 19px; }
.opt-extra__text { display: grid; min-width: 0; line-height: 1.25; }
.opt-extra__text strong { font-size: .84rem; color: var(--ink); font-weight: 700; }
.opt-extra__text small { font-size: .76rem; color: var(--green-700); font-weight: 700; }
.opt-extra__check { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .2s; }
.opt-extra__check .ico { width: 14px; height: 14px; stroke-width: 3; }
.opt:has(> input:checked) .opt-extra__check { background: var(--primary); border-color: var(--primary); color: #fff; }
.qty { display: none; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; margin-top: 2px; border-top: 1px dashed var(--primary-100); font-size: .78rem; font-weight: 700; color: var(--ink); }
.opt:has(> input:checked) .qty { display: flex; }
.qty__ctrl { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.qty__btn { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--primary); display: grid; place-items: center; padding: 0; }
.qty__btn .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.qty__btn:hover { border-color: var(--primary); }

/* Selector tamaño */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 9px 8px; border-radius: 9px; text-align: center; font-weight: 700; font-size: .86rem; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.segmented input:focus-visible + span { outline: 3px solid rgba(21, 112, 239, .45); }

.size { display: grid; gap: 10px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r); }
.counter__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.counter__label .ico { width: 22px; height: 22px; color: var(--primary); }
.counter__ctrl { display: inline-flex; align-items: center; gap: 4px; }
.counter__btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--primary); display: grid; place-items: center; padding: 0; transition: border-color .2s, background-color .2s; }
.counter__btn:hover { border-color: var(--primary); background: var(--primary-50); }
.counter__btn:disabled { opacity: .35; cursor: not-allowed; }
.counter__btn .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.counter input, .metres__value input {
  width: 46px; border: 0; background: transparent; text-align: center;
  font-size: 1.3rem; font-weight: 800; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.counter input::-webkit-inner-spin-button, .counter input::-webkit-outer-spin-button,
.metres__value input::-webkit-inner-spin-button, .metres__value input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.metres { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r); }
.metres__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.metres__label .ico { width: 22px; height: 22px; color: var(--primary); }
.metres__value { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 700; color: var(--muted); padding: 2px 10px; border-radius: 10px; background: var(--bg-soft); }
.metres__value input { width: 62px; text-align: right; }
.range { --pct: 20%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 14px 0 4px; border-radius: 99px; background: linear-gradient(90deg, var(--primary) 0 var(--pct), var(--line) var(--pct) 100%); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 4px 10px rgba(21, 112, 239, .35); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 4px 10px rgba(21, 112, 239, .35); cursor: grab; }
.range__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); font-weight: 600; }

/* Fecha y hora */
.dates { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 16px; }
.opt-date { justify-items: center; gap: 0; padding: 6px 2px; border-radius: 12px; line-height: 1.2; }
.opt-date small { font-size: .68rem; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.opt-date strong { font-size: 1.05rem; color: var(--ink); }
.opt:has(> input:checked).opt-date { background: var(--primary); border-color: var(--primary); }
.opt:has(> input:checked).opt-date small, .opt:has(> input:checked).opt-date strong { color: #fff; }
.times { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.opt-time { justify-items: center; padding: 8px 2px; border-radius: 10px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.opt:has(> input:checked).opt-time { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Campos de formulario */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.booking .fields { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.booking .field { grid-column: span 3; }
.booking .field--full, .booking .check { grid-column: 1 / -1; }
.booking .field--wide { grid-column: span 4; }
.booking .field--narrow { grid-column: span 2; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1.5px solid var(--line-2); border-radius: 11px; background: #fff;
  font-size: .95rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6e82' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa9b9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21, 112, 239, .12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(212, 61, 61, .1); }
.field__error { font-size: .76rem; font-weight: 600; color: var(--danger); }
.field__error:empty { display: none; }

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; color: transparent; transition: all .2s; }
.check__box .ico { width: 14px; height: 14px; stroke-width: 3; }
.check input:checked + .check__box { background: var(--primary); border-color: var(--primary); color: #fff; }
.check input:focus-visible + .check__box { outline: 3px solid rgba(21, 112, 239, .45); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--danger); }

/* Pie de la tarjeta: precio + navegación */
.booking__foot {
  position: sticky; bottom: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.price { display: grid; justify-items: start; min-width: 0; padding: 4px 8px 4px 0; margin: -4px 0; border: 0; background: none; text-align: left; border-radius: 10px; cursor: default; }
.price.is-clickable { cursor: pointer; }
.price.is-clickable:hover .price__info { color: var(--primary); }
.price__label { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.price__info { width: 14px; height: 14px; color: #94a3b4; stroke-width: 2.2; transition: color .2s; }
.price:not(.is-clickable) .price__info { display: none; }
.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; }
.price__label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price__row { display: flex; align-items: baseline; gap: 8px; }
.price__value { font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price__value.bump { animation: bump .45s var(--ease); }
.price__old { font-size: .95rem; color: var(--muted); font-weight: 600; }
.price__meta { font-size: .76rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.price__meta.is-saving { color: var(--green-700); }
.booking__nav { display: flex; gap: 8px; flex: none; }
#btn-next { min-width: 140px; }
.booking.is-done .booking__foot { display: none; }

.breakdown {
  position: absolute; left: 16px; right: 16px; bottom: calc(100% + 8px);
  padding: 16px 18px; border-radius: var(--r); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: rise .25s var(--ease);
}
.breakdown__title { margin: 0 0 8px; font-weight: 800; color: var(--ink); font-size: .9rem; }
.breakdown__list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .86rem; border-bottom: 1px dashed var(--line); }
.breakdown__list li:last-child { border-bottom: 0; font-weight: 800; color: var(--ink); padding-top: 8px; }
.breakdown__list .is-discount { color: var(--green-700); font-weight: 700; }
.breakdown__note { margin: 8px 0 0; font-size: .74rem; color: var(--muted); }

/* Confirmación */
.step--done { text-align: center; padding-top: 6px; outline: none; }
.done__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 0 0 10px var(--green-50); animation: pop .5s var(--ease); }
.done__icon .ico { width: 32px; height: 32px; stroke-width: 3; }
.done__title { font-size: 1.35rem; margin-bottom: 6px; }
.done__text { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.done__summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r); background: var(--bg-soft); text-align: left; font-size: .85rem; }
.done__summary dt { color: var(--muted); font-weight: 600; }
.done__summary dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.done__actions { display: grid; gap: 8px; }

/* ---------- Franja de confianza ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: #fff; }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 26px; }
.trustbar__item { display: flex; align-items: center; gap: 12px; }
.trustbar__item .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--green-50); color: var(--green-700); }
.trustbar__item span { display: grid; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.trustbar__item strong { color: var(--ink); font-size: .95rem; }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tint { background: linear-gradient(180deg, var(--bg-tint), #f7fbff); }
.section__head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section__head h2, .why h2, .faq h2, .contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary-100); }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .95rem; }
.ticks { display: grid; gap: 6px; margin-bottom: 20px; }
.ticks li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308805c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.service-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.from { font-size: .85rem; color: var(--muted); }
.from strong { display: block; font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.service-card--custom { background: linear-gradient(150deg, var(--primary) 0%, #0d5bd0 45%, var(--green-600) 130%); border: 0; color: #fff; }
.service-card--custom .service-card__body { padding: 32px 28px; }
.service-card--custom h3 { color: #fff; font-size: 1.5rem; }
.service-card--custom p { color: rgba(255, 255, 255, .88); }
.service-card__badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); margin-bottom: 22px; }
.service-card__badge .ico { width: 28px; height: 28px; }
.service-card__foot--stack { border-top-color: rgba(255, 255, 255, .2); flex-wrap: wrap; justify-content: flex-start; }
.btn--outline-white .ico { fill: currentColor; stroke: none; }

/* Cómo funciona */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: how; margin-bottom: 48px; position: relative; }
.how::before { content: ''; position: absolute; top: 44px; left: 16.6%; right: 16.6%; border-top: 2px dashed var(--primary-100); }
.how__step { position: relative; text-align: center; padding: 0 12px; }
.how__icon { position: relative; width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 28px; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: var(--shadow); border: 1px solid var(--line); }
.how__icon .ico { width: 38px; height: 38px; stroke-width: 1.7; }
.how__num { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 0 0 4px #fff; }
.how__step h3 { font-size: 1.2rem; }
.how__step p { color: var(--muted); max-width: 32ch; margin-inline: auto; }

/* Por qué elegirnos */
.why { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why__media { position: relative; padding: 24px 24px 40px 0; }
.why__frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.why__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); font-size: .8rem; color: var(--muted); line-height: 1.3; animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; color: var(--ink); font-size: .98rem; }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.float-card__icon .ico { width: 22px; height: 22px; }
.float-card__icon--green { background: var(--green-50); color: var(--green-700); }
.float-card__icon--yellow { background: #fff6dc; color: #e8a800; }
.float-card--a { top: 8%; left: -24px; }
.float-card--b { top: 46%; right: -8px; animation-delay: -2s; }
.float-card--c { bottom: 8px; left: 12%; animation-delay: -4s; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 32px; }
.features li { display: flex; gap: 14px; }
.features__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.features li:nth-child(even) .features__icon { background: var(--green-50); color: var(--green-700); }
.features__icon .ico { width: 23px; height: 23px; }
.features h3 { font-size: 1.02rem; margin-bottom: 4px; letter-spacing: -.01em; }
.features p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Opiniones */
.rating-summary { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .95rem; }
.rating-summary strong { color: var(--ink); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review blockquote { margin: 0; flex: 1; color: var(--ink-2); font-size: .98rem; line-height: 1.65; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.review figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.avatar--blue { background: var(--primary-100); color: var(--primary-700); }
.avatar--green { background: #ccf2e3; color: var(--green-700); }
.avatar--yellow { background: #ffefc2; color: #9a6b00; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231570ef' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--primary-50); }
.faq__item summary:focus-visible { outline-offset: -3px; border-radius: var(--r); }
.faq__answer { padding: 0 20px 18px; color: var(--muted); }
.faq__answer p { margin: 0; }
.faq__item[open] .faq__answer { animation: rise .35s var(--ease); }

/* Banda CTA */
.cta-band { padding: 0 0 clamp(72px, 9vw, 120px); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18), transparent 40%),
    linear-gradient(120deg, var(--primary) 0%, #0e58c8 50%, var(--green-600) 120%);
  color: #fff; box-shadow: var(--shadow-lg);
  max-width: var(--container);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 22ch; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.05rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cta-band .container { padding-inline: var(--gutter); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__list { display: grid; gap: 18px; margin-top: 32px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list small { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact__list a, .contact__list span > span { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.contact__list a:hover { color: var(--primary); }
.contact__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.contact__icon .ico { width: 22px; height: 22px; }
.contact__icon--wa { background: #dcf8e7; color: var(--whatsapp-600); }
.contact__icon--wa .ico { fill: currentColor; stroke: none; }
.contact__form { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.contact__form h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact__form .fields { margin-bottom: 20px; gap: 14px; }
.form-status { margin: 12px 0 0; font-size: .9rem; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--green-700); }
.form-status.is-error { color: var(--danger); }

/* ---------- Pie ---------- */
.footer { background: #0c2238; color: rgba(255, 255, 255, .7); padding-top: 72px; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin: 16px 0 20px; max-width: 34ch; }
.footer__title { color: #fff; font-weight: 800; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; }
.footer .btn { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 20px; }

/* ---------- Página legal ---------- */
.legal { padding: calc(var(--header-h) + 48px) 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.5rem; margin-top: 56px; padding-top: 8px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h3 { font-size: 1.08rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.legal__note { padding: 14px 18px; border-radius: var(--r); background: #fff8e6; color: #7a5a00 !important; font-weight: 600; font-size: .92rem; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.header--solid { background: rgba(255, 255, 255, .95); box-shadow: 0 1px 0 var(--line); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 16px; border-radius: 99px;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8), 0 4px 10px rgba(0, 0, 0, .1);
  transition: transform .3s var(--ease), opacity .3s, box-shadow .3s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.03); }
.header.is-open ~ .wa-float { opacity: 0; pointer-events: none; transform: scale(.6); }
.wa-float .ico { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.wa-float__label { font-weight: 700; font-size: .92rem; white-space: nowrap; max-width: 0; overflow: hidden; transition: max-width .4s var(--ease); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 200px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: ring 2.8s infinite; pointer-events: none; }

/* ---------- Animaciones al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes stepInLeft { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.08); color: var(--primary); } 100% { transform: scale(1); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 184, 134, .5); } 70% { box-shadow: 0 0 0 10px rgba(18, 184, 134, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 184, 134, 0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 60%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glow { 0% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(21, 112, 239, .45); } 40% { box-shadow: var(--shadow-lg), 0 0 0 8px rgba(21, 112, 239, .18); } 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(21, 112, 239, 0); } }

/* ==========================================================================
   Adaptación a tablet y móvil
   ========================================================================== */
@media (max-width: 1180px) {
  .header__phone { display: none; }
}

/* Pantallas de portátil bajas: tarjeta más compacta para que quepa entera */
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--header-h) + 16px); padding-bottom: 32px; }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 14px; }
  .hero__lead { margin-bottom: 20px; }
  .hero__points { margin-bottom: 20px; gap: 8px; }
  .booking__head { padding-top: 18px; }
  .steps-bar { padding-top: 12px; }
  .booking__body { padding-top: 14px; padding-bottom: 12px; min-height: 352px; }
  .step__title { margin-bottom: 10px; }
  .opt-list { gap: 6px; }
  .opt-service { padding-block: 6px; }
  .opt-service__icon { width: 38px; height: 38px; }
  .opt-freq { min-height: 100px; padding-block: 12px 10px; }
  .booking__foot { padding-block: 10px 14px; }
}

/* Mientras se ve la tarjeta de reserva, el botón de WhatsApp no debe tapar "Continuar" */
@media (max-width: 1359px) {
  body.booking-in-view .wa-float { transform: scale(0); opacity: 0; pointer-events: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(15, 42, 68, .3);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__list a { padding: 14px 8px; font-size: 1.05rem; border-radius: 10px; border-bottom: 1px solid var(--line); }
  .nav__mobile-extra { display: grid; gap: 10px; margin-top: 18px; }
  .nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; font-weight: 700; color: var(--ink); }
  .services, .reviews { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .hero { display: block; min-height: 0; padding: calc(var(--header-h) + 22px) 0 40px; }
  .hero__media { bottom: auto; height: 470px; }
  .hero__media img { object-position: 22% 60%; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, .9) 0%, rgba(247, 251, 255, .7) 45%, rgba(247, 251, 255, .25) 75%, #fff 100%);
  }
  .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "booking" "trust"; grid-template-rows: auto; max-width: 620px; }
  .hero__copy { text-align: center; padding-top: 0; }
  .hero__eyebrow { margin-bottom: 14px; font-size: .8rem; }
  .hero__title { margin-inline: auto; margin-bottom: 12px; max-width: 16ch; }
  .hero__lead { margin: 0 auto 22px; font-size: 1rem; }
  .hero__trust { margin-top: 28px; text-align: center; }
  .hero__points { display: inline-grid; justify-items: start; text-align: left; margin-bottom: 20px; }
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .how { grid-template-columns: 1fr; gap: 36px; max-width: 420px; margin-inline: auto; }
  .how::before { top: 44px; bottom: 120px; left: 50%; right: auto; border-top: 0; border-left: 2px dashed var(--primary-100); }
  .how__step { background: transparent; }
  .why { grid-template-columns: 1fr; }
  .why__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .why__frame { aspect-ratio: 4 / 3.2; }
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; text-align: center; }
  .contact { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band h2 { margin-inline: auto; }
  .cta-band__actions { justify-content: center; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .header__cta { min-height: 38px; padding: 0 14px; }
  .brand__name { font-size: 1.15rem; }
  .brand img { width: 34px; height: 34px; }
  .hero__title { font-size: clamp(1.95rem, 8.6vw, 2.35rem); }
  .hero { padding-top: calc(var(--header-h) + 18px); }
  .hero__eyebrow { display: none; }
  .hero__lead { font-size: .98rem; margin-bottom: 18px; }
  .hide-sm { display: none; }
  .booking__counter-name { display: none; }
  .price__pct { display: none; }
  .qty { justify-content: center; }
  .qty__label { display: none; }
  .booking { border-radius: 22px; margin-inline: -4px; }
  .booking__head { padding: 18px 18px 0; }
  .booking__title { font-size: 1.15rem; }
  .steps-bar { padding: 14px 18px 0; gap: 4px; }
  .steps-bar button { font-size: 0; gap: 0; }
  .booking__body { padding: 16px 18px 14px; min-height: 0; }
  .booking__foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-radius: 0 0 22px 22px; box-shadow: 0 -10px 24px -18px rgba(15, 42, 68, .35); }
  .price__value { font-size: 1.6rem; }
  #btn-next { min-width: 0; padding: 0 18px; }
  .opt-service { padding: 8px 12px 8px 8px; gap: 10px; grid-template-columns: 38px 1fr auto; }
  .opt-service__icon { width: 38px; height: 38px; }
  .opt-service__text small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
  .opt-grid--extras { grid-template-columns: 1fr 1fr; }
  .opt-extra { grid-template-columns: 1fr auto; padding: 8px 10px; }
  .opt-extra__icon { display: none; }
  .dates { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .opt-date { padding: 5px 0; border-radius: 10px; }
  .opt-date strong { font-size: .95rem; }
  .opt-date small { font-size: .62rem; }
  .times { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .opt-time { font-size: .8rem; padding: 8px 0; }
  .contact__form .fields { grid-template-columns: 1fr; }
  .booking .field { grid-column: 1 / -1; }
  .booking .field--wide { grid-column: span 4; }
  .booking .field--narrow { grid-column: span 2; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .trustbar__inner { grid-template-columns: 1fr; gap: 14px; padding-block: 24px; }
  .services, .reviews { grid-template-columns: 1fr; }
  .reviews { grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: center; padding: 22px; }
  .float-card { padding: 8px 12px 8px 8px; font-size: .72rem; }
  .float-card strong { font-size: .85rem; }
  .float-card__icon { width: 32px; height: 32px; }
  .float-card--a { left: -6px; }
  .float-card--b { right: -6px; }
  .why__media { padding: 16px 0 32px; }
  .cta-band__actions .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 56px; width: 56px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
}

@media (max-width: 380px) {
  .dates { grid-template-columns: repeat(4, 1fr); }
  .brand__name { font-size: 1.05rem; }
  .header__actions { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Utilidades de la página legal (sustituyen estilos en línea, por la política CSP) */
.header__actions--end { margin-left: auto; }
.legal__back { margin-top: 48px; }
.footer--compact { padding-top: 0; }
.opt-freq__price .opt-freq__month { display: block; margin-top: 2px; }
.opt-freq:has(.qty) { grid-column: 1 / -1; padding-right: 110px; }
.opt-freq:has(.qty) .qty { padding-top: 8px; }
@media (max-width: 480px) { .opt-freq:has(.qty) { padding-right: 14px; padding-top: 40px; } }
@media (max-width: 480px) { .opt-freq { padding-top: 38px; } }
