/* ==========================================================================
   Traventura · hoja de estilos única de la web pública (v2)
   Antes eran dos (site.css + v2.css, la segunda corrigiendo a la primera). Ahora es un solo sistema:
     1. Tokens (colores, tipografía, radios, sombras)      → :root
     2. Base, cabecera, pie y componentes comunes
     3. Botones: 3 tipos (primario, secundario, discreto)  → busca «Tres tipos de botón»
     4. Páginas: home, asistente /crear, pedido, visor, ejemplos, regalo, cuenta…
   Contraste: los textos cumplen WCAG AA (4,5:1). El coral claro (--coral) solo se usa en adornos;
   para texto, --coral-ink, y para botones, --coral-strong.
   ========================================================================== */
/* =====================================================================
   Traventura · web pública
   Sistema de diseño: tokens, base, componentes y páginas.
   Los colores de marca se sobrescriben desde el layout (ajustes Diseño).
   ===================================================================== */

/* ---------- Fuentes propias (sin CDNs) ---------- */
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-var.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-italic-var.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url("../fonts/patrickhand.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --teal: #0E7C86; --teal-d: #0A5D64; --teal-l: #DCEFEF; --teal-xl: #EDF7F7;
  --coral: #FF6B4A; --coral-d: #E6603F; --coral-ink: #B84D35; --coral-l: #FFE1D9; --coral-strong: #D24326; --coral-strong-d: #B93A1F;
  --sun: #FFC23C; --sun-d: #E0AA35; --sun-l: #FFF0C8;
  --ink: #1D2B3A; --ink-2: #4A5561; --ink-3: #5B656E;
  --cream: #FFF8EC; --cream-d: #F2EBE0;
  --white: #FFFFFF;
  --line: rgba(29, 43, 58, .12);
  --line-2: rgba(29, 43, 58, .2);
  --ok: #1F8A5B;
  --whatsapp: #128C4B;

  --font-head: "Fredoka", "Baloo 2", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hand: "Patrick Hand", "Comic Sans MS", cursive;

  --wrap: 1180px;
  --gutter: 16px;
  --r-xs: 8px; --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 38px;
  --shadow-xs: 0 1px 2px rgba(29, 43, 58, .06);
  --shadow-sm: 0 2px 6px rgba(29, 43, 58, .06), 0 1px 2px rgba(29, 43, 58, .05);
  --shadow: 0 10px 30px -12px rgba(29, 43, 58, .22), 0 2px 6px rgba(29, 43, 58, .06);
  --shadow-lg: 0 30px 60px -24px rgba(29, 43, 58, .35), 0 8px 18px -8px rgba(29, 43, 58, .14);
  --ring: 0 0 0 3px var(--white), 0 0 0 6px var(--teal);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 64px;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; font-weight: 450;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
svg { overflow: visible; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.05rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-d); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--teal); }
b, strong { font-weight: 800; }
small { font-size: .85em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun-l); color: var(--ink); }
[hidden] { display: none !important; }
main { display: block; outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }
.hand { font-family: var(--font-hand); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Iconos ---------- */
.ico { display: inline-flex; width: 1.1em; height: 1.1em; flex: none; vertical-align: -.16em; }
.ico svg { width: 100%; height: 100%; }
.ic-teal { background: var(--teal-l); color: var(--teal-d); }
.ic-coral { background: var(--coral-l); color: var(--coral-ink); }
.ic-sun { background: var(--sun-l); color: #8A5A00; }
.ic-ink { background: #E6E9EC; color: var(--ink); }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--white); --b-fg: var(--ink); --b-bd: transparent; --b-sh: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); box-shadow: var(--b-sh);
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.15; letter-spacing: .005em;
  text-decoration: none; text-align: center; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, color .18s, border-color .18s;
}
.btn:hover { color: var(--b-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: var(--shadow-xs); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 999px; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .ico { width: 1.15em; height: 1.15em; }
/* Tres tipos de botón, y solo tres:
   · .btn-primary   → la acción principal de cada pantalla (coral oscuro, texto blanco, contraste AA 4,6:1)
   · .btn-secondary → alternativas (blanco con borde petróleo)
   · .btn-ghost     → acciones discretas (solo borde suave; en fondos oscuros, .on-dark lo aclara)
   Tamaños: .btn-sm · .btn-lg · .btn-block. Estados: [disabled] · .is-loading */
.btn-primary { --b-bg: var(--coral-strong); --b-fg: var(--white); --b-bd: var(--coral-strong); --b-sh: 0 10px 22px -12px rgba(210, 67, 38, .75), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { --b-bg: var(--coral-strong-d); --b-bd: var(--coral-strong-d); }
.btn-secondary { --b-bg: var(--white); --b-fg: var(--teal-d); --b-bd: var(--teal); --b-sh: none; }
.btn-secondary:hover { --b-bg: var(--teal-xl); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); --b-sh: none; }
.btn-ghost:hover { --b-bg: var(--white); --b-bd: var(--ink); }
.on-dark .btn-ghost, .btn-ghost.on-dark { --b-fg: #fff; --b-bd: rgba(255, 255, 255, .4); }
.btn-wa .ico { color: var(--whatsapp); }
.btn-add { border-style: dashed; }
.on-dark .btn-ghost:hover, .btn-ghost.on-dark:hover { --b-bg: rgba(255, 255, 255, .1); --b-bd: #fff; }
.btn-sm { min-height: 44px; padding: .5em 1.05em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .85em 1.7em; font-size: 1.12rem; }
.btn-block { display: flex; width: 100%; }
.btn-arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .45); border-top-color: var(--white); animation: spin .8s linear infinite; }
.btn-secondary.is-loading::after, .btn-ghost.is-loading::after { border-color: rgba(29, 43, 58, .2); border-top-color: var(--ink); }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--white); color: var(--ink); display: inline-grid; place-items: center; font-size: 1.2rem; font-weight: 800; transition: background .15s, border-color .15s, transform .15s; }
.round-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.round-btn[disabled] { opacity: .35; cursor: default; transform: none; }
.link-arrow { font-weight: 800; color: var(--teal-d); text-decoration: none; display: inline-flex; align-items: center; gap: .35em; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Banner de lanzamiento ---------- */
.launch-banner { background: var(--ink); color: var(--cream); font-size: .92rem; font-weight: 700; }
.launch-banner .wrap { display: flex; align-items: center; justify-content: center; gap: .6em; flex-wrap: wrap; padding-block: .55em; text-align: center; }
.lb-spark { color: var(--sun); }
.lb-link { color: var(--sun); text-decoration: none; white-space: nowrap; }
.lb-link:hover { color: var(--white); text-decoration: underline; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 236, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(29, 43, 58, .5); }
.header-in { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex: none; min-height: 44px; }
.brand .logo { width: 158px; height: auto; }
.brand-light { color: var(--cream); }
.brand-light:hover { color: var(--white); }
.main-nav { display: none; }
.header-cta { margin-left: auto; }
.nav-toggle { width: 48px; height: 48px; display: inline-grid; place-items: center; border: 0; border-radius: 14px; background: transparent; margin-right: -8px; }
.nav-toggle:hover { background: rgba(29, 43, 58, .06); }
.burger, .burger span, .burger::before, .burger::after { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger { position: relative; background: transparent; }
.burger span { position: absolute; top: 0; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.nav-open .burger span { opacity: 0; }
.nav-open .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger::after { transform: translateY(-7px) rotate(-45deg); }
.nav-open .main-nav {
  display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream);
  border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(29, 43, 58, .45);
  padding: 8px var(--gutter) 22px; animation: dropIn .22s var(--ease);
}
.main-nav ul { list-style: none; }
.main-nav li a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.main-nav li a:hover { color: var(--teal-d); }
.nav-cta { margin-top: 18px; width: 100%; }
@media (max-width: 380px) { .brand .logo { width: 132px; } .hide-xs { display: none; } }
@media (min-width: 1180px) {
  .nav-toggle, .header-cta { display: none; }
  .main-nav, .nav-open .main-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; position: static; background: none; border: 0; box-shadow: none; padding: 0; animation: none; }
  .main-nav ul { display: flex; gap: 2px; }
  .main-nav li a { min-height: 44px; padding: 0 14px; font-size: 1.02rem; border: 0; border-radius: 999px; }
  .main-nav li a:hover { background: rgba(14, 124, 134, .09); }
  .nav-cta { margin: 0 0 0 8px; width: auto; min-height: 46px; padding: .55em 1.2em; font-size: 1rem; }
  .brand .logo { width: 176px; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-paper { background: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head-left { text-align: left; margin-left: 0; }
.section-head .lead { margin-bottom: 0; }
.kicker { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 .9em; font-family: var(--font-head); font-weight: 600; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--coral); }
.section-head-light .kicker, .section-teal .kicker { color: var(--sun); }
.section-head-light .kicker::before { background: var(--sun); }
.section-teal h2 { color: var(--white); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); line-height: 1.55; }
.section-teal .lead { color: rgba(255, 255, 255, .88); }
.h2-like { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem); }
.center-cta { text-align: center; margin: clamp(32px, 5vw, 48px) 0 0; }
.card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); }
.card-title { font-size: 1.25rem; display: flex; align-items: center; gap: .45em; }
.card-title .ico { color: var(--coral); }
.notice { background: var(--sun-l); border-radius: var(--r); padding: 14px 18px; font-weight: 700; }
.notice-warn { background: var(--coral-l); }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: .85rem; font-weight: 800; }
.pill-soon { background: var(--sun-l); color: #7A4F00; }

/* Olas */
.wave { position: absolute; left: 0; right: 0; height: 46px; pointer-events: none; }
.wave-top { top: 1px; transform: translateY(-100%); background: var(--white); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46V24C120 4 240 4 360 18s240 26 360 12S960 0 1080 8c48 3 84 9 120 16v22z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46V24C120 4 240 4 360 18s240 26 360 12S960 0 1080 8c48 3 84 9 120 16v22z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.wave-teal { background: var(--teal); }

/* ---------- Pegatinas / sellos ---------- */
.sticker { display: grid; place-items: center; text-align: center; width: 118px; height: 118px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--font-head); line-height: 1; transform: rotate(-12deg); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); border: 3px dashed rgba(255, 255, 255, .8); outline: 6px solid var(--sun); }
.sticker span { font-size: 1.7rem; font-weight: 700; }
.sticker small { display: block; font-size: .72rem; font-weight: 600; max-width: 86px; margin-top: 2px; line-height: 1.1; }
.sticker-inline { display: inline-flex; align-items: center; gap: .45em; padding: .35em .9em; border-radius: 999px; background: var(--sun-l); color: #6F4700; font-weight: 800; font-size: .9rem; margin: 0 0 1rem; }

/* =====================================================================
   HOME
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 8vw, 104px); }
.hero-deco, .ex-hero .hero-deco { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; opacity: .9;
  background:
    radial-gradient(circle at 8% 18%, var(--sun) 0 5px, transparent 6px),
    radial-gradient(circle at 92% 12%, var(--coral) 0 6px, transparent 7px),
    radial-gradient(circle at 48% 6%, var(--teal) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 88%, var(--sun) 0 5px, transparent 6px),
    radial-gradient(circle at 4% 78%, var(--teal) 0 5px, transparent 6px),
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 194, 60, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(14, 124, 134, .12), transparent 60%);
}
.hero-grid { position: relative; display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; padding: .45em 1em .45em .75em; margin: 0 0 1.2rem; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); font-weight: 800; font-size: .9rem; color: var(--ink-2); line-height: 1.3; }
.eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-l); flex: none; }
.hero-title { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.1rem); font-weight: 650; line-height: 1.03; letter-spacing: -.02em; margin-bottom: .45em; }
.hero-sub { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); color: var(--ink-2); max-width: 36em; margin-bottom: 1.6em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6rem; }
@media (max-width: 520px) { .hero-ctas .btn { width: 100%; } }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-weight: 700; font-size: .95rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .45em; }
.hero-proof .ico { color: var(--teal); }

.hero-visual { position: relative; min-height: 430px; max-width: 560px; width: 100%; margin: 0 auto; }
@media (min-width: 600px) { .hero-visual { min-height: 540px; } }
.hv-blob { position: absolute; top: 6%; right: 0; bottom: 4%; left: 6%; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; background: linear-gradient(140deg, var(--teal-l), var(--sun-l)); }
.hv-mag { position: absolute; left: 2%; top: 4%; width: 64%; margin: 0; transform: rotate(-7deg); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); animation: floatA 7s ease-in-out infinite; }
.hv-mag img { width: 100%; }
.hv-phone { position: absolute; right: 0; bottom: 0; width: 49%; max-width: 250px; transform: rotate(5deg); animation: floatB 8s ease-in-out infinite; }
.sticker-hero { position: absolute; right: 2%; top: 0; z-index: 3; }
.hv-note { position: absolute; left: 4%; bottom: 7%; z-index: 3; font-size: 1.55rem; color: var(--coral-ink); transform: rotate(-6deg); }
.hv-note::before { content: ""; position: absolute; left: 70%; top: -38px; width: 46px; height: 36px; border-top: 3px solid var(--coral); border-radius: 50% 50% 0 0; transform: rotate(28deg); }
.hv-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .5em; padding: .55em .95em; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-weight: 800; font-size: .82rem; color: var(--ink); white-space: nowrap; }
.hv-chip .ico { color: var(--coral); }
.hv-chip-1 { left: 30%; top: 54%; }
.hv-chip-2 { right: 34%; bottom: -2%; }
@media (max-width: 599px) { .hv-chip-1 { left: 20%; top: 58%; } .hv-chip-2 { display: none; } .hv-note { font-size: 1.3rem; bottom: 2%; } .sticker-hero { width: 96px; height: 96px; } .sticker-hero span { font-size: 1.4rem; } }

/* Móvil simulado */
.phone { aspect-ratio: 9 / 19; border-radius: 34px; background: var(--ink); padding: 8px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #3A4858; }
.phone-screen { position: relative; height: 100%; border-radius: 27px; overflow: hidden; background: var(--cream); display: flex; flex-direction: column; gap: 6px; padding: 0 8px 8px; font-size: 9px; line-height: 1.25; }
.ps-status { display: flex; justify-content: space-between; align-items: center; height: 22px; padding: 0 10px; font-weight: 800; font-size: 8.5px; }
.ps-notch { width: 56px; height: 15px; border-radius: 10px; background: var(--ink); }
.ps-bat { width: 17px; height: 8px; border-radius: 2px; border: 1.5px solid var(--ink); position: relative; }
.ps-bat::after { content: ""; position: absolute; top: 1px; right: 4px; bottom: 1px; left: 1px; background: var(--ink); border-radius: 1px; }
.ps-top { display: flex; align-items: center; gap: 6px; background: var(--teal); color: var(--white); border-radius: 14px; padding: 6px 8px; }
.ps-mascot { width: 28px; height: 28px; border-radius: 50%; background: var(--white); padding: 2px; flex: none; }
.ps-mascot svg { width: 100%; height: 100%; }
.ps-hello { display: flex; flex-direction: column; min-width: 0; }
.ps-hello small { opacity: .85; font-size: 7.5px; }
.ps-hello b { font-family: var(--font-head); font-weight: 600; font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-pts { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 2px 6px; font-weight: 900; font-size: 8px; }
.ps-map { border-radius: 12px; overflow: hidden; flex: none; box-shadow: var(--shadow-xs); }
.ps-map svg { width: 100%; }
.ps-card { display: flex; align-items: center; gap: 6px; background: var(--white); border-radius: 10px; padding: 6px; box-shadow: var(--shadow-xs); }
.ps-card div { display: flex; flex-direction: column; min-width: 0; }
.ps-card b { font-family: var(--font-head); font-weight: 600; font-size: 9px; }
.ps-card small { color: var(--ink-3); font-size: 7.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-num { width: 18px; height: 18px; border-radius: 50%; background: var(--coral); color: var(--white); display: grid; place-items: center; font-weight: 900; font-size: 9px; flex: none; }
.ps-num-2 { background: var(--teal); }
.ps-check { margin-left: auto; color: var(--ok); width: 14px; height: 14px; flex: none; }
.ps-check .ico { width: 100%; height: 100%; }
.ps-nav { margin-top: auto; display: flex; justify-content: space-around; background: var(--white); border-radius: 14px; padding: 7px 4px; color: var(--ink-3); box-shadow: var(--shadow-xs); }
.ps-nav .ico { width: 14px; height: 14px; }
.ps-nav .ico:first-child { color: var(--teal); }

/* Franja de beneficios */
.strip { position: relative; z-index: 2; margin-top: -24px; }
.strip-list { list-style: none; display: grid; gap: 14px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 26px); }
@media (min-width: 640px) { .strip-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .strip-list { grid-template-columns: repeat(4, 1fr); } }
.strip-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); line-height: 1.4; }
.strip-list b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: 2px; }
.strip-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.strip-ico .ico { width: 22px; height: 22px; }

/* Cómo funciona */
.steps-how { list-style: none; display: grid; gap: 22px; counter-reset: how; }
@media (min-width: 860px) { .steps-how { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.how-card { position: relative; background: var(--white); border-radius: var(--r-lg); padding: 30px 26px 26px; box-shadow: var(--shadow); }
.how-card h3 { margin-top: 18px; }
.how-card p { color: var(--ink-2); margin: 0; }
.how-num { position: absolute; right: 22px; top: 14px; font-family: var(--font-head); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--cream-d); }
.how-ico { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; transform: rotate(-6deg); }
.how-ico .ico { width: 28px; height: 28px; }
@media (min-width: 860px) {
  .how-card:not(:last-child)::after { content: ""; position: absolute; right: -26px; top: 58px; width: 26px; height: 12px; background: radial-gradient(circle, var(--coral) 2.2px, transparent 2.6px) 0 50% / 8px 8px repeat-x; z-index: 1; }
}

/* Galería horizontal */
.gallery { margin-top: 8px; }
.gal-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 18px 0 30px; }
.gal-viewport::-webkit-scrollbar { display: none; }
.gal-track { list-style: none; display: flex; gap: clamp(14px, 2vw, 22px); padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); width: max-content; outline: none; }
.gal-track:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.gal-item { width: clamp(190px, 46vw, 262px); scroll-snap-align: center; flex: none; }
@media (min-width: 960px) { .gal-item { scroll-snap-align: start; } }
.gal-link { display: block; border-radius: 10px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.gal-link:hover, .gal-link:focus-visible { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.gal-item:nth-child(even) .gal-link:hover { transform: translateY(-6px) rotate(1deg); }
.gal-link img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; }
.gal-cap { display: flex; gap: 8px; align-items: flex-start; margin: 12px 2px 0; font-size: .9rem; font-weight: 700; color: var(--ink-2); line-height: 1.35; }
.gal-n { flex: none; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--teal-l); color: var(--teal-d); display: grid; place-items: center; font-size: .78rem; font-weight: 900; }
.gal-controls { display: flex; align-items: center; gap: 10px; }
.gal-controls .link-arrow { margin-left: auto; }

/* Web mágica */
.web-block { margin-top: clamp(48px, 7vw, 88px); display: grid; gap: 30px; }
@media (min-width: 960px) { .web-block { grid-template-columns: .8fr 1.6fr; align-items: start; gap: 48px; } .web-intro { position: sticky; top: calc(var(--header-h) + 24px); } }
.web-intro p:last-child { color: var(--ink-2); }
.feature-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--cream); border-radius: var(--r); padding: 22px 20px; border: 1px solid var(--cream-d); transition: transform .2s var(--ease), box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--white); }
.feature h4 { margin: 14px 0 6px; }
.feature p { margin: 0; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.feat-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; }
.feat-ico .ico { width: 24px; height: 24px; }

/* Edades */
.age-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .age-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.age-card { position: relative; border-radius: var(--r-lg); padding: 26px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.age-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; opacity: .55; }
.age-1::before { background: var(--sun-l); }
.age-2::before { background: var(--coral-l); }
.age-3::before { background: var(--teal-l); }
.age-top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.age-mascot { width: 72px; height: 72px; }
.age-mascot svg { width: 100%; height: 100%; }
.age-range { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.age-range small { font-size: .95rem; font-weight: 600; color: var(--ink-3); }
.age-card h3 { position: relative; }
.age-card p { color: var(--ink-2); margin: 0; position: relative; }

/* Precios */
.price-grid { display: grid; gap: 22px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 30px 24px 24px; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .45); }
.price-card.is-featured { outline: 4px solid var(--sun); }
@media (min-width: 900px) { .price-card.is-featured { transform: translateY(-12px); } }
.ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--sun); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: .35em 1.1em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.price-name { font-size: 1.6rem; margin: 0 0 .1em; }
.price-tag { color: var(--ink-3); font-weight: 700; margin-bottom: .8em; }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .5em; margin: 0 0 .7rem; font-family: var(--font-head); }
.price-old { color: var(--ink-3); font-size: 1.15rem; font-weight: 500; }
.price-now { font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--ink); }
.price-now.is-struck { font-size: 1.5rem; color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--coral); }
.price-free { font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--teal-d); }
.price-free small { font-size: .95rem; font-weight: 600; margin-left: .25em; color: var(--ink-3); }
.price-features { list-style: none; display: grid; gap: 10px; margin: 0 0 24px; font-size: .97rem; line-height: 1.4; }
.price-features li { display: flex; gap: .6em; align-items: flex-start; }
.price-features .ico { color: var(--teal); margin-top: .15em; }
.price-card .btn { margin-top: auto; }
.price-note { display: flex; justify-content: center; align-items: center; gap: .5em; text-align: center; margin: 36px auto 0; color: rgba(255, 255, 255, .9); font-weight: 700; max-width: 640px; }
.price-note .ico { color: var(--sun); }

/* Opiniones */
.quote-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card { margin: 0; background: var(--white); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); position: relative; }
.quote-card::before { content: "“"; position: absolute; top: -6px; left: 18px; font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--sun); }
.quote-card blockquote { margin: 18px 0 14px; font-size: 1.05rem; }
.quote-card figcaption { color: var(--ink-3); font-weight: 700; }

/* FAQ */
.faq-wrap { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: start; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-mascot { display: block; width: 120px; height: 120px; margin-top: 18px; }
.faq-mascot svg { width: 100%; height: 100%; }
@media (max-width: 959px) { .faq-mascot { display: none; } }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--teal-l); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; border-radius: var(--r); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-d); }
.faq-plus { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-xl); flex: none; transition: transform .25s var(--ease), background .2s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; background: var(--teal-d); border-radius: 2px; }
.faq-plus::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.faq-item[open] .faq-plus { background: var(--teal); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before { background: var(--white); }
.faq-item[open] .faq-plus::after { transform: rotate(0); background: var(--white); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* Regalo / B2B */
.gift-card { display: grid; gap: 28px; background: linear-gradient(135deg, var(--coral-l), var(--sun-l)); border-radius: var(--r-xl); padding: clamp(26px, 5vw, 52px); position: relative; overflow: hidden; }
.gift-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55) 0 40%, transparent 41%), radial-gradient(circle, transparent 0 58%, rgba(255, 255, 255, .4) 59% 62%, transparent 63%); pointer-events: none; }
@media (min-width: 900px) { .gift-card { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; } }
.gift-copy p { color: var(--ink-2); }
.gift-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.gift-tags li { display: inline-flex; align-items: center; gap: .45em; background: rgba(255, 255, 255, .78); border-radius: 999px; padding: .45em .95em; font-weight: 800; font-size: .92rem; }
.gift-tags .ico { color: var(--coral-ink); }
.gift-form { position: relative; z-index: 1; background: var(--white); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.gift-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin-bottom: 12px; }
.input-row { display: flex; gap: 10px; flex-wrap: wrap; }
.input-row .input { flex: 1 1 200px; }
.input-row .btn { flex: 0 0 auto; }
@media (max-width: 420px) { .input-row .btn { width: 100%; } }
.form-msg { margin: 10px 0 0; font-weight: 800; min-height: 1.2em; }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-error { color: var(--coral-ink); }
.gift-legal { font-size: .82rem; color: var(--ink-3); margin: 8px 0 0; }

/* CTA final */
.final-cta { background: var(--ink); color: var(--cream); padding-block: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: radial-gradient(circle at 12% 30%, rgba(255, 194, 60, .2), transparent 40%), radial-gradient(circle at 90% 80%, rgba(14, 124, 134, .45), transparent 45%); }
.final-in { position: relative; display: grid; gap: 22px; justify-items: center; text-align: center; }
@media (min-width: 900px) { .final-in { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; gap: 32px; align-items: center; } }
.final-cta h2 { color: var(--white); margin-bottom: .2em; }
.final-cta p { margin: 0; color: rgba(255, 248, 236, .82); font-size: 1.1rem; }
.final-mascot { width: 104px; height: 104px; background: var(--cream); border-radius: 50%; padding: 8px; animation: bob 4s ease-in-out infinite; }
.final-mascot svg { width: 100%; height: 100%; }

/* ---------- Pie ---------- */
.site-footer { position: relative; background: #13202D; color: rgba(255, 248, 236, .82); padding: 56px 0 28px; font-size: .97rem; }
.final-cta + .site-footer, main + .site-footer { margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .footer-brand { grid-column: auto; } }
.footer-tag { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; color: var(--white); margin: 14px 0 6px; }
.footer-small { margin: 0; max-width: 32em; color: rgba(255, 248, 236, .68); }
.footer-h { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 10px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col a { color: rgba(255, 248, 236, .86); text-decoration: none; display: inline-flex; align-items: center; gap: .5em; min-height: 40px; word-break: break-word; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col .ico { color: var(--sun); }
.footer-cta { margin-top: 12px; }
.site-footer .btn, .site-footer .btn:hover { color: var(--b-fg); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: rgba(255, 248, 236, .6); }
.footer-bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto; background: rgba(13, 22, 31, .94); color: var(--white); animation: fadeIn .2s ease; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; }
.lb-count { font-weight: 800; font-size: .95rem; opacity: .8; padding-left: 8px; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 12px; touch-action: pan-y; }
.lb-img { max-width: min(94vw, 760px); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: var(--white); }
.lb-cap { text-align: center; padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); font-weight: 700; margin: 0; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); display: grid; place-items: center; font-size: 1.5rem; line-height: 1; transition: background .15s; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 50%; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } .lb-stage { padding-bottom: 68px; } }
.lb-open { overflow: hidden; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 400; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--white); border-radius: 999px; padding: 12px 20px; font-weight: 800; box-shadow: var(--shadow-lg); transition: opacity .2s, transform .25s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   FORMULARIOS
   ===================================================================== */
.field { margin: 0 0 24px; border: 0; padding: 0; min-width: 0; }
fieldset.field { margin-inline: 0; }
.label { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25em .6em; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; margin-bottom: 10px; color: var(--ink); padding: 0; }
.sublabel { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; color: var(--ink-2); padding: 0; }
.sublabel-gap { margin-top: 14px; }
.opt { font-family: var(--font-body); font-weight: 700; font-size: .8rem; color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.help { font-size: .88rem; color: var(--ink-3); margin: 8px 0 0; line-height: 1.45; }
.input {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 2px solid var(--line-2); background: var(--white); color: var(--ink); font-size: 1rem; line-height: 1.35;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #9AA1A8; }
.input:hover { border-color: rgba(29, 43, 58, .35); }
.input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 124, 134, .18); outline: none; }
.input-lg { min-height: 58px; font-size: 1.15rem; font-weight: 700; }
.input-sm { min-height: 44px; padding: 8px 12px; font-size: .9rem; }
textarea.input { resize: vertical; min-height: 84px; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D2B3A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 38px; }
input[type="date"].input { min-width: 0; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.input.is-invalid, .is-invalid .input { border-color: var(--coral-ink); box-shadow: 0 0 0 4px rgba(184, 77, 53, .12); }
.field-error { display: flex; align-items: flex-start; gap: .4em; margin: 8px 0 0; color: var(--coral-ink); font-weight: 800; font-size: .92rem; line-height: 1.4; }
.field-error::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--coral-ink); color: var(--white); font-size: .72rem; display: grid; place-items: center; }
.counter { text-align: right; font-size: .82rem; color: var(--ink-3); margin: 6px 0 0; font-weight: 700; }
.counter.is-near { color: var(--coral-ink); }
.grid-2, .grid-3, .grid-kid { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-kid { grid-template-columns: 1.6fr 1fr; } }
.grid-3 > div { margin-bottom: 12px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: .5em 1em; border-radius: 999px; border: 2px solid var(--line-2); background: var(--white); font-weight: 800; font-size: .95rem; cursor: pointer; user-select: none; transition: background .15s, border-color .15s, color .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.chip span:hover { border-color: var(--teal); }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--white); box-shadow: 0 6px 14px -8px rgba(14, 124, 134, .9); }
.chip input:focus-visible + span { box-shadow: var(--ring); }
.chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.chip:active span { transform: scale(.96); }
.chip-emo { font-style: normal; font-size: 1.1em; line-height: 1; }
.chips-sm .chip span { min-height: 44px; padding: .4em .85em; font-size: .9rem; }
.quick-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.quick-label { font-weight: 800; font-size: .85rem; color: var(--ink-3); margin-right: 4px; }
.qchip { min-height: 36px; padding: 0 .85em; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); font-weight: 700; font-size: .86rem; color: var(--ink-2); transition: background .15s, color .15s, border-color .15s; }
.qchip:hover { background: var(--teal-xl); border-color: var(--teal); color: var(--teal-d); }
@media (pointer: coarse) { .qchip { min-height: 40px; } }

/* Segmentado */
.seg { display: grid; gap: 8px; }
.seg-3 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .seg-3 { grid-template-columns: repeat(3, 1fr); } }
.seg-sm { grid-template-columns: repeat(3, 1fr); }
.seg-opt { position: relative; display: flex; }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg-opt > span { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: 2px solid var(--line-2); background: var(--white); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; line-height: 1.25; }
.seg-opt > span:hover { border-color: var(--teal); }
.seg-opt b { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.seg-opt small { color: var(--ink-3); font-weight: 700; font-size: .82rem; }
.seg-sm .seg-opt > span { text-align: center; align-items: center; font-weight: 800; font-size: .88rem; padding: 8px 6px; }
.seg-opt input:checked + span { border-color: var(--teal); background: var(--teal-xl); box-shadow: inset 0 0 0 1px var(--teal); }
.seg-opt input:checked + span b, .seg-sm .seg-opt input:checked + span { color: var(--teal-d); }
.seg-opt input:focus-visible + span { box-shadow: var(--ring); }

/* Casillas */
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 600; font-size: .97rem; line-height: 1.45; margin: 0 0 14px; padding: 4px 0; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.check-box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line-2); background: var(--white); display: grid; place-items: center; transition: background .15s, border-color .15s; margin-top: -1px; }
.check-box::after { content: ""; width: 7px; height: 13px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .15s var(--ease); }
.check input:checked + .check-box { background: var(--teal); border-color: var(--teal); }
.check input:checked + .check-box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check-box { box-shadow: var(--ring); }
.check:hover .check-box { border-color: var(--teal); }
.check a { font-weight: 800; }
.check-terms { background: var(--white); border-radius: var(--r); padding: 16px; border: 2px solid var(--line); font-size: .92rem; }
.check-terms.is-invalid { border-color: var(--coral-ink); }

/* Stepper días */
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper .input { width: 76px; text-align: center; font-weight: 800; font-size: 1.15rem; -moz-appearance: textfield; }
.stepper .input::-webkit-outer-spin-button, .stepper .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--white); font-size: 1.4rem; font-weight: 800; line-height: 1; display: grid; place-items: center; }
.stepper-btn:hover { border-color: var(--teal); color: var(--teal-d); }
.stepper-unit { font-weight: 800; color: var(--ink-2); }

/* =====================================================================
   ASISTENTE /crear
   ===================================================================== */
.page-create { background: linear-gradient(180deg, var(--cream) 0, var(--cream) 340px, #FFF4E0 100%); }
.wz { padding: clamp(18px, 4vw, 44px) 0 clamp(56px, 8vw, 96px); }
.wz-grid { display: grid; gap: 18px; grid-template-areas: "head" "aside" "main"; }
@media (min-width: 1000px) {
  .wz-grid { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "head aside" "main aside"; gap: 22px 44px; align-items: start; }
}
@media (min-width: 1180px) { .wz-grid { grid-template-columns: minmax(0, 1fr) 372px; } }
.wz-head { grid-area: head; }
.wz-main { grid-area: main; min-width: 0; }
.wz-aside { grid-area: aside; min-width: 0; }
.wz-title { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.8rem); margin-bottom: .25em; }
.wz-intro { color: var(--ink-2); margin-bottom: 18px; }

/* Progreso */
.wz-progress { position: relative; }
.wz-bar { height: 8px; border-radius: 99px; background: var(--cream-d); overflow: hidden; margin-bottom: 10px; }
.wz-bar-fill { display: block; height: 100%; width: 20%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), #18A3A8); transition: width .5s var(--ease); }
.wz-dots { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.wz-dot-btn { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0; min-height: 48px; border: 0; background: none; border-radius: var(--r-sm); color: var(--ink-3); font-weight: 800; font-size: .76rem; line-height: 1.15; text-align: center; }
.wz-dot-btn:not([disabled]):hover { color: var(--teal-d); background: rgba(14, 124, 134, .06); }
.wz-dot-btn[disabled] { cursor: default; }
.wz-dot-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line-2); font-family: var(--font-head); font-size: .9rem; color: var(--ink-3); transition: background .2s, border-color .2s, color .2s; }
.wz-dot.is-done .wz-dot-n { background: var(--teal-l); border-color: var(--teal); color: var(--teal-d); }
.wz-dot.is-current .wz-dot-n { background: var(--teal); border-color: var(--teal); color: var(--white); box-shadow: 0 0 0 4px rgba(14, 124, 134, .18); }
.wz-dot.is-current .wz-dot-btn { color: var(--ink); }
@media (max-width: 420px) { .wz-dot-l { font-size: .68rem; } }

/* Vista previa */
.wz-preview { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow); }
.wz-preview-cover { --cvw: 92px; flex: none; }
.wz-preview-info { min-width: 0; }
.wz-preview-label { display: inline-flex; align-items: center; gap: .45em; margin: 0 0 4px; font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s ease-in-out infinite; }
.wz-preview-title { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; line-height: 1.2; margin: 0 0 4px; overflow-wrap: anywhere; }
.wz-preview-meta { margin: 0; font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.wz-preview-plan { margin: 6px 0 0; font-size: .82rem; font-weight: 900; color: var(--teal-d); }
.wz-reassure { display: none; }
@media (min-width: 1000px) {
  .wz-aside { position: sticky; top: calc(var(--header-h) + 18px); }
  .wz-preview { flex-direction: column; align-items: stretch; padding: 22px; gap: 18px; }
  .wz-preview-cover { --cvw: 296px; margin: 0 auto; filter: drop-shadow(0 18px 26px rgba(29, 43, 58, .22)); transform: rotate(-2deg); transition: transform .4s var(--ease); }
  .wz-preview:hover .wz-preview-cover { transform: rotate(0); }
  .wz-preview-info { text-align: center; }
  .wz-preview-title { font-size: 1.2rem; }
  .wz-reassure { display: grid; gap: 8px; list-style: none; margin-top: 16px; padding: 0 8px; font-size: .9rem; font-weight: 700; color: var(--ink-2); }
  .wz-reassure li { display: flex; gap: .55em; align-items: center; }
  .wz-reassure .ico { color: var(--teal); }
}
@media (min-width: 1180px) { .wz-preview-cover { --cvw: 326px; } }

/* Restaurar borrador */
.wz-restore { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--sun-l); border: 2px solid var(--sun); border-radius: var(--r); padding: 14px 16px; margin-bottom: 18px; animation: dropIn .3s var(--ease); }
.wz-restore p { margin: 0; flex: 1 1 220px; line-height: 1.35; }
.wz-restore p b { display: block; font-family: var(--font-head); font-weight: 600; }
.wz-restore p span { font-size: .9rem; color: var(--ink-2); }
.wz-restore-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--white); display: grid; place-items: center; color: #8A5A00; flex: none; }
.wz-restore-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Pasos */
.wz-form { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 40px); }
@media (max-width: 599px) { .wz-form { border-radius: var(--r-lg); margin-inline: calc(var(--gutter) * -.5); } }
.wz-step.is-active { animation: stepIn .35s var(--ease); }
.wz-step.is-back { animation-name: stepInBack; }
.wz-step-title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); margin-bottom: 18px; outline: none; }
.wz-step-n { width: 40px; height: 40px; flex: none; border-radius: 14px; background: var(--coral); color: var(--white); display: grid; place-items: center; font-size: 1.2rem; transform: rotate(-6deg); box-shadow: 0 6px 14px -6px rgba(255, 107, 74, .9); }
.step-lead { color: var(--ink-2); margin: -6px 0 22px; }

/* Destino con sugerencias */
.combo { position: relative; }
.combo .input { padding-left: 48px; padding-right: 44px; }
.combo-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--coral); width: 22px; height: 22px; pointer-events: none; }
.combo-ico .ico { width: 100%; height: 100%; }
.combo-spin { position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 3px solid var(--teal-l); border-top-color: var(--teal); animation: spin .8s linear infinite; }
.combo-list { list-style: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 6px; max-height: 320px; overflow-y: auto; }
.combo-opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer; line-height: 1.25; }
.combo-opt .ico { color: var(--teal); }
.combo-opt b { display: block; font-weight: 800; }
.combo-opt small { color: var(--ink-3); font-weight: 700; }
.combo-opt.is-active, .combo-opt:hover { background: var(--teal-xl); }
.combo-foot { font-size: .72rem; color: var(--ink-3); padding: 6px 12px 2px; }
.combo-opt .ico { flex: 0 0 22px; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
.combo-opt .ico svg { width: 20px; height: 20px; }
.combo-txt { min-width: 0; }
.combo-opt small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-typed { color: var(--teal-d); border-top: 1px dashed var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); }
.combo-typed .ico { font-size: 1.05rem; color: var(--teal); }
.combo-typed small { white-space: normal; }

/* Destinos elegidos (uno o una ruta con paradas) */
.stops { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; position: relative; }
.stops.is-route::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; border-left: 3px dotted var(--coral); }
.stop { position: relative; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 9px 10px 9px 12px; border-radius: var(--r); background: var(--white); border: 2px solid var(--teal); box-shadow: 0 8px 18px -14px rgba(14, 124, 134, .9); }
.stop-n { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--coral); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; position: relative; z-index: 1; }
.stop-n svg { width: 20px; height: 20px; }
.stop-txt { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.stop-txt b { display: block; font-weight: 800; font-size: 1.08rem; color: var(--ink); overflow-wrap: anywhere; }
.stop-txt small { display: block; color: var(--ink-3); font-weight: 700; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stop.is-unmapped { border-style: dashed; }
.stop.is-unmapped .stop-n { background: var(--ink-3); }
.stop-acts { flex: 0 0 auto; display: inline-flex; gap: 4px; }
.stop-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--teal-xl); color: var(--teal-d); font-size: 1.25rem; font-weight: 800; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.stop-btn:hover { background: var(--teal-l); }
.stop-rm:hover { background: var(--coral-l); color: var(--coral-ink); }
.stop-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.dest-add { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; margin: 2px 0 0; padding: 0 1.1em; border-radius: 999px; border: 2px dashed var(--teal); background: transparent; color: var(--teal-d); font-weight: 800; font-size: .95rem; cursor: pointer; }
.dest-add span { font-size: 1.3rem; line-height: 1; }
.dest-add small { font-weight: 700; color: var(--ink-3); }
.dest-add:hover { background: var(--teal-xl); }
.dest-add:focus-visible { outline: none; box-shadow: var(--ring); }

/* Radio máximo: selector segmentado + mapa de la zona */
.radius { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 4px; border-radius: 999px; background: var(--white); border: 2px solid var(--line); max-width: 560px; }
.radius-opt { position: relative; display: block; }
.radius-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.radius-opt span { display: flex; align-items: baseline; justify-content: center; gap: .15em; min-height: 42px; padding: .55em .2em; border-radius: 999px; font-weight: 700; font-size: .82rem; color: var(--ink-2); cursor: pointer; user-select: none; white-space: nowrap; transition: background .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.radius-opt b { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; }
.radius-opt span:hover { color: var(--teal-d); background: var(--teal-xl); }
.radius-opt input:checked + span { background: var(--teal); color: var(--white); box-shadow: 0 6px 14px -8px rgba(14, 124, 134, .9); }
.radius-opt input:focus-visible + span { box-shadow: var(--ring); }
.dest-map { position: relative; height: 210px; margin: 12px 0 0; border-radius: var(--r); overflow: hidden; background: var(--teal-xl); border: 1px solid var(--line); max-width: 560px; }
.dest-map-tiles { position: absolute; inset: 0; }
.dest-map-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; filter: saturate(.7) contrast(.95); }
.dest-map-over { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dest-map .m-radius { fill: rgba(14, 124, 134, .16); stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 7 5; }
.dest-map .m-route { fill: none; stroke: var(--coral); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.dest-map .m-pin circle { fill: var(--coral); stroke: var(--white); stroke-width: 3; }
.dest-map .m-pin .m-dot { fill: var(--white); stroke: none; }
.dest-map .m-pin text { fill: var(--white); font: 700 13px var(--font-head); }
.dest-map-attr { position: absolute; right: 0; bottom: 0; padding: 2px 8px; border-top-left-radius: 8px; background: rgba(255, 255, 255, .85); font-size: .68rem; color: var(--ink-3); }
@media (max-width: 480px) {
  .radius-opt span { flex-direction: column; align-items: center; gap: 0; font-size: .7rem; min-height: 48px; padding: .35em 0; line-height: 1.05; }
  .stop-acts { gap: 2px; }
  .stop-btn { width: 36px; height: 36px; }
}

.dest-detail { display: inline-flex; align-items: center; gap: .45em; margin: 10px 0 0; padding: .35em .9em; border-radius: 999px; background: var(--teal-xl); color: var(--teal-d); font-weight: 800; font-size: .9rem; }

.dates { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.date-box { flex: 1; min-width: 0; }
.date-arrow { padding-bottom: 14px; font-weight: 900; color: var(--ink-3); }
.days-box { margin: 0 0 6px; }
.days-note { margin: -4px 0 12px; font-weight: 800; color: var(--teal-d); }
/* Calendario de ida y vuelta (solo con ratón; en el móvil, el selector nativo) */
.rcal { margin: 0 0 14px; padding: 14px; border: 2px solid var(--line, #E6DFD2); border-radius: var(--r); background: var(--white); }
.rcal[hidden] { display: none; }
.rcal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rcal-hint { flex: 1; margin: 0; text-align: center; font-weight: 800; color: var(--ink-2); font-size: .92rem; }
.rcal-nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--teal-xl); color: var(--teal-d); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.rcal-nav:hover { background: var(--teal-l, #CBEDEA); }
.rcal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.rcal-t { margin: 0 0 6px; text-align: center; font-family: var(--font-head); font-weight: 600; }
.rcal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.rcal-wd { text-align: center; font-size: .75rem; font-weight: 800; color: var(--ink-3); text-transform: uppercase; padding-bottom: 4px; }
.rcal-d { height: 38px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; border-radius: 10px; }
.rcal-d:hover:not(:disabled) { background: var(--teal-xl); }
.rcal-d:disabled { color: var(--ink-3); opacity: .45; cursor: default; }
.rcal-d.is-today { box-shadow: inset 0 0 0 2px var(--teal-l, #9ED9D3); }
.rcal-d.is-in, .rcal-d.is-hover { background: var(--teal-xl); border-radius: 0; }
.rcal-d.is-start, .rcal-d.is-end { background: var(--teal); color: #fff; }
.rcal-d:focus-visible { outline: 3px solid var(--sun); outline-offset: 1px; }

/* Peques */
.kids { display: grid; gap: 18px; margin-bottom: 18px; }
.kid-card { border: 2px solid var(--line); border-radius: var(--r-lg); padding: 18px; background: linear-gradient(180deg, var(--teal-xl), var(--white) 120px); animation: dropIn .3s var(--ease); }
@media (min-width: 600px) { .kid-card { padding: 22px 24px; } }
.kid-card.is-invalid { border-color: var(--coral-ink); }
.kid-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.kid-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; flex: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1); }
.kid-card:nth-child(2) .kid-avatar { background: var(--coral); color: var(--white); }
.kid-card:nth-child(3) .kid-avatar { background: var(--teal); color: var(--white); }
.kid-card:nth-child(4) .kid-avatar { background: #8E6CC9; color: var(--white); }
.kid-title { margin: 0; font-size: 1.3rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kid-remove { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(29, 43, 58, .06); font-size: 1.5rem; line-height: 1; color: var(--ink-2); display: grid; place-items: center; }
.kid-remove:hover { background: var(--coral-l); color: var(--coral-ink); }
.kid-card .field { margin-bottom: 18px; }
.kid-card .field:last-child { margin-bottom: 0; }

/* Foto */
.photo-box { display: flex; gap: 16px; align-items: flex-start; background: var(--cream); border-radius: var(--r); padding: 16px; }
.photo-preview { position: relative; width: 84px; height: 84px; border-radius: 50%; flex: none; background: var(--white); border: 3px dashed var(--line-2); display: grid; place-items: center; overflow: hidden; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview.has-photo { border: 3px solid var(--sun); }
.photo-ph { width: 30px; height: 30px; color: var(--ink-3); }
.photo-ph .ico { width: 100%; height: 100%; }
.photo-preview.is-loading::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(255, 255, 255, .7) center / 26px no-repeat; }
.photo-preview.is-loading .photo-ph { animation: pulse 1s ease-in-out infinite; }
.photo-body { min-width: 0; flex: 1; }
.photo-body .help { margin: 0 0 12px; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file-btn.is-disabled input { cursor: not-allowed; }
.file-btn:focus-within { box-shadow: var(--ring); }
@media (max-width: 480px) { .photo-box { flex-direction: column; align-items: center; text-align: center; } .photo-box .check { text-align: left; } .photo-actions { justify-content: center; } }

/* Planes */
.free-note { display: flex; gap: 12px; align-items: center; background: var(--sun-l); border-radius: var(--r); padding: 12px 16px; margin: -4px 0 18px; font-size: .95rem; }
.free-note .ico { width: 28px; height: 28px; color: #8A5A00; }
.plans { display: grid; gap: 14px; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.plan-card { position: relative; display: block; border: 2px solid var(--line-2); border-radius: var(--r-lg); padding: 18px; background: var(--white); transition: border-color .15s, box-shadow .2s, transform .2s var(--ease); }
.plan:hover .plan-card { border-color: var(--teal); }
.plan input:checked + .plan-card { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal), var(--shadow); background: linear-gradient(180deg, var(--teal-xl), var(--white) 70%); }
.plan input:focus-visible + .plan-card { box-shadow: var(--ring); }
.plan.has-badge .plan-card { padding-top: 26px; }
.plan-badge { position: absolute; top: -13px; left: 18px; background: var(--sun); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .82rem; padding: .25em .85em; border-radius: 999px; }
.plan-top { display: flex; align-items: center; gap: 12px; }
.plan-radio { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; background: var(--white); transition: border-color .15s; }
.plan-radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); transform: scale(0); transition: transform .2s var(--ease); }
.plan input:checked + .plan-card .plan-radio { border-color: var(--teal); }
.plan input:checked + .plan-card .plan-radio::after { transform: scale(1); }
.plan-name { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; line-height: 1.15; }
.plan-name small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .86rem; color: var(--ink-3); margin-top: 2px; }
.plan-price { text-align: right; font-family: var(--font-head); line-height: 1.1; display: flex; flex-direction: column; align-items: flex-end; }
.plan-price s { font-size: .85rem; color: var(--ink-3); }
.plan-price b { font-weight: 700; font-size: 1.35rem; }
.plan-price b.is-struck { font-size: .95rem; font-weight: 500; color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--coral); }
.plan-price em { font-style: normal; font-weight: 700; font-size: 1.3rem; color: var(--teal-d); }
.plan-inc { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.inc { display: inline-flex; align-items: center; gap: .35em; padding: .3em .7em; border-radius: 999px; font-size: .78rem; font-weight: 800; background: #F1F2F3; color: #9AA1A8; text-decoration: line-through; text-decoration-color: rgba(154, 161, 168, .7); }
.inc.on { background: var(--teal-xl); color: var(--teal-d); text-decoration: none; }
.plan-feats { display: none; margin-top: 14px; gap: 6px; font-size: .9rem; color: var(--ink-2); line-height: 1.35; }
.plan-feats span { display: flex; gap: .5em; align-items: flex-start; }
.plan-feats .ico { color: var(--teal); margin-top: .1em; }
.plan input:checked + .plan-card .plan-feats { display: grid; animation: fadeIn .3s ease; }

/* Extras y cupón */
.addons { display: grid; gap: 10px; }
.addon { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; background: var(--white); transition: border-color .15s; }
.addon:hover { border-color: var(--teal); }
.addon input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon input:checked ~ .addon-body b { color: var(--teal-d); }
.addon input:focus-visible + .check-box { box-shadow: var(--ring); }
.addon input:checked + .check-box { background: var(--teal); border-color: var(--teal); }
.addon input:checked + .check-box::after { transform: rotate(45deg) scale(1); }
.addon-body { flex: 1; min-width: 0; line-height: 1.3; }
.addon-body small { display: block; color: var(--ink-3); font-weight: 700; margin-top: 2px; }
.addon-price { font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.addon-price.is-struck { text-decoration: line-through; color: var(--ink-3); }
.coupon { margin: 0 0 20px; padding: 16px; border-radius: var(--r); border: 2px dashed var(--coral); background: linear-gradient(135deg, #FFF1EC, #FFF8E6); }
.coupon-t { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.coupon-t b { display: block; font-size: 1.08rem; color: var(--ink); }
.coupon-t small { display: block; color: var(--ink-3); font-weight: 700; }
.coupon-ico { flex: none; font-size: 1.9rem; line-height: 1; }
.coupon-in { display: flex; gap: 10px; margin-top: 12px; }
.coupon-in .input { flex: 1; min-width: 0; background: #fff; }
.coupon-in .input { text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.coupon-msg { margin: 8px 0 0; font-weight: 800; color: var(--ok); }
.coupon-msg:empty { display: none; }
.totals { background: var(--cream); border-radius: var(--r); padding: 16px 18px; }
.tot-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-weight: 700; color: var(--ink-2); }
.tot-disc { color: var(--ok); }
.tot-total { margin-top: 6px; padding-top: 10px; border-top: 2px dashed var(--line-2); font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.tot-total s { font-size: .9rem; color: var(--ink-3); font-weight: 500; }
.tot-note { margin: 6px 0 0; font-size: .82rem; color: var(--ink-3); }

/* Resumen */
.summary-card { background: var(--cream); border-radius: var(--r-lg); padding: 18px 20px; margin: 4px 0 20px; }
.card.summary-card { background: var(--white); margin: 0; }
.summary-title { font-size: 1.15rem; margin-bottom: 10px; }
.summary { margin: 0; display: grid; gap: 0; }
.summary > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.summary > div:last-child { border-bottom: 0; }
.summary dt { font-weight: 800; color: var(--ink-3); font-size: .86rem; padding-top: 2px; }
.summary-ed { display: inline-flex; align-items: center; gap: .3em; min-height: 36px; margin-top: 2px; padding: 0 12px; border: 2px solid var(--teal-xl); border-radius: 999px; background: var(--white); color: var(--teal-d); font: inherit; font-size: .85rem; font-weight: 800; cursor: pointer; vertical-align: middle; }
.summary-ed:hover { border-color: var(--teal); }
.summary-ed:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.summary dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.summary dd small { color: var(--ink-3); }
.summary-total dd { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.summary-edit { margin: 10px 0 0; font-size: .85rem; color: var(--ink-3); }
.turnstile-box { min-height: 70px; }

/* Navegación del asistente */
.wz-alert { margin: 20px 0 0; padding: 14px 16px; border-radius: var(--r); background: var(--coral-l); color: #7A2E1D; font-weight: 800; }
.wz-nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 2px dashed var(--line); }
.wz-nav [data-next] { margin-left: auto; min-width: 150px; }
.wz-nav-hint { font-size: .86rem; font-weight: 800; color: var(--ink-3); }
.wz-nav [data-prev]:not([hidden]) + .wz-nav-hint { display: none; }
@media (max-width: 599px) {
  .wz-nav { position: sticky; bottom: 0; z-index: 10; margin: 24px calc(clamp(20px, 4vw, 40px) * -1) calc(clamp(20px, 4vw, 40px) * -1); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .wz-nav [data-next] { flex: 1; }
  .wz-nav [data-prev] { padding-inline: 1em; }
}

/* =====================================================================
   PORTADA SIMULADA (escala con --cvw; 30em de ancho)
   ===================================================================== */
.cover {
  --cvw: 300px;
  position: relative; width: var(--cvw); font-size: calc(var(--cvw) / 30); aspect-ratio: 210 / 297; height: auto;
  border-radius: .5em; overflow: hidden; isolation: isolate; color: var(--cv-dark);
  background: linear-gradient(180deg, var(--cv-light) 0%, var(--cv-paper) 58%, var(--cv-paper) 100%);
  box-shadow: 0 .1em .3em rgba(0, 0, 0, .12); transition: background .5s ease;
}
.wz-preview-cover .cover, .ready-cover .cover { --cvw: inherit; }
@supports not (aspect-ratio: 1) { .cover { height: calc(var(--cvw) * 1.4143); } }
.cover * { box-sizing: border-box; }
.cv-confetti { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; opacity: .8;
  background:
    radial-gradient(circle at 88% 21%, var(--cv-primary) 0 .32em, transparent .36em),
    radial-gradient(circle at 76% 34%, var(--cv-primary) 0 .26em, transparent .3em),
    radial-gradient(circle at 12% 54%, var(--cv-primary) 0 .2em, transparent .24em),
    radial-gradient(circle at 22% 61%, var(--cv-secondary) 0 .18em, transparent .22em),
    radial-gradient(circle at 92% 47%, var(--cv-primary) 0 .26em, transparent .3em),
    radial-gradient(circle at 40% 42%, var(--cv-accent) 0 .18em, transparent .22em),
    radial-gradient(circle at 6% 36%, var(--cv-accent) 0 .16em, transparent .2em),
    radial-gradient(circle at 60% 58%, var(--cv-secondary) 0 .14em, transparent .18em);
}
.cv-top { position: absolute; z-index: 3; top: 1.5em; left: 2em; right: 2em; display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.cv-brand { background: var(--cv-dark); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05em; line-height: 1; padding: .45em 2.3em; border-radius: 1em; }
.cv-ed { font-family: var(--font-head); font-weight: 600; font-size: .58em; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-card { position: absolute; z-index: 3; top: 3.6em; left: 2em; right: 2em; background: #fff; border: .14em solid var(--cv-dark); border-radius: 1.1em; padding: 1em 1.3em 1.1em; }
.cv-kicker { margin: 0 0 .35em; font-family: var(--font-head); font-weight: 600; font-size: .62em; letter-spacing: .16em; text-transform: uppercase; color: var(--cv-primary); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-title { margin: 0 0 .3em; font-family: var(--font-head); font-weight: 700; font-size: 2.2em; line-height: 1.02; letter-spacing: -.01em; color: var(--cv-dark); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cv-sub { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: .92em; color: color-mix(in srgb, var(--cv-secondary) 70%, #1D2B3A); line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cv-sun { position: absolute; z-index: 1; right: 1.6em; top: 11em; width: 7.4em; height: 7.4em; border-radius: 50%; background: var(--cv-accent); opacity: .75; box-shadow: 0 0 0 .9em color-mix(in srgb, var(--cv-accent) 35%, transparent); }
.cv-cloud { position: absolute; z-index: 2; width: 6.4em; height: 2.2em; border-radius: 2em; background: #fff; opacity: .95; }
.cv-cloud::before, .cv-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cv-cloud::before { width: 2.8em; height: 2.8em; left: 1em; top: -1.4em; }
.cv-cloud::after { width: 2.2em; height: 2.2em; left: 3.1em; top: -1em; }
.cv-cloud-1 { left: 2.4em; top: 16.2em; }
.cv-cloud-2 { right: .8em; top: 22em; transform: scale(.8); }
.cv-bubble { position: absolute; z-index: 3; left: 8em; top: 17em; max-width: 11.5em; background: #fff; border: .12em solid var(--cv-primary); border-radius: 1em; padding: .8em 1.1em; font-family: var(--font-hand); font-size: .98em; line-height: 1.15; color: var(--cv-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-bubble::before { content: ""; position: absolute; left: -.55em; top: 55%; width: .9em; height: .9em; background: #fff; border-left: .12em solid var(--cv-primary); border-bottom: .12em solid var(--cv-primary); transform: rotate(45deg); }
.cv-mascot { position: absolute; z-index: 3; right: 3em; top: 17.4em; width: 8.6em; height: 8.6em; transition: transform .4s var(--ease); }
.cv-mascot svg { width: 100%; height: 100%; }
.cv-sky { position: absolute; z-index: 1; left: 0; right: 0; bottom: 1.8em; height: 13em; }
.cv-sky svg { width: 100%; height: 100%; }
.cv-ground { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 1.9em; background: var(--cv-dark); }
.cv-seal { position: absolute; z-index: 4; left: 1.6em; bottom: 3em; width: 9em; height: 9em; border-radius: 50%; background: var(--cv-accent); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1em; box-shadow: inset 0 0 0 .5em var(--cv-accent), inset 0 0 0 .62em #fff; }
.cv-seal small { font-family: var(--font-head); font-weight: 600; font-size: .44em; letter-spacing: .16em; margin-bottom: .5em; }
.cv-kids { display: flex; flex-direction: column; gap: .05em; max-width: 100%; }
.cv-kids b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05em; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-kids b:nth-child(n+3) { font-size: .8em; }
.cv-kids i { font-style: normal; font-size: .6em; }
.cv-qr { position: absolute; z-index: 4; right: 1.8em; bottom: 2.9em; width: 5.4em; padding: .55em .55em .4em; background: #fff; border: .12em solid var(--cv-dark); border-radius: .6em; text-align: center; }
.cv-qr span { display: block; aspect-ratio: 1; height: auto; background:
    linear-gradient(var(--cv-dark), var(--cv-dark)) 0 0 / 1.3em 1.3em no-repeat,
    linear-gradient(var(--cv-dark), var(--cv-dark)) 100% 0 / 1.3em 1.3em no-repeat,
    linear-gradient(var(--cv-dark), var(--cv-dark)) 0 100% / 1.3em 1.3em no-repeat,
    repeating-linear-gradient(90deg, var(--cv-dark) 0 .3em, transparent .3em .62em),
    #fff; opacity: .9; }
@supports not (aspect-ratio: 1) { .cv-qr span { height: 4.2em; } }
.cv-qr small { display: block; margin-top: .3em; font-family: var(--font-head); font-weight: 700; font-size: .48em; }
.cv-dates { position: absolute; z-index: 4; left: 50%; bottom: .5em; transform: translateX(-50%); background: var(--cv-dark); color: #fff; border-radius: 1em; padding: .35em 1.6em; font-family: var(--font-head); font-weight: 600; font-size: .58em; letter-spacing: .14em; white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 0 0 .2em rgba(255, 255, 255, .15); }
.cover.is-pop .cv-mascot { animation: pop .5s var(--ease); }

/* =====================================================================
   PÁGINA DEL PEDIDO
   ===================================================================== */
.ord { position: relative; padding: clamp(24px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.ord-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; background: radial-gradient(800px 380px at 90% 0, rgba(255, 194, 60, .22), transparent 70%), radial-gradient(700px 400px at 0 30%, rgba(14, 124, 134, .1), transparent 70%); }
.ord-wrap { position: relative; }
.ord-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.ord-head h1 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.7rem); }
.ord-mascot { display: block; width: 120px; height: 120px; flex: none; }
.ord-mascot svg { width: 100%; height: 100%; }
.ord-mascot-sm { width: 84px; height: 84px; }
@media (max-width: 599px) { .ord-head { flex-direction: column; gap: 6px; } .ord-head .ord-mascot-sm { width: 70px; height: 70px; } }
.checkout-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.pay-title { display: flex; align-items: center; gap: .5em; font-size: 1.35rem; }
.pay-title .ico { color: var(--teal); }
.pay-instructions { background: var(--sun-l); border-radius: var(--r); padding: 14px 16px; font-weight: 700; margin-bottom: 12px; }
.pay-code { font-size: 1.05rem; }
.pay-code b { font-family: var(--font-head); letter-spacing: .08em; background: var(--teal-xl); padding: .1em .5em; border-radius: 8px; }
.pay-wait { display: flex; align-items: center; gap: .6em; font-weight: 800; color: var(--teal-d); margin: 14px 0 0; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--teal-l); border-top-color: var(--teal); animation: spin .8s linear infinite; flex: none; }

/* Generando */
.gen-stage { display: grid; gap: 24px; align-items: center; margin-bottom: 28px; }
@media (min-width: 860px) { .gen-stage { grid-template-columns: 300px 1fr; gap: 40px; } }
.gen-mascot-wrap { position: relative; width: 240px; height: 240px; margin: 0 auto; display: grid; place-items: center; }
@media (max-width: 599px) { .gen-mascot-wrap { width: 200px; height: 200px; } }
.gen-mascot-wrap::before { content: ""; position: absolute; top: 14%; right: 14%; bottom: 14%; left: 14%; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); }
.gen-mascot { position: relative; width: 64%; height: 64%; animation: bob 2.6s ease-in-out infinite; }
.gen-mascot svg { width: 100%; height: 100%; }
.gen-orbit { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; border: 2px dashed rgba(14, 124, 134, .3); animation: spin 14s linear infinite; }
.gen-orbit i { position: absolute; width: 18px; height: 18px; border-radius: 50%; top: -9px; left: calc(50% - 9px); background: var(--coral); box-shadow: 0 0 0 4px var(--coral-l); }
.gen-orbit i:nth-child(2) { top: auto; bottom: 8%; left: 4%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-l); width: 14px; height: 14px; }
.gen-orbit i:nth-child(3) { top: 30%; left: auto; right: -6px; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-l); width: 12px; height: 12px; }
.gen-bubble { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); width: max-content; max-width: 280px; background: var(--ink); color: var(--white); border-radius: 16px; padding: 9px 14px; font-weight: 800; font-size: .88rem; line-height: 1.3; text-align: center; box-shadow: var(--shadow); }
.gen-bubble::before { content: ""; position: absolute; left: 50%; top: -7px; margin-left: -8px; border: 8px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.gen-copy h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); }
.gen-dest { display: inline-flex; align-items: center; gap: .45em; font-weight: 800; color: var(--ink-2); margin-bottom: 18px; }
.gen-dest .ico { color: var(--coral); }
.gen-bar { height: 22px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 2px var(--cream-d), var(--shadow-sm); padding: 4px; overflow: hidden; }
.gen-bar-fill { display: block; height: 100%; min-width: 14px; border-radius: 99px; background: repeating-linear-gradient(-45deg, var(--teal) 0 12px, #129AA3 12px 24px); background-size: 34px 34px; animation: stripes 1s linear infinite; transition: width .8s var(--ease); }
.gen-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 10px 0 0; color: var(--ink-3); font-weight: 700; font-size: .92rem; }
.gen-meta b { font-family: var(--font-head); font-size: 1.25rem; color: var(--teal-d); }
.gen-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .gen-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.gen-side { display: grid; gap: 20px; }
.gen-steps { list-style: none; display: grid; gap: 4px; }
.gstep { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); color: var(--ink-3); font-weight: 700; transition: background .3s, color .3s; }
.gstep-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #F1F2F3; flex: none; transition: background .3s, color .3s; }
.gstep-ico .ico { width: 18px; height: 18px; }
.gstep-label { flex: 1; min-width: 0; line-height: 1.3; }
.gstep-state { width: 22px; height: 22px; flex: none; border-radius: 50%; }
.gstep.is-running { background: var(--teal-xl); color: var(--ink); }
.gstep.is-running .gstep-ico { background: var(--teal); color: var(--white); animation: pulse 1.4s ease-in-out infinite; }
.gstep.is-running .gstep-state { border: 3px solid var(--teal-l); border-top-color: var(--teal); animation: spin .8s linear infinite; }
.gstep.is-done { color: var(--ink); }
.gstep.is-done .gstep-ico { background: var(--teal-l); color: var(--teal-d); }
.gstep.is-done .gstep-state { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; animation: pop .4s var(--ease); }
.gstep.is-skipped { opacity: .55; }
.gstep.is-skipped .gstep-label { text-decoration: line-through; }
.gstep.is-error { color: var(--coral-ink); }
.gstep.is-error .gstep-ico { background: var(--coral-l); color: var(--coral-ink); }
.gstep.is-error .gstep-state { background: var(--coral-ink); }
.fact-card { position: relative; overflow: hidden; }
.fact-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--sun-l); z-index: 0; }
.fact-card > * { position: relative; z-index: 1; }
.fact-kicker { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--coral-ink); margin-bottom: 10px; }
.fact-body { min-height: 120px; }
.fact-body h3 { font-size: 1.2rem; margin-bottom: .35em; }
.fact-body p { margin: 0; color: var(--ink-2); }
.fact-body.is-in { animation: factIn .5s var(--ease); }
.fact-dots { display: flex; gap: 6px; margin-top: 14px; }
.fact-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-d); transition: background .3s, width .3s; }
.fact-dots span.is-on { background: var(--coral); width: 22px; border-radius: 4px; }
.fact-wait p { margin: 0; color: var(--ink-2); }
.place-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.place-chips li { display: inline-flex; align-items: center; gap: .4em; padding: .4em .85em; border-radius: 999px; background: var(--teal-xl); color: var(--teal-d); font-weight: 800; font-size: .9rem; animation: pop .4s var(--ease) backwards; }
.save-title { display: flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; margin-bottom: 6px; }
.save-title .ico { color: var(--sun-d); }
.save-card p:not(.save-title) { color: var(--ink-2); font-size: .95rem; }
.copy-row { display: flex; gap: 8px; }
.copy-row .input { flex: 1; min-width: 0; font-size: .85rem; color: var(--ink-2); background: var(--cream); }

/* Error */
.error-card { max-width: 680px; margin: 0 auto; text-align: center; }
.error-card .ord-mascot { margin: 0 auto 10px; }
.status-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* Lista */
.ord-ready { position: relative; }
.ready-hero { display: grid; gap: 28px; align-items: center; margin-bottom: 32px; }
@media (min-width: 860px) { .ready-hero { grid-template-columns: auto 1fr; gap: 52px; } }
.ready-cover { --cvw: 260px; position: relative; width: var(--cvw); margin: 0 auto; transform: rotate(-3deg); filter: drop-shadow(0 26px 34px rgba(29, 43, 58, .3)); animation: coverIn .9s var(--ease) both; }
@media (min-width: 600px) { .ready-cover { --cvw: 300px; } }
.ready-cover-img { width: 100%; border-radius: 10px; }
.ready-stamp { position: absolute; right: -18px; top: -18px; z-index: 5; width: 92px; height: 92px; border-radius: 50%; background: var(--coral); color: var(--white); display: grid; place-items: center; align-content: center; gap: 0; transform: rotate(12deg); box-shadow: 0 10px 20px -8px rgba(184, 77, 53, .7); border: 3px dashed rgba(255, 255, 255, .7); outline: 5px solid var(--coral); animation: stampIn .6s .6s var(--ease) both; }
.ready-stamp .ico { width: 22px; height: 22px; color: var(--sun); }
.ready-stamp b { font-family: var(--font-head); font-size: 1.1rem; }
.ready-copy h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
.ready-actions { display: grid; gap: 12px; margin: 22px 0 16px; }
@media (min-width: 600px) { .ready-actions { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
.ready-actions .btn { justify-content: flex-start; text-align: left; border-radius: var(--r); padding-block: .75em; }
.ready-actions .btn > span { display: flex; flex-direction: column; line-height: 1.2; }
.ready-actions .btn small { font-family: var(--font-body); font-weight: 700; font-size: .8rem; }
.ready-actions .btn .ico { width: 1.5em; height: 1.5em; }
.ready-expiry { display: flex; align-items: center; gap: .5em; color: var(--ink-2); font-weight: 700; margin: 0; }
.ready-expiry .ico { color: var(--teal); }
.ready-grid { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 900px) { .ready-grid { grid-template-columns: 1fr 1fr; } }
.qr-card { display: flex; gap: 20px; align-items: center; }
.qr-card img { width: 150px; height: 150px; flex: none; border-radius: 12px; border: 2px solid var(--line); padding: 8px; background: var(--white); }
.qr-card p { color: var(--ink-2); }
@media (max-width: 520px) { .qr-card { flex-direction: column; text-align: center; } .qr-card .card-title { justify-content: center; } }
.tips { list-style: none; display: grid; gap: 10px; counter-reset: tip; }
.tips li { position: relative; padding-left: 38px; color: var(--ink-2); line-height: 1.45; }
.tips li::before { counter-increment: tip; content: counter(tip); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sun-l); color: #7A4F00; font-weight: 900; font-size: .85rem; display: grid; place-items: center; }
.tips b { color: var(--ink); }
.upsell { display: grid; gap: 16px; margin-bottom: 20px; }
.upsell-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: linear-gradient(120deg, var(--white), var(--teal-xl)); }
.upsell-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none; }
.upsell-ico .ico { width: 26px; height: 26px; }
.upsell-body { flex: 1 1 260px; min-width: 0; }
.upsell-body .card-title { margin-bottom: .3em; }
.upsell-body p { margin: 0; color: var(--ink-2); }
.upsell-list { list-style: none; display: grid; gap: 4px; font-size: .93rem; color: var(--ink-2); }
@media (min-width: 700px) { .upsell-list { grid-template-columns: 1fr 1fr; gap: 4px 18px; } }
.upsell-list li { display: flex; gap: .45em; align-items: flex-start; }
.upsell-list .ico { color: var(--teal); margin-top: .15em; }
.upsell-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-left: auto; }
.upsell-price { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.feedback-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-btn { display: inline-flex; align-items: center; gap: .45em; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--white); font-weight: 800; transition: border-color .15s, background .15s, transform .15s; }
.fb-btn span { font-size: 1.3rem; }
.fb-btn:hover { border-color: var(--teal); transform: translateY(-2px); }
.fb-btn.is-on { background: var(--teal-xl); border-color: var(--teal); }
.feedback-thanks { margin: 12px 0 0; font-weight: 800; color: var(--ok); }

/* Confeti */
.confetti { position: fixed; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px; opacity: .95; animation: confetti 3.2s cubic-bezier(.25, .6, .4, 1) forwards; }

/* =====================================================================
   EJEMPLO, LEGAL Y ESTADOS
   ===================================================================== */
.ex-hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 9vw, 104px); }
.ex-hero-grid { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .ex-hero-grid { grid-template-columns: 1.4fr .8fr; gap: 56px; } }
.ex-copy h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
.ex-print { margin: -6px 0 18px; font-size: .95rem; }
.ex-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 0; }
@media (min-width: 640px) { .ex-facts { grid-template-columns: repeat(4, 1fr); } }
.ex-facts div { background: var(--white); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.ex-facts dt { font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); }
.ex-facts dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.ex-qr-card { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 26px; text-align: center; max-width: 360px; width: 100%; margin: 0 auto; transform: rotate(2deg); }
.ex-qr { width: 200px; height: 200px; margin: 0 auto 14px; padding: 10px; border-radius: 16px; border: 3px solid var(--ink); background: var(--white); }
.ex-qr svg { width: 100%; height: 100%; }
.ex-qr-title { font-size: 1.3rem; margin-bottom: .3em; }
.ex-qr-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.page-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
@media (min-width: 640px) { .page-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .page-grid { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; } }
@media (min-width: 1180px) { .page-grid { grid-template-columns: repeat(5, 1fr); } }
.page-link { display: block; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: var(--cream); transition: transform .25s var(--ease), box-shadow .25s; }
.page-link:hover, .page-link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.page-link img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; }
.page-cap { display: flex; gap: 8px; align-items: flex-start; margin: 10px 2px 0; font-size: .85rem; font-weight: 700; color: var(--ink-2); line-height: 1.35; }
/* Galería de ejemplos reales (/ejemplo) y ficha de un ejemplo (/ejemplo/{codigo}) */
.exg-hero { padding-bottom: clamp(24px, 4vw, 40px); }
.exg-hero .wrap { position: relative; max-width: 820px; text-align: center; }
.exg-hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); }
.exg-hero .lead { margin-inline: auto; }
.exg-list { padding-top: 0; }
.exg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 640px) { .exg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .exg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.exg-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.exg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.exg-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 18px 18px 22px; background: radial-gradient(120% 90% at 50% 0%, var(--sun-l), var(--teal-l)); overflow: hidden; }
/* la portada entera (A4 vertical), como una revista apoyada: nada recortado */
.exg-media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 14px 28px -12px rgba(29, 43, 58, .45), 0 2px 6px rgba(29, 43, 58, .18); transition: transform .3s var(--ease); }
.exg-card:hover .exg-media img { transform: translateY(-3px) rotate(-1deg); }
.exg-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.exg-ph svg { width: 42%; height: auto; }
.exg-pages { position: absolute; left: 12px; bottom: 12px; padding: .25em .7em; border-radius: 999px; background: rgba(29, 43, 58, .78); color: var(--white); font-weight: 800; font-size: .78rem; }
.exg-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1 1 auto; }
.exg-plan { margin: 0; font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); }
.exg-title { margin: 0; font-size: 1.22rem; line-height: 1.2; }
.exg-title a { color: inherit; text-decoration: none; }
.exg-title a:hover { color: var(--teal-d); }
.exg-meta { display: flex; gap: .45em; align-items: flex-start; margin: 0; color: var(--ink-2); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.exg-meta .ico { flex: 0 0 1em; width: 1em; height: 1em; margin-top: .15em; color: var(--teal); }
.exg-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.exg-grid-sm .exg-media { aspect-ratio: 4 / 3; }
.exd-side { display: grid; gap: 22px; justify-items: center; }
.exd-cover { display: block; width: min(300px, 80%); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .25s var(--ease); }
.exd-cover:hover { transform: rotate(0); }
.exd-cover img { width: 100%; height: auto; display: block; }
.exd-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 700px) { .exd-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .exd-places { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.exd-place { background: var(--cream); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.exd-place figure { position: relative; margin: 0; aspect-ratio: 3 / 2; background: var(--teal-l); }
.exd-place img { width: 100%; height: 100%; object-fit: cover; }
.exd-place figcaption { position: absolute; right: 0; bottom: 0; max-width: 100%; padding: 2px 8px; border-top-left-radius: 8px; background: rgba(255, 255, 255, .85); font-size: .66rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exd-place-body { padding: 16px 18px 18px; }
.exd-place-kid { margin: 0 0 2px; font-family: var(--font-hand); font-size: 1.15rem; color: var(--coral-ink); line-height: 1.2; }
.exd-place h3 { margin: 0 0 6px; font-size: 1.1rem; }
.exd-place p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.exd-more-title { font-size: 1.5rem; margin-bottom: 18px; }
.exd-all { margin: 18px 0 0; text-align: center; }

/* Aprobar un pago desde el enlace del aviso */
.approve-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px auto 20px; text-align: left; max-width: 620px; }
.approve-facts div { background: var(--white); border-radius: var(--r); padding: 10px 14px; box-shadow: var(--shadow-sm); }
.approve-facts dt { font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); }
.approve-facts dd { margin: 2px 0 0; font-weight: 700; }
.approve-page form { display: contents; }

.ex-explain { display: grid; gap: 20px; }
@media (min-width: 860px) { .ex-explain { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.ex-col { background: var(--white); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.ex-col h3 { margin-top: 16px; }
.ex-col p { color: var(--ink-2); margin: 0; }

.legal-page { padding-top: clamp(32px, 5vw, 64px); }
.legal-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .legal-grid { grid-template-columns: 240px 1fr; gap: 56px; align-items: start; } .legal-nav { position: sticky; top: calc(var(--header-h) + 24px); } }
.legal-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 900px) { .legal-nav ul { flex-direction: column; } }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 800; color: var(--ink-2); background: var(--white); box-shadow: var(--shadow-xs); }
.legal-nav a:hover { color: var(--teal-d); }
.legal-nav a[aria-current="page"] { background: var(--teal); color: var(--white); }
.prose { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(24px, 5vw, 56px); max-width: 820px; overflow-wrap: break-word; }
.prose h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: .8em; }
.prose h2 { font-size: 1.3rem; margin: 1.8em 0 .5em; color: var(--teal-d); }
.prose p { color: var(--ink-2); line-height: 1.7; }
.legal-updated { margin-top: 2em; font-size: .88rem; color: var(--ink-3) !important; }

.status-page { min-height: 60vh; display: grid; align-items: center; }
.status-wrap { max-width: 720px; text-align: center; }
.status-wrap .lead { margin-inline: auto; max-width: 34em; }
.status-wrap p { color: var(--ink-2); }
.status-art { display: flex; justify-content: center; margin-bottom: 14px; }
.status-num { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: clamp(5.5rem, 4rem + 8vw, 9rem); line-height: 1; color: var(--teal); }
.status-mascot { display: inline-block; width: .95em; height: .95em; margin: 0 .04em; animation: bob 3s ease-in-out infinite; }
.status-mascot svg { width: 100%; height: 100%; }
.status-lock { position: relative; display: block; width: 150px; height: 150px; animation: bob 3.4s ease-in-out infinite; }
.status-lock svg { width: 100%; height: 100%; }
.status-badge { position: absolute; right: -4px; bottom: 4px; width: 54px; height: 54px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; box-shadow: var(--shadow); color: var(--ink); }
.status-badge .ico { width: 26px; height: 26px; }

/* =====================================================================
   ANIMACIONES
   ===================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .65; transform: scale(.92); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes floatA { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-8px); } }
@keyframes floatB { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-12px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes factIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes stripes { to { background-position: 34px 0; } }
@keyframes coverIn { from { opacity: 0; transform: rotate(-12deg) translateY(30px) scale(.9); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes stampIn { from { opacity: 0; transform: rotate(40deg) scale(2); } to { opacity: 1; transform: rotate(12deg) scale(1); } }
@keyframes confetti { 0% { transform: translate3d(0, 0, 0) rotate(0); } 100% { transform: translate3d(var(--dx, 0), 105vh, 0) rotate(var(--rot, 720deg)); opacity: .9; } }

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

@media print {
  .site-header, .site-footer, .launch-banner, .final-cta, .wz-nav { display: none !important; }
  body { background: #fff; }
}

/* /voces: escuchar las voces de cuentacuentos */
.voices-wrap { max-width: 820px; }
.voices-h { font-size: 1.4rem; margin: 28px 0 10px; }
.voices-text textarea { width: 100%; min-height: 90px; padding: 12px 14px; border-radius: var(--r); border: 2px solid var(--line); font: inherit; resize: vertical; background: var(--white); }
.voices-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.voices-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-sm); }
.voices-item.is-current { box-shadow: 0 0 0 2px var(--teal), var(--shadow-sm); }
.voices-item small { display: block; color: var(--ink-3); font-weight: 700; font-size: .82rem; }
.voices-item .btn { flex: 0 0 auto; min-width: 120px; }
.voices-tag { display: inline-block; margin-left: .4em; padding: .1em .55em; border-radius: 999px; background: var(--teal); color: var(--white); font-size: .72rem; font-weight: 800; vertical-align: middle; }
.voices-status { color: var(--teal-d) !important; }

/* Avatar de cada peque (paso 2 del asistente) */
.kid-avatar.has-av { padding: 0; overflow: hidden; background: none; }
.kid-avatar.has-av svg { width: 100%; height: 100%; display: block; }
.av-box { margin-top: 14px; border-radius: var(--r); border: 2px dashed var(--teal-l); background: linear-gradient(135deg, var(--teal-xl), #FFF7E6); }
.av-box[open] { border-style: solid; border-color: var(--teal-l); }
.av-sum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.av-sum::-webkit-details-marker { display: none; }
.av-sum-face { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--white); box-shadow: var(--shadow-sm); font-size: 1.3rem; overflow: hidden; }
.av-sum-face svg { width: 100%; height: 100%; display: block; }
.av-sum-txt { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.av-sum-txt b { font-weight: 800; color: var(--ink); }
.av-sum-txt small { display: block; color: var(--ink-3); font-weight: 600; font-size: .84rem; }
.av-sum-arrow { flex: 0 0 auto; color: var(--teal-d); font-size: 1.1rem; transition: transform .2s; }
.av-box[open] .av-sum-arrow { transform: rotate(180deg); }
.av-body { display: grid; gap: 14px; padding: 0 14px 14px; }
@media (min-width: 720px) { .av-body { grid-template-columns: 210px minmax(0, 1fr); align-items: start; } }
.av-stage { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; }
.av-portrait { width: 168px; height: 168px; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(29, 43, 58, .6); transition: opacity .2s; }
.av-portrait svg { width: 100%; height: 100%; display: block; }
.av-portrait.is-draft { opacity: .55; filter: saturate(.7); }
.av-portrait.is-pop { animation: av-pop .28s var(--ease); }
@keyframes av-pop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
.av-desc { margin: 0; text-align: center; font-size: .84rem; font-weight: 700; color: var(--ink-2); line-height: 1.35; }
.av-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.av-opts { display: grid; gap: 12px; }
.av-g { display: grid; gap: 6px; }
.av-gl { font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); }
.av-sws { display: flex; flex-wrap: wrap; gap: 8px; }
.av-sw { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--white); background: var(--c); box-shadow: 0 0 0 1px var(--line), var(--shadow-xs); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.av-sw:hover { transform: scale(1.08); }
.av-sw.is-on { box-shadow: 0 0 0 3px var(--teal), var(--shadow-xs); transform: scale(1.06); }
.av-sw:focus-visible { outline: none; box-shadow: var(--ring); }
.av-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.av-chip { min-height: 38px; padding: 0 .8em; border-radius: 999px; border: 2px solid var(--line); background: var(--white); font-weight: 700; font-size: .86rem; color: var(--ink-2); cursor: pointer; transition: background .12s, border-color .12s, color .12s; }
.av-chip:hover { border-color: var(--teal); }
.av-chip.is-on { background: var(--teal); border-color: var(--teal); color: var(--white); }
.av-chip:focus-visible { outline: none; box-shadow: var(--ring); }
@media (max-width: 719px) {
  .av-stage { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 12px; row-gap: 6px; align-items: center; padding: 10px; }
  .av-portrait { width: 92px; height: 92px; grid-row: 1 / span 2; }
  .av-stage .av-desc { text-align: left; font-size: .78rem; align-self: end; }
  .av-stage .av-actions { justify-content: flex-start; align-self: start; }
  .av-stage .av-actions .btn { min-height: 32px; padding: 0 .7em; font-size: .78rem; }
}
.voices-h3 { font-size: 1.1rem; margin: 18px 0 8px; }
@media (min-width: 720px) { .voices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Lugares que la familia ya tiene planificados (paso 1) */
.field-plan { padding: 16px; border-radius: var(--r); background: linear-gradient(135deg, var(--teal-xl), #FFF7E6); border: 2px solid var(--teal-l); }
.field-plan > .help:first-of-type { margin-top: 0; }
.pp-list { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.pp { min-width: 0; padding: 10px 10px 10px 12px; border-radius: var(--r); background: var(--white); border: 2px solid var(--teal); box-shadow: 0 8px 18px -14px rgba(14, 124, 134, .9); }
.pp-head { display: flex; align-items: center; gap: 10px; }
.pp-n { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--coral); color: var(--white); font-family: var(--font-head); font-weight: 700; }
.pp-txt { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.pp-txt b { display: block; font-weight: 800; overflow-wrap: anywhere; }
.pp-txt small { display: block; color: var(--ink-3); font-weight: 700; font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-acts { flex: 0 0 auto; display: inline-flex; gap: 4px; }
.pp-extra { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.pp-extra .input { min-height: 40px; padding: 6px 10px; font-size: .9rem; }
@media (max-width: 480px) { .pp-extra { grid-template-columns: minmax(0, 1fr); } }

/* Avatares de partida */
.av-start-wrap { grid-column: 1 / -1; min-width: 0; }
.av-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; padding: 4px 2px; }
.av-preset { width: 100%; max-width: 72px; aspect-ratio: 1; justify-self: center; padding: 0; border-radius: 50%; border: 3px solid var(--white); background: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-xs); cursor: pointer; overflow: hidden; transition: transform .12s, box-shadow .12s; }
.av-preset svg { width: 100%; height: 100%; display: block; }
.av-preset:hover { transform: scale(1.06); }
.av-preset:focus-visible { outline: none; box-shadow: var(--ring); }
.av-gl2 { margin-top: 6px; }

/* Selector de idioma */
.lang-pick { position: relative; margin-left: auto; margin-right: 8px; }
.lang-pick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); font-weight: 800; font-size: .9rem; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg, 0 12px 30px rgba(0,0,0,.15)); }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--teal-xl); color: var(--teal-d); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-top: 8px; }
.footer-langs a { color: inherit; opacity: .8; text-decoration: none; font-weight: 700; }
.footer-langs a[aria-current] { opacity: 1; text-decoration: underline; }

/* Sugerencias de planes (formulario) */
.ideas-open { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 14px 16px; border-radius: var(--r); border: 2px solid var(--sun); background: linear-gradient(135deg, #FFF6D6, #FFFFFF); text-align: left; cursor: pointer; color: var(--ink); box-shadow: 0 6px 16px -12px rgba(0,0,0,.4); }
.ideas-open:hover { border-color: var(--coral); }
.ideas-open b { display: block; font-size: 1.02rem; }
.ideas-open small { display: block; color: var(--ink-3); font-weight: 700; line-height: 1.35; margin-top: 2px; }
.ideas-open-ico { flex: none; font-size: 1.8rem; }
body.has-dlg { overflow: hidden; }
/* ---------- Buscador de planes: pop-up de la lista ---------- */
.ideas-dlg { width: min(880px, 100vw); max-width: 100vw; max-height: 100dvh; height: min(94dvh, 960px); padding: 0; border: 0; border-radius: 24px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.ideas-dlg::backdrop { background: rgba(20,30,40,.55); }
.ideas-box { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ideas-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 8px; }
.ideas-head-t { flex: 1; min-width: 0; }
.ideas-kicker { margin: 0; font-size: .76rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-ink); }
.ideas-head h2 { margin: 0; font-size: 1.35rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ideas-head h2 span { color: var(--teal-d); }
.ideas-x { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--white); font-size: 1.1rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.1); color: var(--ink); }
.ideas-stops { display: flex; align-items: center; gap: 6px; padding: 0 18px 8px; overflow-x: auto; scrollbar-width: none; }
.ideas-stops-l { font-weight: 800; font-size: .85rem; color: var(--ink-3); flex: none; }
.ideas-search { position: relative; display: flex; align-items: center; margin: 0 18px 10px; background: var(--white); border-radius: 16px; border: 2px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.ideas-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,124,134,.15); }
.ideas-search-ico { padding: 0 4px 0 14px; font-size: 1.05rem; }
.ideas-q { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); padding: 0 8px; }
.ideas-q::-webkit-search-cancel-button { display: none; }
.ideas-q-x { flex: none; width: 34px; height: 34px; margin-right: 7px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; color: var(--ink-2); }
.ideas-search .combo-spin { position: static; margin-right: 8px; }
.ideas-cats { display: flex; gap: 6px; overflow-x: auto; padding: 2px 18px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.ideas-cats::-webkit-scrollbar, .ideas-stops::-webkit-scrollbar { display: none; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); font: inherit; font-weight: 800; font-size: .88rem; cursor: pointer; color: var(--ink); scroll-snap-align: start; white-space: nowrap; }
.cat small { font-weight: 900; font-size: .72rem; padding: 1px 7px; border-radius: 999px; background: var(--cream); color: var(--ink-2); }
.cat:hover { border-color: var(--c); }
.cat.is-on { background: var(--c); border-color: var(--c); color: #fff; }
.cat.is-on small { background: rgba(255,255,255,.25); color: #fff; }
.cat-spin, .spin { display: inline-block; width: 13px; height: 13px; border: 2px solid rgba(0,0,0,.12); border-top-color: currentColor; border-radius: 50%; animation: spin 1s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.ideas-tools { display: flex; align-items: center; gap: 8px; padding: 0 18px 8px; }
.ideas-toggles { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ideas-toggles::-webkit-scrollbar { display: none; }
.tg { flex: none; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1.5px dashed var(--line-2); background: transparent; font: inherit; font-weight: 800; font-size: .82rem; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.tg[aria-pressed="true"] { border-style: solid; border-color: var(--teal); background: var(--teal-xl); color: var(--teal-d); }
.ideas-sort { flex: none; display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 800; color: var(--ink-3); }
.ideas-sort select { font: inherit; font-weight: 800; font-size: .85rem; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 8px; background: var(--white); }
.ideas-status { margin: 0 18px 6px; font-weight: 700; color: var(--ink-2); font-size: .86rem; min-height: 1.4em; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.ideas-status small { color: var(--ink-3); font-weight: 700; }
.ideas-ai { color: var(--teal-d); font-weight: 800; }
.ideas-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 18px 16px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ideas-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 10px; align-content: start; }
/* tarjeta de un plan */
.ic { position: relative; display: flex; border-radius: 18px; background: var(--white); border: 2px solid transparent; box-shadow: 0 4px 14px -10px rgba(0,0,0,.35); transition: border-color .15s, transform .15s, box-shadow .15s; overflow: hidden; }
.ic::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--teal)); }
.ic:hover { box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); }
.ic.is-on { border-color: var(--teal); background: #F4FBFA; }
.ic.is-had { opacity: .7; }
.ic-main { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: flex-start; padding: 13px 6px 12px 16px; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.ic-main:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; border-radius: 16px; }
.ic-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--c, var(--teal)) 14%, white); display: grid; place-items: center; font-size: 1.4rem; }
.ic-body { flex: 1; min-width: 0; }
.ic-kind { display: block; font-size: .72rem; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; color: var(--c, var(--coral-ink)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-name { display: block; font-size: 1.03rem; line-height: 1.25; margin: 2px 0; }
.ic-why { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.ic-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.ic-src { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.src { font-size: .68rem; font-weight: 800; padding: 1px 7px; border-radius: 6px; background: var(--cream); color: var(--ink-3); border: 1px solid var(--line); }
.src-ai { background: #EEE8FF; color: #5B3FB5; border-color: #DCD2FF; }
.src-google { color: #1A5FC9; }
.src-tripadvisor { color: #00875A; }
.src-wikivoyage { color: #006699; }
.im { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; background: var(--cream); font-size: .76rem; font-weight: 800; color: var(--ink-2); }
.im small { font-weight: 700; color: var(--ink-3); }
.im-date { background: #FFE7DF; color: var(--coral-ink); }
.im-free { background: #E5F6EA; color: #1F6B3D; }
.im-star { background: #FFF3CF; color: #8A5A00; }
.im-kid { background: #E3F2FD; color: #1B5E9B; }
.im-adult { background: #F3E5F5; color: #7B1F7A; }
.ic-add { flex: none; align-self: center; width: 46px; height: 46px; margin: 0 12px 0 4px; border-radius: 50%; border: 2.5px solid var(--teal); background: var(--white); color: var(--teal); font: inherit; font-size: 1.5rem; font-weight: 900; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s, transform .15s; }
.ic-add:hover { transform: scale(1.07); }
.ic-add:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.ic-add .ic-ok { display: none; font-size: 1.25rem; }
.ic-add[aria-pressed="true"] { background: var(--teal); color: #fff; }
.ic-add[aria-pressed="true"] .ic-plus { display: none; }
.ic-add[aria-pressed="true"] .ic-ok { display: inline; }
.ic-add:disabled { cursor: default; opacity: .6; transform: none; }
.ic-manual { border: 2px dashed var(--line-2); box-shadow: none; background: transparent; }
.ic-manual::before { display: none; }
.ic-skel { height: 104px; background: linear-gradient(90deg, #fff 0%, #F6F1E7 50%, #fff 100%); background-size: 200% 100%; animation: skel 1.2s linear infinite; box-shadow: none; }
.ic-skel::before { display: none; }
@keyframes skel { to { background-position: -200% 0; } }
.ideas-empty { grid-column: 1 / -1; padding: 28px 12px; text-align: center; color: var(--ink-3); font-weight: 700; }
.ideas-more { text-align: center; margin: 14px 0 4px; }
.ideas-foot { padding: 10px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.ideas-picked { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ideas-picked:not(:empty) { padding-bottom: 8px; }
.ideas-picked::-webkit-scrollbar { display: none; }
.pk { flex: none; display: inline-flex; align-items: center; border-radius: 999px; background: var(--teal-xl); border: 1.5px solid var(--teal-l); }
.pk-n { border: 0; background: transparent; font: inherit; font-size: .8rem; font-weight: 800; color: var(--teal-d); padding: 5px 4px 5px 11px; cursor: pointer; white-space: nowrap; }
.pk-x { border: 0; background: transparent; color: var(--teal-d); font-size: .8rem; padding: 5px 10px 5px 4px; cursor: pointer; }
.ideas-foot-row { display: flex; align-items: center; gap: 10px; }
.ideas-count { flex: 1; font-weight: 800; color: var(--ink-2); font-size: .92rem; }

/* ---------- Ficha de un plan: segundo pop-up, una hoja encima de la lista ---------- */
.idea-dlg { width: min(580px, 100vw); max-width: 100vw; height: min(90dvh, 880px); max-height: 100dvh; padding: 0; border: 0; border-radius: 26px; background: var(--white); color: var(--ink); box-shadow: -20px 30px 80px rgba(0,0,0,.4); overflow: hidden; }
.idea-dlg[open] { animation: idd-in .28s var(--ease); }
.idea-dlg::backdrop { background: rgba(20,30,40,.38); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
@keyframes idd-in { from { transform: translateX(40px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.idd { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.idd-hero { position: relative; overflow: hidden; padding: 4px 20px 18px; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 70%, #1D2B3A)); }
.idd-hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.1); pointer-events: none; }
.idd-bar { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 8px 20px; background: var(--c); }
.idd-back { border: 0; background: rgba(255,255,255,.18); color: #fff; font: inherit; font-weight: 800; font-size: .88rem; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.idd-back:hover { background: rgba(255,255,255,.28); }
.idd-x { background: rgba(255,255,255,.95); }
.idd-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: rgba(255,255,255,.95); font-size: 2rem; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); margin: 2px 0 10px; }
.idd-kind { margin: 0; font-size: .78rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; opacity: .92; }
.idd-hero h2 { margin: 2px 0 4px; font-size: 1.55rem; line-height: 1.15; color: #fff; }
.idd-where { margin: 0; font-size: .9rem; font-weight: 700; opacity: .92; }
.idd-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.idd-tag { font-size: .8rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); }
.idd-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.idd-body { padding: 16px 20px 20px; }
.idd-hours { margin: 4px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 14px; font-size: .88rem; color: var(--ink-2); }
.idd-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 16px; }
.idd-facts > div { background: var(--cream); border-radius: 14px; padding: 10px 12px; }
.idd-facts dt { font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-3); }
.idd-facts dd { margin: 2px 0 0; font-weight: 800; font-size: .95rem; line-height: 1.35; }
.idd-facts small { font-weight: 700; color: var(--ink-3); font-size: .8rem; }
.idd-facts .ok { color: var(--ok); }
.idd-sec { margin: 0 0 16px; }
.idd-sec h3 { margin: 0 0 4px; font-size: 1rem; }
.idd-sec p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.idd-map { position: relative; height: 170px; border-radius: 16px; overflow: hidden; margin: 0 0 16px; background: #E8EEF0; }
.idd-map img { position: absolute; width: 256px; height: 256px; max-width: none; }
.idd-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); font-size: 2rem; filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); }
.idd-attr { position: absolute; right: 6px; bottom: 4px; font-size: .62rem; background: rgba(255,255,255,.8); padding: 1px 5px; border-radius: 4px; color: var(--ink-2); }
.idd-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.idd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 12px; border: 2px solid var(--line); font-weight: 800; font-size: .88rem; color: var(--ink); text-decoration: none; background: var(--white); }
.idd-btn:hover { border-color: var(--teal); color: var(--teal-d); }
.idd-btn.is-hot { background: var(--coral); border-color: var(--coral); color: #fff; }
.idd-sources { background: var(--cream); border-radius: 16px; padding: 12px 14px; }
.idd-sources ul { margin: 6px 0 8px; padding: 0; list-style: none; display: grid; gap: 6px; }
.idd-sources li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: .86rem; }
.idd-sources li b { min-width: 110px; }
.idd-sources li span { flex: 1; color: var(--ink-2); }
.idd-sources li a { font-weight: 800; color: var(--teal-d); text-decoration: none; }
.idd-note { font-size: .8rem !important; color: var(--ink-3) !important; }
.idd-foot { display: flex; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.idd-foot .btn-primary, .idd-foot [data-idd-pick] { flex: 1; }
@media (max-width: 760px) {
  .ideas-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ideas-dlg { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .ideas-head { padding: 12px 14px 6px; }
  .ideas-search, .ideas-stops, .ideas-cats, .ideas-tools, .ideas-status, .ideas-scroll { margin-left: 0; margin-right: 0; }
  .ideas-search { margin: 0 14px 8px; }
  .ideas-cats, .ideas-tools, .ideas-stops { padding-left: 14px; padding-right: 14px; }
  .ideas-status { margin: 0 14px 6px; }
  .ideas-scroll { padding: 4px 12px 14px; }
  .ideas-sort span { display: none; }
  .ideas-foot { padding-left: 14px; padding-right: 14px; }
  .ideas-foot .btn-ghost { display: none; }
  .ideas-foot .btn-primary { flex: 1; }
  .ideas-count { flex: none; font-size: .84rem; }
  .idea-dlg { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  @keyframes idd-in { from { transform: translateX(100%); } to { transform: none; } }
  .idd-foot-back { display: none; }
}

/* Pantallas táctiles: todo lo que se toca mide al menos 44 px (chips, avatar, idioma, categorías, editar) */
@media (pointer: coarse) {
  .qchip, .radius-opt span, .summary-ed, .av-chip, .lang-pick summary, .cat, .tg, .footer-col a { min-height: 44px; }
  .av-stage .av-actions .btn { min-height: 40px; }
  .pp-extra .input { min-height: 44px; }
}


/* ==========================================================================
   Capa de diseño (portada nocturna, revistas, ejemplos, visor, regalo, home v2)
   ========================================================================== */
/* ==========================================================================
   Traventura v1.4 · capa de diseño
   Idea: la revista es la protagonista. Noche de viaje (petróleo profundo) para la portada en vivo y el cierre,
   papel blanco frío para leer, el sol para lo que importa y el coral solo para la acción principal.
   Se carga después de site.css: unifica todas las páginas sin romper las existentes.
   ========================================================================== */
:root {
  --night: #0B3C49;
  --night-2: #0F4C5A;
  --paper: #F6FAFA;
  --sky: #E4F1F2;
  --ink-v2: #142B33;
  --r-card: 20px;
}
body { background: var(--paper); color: var(--ink-v2); }
h1, h2, h3 { letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- Cabecera y botones ---------- */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(11, 60, 73, .08); box-shadow: none; }
.btn { border-radius: 999px; }
.launch-banner { background: var(--night); }

/* ---------- Encabezados de sección (alineados a la izquierda, sin etiqueta encima) ---------- */
.tv-head { max-width: 760px; margin: 0 0 clamp(24px, 4vw, 40px); }
.tv-head h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.7rem); line-height: 1.1; margin: 0 0 .4em; }
.tv-head .lead { margin: 0; }
.tv-head-light h2, .tv-head-light .lead { color: #fff; }

/* ---------- 1 · Portada en vivo ---------- */
.tv-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 194, 60, .22), transparent 60%), linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; padding: clamp(36px, 6vw, 84px) 0 clamp(44px, 7vw, 96px); }
.tv-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.6px); background-size: 46px 46px; opacity: .18; pointer-events: none; }
.tv-hero-grid { position: relative; display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 960px) { .tv-hero-grid { grid-template-columns: 1.08fr .92fr; } }
.tv-hero-tag { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 800; font-size: .9rem; color: var(--sun); }
.tv-hero-tag .ico { width: 1.1em; height: 1.1em; }
.tv-hero h1 { margin: 0; font-size: clamp(2.3rem, 1.4rem + 4vw, 4.1rem); line-height: 1.02; color: #fff; max-width: 15ch; }
.tv-hero-sub { margin: 18px 0 26px; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 56ch; }
.tv-mini { display: grid; gap: 10px; padding: 14px; border-radius: 22px; background: #fff; color: var(--ink-v2); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .6); max-width: 620px; }
@media (min-width: 640px) { .tv-mini { grid-template-columns: 1fr 1fr; } .tv-mini .btn { grid-column: 1 / -1; } }
.tv-mini-f { display: flex; flex-direction: column; gap: 4px; }
.tv-mini label { font-weight: 800; font-size: .86rem; color: var(--ink-2); padding-left: 4px; }
.tv-mini input { min-height: 50px; padding: 0 14px; border: 2px solid rgba(11, 60, 73, .14); border-radius: 14px; font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--ink-v2); background: var(--paper); }
.tv-mini input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(14, 124, 134, .15); background: #fff; }
.tv-mini .btn { width: 100%; justify-content: center; }
.tv-proof { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.tv-proof li { display: inline-flex; align-items: center; gap: .45em; }
.tv-proof .ico { width: 1.1em; height: 1.1em; color: var(--sun); }
.tv-proof-free { color: var(--sun); }
.tv-hero-visual { position: relative; display: grid; place-items: center; }
.tv-live { width: min(380px, 78vw); font-size: clamp(9px, 2.4vw, 12.5px); transform: rotate(2.5deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.tv-live .cover { width: 100%; border-radius: 10px; }
.tv-live.is-pop .cover { animation: tv-pop .45s var(--ease); }
@keyframes tv-pop { 40% { transform: scale(1.025) rotate(-1deg); } }
.tv-live-note { position: absolute; left: max(0px, 6%); bottom: 4%; transform: rotate(-8deg); font-size: 1.5rem; color: var(--sun); }
@media (prefers-reduced-motion: reduce) { .tv-live.is-pop .cover { animation: none; } }

/* ---------- 2 · La estantería de revistas reales ---------- */
.tv-shelf { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--sky), var(--paper)); }
.tv-shelf-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.tv-shelf-head h2 { margin: 0 0 .35em; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); line-height: 1.1; }
.tv-shelf-head p { margin: 0; max-width: 62ch; color: var(--ink-2); }
.tv-shelf-track { list-style: none; margin: 0; padding: 14px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 30px; display: flex; gap: clamp(16px, 2.4vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tv-shelf-item { flex: none; width: clamp(170px, 42vw, 240px); scroll-snap-align: start; }
.tv-shelf-item:nth-child(odd) .mag { transform: rotate(-1.6deg); }
.tv-shelf-item:nth-child(even) .mag { transform: rotate(1.4deg) translateY(8px); }
.tv-shelf-item a { display: block; text-decoration: none; color: inherit; }
.tv-shelf-item a:hover .mag, .tv-shelf-item a:focus-visible .mag { transform: rotate(0) translateY(-6px); }
.tv-shelf-meta { display: block; margin-top: 14px; font-weight: 800; font-size: .88rem; color: var(--ink-2); line-height: 1.35; }

/* portada de revista (ilustración + ficha + sello), proporción A4 */
.mag { position: relative; display: block; aspect-ratio: 1696 / 2400; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, var(--teal-l), var(--sun-l)); box-shadow: 0 2px 0 rgba(255,255,255,.6) inset, 0 18px 34px -18px rgba(11, 60, 73, .55), 0 3px 8px rgba(11, 60, 73, .12); transition: transform .3s var(--ease); }
.mag-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-card { position: absolute; left: 6%; right: 6%; top: 5%; padding: 7% 7% 6%; border-radius: 6px; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.mag-card small { display: block; font-weight: 900; font-size: .55em; letter-spacing: .08em; color: var(--teal); margin-bottom: .3em; }
.mag-card b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.02em; line-height: 1.08; color: #4A2618; }
.mag { font-size: clamp(13px, 1.3vw, 17px); }
.mag-seal { position: absolute; left: 5%; bottom: 5%; display: grid; place-items: center; align-content: center; gap: 1px; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); border: 3px dashed rgba(255, 255, 255, .8); text-align: center; font-size: .66em; }
.mag-seal b { display: block; font-family: var(--font-head); color: #4A2618; line-height: 1.1; }
.mag-seal i { font-style: normal; font-size: .75em; opacity: .75; }
.mag-big { font-size: clamp(16px, 2vw, 22px); }

/* ---------- 3 · Pasos (secuencia real: numerados) ---------- */
.tv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 820px) { .tv-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.tv-steps li { position: relative; padding: 26px 24px 24px; border-radius: var(--r-card); background: #fff; border: 1px solid rgba(11, 60, 73, .08); }
.tv-step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night); color: var(--sun); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.tv-steps h3 { margin: 0 0 .35em; font-size: 1.25rem; }
.tv-steps p { margin: 0; color: var(--ink-2); }

/* ---------- Antes · durante · después (línea del viaje) ---------- */
.tv-trip { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; }
@media (min-width: 820px) {
  .tv-trip { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .tv-trip::before { content: ""; position: absolute; left: 6%; right: 6%; top: 19px; border-top: 3px dashed rgba(14, 124, 134, .35); }
}
.tv-trip li { position: relative; }
.tv-trip-when { position: relative; display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; }
.tv-trip li:nth-child(2) .tv-trip-when { background: var(--coral-strong); }
.tv-trip li:nth-child(3) .tv-trip-when { background: var(--sun); color: var(--ink-v2); }
.tv-trip h3 { margin: 0 0 .3em; font-size: 1.25rem; }
.tv-trip p { margin: 0; color: var(--ink-2); max-width: 40ch; }

.tv-inside { background: #fff; }
.tv-web { background: var(--sky); }
.gal-item img { aspect-ratio: 900 / 1273; height: auto; }

/* ---------- Cierre con el mismo formulario ---------- */
.tv-final { background: linear-gradient(180deg, var(--night-2), var(--night)); color: #fff; padding: clamp(44px, 7vw, 88px) 0; }
.tv-final-in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) { .tv-final-in { grid-template-columns: 160px 1fr; } }
.tv-final h2 { margin: 0 0 .3em; color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem); }
.tv-final p { margin: 0 0 20px; color: rgba(255, 255, 255, .85); }
.tv-final .final-mascot { width: 140px; }

/* ---------- Botón fijo en el móvil ---------- */
.tv-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 -8px 24px -12px rgba(11, 60, 73, .35); transform: translateY(0); transition: transform .25s var(--ease); }
.tv-sticky[hidden] { display: block !important; transform: translateY(110%); pointer-events: none; visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; }
.tv-sticky-btn { min-height: 52px; justify-content: center; gap: .5em; }
.tv-sticky-price { display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }
.tv-sticky-price::before { content: "·"; margin-right: .45em; opacity: .7; }
@media (min-width: 820px) { .tv-sticky { display: none !important; } }
@media (max-width: 819px) { body.has-sticky .site-footer { padding-bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .tv-sticky { transition: none; } }

/* ==========================================================================
   Ejemplos: galería y ficha
   ========================================================================== */
.tvx-hero { background: linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; padding: clamp(36px, 6vw, 72px) 0 clamp(30px, 5vw, 56px); }
.tvx-hero h1 { margin: 0 0 .3em; color: #fff; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); line-height: 1.05; max-width: 18ch; }
.tvx-hero p { margin: 0; max-width: 62ch; color: rgba(255, 255, 255, .86); font-size: 1.1rem; }
.tvx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 44vw), 1fr)); gap: clamp(18px, 3vw, 34px) clamp(14px, 2.4vw, 28px); }
.tvx-card a.tvx-link { display: block; text-decoration: none; color: inherit; }
.tvx-card a.tvx-link:hover .mag { transform: translateY(-6px) rotate(-.6deg); }
/* al pasar el ratón la portada se abre como una revista y deja ver una página interior */
.tvx-link { position: relative; perspective: 1400px; }
.tvx-link.has-inner .mag { z-index: 2; transform-origin: left center; backface-visibility: hidden; }
.tvx-inner { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1696 / 2400; z-index: 1; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 18px 34px -18px rgba(11, 60, 73, .55), 0 3px 8px rgba(11, 60, 73, .12); }
.tvx-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.tvx-inner::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14%; background: linear-gradient(90deg, rgba(0, 0, 0, .18), transparent); z-index: 1; }
.tvx-peek { position: absolute; z-index: 3; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: .35em; padding: 5px 11px; border-radius: 999px; background: var(--night); color: #fff; font-weight: 800; font-size: .82rem; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.tvx-peek .ico { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .tvx-card a.tvx-link.has-inner:hover .mag, .tvx-card a.tvx-link.has-inner:focus-visible .mag { transform: rotateY(-62deg); box-shadow: -18px 18px 34px -18px rgba(11, 60, 73, .55); }
  .tvx-card a.tvx-link.has-inner:hover .tvx-peek, .tvx-card a.tvx-link.has-inner:focus-visible .tvx-peek { opacity: 1; transform: none; }
}
@media (hover: none), (pointer: coarse) { .tvx-inner { display: none; } }
@media (prefers-reduced-motion: reduce) { .tvx-card a.tvx-link.has-inner:hover .mag { transform: none; opacity: .0; } .tvx-link.has-inner .mag { transition: opacity .2s; } }
.tvx-kids { display: flex; align-items: center; gap: .35em; margin: 2px 0 0; color: var(--ink-3); font-size: .86rem; font-weight: 700; }
.tvx-kids .ico { width: 16px; height: 16px; flex: none; }
.tvx-filters { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: flex-end; margin: 0 0 clamp(20px, 3vw, 32px); padding: 14px 16px; border-radius: 20px; background: #fff; box-shadow: 0 14px 30px -26px rgba(11, 60, 73, .6); }
.tvx-fgroup { display: grid; gap: 6px; min-width: 0; }
.tvx-flabel { font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.tvx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tvx-chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.tvx-chip:hover { border-color: var(--teal); }
.tvx-chip[aria-checked="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.tvx-count { margin: 0 0 10px auto; font-weight: 800; color: var(--ink-2); font-size: .92rem; }
.tvx-card[hidden] { display: none; }
.tvx-empty { text-align: center; padding: 30px 16px; border-radius: 20px; background: #fff; }
.tvx-empty p { margin: 0 0 10px; font-weight: 700; color: var(--ink-2); }
.tvx-body { padding: 14px 2px 0; }
.tvx-plan { margin: 0; font-size: .8rem; font-weight: 900; color: var(--coral-ink); }
.tvx-title { margin: 2px 0 4px; font-size: 1.08rem; line-height: 1.25; }
.tvx-meta { margin: 0; color: var(--ink-2); font-weight: 700; font-size: .9rem; }
.tvx-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tvx-cta { margin-top: clamp(40px, 6vw, 70px); padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--night); color: #fff; display: grid; gap: 18px; align-items: center; }
@media (min-width: 820px) { .tvx-cta { grid-template-columns: 1fr auto; } }
.tvx-cta h2 { margin: 0 0 .25em; color: #fff; }
.tvx-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.exd-cover-v2 { display: block; width: min(420px, 80vw); text-decoration: none; }

/* ---- Ejemplo concreto (/ejemplo/CODIGO) ---- */
.tvd-hero { background: linear-gradient(180deg, var(--sky, #E4F1F2), var(--paper, #F6FAFA)); padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.tvd-grid { display: grid; gap: clamp(22px, 4vw, 56px); align-items: start; }
@media (min-width: 860px) { .tvd-grid { grid-template-columns: minmax(280px, 420px) 1fr; } }
.tvd-cover { display: block; max-width: 420px; width: 62%; margin: 0 auto; text-decoration: none; }
@media (min-width: 860px) { .tvd-cover { width: 100%; position: sticky; top: 90px; } }
.tvd-cover .mag { transform: rotate(-1.2deg); }
.tvd-cover:hover .mag { transform: rotate(0) translateY(-4px); }
.tvd-tag { margin: 0 0 6px; font-weight: 900; font-size: .9rem; color: var(--coral-ink); }
.tvd-copy h1 { margin: 0 0 .35em; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); line-height: 1.08; color: var(--night); }
.tvd-lead { margin: 0 0 18px; font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.tvd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 22px; }
.tvd-facts div { background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 1px 0 rgba(11, 60, 73, .08); }
.tvd-facts dt { font-size: .78rem; font-weight: 900; color: var(--teal); }
.tvd-facts dd { margin: 0; font-weight: 800; color: var(--night); }
.tvd-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.tvd-print { margin: 10px 0 0; font-size: .92rem; }
.tvd-qr { display: flex; gap: 14px; align-items: center; margin-top: 24px; padding: 14px; border-radius: 18px; background: var(--night); color: #fff; max-width: 520px; }
.tvd-qr-code { flex: 0 0 96px; background: #fff; border-radius: 10px; padding: 6px; }
.tvd-qr-code svg { display: block; width: 100%; height: auto; }
.tvd-qr p { margin: 0; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.tvd-qr b { color: #fff; }
.tvd-h2 { margin: 0 0 .25em; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); color: var(--night); }
.tvd-sub { margin: 0 0 22px; color: var(--ink-2); max-width: 62ch; }
.tvd-art { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 42vw), 1fr)); gap: clamp(12px, 2vw, 22px); }
.tvd-art figure { margin: 0; }
.tvd-art img { display: block; width: 100%; height: auto; aspect-ratio: 1696 / 2400; object-fit: cover; border-radius: 10px; background: var(--sky, #E4F1F2); box-shadow: 0 14px 26px -18px rgba(11, 60, 73, .6); }
.tvd-color img { background: #fff; border: 1px solid rgba(11, 60, 73, .12); }
.tvd-art figcaption { margin-top: 8px; font-weight: 800; font-size: .9rem; color: var(--night); line-height: 1.25; }
.tvd-inside { display: grid; gap: clamp(22px, 4vw, 48px); }
@media (min-width: 900px) { .tvd-inside { grid-template-columns: 1.3fr 1fr; } }
.tvd-places ol { margin: 0; padding: 0; list-style: none; counter-reset: pl; display: grid; gap: 10px; }
.tvd-places li { counter-increment: pl; position: relative; padding: 12px 14px 12px 52px; background: #fff; border-radius: 14px; }
.tvd-places li::before { content: counter(pl); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: #4A2618; display: grid; place-items: center; font-weight: 900; font-size: .9rem; }
.tvd-places b { display: block; color: var(--night); }
.tvd-kid { display: block; font-size: .85rem; font-weight: 800; color: var(--coral-ink); }
.tvd-places p { margin: 4px 0 0; font-size: .92rem; color: var(--ink-2); }
.tvd-also { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-content: start; }
.tvd-also li { display: flex; gap: 14px; align-items: flex-start; }
.tvd-also h3 { margin: 0 0 4px; font-size: 1.05rem; }
.tvd-also p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.tvx-grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(200px, 42vw), 1fr)); }
.tvd-all { margin: 26px 0 0; }

/* ---- Buscador de planes: 80 % de la pantalla en escritorio, pantalla completa en el móvil ---- */
.ideas-dlg { width: min(1680px, 80vw); height: min(94dvh, 1040px); }
.ideas-list { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
@media (max-width: 1100px) { .ideas-dlg { width: 94vw; } }
@media (max-width: 640px) { .ideas-dlg { width: 100vw; height: 100dvh; } .ideas-list { grid-template-columns: 1fr; } }
.im-rev { cursor: pointer; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 3px; }
.im-rev:hover { text-decoration-color: currentColor; }
.idd-rev { display: inline-block; margin-top: 4px; font-weight: 800; color: var(--teal-d, #0F4C5A); }

/* ---- Guardar y seguir luego / seguir en el móvil (formulario) ---- */
.wz-save-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 14px 0 0; }
.wz-save-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 4px; font: inherit; font-weight: 800; font-size: .92rem; color: var(--teal-d, #0F4C5A); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(15, 76, 90, .3); text-underline-offset: 4px; }
.wz-save-link:hover { text-decoration-color: currentColor; }
.wz-save-link svg { width: 18px; height: 18px; }
@media (pointer: coarse) { .wz-save-qr { display: none; } }
.save-dlg { width: min(560px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.save-dlg::backdrop { background: rgba(11, 60, 73, .55); }
.save-box { position: relative; padding: 26px 24px 20px; display: grid; gap: 12px; }
.save-box h2 { margin: 0; padding-right: 36px; font-size: 1.45rem; line-height: 1.2; color: var(--night, #0B3C49); }
.save-lead { margin: 0; color: var(--ink-2); }
.save-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--sky, #E4F1F2); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.save-email-row { display: flex; gap: 8px; flex-wrap: wrap; }
.save-email-row .input { flex: 1 1 220px; min-width: 0; }
.save-ok { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: #E7F6EC; color: #1E6B3A; font-weight: 800; }
.save-qr { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; background: var(--sky, #E4F1F2); }
.save-qr-code { flex: 0 0 132px; height: 132px; display: grid; place-items: center; background: #fff; border-radius: 12px; padding: 6px; }
.save-qr-code svg { width: 100%; height: auto; display: block; }
.save-qr h3 { margin: 0 0 4px; font-size: 1.05rem; }
.save-qr p { margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (pointer: coarse) { .save-qr { display: none; } }
.save-box .help { margin: 0; font-size: .8rem; color: var(--ink-3); }
/* franja de regalo de una familia amiga */
.gift-banner { background: var(--sun, #FFC94A); color: #4A2618; font-weight: 800; font-size: .92rem; }
.gift-banner .wrap { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: center; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.gift-banner .lb-link { color: inherit; }

/* ---- Página del pedido: seguir en el móvil y «Recomienda y regala» ---- */
.follow-card { display: flex; gap: 14px; align-items: center; }
.follow-qr { flex: 0 0 112px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: inset 0 0 0 1px rgba(11, 60, 73, .1); }
.follow-qr svg { display: block; width: 100%; height: auto; }
.follow-card p { margin: 0 0 4px; }
@media (pointer: coarse) and (max-width: 700px) { .follow-card { display: none; } }
.refer-card { display: flex; gap: 16px; align-items: flex-start; margin: 18px 0; background: linear-gradient(135deg, #FFF6D9, #fff 60%); border: 2px dashed var(--sun, #FFC94A); }
.refer-ico { flex: none; font-size: 2.2rem; line-height: 1; }
.refer-body { flex: 1; min-width: 0; }
.refer-body p { margin: 0 0 10px; }
.refer-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tv-made { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 10px; padding: 6px 14px; border-radius: 999px; background: var(--sun-l, #FFF3C9); font-weight: 800; color: #4A2618; }
.tv-made strong { font-family: var(--font-head); font-size: 1.25rem; }
/* sugerencias rápidas de «¿A dónde vais?» (places.js) */
.tv-mini-f.combo { position: relative; }
.tvp-list { text-align: left; color: var(--ink); }
.combo-head { padding: 6px 12px 4px; font-size: .78rem; font-weight: 900; color: var(--ink-3); }

/* ==========================================================================
   Home 1.4.1 · más viva y exploradora: cielo de día, portadas reales que pasan sobre una ruta de avión,
   sellos de viaje y pegatinas de lo que van a descubrir. Lo único que se mueve solo es el carrusel.
   ========================================================================== */
.tv-hero {
  color: var(--ink-v2);
  background:
    radial-gradient(520px 520px at 88% 8%, rgba(255, 201, 74, .55), transparent 62%),
    radial-gradient(900px 380px at 10% 110%, rgba(14, 124, 134, .16), transparent 70%),
    linear-gradient(180deg, #BFE6F0 0%, #DDF2F6 46%, #FFF4D8 100%);
}
/* nubes de papel (estáticas) */
.tv-hero::before {
  opacity: 1; background-size: auto; background-repeat: no-repeat;
  background-image:
    radial-gradient(60px 26px at 12% 18%, #fff 98%, transparent 100%), radial-gradient(42px 22px at 16% 15%, #fff 98%, transparent 100%),
    radial-gradient(70px 28px at 54% 9%, rgba(255,255,255,.9) 98%, transparent 100%), radial-gradient(40px 20px at 58% 6.5%, rgba(255,255,255,.9) 98%, transparent 100%),
    radial-gradient(54px 22px at 92% 62%, rgba(255,255,255,.85) 98%, transparent 100%);
}
.tv-hero h1 { color: var(--night); }
.tv-hero-sub { color: #2C4A52; }
.tv-hero-tag { background: #fff; color: var(--coral-ink, #B3401F); box-shadow: 0 6px 16px -10px rgba(11, 60, 73, .5); }
.tv-hero-tag .ico { color: var(--sun, #F2A900); }
.tv-mini { box-shadow: 0 26px 50px -26px rgba(11, 60, 73, .55), 0 0 0 4px rgba(255, 255, 255, .6); }
.tv-proof { color: #2C4A52; }
.tv-proof .ico { color: var(--coral, #E8573A); }
.tv-proof-free { color: #B3401F; }

/* carrusel de portadas */
.tvc { position: relative; width: min(400px, 82vw); padding: 26px 10px 64px; }
.tvc-route { position: absolute; inset: -6% -14% 4% -18%; width: 132%; height: 100%; pointer-events: none; overflow: visible; }
.tvc-route path { fill: none; stroke: #fff; stroke-width: 4; stroke-dasharray: 2 14; stroke-linecap: round; opacity: .95; }
.tvc-plane { position: absolute; right: -10%; top: 46%; width: 54px; height: 54px; transform: rotate(78deg); filter: drop-shadow(0 6px 6px rgba(11, 60, 73, .25)); z-index: 3; }
.tvc-deck { position: relative; list-style: none; margin: 0; padding: 0; aspect-ratio: 1696 / 2400; }
.tvc-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(14%) rotate(6deg) scale(.94); transition: opacity .55s var(--ease, ease), transform .7s var(--ease, ease); pointer-events: none; }
.tvc-slide.is-on { opacity: 1; transform: rotate(-2.5deg); pointer-events: auto; z-index: 2; }
.tvc-slide.is-out { opacity: 0; transform: translateX(-16%) rotate(-9deg) scale(.92); }
.tvc-slide a { display: block; height: 100%; text-decoration: none; }
.tvc-slide .mag { height: 100%; box-shadow: 0 30px 46px -22px rgba(11, 60, 73, .7), 0 4px 10px rgba(11, 60, 73, .15); }
/* el «taco» de revistas de debajo */
.tvc-deck::before, .tvc-deck::after { content: ""; position: absolute; inset: 0; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px -14px rgba(11, 60, 73, .5); }
.tvc-deck::before { transform: rotate(5deg) translate(5%, 1%); background: #FFE3A3; }
.tvc-deck::after { transform: rotate(1.5deg) translate(2%, 0); }
.tvc-tag { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%) rotate(-1.5deg); display: inline-flex; align-items: center; gap: 6px; max-width: 92%; margin: 0; padding: 8px 16px 8px 12px; border-radius: 10px 999px 999px 10px; background: var(--night); color: #fff; font-weight: 800; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 18px -10px rgba(11, 60, 73, .7); z-index: 3; }
.tvc-tag .ico { flex: none; width: 1em; height: 1em; color: var(--sun, #FFC94A); }
.tvc-tag [data-tvc-meta] { overflow: hidden; text-overflow: ellipsis; }
.tvc-dots { position: absolute; left: 0; right: 0; bottom: -6px; display: flex; justify-content: center; gap: 4px; }
.tvc-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.tvc-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(11, 60, 73, .25); transition: width .2s, background .2s; }
.tvc-dots button[aria-current="true"]::before { width: 22px; border-radius: 99px; background: var(--coral, #E8573A); }
/* sellos de viaje */
.tvc-stamp { position: absolute; z-index: 4; display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 700; line-height: 1.05; border-radius: 50%; pointer-events: none; }
.tvc-stamp-a { left: -9%; top: 10%; width: 96px; height: 96px; padding: 12px; font-size: .95rem; color: #fff; background: var(--coral, #E8573A); border: 3px dashed rgba(255, 255, 255, .85); transform: rotate(-12deg); box-shadow: 0 10px 20px -10px rgba(180, 60, 30, .8); }
.tvc-stamp-b { right: -4%; top: -2%; width: 84px; height: 84px; padding: 10px; font-size: .78rem; text-transform: none; color: var(--night); background: var(--sun, #FFC94A); border: 3px solid #fff; transform: rotate(10deg); box-shadow: 0 10px 20px -12px rgba(140, 100, 0, .8); }
@media (max-width: 520px) { .tvc-stamp-a { left: -3%; width: 80px; height: 80px; font-size: .8rem; } .tvc-stamp-b { right: 0; width: 70px; height: 70px; font-size: .68rem; } .tvc-plane { right: -4%; width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .tvc-slide { transition: opacity .2s; transform: none !important; } }

/* pegatinas de lo que van a descubrir */
.tv-explore { background: #FFF4D8; border-bottom: 1px solid rgba(11, 60, 73, .06); }
.tv-explore ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: 0 auto; padding-top: 18px; padding-bottom: 20px; }
.tv-explore li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--c); color: var(--ink-v2); font-weight: 800; font-size: .92rem; box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 30%, transparent); }
.tv-explore li:nth-child(odd) { transform: rotate(-1.5deg); }
.tv-explore li:nth-child(even) { transform: rotate(1.2deg); }
@media (max-width: 640px) { .tv-explore ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-left: var(--gutter, 16px); padding-right: var(--gutter, 16px); } .tv-explore ul::-webkit-scrollbar { display: none; } .tv-explore li { flex: none; } }

/* pasos como sellos de pasaporte */
.tv-steps li { border: 2px dashed rgba(11, 60, 73, .14); }
.tv-step-n { width: 58px; height: 58px; border: 3px dashed rgba(255, 255, 255, .7); outline: 3px solid var(--night); outline-offset: 0; transform: rotate(-8deg); font-size: 1.5rem; }
.tv-steps li:nth-child(2) .tv-step-n { background: var(--coral, #E8573A); color: #fff; outline-color: var(--coral, #E8573A); transform: rotate(6deg); }
.tv-steps li:nth-child(3) .tv-step-n { background: var(--sun, #FFC94A); color: var(--night); outline-color: var(--sun, #FFC94A); transform: rotate(-4deg); }
.tv-steps li:nth-child(1) .tv-step-n { outline-color: var(--night); }
/* la línea del viaje, como una ruta con avión */
@media (min-width: 820px) { .tv-trip::after { content: "✈"; position: absolute; right: 4%; top: 4px; font-size: 1.4rem; color: var(--teal); transform: rotate(10deg); } }
.mag-seal { width: 30%; } .tvc .mag-seal { font-size: .6em; }
@media (max-width: 959px) { .tv-hero::before { background-image: radial-gradient(54px 22px at 88% 6%, rgba(255,255,255,.9) 98%, transparent 100%), radial-gradient(34px 18px at 82% 4.5%, rgba(255,255,255,.9) 98%, transparent 100%); } .tvc { margin-top: 8px; } }

/* ==========================================================================
   Home 1.4.2 · ajustes: sin nubes (fondo de mapa con curvas de nivel), cabecera compacta en escritorio
   (se ve todo hasta «Crear su revista» en un portátil de 1366×768) y móvil ordenado.
   ========================================================================== */
.tv-hero {
  padding: clamp(18px, 3vh, 36px) 0 clamp(28px, 4vh, 48px);
  background:
    radial-gradient(420px 420px at 86% 14%, rgba(255, 201, 74, .5), transparent 65%),
    repeating-radial-gradient(circle at 86% 14%, transparent 0 34px, rgba(14, 124, 134, .075) 34px 35.5px),
    repeating-radial-gradient(circle at 6% 96%, transparent 0 28px, rgba(14, 124, 134, .06) 28px 29.5px),
    linear-gradient(170deg, #CDEDF3 0%, #E6F5F7 45%, #FFF3D6 100%);
}
.tv-hero::before { content: none; }
.tv-hero-tag { margin-bottom: 12px; font-size: .86rem; padding: 5px 12px 5px 9px; }
.tv-hero h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.04; max-width: 19ch; }
.tv-hero-sub { margin: 12px 0 18px; font-size: clamp(1rem, .95rem + .25vw, 1.1rem); line-height: 1.5; max-width: 58ch; }
.tv-proof { margin-top: 12px; font-size: .88rem; gap: 6px 16px; }
/* el formulario en una sola fila en pantallas anchas */
@media (min-width: 1100px) {
  .tv-mini { grid-template-columns: 1fr 1fr auto; align-items: end; max-width: 680px; padding: 12px; }
  .tv-mini .btn { grid-column: auto; width: auto; min-height: 50px; white-space: nowrap; padding-inline: 22px; }
}
/* el carrusel cabe en la altura de la pantalla */
.tvc { width: min(340px, 80vw); padding: 18px 8px 58px; }
@media (min-width: 960px) {
  .tv-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .tvc { width: min(340px, calc((100vh - 250px) * .62), 28vw); min-width: 230px; }
}
/* sellos dentro de la portada, sin tapar el título: arriba a la derecha y abajo a la derecha; el avión, a la izquierda */
.tvc-stamp-a { left: auto; right: -8%; top: auto; bottom: 24%; width: 88px; height: 88px; font-size: .86rem; transform: rotate(10deg); }
.tvc-stamp-b { right: -6%; top: -3%; width: 74px; height: 74px; font-size: .7rem; transform: rotate(-8deg); }
.tvc-plane { right: auto; left: -12%; top: 40%; transform: rotate(-24deg); width: 46px; height: 46px; }
.tvc-route { inset: -4% -12% 6% -14%; width: 126%; }

/* ---------- móvil ---------- */
@media (max-width: 959px) {
  .tv-hero-grid { gap: 22px; }
  .tv-hero-visual { order: 2; }
  .tvc { width: min(300px, 74vw); margin: 0 auto; }
  .tvc-stamp-a { right: -4%; width: 74px; height: 74px; font-size: .74rem; }
  .tvc-stamp-b { right: -3%; width: 64px; height: 64px; font-size: .62rem; }
  .tvc-plane { left: -8%; width: 38px; height: 38px; }
  .tvc-deck::before { transform: rotate(3deg) translate(3%, 1%); }
  .tvc-tag { font-size: .84rem; padding: 7px 14px 7px 10px; }
}
@media (max-width: 640px) {
  .launch-banner { font-size: .8rem; }
  .launch-banner .wrap { gap: .35em .5em; padding-block: .4em; }
  .launch-banner .lb-spark { display: none; }
  .tv-hero { padding-top: 16px; }
  .tv-hero-tag { font-size: .78rem; line-height: 1.3; }
  .tv-hero h1 { font-size: clamp(1.85rem, 1.3rem + 2.6vw, 2.3rem); }
  .tv-hero-sub { font-size: .98rem; line-height: 1.45; margin: 10px 0 16px; }
  .tv-mini { padding: 12px; gap: 8px; }
  .tv-mini input { min-height: 46px; }
  .tv-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: .82rem; }
}
/* la ficha del título escala con el tamaño de la portada del carrusel */
.tvc-deck { container-type: inline-size; }
.tvc .mag, .tvc .mag-big { font-size: clamp(11px, 6cqw, 19px); }
@media (max-width: 640px) {
  .tv-proof { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .tv-explore li { font-size: .84rem; padding: 6px 12px; }
  .tv-explore ul { padding-top: 14px; padding-bottom: 16px; }
}
#que-incluye { background: #fff; }

/* ---------- Cabecera en el móvil: solo el logo (sin la palabra) y todo dentro de la pantalla ---------- */
.brand .logo-mark { display: none; width: 40px; height: 40px; }
@media (max-width: 640px) {
  .brand .logo { display: none; }
  .brand .logo-mark { display: block; }
  .header-in { gap: 8px; }
  .lang-pick { margin-right: 0; }
  .lang-pick summary { min-height: 38px; padding: 0 10px; font-size: .85rem; }
  .header-cta { padding-inline: 16px; white-space: nowrap; }
  .nav-toggle { width: 44px; height: 44px; margin-right: -6px; flex: none; }
}
@media (max-width: 479px) { .header-cta .hide-xs { display: none; } }
html, body { overflow-x: clip; }
@media (max-width: 640px) { .site-header .header-cta { margin-left: 0; } .site-header .lang-pick { margin-left: auto; } }
.brand .logo-mark { overflow: hidden; }
@media (max-width: 360px) { .tv-mini .btn { font-size: 1rem; padding-inline: 14px; } .launch-banner .lb-link { display: none; } }

/* las sugerencias de «¿A dónde vais?» salen por encima de la sección siguiente (la portada ya no recorta en vertical) */
.tv-hero { overflow-x: clip; overflow-y: visible; z-index: 4; }
.tv-hero .tvp-list { z-index: 40; }
.tv-shelf { position: relative; z-index: 1; }
/* el botón nunca se sale del recuadro: los campos ceden sitio y, si aun así no cabe, el botón pasa debajo */
.tv-mini { width: 100%; max-width: 680px; box-sizing: border-box; }
.tv-mini-f { min-width: 0; }
.tv-mini input { width: 100%; min-width: 0; box-sizing: border-box; }
@media (min-width: 1100px) {
  .tv-mini { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .tv-mini .btn { max-width: 260px; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .tv-mini { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tv-mini .btn { grid-column: 1 / -1; max-width: none; width: 100%; }
}
/* código de amigos en la página del pedido */
.refer-card { margin: 0 0 18px; }
.refer-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 12px; }
.refer-code-label { flex-basis: 100%; font-size: .85rem; font-weight: 800; color: var(--ink-2); }
.refer-code b { font-family: var(--font-head); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); letter-spacing: .08em; color: var(--night); padding: 4px 16px; border: 3px dashed var(--coral, #E8573A); border-radius: 14px; background: #fff; }
.refer-btns .btn { flex: 1 1 auto; justify-content: center; }

/* ---------- Cuenta de usuario (/cuenta) y tarjeta en la página del pedido ---------- */
.acc-wrap { padding: clamp(28px, 5vw, 64px) 0; background: linear-gradient(180deg, var(--sky, #E4F1F2), var(--paper)); min-height: 60vh; }
.acc-card { background: #fff; border-radius: 22px; padding: clamp(18px, 3vw, 30px); margin-bottom: 16px; box-shadow: 0 14px 30px -24px rgba(11, 60, 73, .6); }
.acc-card h1 { margin: 0 0 .4em; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); color: var(--night); }
.acc-card h2 { margin: 0 0 .6em; font-size: 1.3rem; color: var(--night); }
.acc-lead { margin: 0 0 12px; color: var(--ink-2); font-size: 1.05rem; }
.acc-gift { margin: 0 0 16px; padding: 10px 14px; border-radius: 14px; background: #FFF7E0; border: 2px dashed var(--sun, #FFC94A); font-weight: 800; color: #4A2618; }
.acc-form { display: grid; gap: 8px; }
.acc-check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 4px; font-size: .92rem; color: var(--ink-2); line-height: 1.4; }
.acc-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.acc-help { margin: 8px 0 0; font-size: .88rem; color: var(--ink-3); }
.acc-sent { margin: 0 0 8px; padding: 12px 14px; border-radius: 14px; background: #E7F6EC; color: #1E6B3A; font-weight: 800; }
.acc-flash { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #E7F6EC; color: #1E6B3A; font-weight: 800; }
.acc-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.acc-head h1 { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); color: var(--night); }
.acc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-list li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 16px; background: var(--paper); }
.acc-item b { display: block; color: var(--night); }
.acc-item small { display: block; color: var(--ink-3); }
.acc-st { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: var(--sky, #E4F1F2); color: var(--teal-d, #0F4C5A); }
.acc-st-ready { background: #E7F6EC; color: #1E6B3A; }
.acc-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.acc-row p { margin: 0; flex: 1 1 240px; }
.account-card .account-form { display: grid; gap: 8px; }
.account-card .acc-msg { margin: 4px 0 0; font-weight: 800; color: #1E6B3A; }
.account-card .acc-msg.is-err { color: #B3261E; }

/* /recomendar · formulario + vista previa del email */
.rec-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); max-width: 1120px; align-items: start; }
@media (min-width: 960px) { .rec-grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } .rec-preview { position: sticky; top: 90px; } }
.rec-card h1 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.rec-card textarea.input { resize: vertical; min-height: 0; font: inherit; }
.rec-card .btn-block { margin-top: 10px; }
.rec-done-ico { margin: 0; font-size: 3rem; line-height: 1; }
.rec-preview-title { margin: 0 0 10px; font-weight: 800; color: var(--ink-2); }
.rec-mail { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -30px rgba(11, 60, 73, .7); border: 1px solid rgba(11, 60, 73, .08); }
.rec-mail-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F4F5; font-size: .82rem; color: var(--ink-3); }
.rec-mail-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E0E5E7; }
.rec-mail-bar i:first-child { background: #FF8A7A; } .rec-mail-bar i:nth-child(2) { background: #FFC94A; } .rec-mail-bar i:nth-child(3) { background: #6FD08C; }
.rec-mail-bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-frame { display: block; width: 100%; height: min(78vh, 1180px); border: 0; background: #E4F1F2; }
@media (max-width: 959px) { .rec-frame { height: 640px; } }

/* /ejemplo · bandera del idioma de cada revista (en lugar del sello con los nombres), abajo a la derecha; cabecera compacta */
.mag-langseal { position: absolute; right: 5%; bottom: 5%; width: 20%; aspect-ratio: 1; }
.mag-flag { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid #fff; background: #fff; box-shadow: 0 4px 12px -3px rgba(11, 60, 73, .6); }
.mag-flag svg { display: block; width: 100%; height: 100%; }
.mag-flag-code { display: grid; place-items: center; width: 100%; height: 100%; background: var(--teal, #0E7C86); color: #fff; font: 800 1.1em/1 var(--font-head); }
.page-examples .tvx-hero { padding: clamp(18px, 3vw, 30px) 0 clamp(16px, 2.6vw, 26px); }
.page-examples .tvx-hero h1 { max-width: none; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.page-examples .tvx-hero p { font-size: 1rem; }
.page-examples .tvx-hero + .section { padding-top: clamp(20px, 3vw, 34px); }

/* /ejemplo/CODIGO/ver · visor de la revista (pdf.js) */
.tvv { --tvv-bg: #10333D; display: flex; flex-direction: column; height: calc(100svh - 65px); min-height: 420px; background: radial-gradient(120% 90% at 50% 0%, #1B4A56, var(--tvv-bg)); color: #fff; }
.tvv.is-full { height: 100vh; }
.tvv-bar, .tvv-foot { display: flex; align-items: center; gap: 12px; padding: 10px clamp(12px, 2.5vw, 28px); }
.tvv-bar { justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tvv-back { color: #CFEDEA; font-weight: 800; text-decoration: none; white-space: nowrap; }
.tvv-back:hover { color: #fff; }
.tvv-title { flex: 1; margin: 0; overflow: hidden; color: #fff; font-size: clamp(.95rem, 1.6vw, 1.15rem); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.tvv-tools { display: flex; align-items: center; gap: 8px; }
.tvv-tool { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.tvv-tool:hover, .tvv-tool[aria-pressed="true"] { background: rgba(255, 255, 255, .22); }
.tvv-tool svg, .tvv-tool .ico { width: 20px; height: 20px; }
.tvv-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tvv.is-zoom .tvv-stage { display: block; overflow: auto; -webkit-overflow-scrolling: touch; }
.tvv-book { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.tvv-book[hidden], .tvv-flat[hidden] { display: none; }
.tvv-flip { flex: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.tvv-pg { background: #fff; overflow: hidden; }
.tvv-pg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #F4F1EA 30%, #fff 50%, #F4F1EA 70%) 0 0 / 300% 100%; animation: tvv-shine 1.4s linear infinite; }
.tvv-pg.is-ready::before { display: none; }
.tvv-pg img { position: relative; display: block; width: 100%; height: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; pointer-events: none; }
/* el lomo: sombra suave hacia el centro en doble página */
.tvv.is-spread .tvv-pg.--left::after, .tvv.is-spread .tvv-pg.--right::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7%; pointer-events: none; }
.tvv.is-spread .tvv-pg.--left::after { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .16), transparent); }
.tvv.is-spread .tvv-pg.--right::after { left: 0; background: linear-gradient(to right, rgba(0, 0, 0, .16), transparent); }
.tvv-flat { display: flex; justify-content: center; gap: 0; cursor: pointer; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.tvv.is-zoom .tvv-flat { cursor: default; padding: 12px; width: max-content; margin: 0 auto; }
.tvv-page { position: relative; background: #fff; }
.tvv-page::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #F4F1EA 30%, #fff 50%, #F4F1EA 70%) 0 0 / 300% 100%; animation: tvv-shine 1.4s linear infinite; }
.tvv-page.is-ready::before { display: none; }
.tvv-page canvas { position: relative; display: block; width: 100%; height: 100%; }
.tvv.is-spread .tvv-flat .tvv-page:first-child { box-shadow: inset -18px 0 22px -18px rgba(0, 0, 0, .35); }
.tvv--embed, .viewer-bare .tvv { height: 100vh; height: 100svh; }
.tvv--embed { min-height: 0; }
.tvv--embed { background: #10333D; }
.tvv--embed .tvv-foot { padding: 6px 10px; }
.tvv--embed .tvv-nav { width: 38px; height: 38px; margin-top: -19px; font-size: 26px; }
@keyframes tvv-shine { to { background-position: -300% 0; } }
@media (prefers-reduced-motion: reduce) { .tvv-page::before, .tvv-pg::before { animation: none; } }
.tvv-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--night, #0B3C49); font-size: 34px; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.tvv-nav span { margin-top: -4px; }
.tvv-nav:disabled { opacity: 0; pointer-events: none; }
.tvv-prev { left: clamp(6px, 2vw, 26px); } .tvv-next { right: clamp(6px, 2vw, 26px); }
.tvv.is-zoom .tvv-nav { position: fixed; }
@media (max-width: 639px) { .tvv-nav { width: 40px; height: 40px; margin-top: -20px; font-size: 28px; background: rgba(255, 255, 255, .8); } }
.tvv-loading, .tvv-error { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px; }
.tvv-loading p, .tvv-error p { margin: 0; font-weight: 800; color: #CFEDEA; }
.tvv-loading[hidden], .tvv-error[hidden] { display: none; }
.tvv-loading .spin { width: 42px; height: 42px; border-width: 4px; }
.tvv-progress { width: min(260px, 60vw); height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.tvv-progress i { display: block; width: 4%; height: 100%; border-radius: 6px; background: var(--sun, #FFC94A); transition: width .2s; }
.tvv-foot { border-top: 1px solid rgba(255, 255, 255, .08); }
.tvv-range { flex: 1; accent-color: var(--sun, #FFC94A); }
.tvv-count { min-width: 9.5em; color: #CFEDEA; font-weight: 800; font-size: .92rem; text-align: center; font-variant-numeric: tabular-nums; }
.tvv-foot .btn-ghost { --b-fg: #fff; --b-bd: rgba(255, 255, 255, .35); }
@media (max-width: 639px) {
  .tvv-title { display: none; }
  .tvv-dl > span:not(.ico) { display: none; }
  .tvv-dl { padding-inline: 10px; }
  .tvv-foot { flex-wrap: wrap; gap: 6px 10px; }
  .tvv-foot .btn { display: none; }
  .tvv-count { min-width: 0; }
}
.page-viewer .site-footer, .page-viewer .launch-banner, .page-viewer .gift-banner { display: none; }

/* Página del pedido terminado en el móvil (la que abre el email): portada pequeña, título y botones a la vista */
@media (max-width: 859px) {
  .ord-ready .ready-hero { gap: 18px; margin-bottom: 24px; }
  .ord-ready .ready-cover { --cvw: 150px; margin-top: 6px; }
  .ord-ready .ready-stamp { width: 64px; height: 64px; right: -22px; top: -14px; outline-width: 3px; }
  .ord-ready .ready-stamp .ico { width: 16px; height: 16px; }
  .ord-ready .ready-stamp b { font-size: .8rem; }
  .ord-ready .ready-copy { text-align: center; }
  .ord-ready .ready-copy .kicker { justify-content: center; }
  .ord-ready .ready-copy .lead { font-size: 1rem; }
  .ord-ready .ready-actions { margin-top: 16px; text-align: left; }
  .ord-ready .ready-expiry { justify-content: center; text-align: left; }
}

/* Pago: el cliente elige entre tarjeta (Stripe) y Bizum */
.pay-options { display: grid; gap: 14px; margin: 6px 0 12px; }
.pay-opt { padding: 18px; border-radius: 18px; border: 2px solid rgba(11, 60, 73, .12); background: #fff; }
.pay-opt-card { border-color: rgba(232, 85, 59, .45); background: linear-gradient(180deg, #FFF4F0, #fff 70%); }
.pay-opt h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.12rem; }
.pay-opt p { margin: 0 0 12px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.pay-opt .help { margin: 8px 0 0; font-size: .82rem; }
.pay-marks { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-marks span { padding: 3px 9px; border-radius: 7px; border: 1px solid rgba(11, 60, 73, .18); background: #fff; color: #0B3C49; font: 800 .78rem/1.3 var(--font-head); letter-spacing: .02em; }
.pay-switch { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(11, 60, 73, .2); }
.pay-switch p { margin: 0 0 10px; color: var(--ink-2); font-size: .95rem; }

/* Pago: QR para seguir en el móvil (solo en el ordenador; en móvil y tablet no tiene sentido) */
.pay-qr { display: flex; gap: 16px; align-items: center; margin-top: 18px; padding: 16px; border-radius: 18px; background: #F1F7F8; border: 2px dashed rgba(14, 124, 134, .35); }
.pay-qr-code { flex: none; width: 148px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -10px rgba(11, 60, 73, .6); }
.pay-qr-code svg { display: block; width: 100%; height: auto; }
.pay-qr-copy h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.05rem; }
.pay-qr-copy h3 .ico { width: 1.1em; height: 1.1em; color: var(--teal, #0E7C86); }
.pay-qr-copy p { margin: 0 0 6px; color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.pay-qr-copy .help { margin: 0; font-size: .82rem; }
@media (max-width: 1023px) and (pointer: coarse), (max-width: 699px) { .pay-qr { display: none; } }
.checkout-side { display: grid; gap: 20px; align-content: start; }
.checkout-side .pay-qr { margin-top: 0; }

/* Portada ilustrada antes de pagar */
.cover-pre { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 20px; align-items: center; background: linear-gradient(135deg, #FFF7E0, #fff 60%); border: 2px dashed #FFC23C; }
.cover-pre-art { position: relative; }
.cover-pre-img { display: block; width: 100%; aspect-ratio: 210 / 297; object-fit: cover; border-radius: 10px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.cover-pre-img.is-in { animation: cpIn .6s var(--ease, ease) both; }
@keyframes cpIn { from { opacity: 0; transform: scale(.94) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
.cover-pre-ph { position: relative; font-size: 5.2px; }
.cover-pre-ph .cover { width: 100%; }
.cover-pre-spin { display: none; position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; border-radius: 50%; border: 5px solid rgba(255, 255, 255, .7); border-top-color: var(--coral, #FF6B4A); animation: cpSpin 1s linear infinite; }
.cover-pre[data-state="queued"] .cover-pre-spin, .cover-pre[data-state="running"] .cover-pre-spin { display: block; }
.cover-pre[data-state="queued"] .cover-pre-ph .cover, .cover-pre[data-state="running"] .cover-pre-ph .cover { filter: blur(1.5px) saturate(.7); }
@keyframes cpSpin { to { transform: rotate(360deg); } }
.cover-pre-t { font-size: 1.25rem; margin: 2px 0 6px; }
.cover-pre-copy p { margin: 0 0 12px; }
@media (max-width: 520px) { .cover-pre { grid-template-columns: 110px 1fr; gap: 14px; } .cover-pre-ph { font-size: 3px; } }
@media (prefers-reduced-motion: reduce) { .cover-pre-img.is-in { animation: none; } .cover-pre-spin { animation-duration: 3s; } }

/* Garantía y formas de pago junto al botón de pagar */
.pay-guarantee { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-sm, 12px); background: #EAF7F1; color: #14513F; font-weight: 700; font-size: .92rem; line-height: 1.4; }
.pay-guarantee-ico { font-size: 1.3rem; line-height: 1; }
.paymarks { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 14px; }
.paymarks-lock { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; color: var(--ink-2, #3B4A59); }
.paymarks-lock svg { width: 16px; height: 16px; color: #1E8E5A; }
.paymarks-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pm { display: grid; place-items: center; width: 52px; height: 32px; border-radius: 6px; background: #fff; border: 1px solid rgba(29, 43, 58, .16); }
.pm svg { width: 40px; height: 20px; }
.paymarks--footer { justify-content: flex-start; margin: 4px 0 10px; }
.paymarks--footer .paymarks-lock { color: rgba(255, 248, 236, .86); }

/* ---------- Regala una Traventura (/regalo) ---------- */
.gift-hero { background: radial-gradient(120% 90% at 85% 10%, #134F5E 0%, var(--night) 60%); color: #fff; padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.gift-hero-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 880px) { .gift-hero-grid { grid-template-columns: 1.1fr .9fr; } }
.gift-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.8vw, 3.2rem); margin: .2em 0 .35em; }
.gift-hero .lead { color: rgba(255, 255, 255, .86); max-width: 560px; }
.gift-eyebrow { display: inline-block; color: var(--sun); font-weight: 800; letter-spacing: .02em; }
.gift-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.gift-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .92); font-weight: 650; }
.gift-points .ico { flex: none; width: 22px; height: 22px; color: var(--sun); margin-top: 2px; }
.gift-card-demo { display: grid; place-items: center; perspective: 900px; }
.gcd { position: relative; width: min(100%, 400px); aspect-ratio: 1.6; border-radius: 22px; padding: 24px 26px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: linear-gradient(135deg, #FFF3D6 0%, #FFE1D9 55%, #DCEFEF 100%); color: var(--night); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); transform: rotate(-4deg); animation: gcd-float 6s ease-in-out infinite; }
.gcd-ribbon { position: absolute; top: 0; bottom: 0; right: 22%; width: 26px; background: var(--coral); opacity: .9; }
.gcd-ribbon::after { content: ""; position: absolute; left: -100vw; right: -100vw; top: 38%; height: 26px; background: var(--coral); }
.gcd > *:not(.gcd-ribbon) { position: relative; z-index: 1; }
.gcd-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.gcd-for { font-size: 1.1rem; } .gcd-for b { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; }
.gcd-code { align-self: flex-start; font-family: var(--font-head); letter-spacing: .1em; padding: 4px 12px; border-radius: 10px; background: #fff; border: 2px dashed var(--coral); }
.gcd-from { font-size: .95rem; }
@keyframes gcd-float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .gcd { animation: none; } }
.gift-form-section { padding-top: 0; margin-top: clamp(-40px, -4vw, -24px); }
.gift-wrap { max-width: 760px; }
.gift-form { display: grid; gap: 22px; }
.gift-form .field { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.gift-form legend.label { font-family: var(--font-head); font-size: 1.2rem; color: var(--night); margin-bottom: 6px; }
.label-sub { font-size: .95rem; margin-top: 6px; }
.gift-plans { display: grid; gap: 12px; }
@media (min-width: 640px) { .gift-plans { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.gift-plan { position: relative; cursor: pointer; display: block; }
.gift-plan input { position: absolute; opacity: 0; pointer-events: none; }
.gift-plan-card { display: grid; gap: 4px; height: 100%; padding: 16px; border-radius: 18px; border: 2px solid var(--line-2); background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.gift-plan:hover .gift-plan-card { border-color: var(--teal); }
.gift-plan input:checked + .gift-plan-card { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-l); transform: translateY(-2px); }
.gift-plan input:focus-visible + .gift-plan-card { outline: 3px solid var(--sun); outline-offset: 2px; }
.gift-plan .plan-badge { justify-self: start; }
.gift-plan-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--night); }
.gift-plan-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--coral-ink); }
.gift-plan-tag { font-size: .9rem; color: var(--ink-2); }
.gift-plan-feats { display: grid; gap: 2px; margin-top: 6px; font-size: .85rem; color: var(--ink-2); }
.gift-plan-feats span { display: flex; gap: 6px; align-items: flex-start; }
.gift-plan-feats .ico { width: 16px; height: 16px; flex: none; color: var(--ok); margin-top: 3px; }
.gift-small { margin: 0; text-align: center; font-size: .88rem; color: var(--ink-3); }
.gift-form .paymarks { justify-content: center; }
.gift-card-page { background: linear-gradient(180deg, var(--sky), var(--paper)); }
.gift-pay h1 { margin-top: 6px; }
.gift-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: var(--paper); margin: 0 0 16px; }
.gift-total b { font-family: var(--font-head); font-size: 1.6rem; color: var(--night); }
.gift-pay .btn-block + .btn-block { margin-top: 10px; }
.gift-print-actions { margin-bottom: 20px; }
.gift-print-actions h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); color: var(--night); }
.gift-print { display: grid; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
@media (min-width: 720px) { .gift-print { grid-template-columns: 1fr 1fr; } }
.gp-front { position: relative; padding: 30px 28px; background: linear-gradient(140deg, var(--night) 0%, #146070 100%); color: #fff; display: grid; gap: 8px; align-content: start; min-height: 320px; }
.gp-front::after { content: "🎁"; position: absolute; right: 18px; bottom: 10px; font-size: 64px; opacity: .9; }
.gp-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--sun); }
.gp-kicker { margin: 10px 0 0; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: rgba(255, 255, 255, .7); }
.gp-to { color: #fff; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem); margin: 0; }
.gp-what { margin: 0; color: rgba(255, 255, 255, .85); }
.gp-msg { margin: 10px 0 0; font-family: var(--font-hand); font-size: 1.3rem; line-height: 1.35; color: #FFF3D6; }
.gp-from { margin: auto 0 0; padding-top: 14px; font-weight: 800; }
.gp-back { padding: 28px; display: grid; gap: 10px; align-content: start; }
.gp-label { margin: 0; font-weight: 800; color: var(--ink-2); }
.gp-code { margin: 0; font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + 1.1vw, 1.9rem); white-space: nowrap; letter-spacing: .06em; color: var(--night); text-align: center; padding: 10px; border: 3px dashed var(--coral); border-radius: 16px; background: #FFF8EC; }
.gp-steps { margin: 6px 0 0; padding-left: 1.3em; display: grid; gap: 4px; color: var(--ink-2); }
.gp-valid { margin: 0; font-size: .88rem; color: var(--ink-3); }
.gp-back .btn { justify-self: start; }
@media print {
  .no-print, .gift-hero, .sticky-cta { display: none !important; }
  .gift-card-page { background: #fff; padding: 0; }
  .gift-print { box-shadow: none; border: 1px solid #ccc; grid-template-columns: 1fr 1fr; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ==========================================================================
   Home v2 (hx-): vídeo de la web real, novedades y capturas reales
   ========================================================================== */
.hx-hero { padding-bottom: clamp(56px, 8vw, 110px); }
.hx-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hx-route path { fill: none; stroke: rgba(255, 194, 60, .35); stroke-width: 2.5; stroke-dasharray: 2 12; stroke-linecap: round; animation: hx-dash 40s linear infinite; }
@keyframes hx-dash { to { stroke-dashoffset: -600; } }
@media (min-width: 960px) { .hx-hero-grid { grid-template-columns: .92fr 1.08fr; } }
.hx-video-wrap { position: relative; }
.hx-video { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #082C36; aspect-ratio: 16 / 9; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 6px rgba(255, 255, 255, .08); transform: rotate(.6deg); }
.hx-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx-video-btn { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(8, 44, 54, .72); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hx-video-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.hx-ico-pause { width: 14px; height: 16px; border-left: 5px solid currentColor; border-right: 5px solid currentColor; }
.hx-ico-play { display: none; width: 0; height: 0; border-left: 15px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.hx-video.is-paused .hx-ico-pause { display: none; } .hx-video.is-paused .hx-ico-play { display: block; }
.hx-video-cap { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: .5em; padding: 6px 12px; border-radius: 999px; background: rgba(8, 44, 54, .72); color: #fff; font-weight: 800; font-size: .82rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 107, 74, .7); animation: hx-pulse 1.6s infinite; }
@keyframes hx-pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 107, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0); } }
.hx-stamp { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 12px; background: var(--sun); color: #4A2618; font-family: var(--font-head); font-weight: 700; font-size: .95rem; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .6); }
.hx-stamp-a { left: -14px; top: -16px; transform: rotate(-6deg); }
.hx-stamp-b { right: -10px; bottom: -18px; transform: rotate(5deg); background: #fff; color: var(--night); }
@media (max-width: 640px) { .hx-stamp { font-size: .8rem; padding: 6px 10px; } .hx-stamp-a { left: 6px; } .hx-stamp-b { right: 6px; } }
@media (prefers-reduced-motion: reduce) { .hx-route path, .hx-dot { animation: none; } }

.hx-news { position: relative; z-index: 6; margin-top: -28px; }
.hx-news-list { list-style: none; margin: 0; padding: 8px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: #fff; box-shadow: 0 18px 40px -24px rgba(11, 60, 73, .55); }
.hx-news-list::-webkit-scrollbar { display: none; }
.hx-news-list li { flex: none; }
.hx-news-list a { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--night); font-weight: 800; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background .15s; }
.hx-news-list a:hover { background: var(--sky); }
@media (min-width: 1000px) { .hx-news-list { justify-content: space-between; } }

.hx-how { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hx-how { grid-template-columns: 1.2fr .8fr; } }
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hx-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 20px; border-radius: var(--r-card); background: #fff; border: 1px solid rgba(11, 60, 73, .08); }
.hx-steps .tv-step-n { margin: 0; }
.hx-steps h3 { margin: 0 0 .3em; font-size: 1.2rem; }
.hx-steps p { margin: 0; color: var(--ink-2); }
.hx-phone { display: block; width: min(300px, 70vw); margin: 0 auto; padding: 10px; border-radius: 42px; background: #10181d; box-shadow: 0 40px 70px -34px rgba(11, 60, 73, .8), inset 0 0 0 2px #2a353b; }
.hx-phone img { display: block; width: 100%; height: auto; border-radius: 32px; }

.hx-feat { overflow: hidden; }
.hx-feat-alt { background: #fff; }
.hx-row { display: grid; gap: clamp(26px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hx-row { grid-template-columns: .9fr 1.1fr; } .hx-row-rev > .hx-copy { order: 2; } .hx-row-rev { grid-template-columns: 1.1fr .9fr; } }
.hx-copy h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.7rem); line-height: 1.08; margin: .25em 0 .4em; }
.hx-copy .lead { margin: 0 0 18px; }
.hx-kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--coral-l); color: #8F3A26; font-weight: 900; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.hx-kicker-light { background: rgba(14, 124, 134, .14); color: var(--teal-d); }
.hx-ticks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; font-weight: 700; }
.hx-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.hx-ticks .ico { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; background: #E7F6EC; color: var(--ok); }
.hx-chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hx-chips li { padding: 7px 13px; border-radius: 999px; background: var(--sky); color: var(--night); font-weight: 800; font-size: .9rem; }
.hx-ai { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #FFF3D6, #FFE1D9); color: #4A2618; font-weight: 650; }
.hx-ai > span:first-child { font-size: 1.4rem; line-height: 1; }
.hx-shot img { display: block; width: 100%; height: auto; }
.hx-shot-card { border-radius: 24px; overflow: hidden; box-shadow: 0 34px 60px -30px rgba(11, 60, 73, .6); transform: rotate(-1deg); }
.hx-browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 34px 70px -30px rgba(11, 60, 73, .65), 0 0 0 1px rgba(11, 60, 73, .08); }
.hx-browser-bar { display: flex; gap: 6px; padding: 10px 14px; background: #EEF3F4; }
.hx-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.hx-browser-bar i:nth-child(2) { background: var(--sun); } .hx-browser-bar i:nth-child(3) { background: #3BB273; }

.hx-web-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hx-web-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.hx-web-list b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--night); }
.hx-web-list div { color: var(--ink-2); line-height: 1.45; }
.hx-phones { position: relative; height: clamp(440px, 60vw, 600px); }
.hx-phones .hx-phone { position: absolute; top: 0; width: clamp(180px, 23vw, 260px); margin: 0; transition: transform .4s var(--ease); }
.hx-phone-a { left: 0; transform: rotate(-7deg) translateY(40px); }
.hx-phone-b { left: 50%; margin-left: calc(clamp(180px, 23vw, 260px) / -2) !important; z-index: 2; }
.hx-phone-c { right: 0; transform: rotate(7deg) translateY(40px); }
.hx-phones:hover .hx-phone-a { transform: rotate(-9deg) translate(-8px, 34px); } .hx-phones:hover .hx-phone-c { transform: rotate(9deg) translate(8px, 34px); }
@media (max-width: 560px) { .hx-phones .hx-phone { width: 46%; } .hx-phone-b { margin-left: -23% !important; } .hx-phones { height: 118vw; } }

.price-features .price-edit { font-weight: 800; }
.hx-guarantee { display: grid; gap: 12px; align-items: center; margin: clamp(22px, 3vw, 34px) auto 0; max-width: 900px; padding: 16px 20px; border-radius: 20px; background: rgba(4, 30, 37, .32); color: #fff; }
@media (min-width: 760px) { .hx-guarantee { grid-template-columns: auto 1fr auto; } }
.hx-guarantee p { margin: 0; font-weight: 700; color: #fff; }
.hx-guarantee .paymarks-lock { color: #fff; }
.hx-guarantee-ico { font-size: 1.8rem; }
.hx-guarantee .paymarks { margin: 0; }

.hx-gift { background: linear-gradient(135deg, #FFF3D6 0%, #FFE1D9 100%); }
.hx-gift-in { display: grid; gap: clamp(26px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) { .hx-gift-in { grid-template-columns: 1.1fr .9fr; } }
.hx-gift .gcd { transform: rotate(3deg); animation-name: gcd-float-r; }
@keyframes gcd-float-r { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-8px); } }

/* ---------- Factura para la familia (pedido y tarjeta regalo) ---------- */
.ord-invoice { margin-top: 18px; }
.invoice-card { max-width: 640px; margin-inline: auto; }
.page-gift-card .invoice-card { margin-top: 22px; }
.invoice-card p:not(.save-title) { color: var(--ink-2); font-size: .95rem; margin: 0 0 10px; }
.invoice-full { margin-top: 12px; border-top: 1px dashed var(--line, #E3E8EE); padding-top: 10px; }
.invoice-full summary { cursor: pointer; font-weight: 700; color: var(--teal-d, #0B5E66); min-height: 44px; display: flex; align-items: center; }
.invoice-form { display: grid; gap: 6px; margin-top: 6px; }
.invoice-form .btn { justify-self: start; margin-top: 6px; }
.invoice-card .invoice-note { font-size: .85rem !important; color: var(--ink-3) !important; margin: 4px 0 0 !important; }
.ready-grid .invoice-card { max-width: none; margin: 0; }

/* ==========================================================================
   2.2.2 · Cabecera y «¿A dónde vais?» con sitio suficiente en todos los idiomas
   ========================================================================== */
/* el menú nunca parte una opción en dos líneas: hasta 1180 px va en el botón ☰ y, en pantallas anchas, más compacto */
.main-nav li a, .nav-cta, .header-cta { white-space: nowrap; }
@media (min-width: 1180px) {
  .header-in { gap: 10px; }
  .main-nav { gap: 6px; }
  .main-nav ul { gap: 0; }
  .main-nav li a { padding: 0 9px; font-size: .97rem; }
  .nav-cta { margin-left: 4px; padding: .55em 1.05em; }
  .brand .logo { width: 160px; }
  .lang-pick { margin-right: 0; }
}
@media (min-width: 1280px) {
  .main-nav li a { padding: 0 11px; font-size: 1rem; }
  .brand .logo { width: 172px; }
}

/* formulario de la home: nombre y destino en una fila (el destino, más ancho) y el botón debajo, a todo el ancho */
.tv-mini { grid-template-columns: minmax(0, 1fr); align-items: end; }
.tv-mini .btn { grid-column: 1 / -1; width: 100%; max-width: none; }
@media (min-width: 520px) {
  .tv-mini { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
.tv-mini label { line-height: 1.25; }

/* sugerencias: tan anchas como el formulario (places.js las alinea) y sin barra horizontal */
.tvp-list { overflow-x: hidden; box-sizing: border-box; max-height: min(360px, 60vh); overscroll-behavior: contain; }
.tvp-list .combo-opt { min-height: 48px; }
.tvp-list .combo-txt { flex: 1 1 auto; }
.tvp-list .combo-opt b { overflow-wrap: anywhere; }
.tvp-list .combo-head, .tvp-list .combo-foot { white-space: normal; overflow-wrap: anywhere; }
/* con la lista abierta, la cabecera de la home queda por encima de la franja de novedades que se le monta encima */
.tvp-open .tv-hero, .tvp-open .tv-final { position: relative; z-index: 8; }
/* con el menú en el botón ☰ (tablet y portátil pequeño): idioma, «Crear» y ☰ juntos a la derecha */
@media (max-width: 1179px) { .site-header .header-cta { margin-left: 0; } .site-header .lang-pick { margin-left: auto; } }
