/* =========================================================
   VESPA CHAPTERS — sistema visual
   Poppins únicamente. Jerarquía por escala, peso, color y composición.
   ========================================================= */

:root {
  --aqua: #A8D5D2;
  --turq: #247D78;
  --turq-dark: #175F5D;
  --bordo: #7B1835;
  --bordo-deep: #5A0F25;
  --coral: #E58A82;
  --amarillo: #F4DA91;
  --mostaza: #D4A72C;
  --crema: #F5EFE3;
  --white: #FFFFFF;
  --ink: #171717;

  --gutter: clamp(20px, 3.52vw, 51px);
  --sec-pad: clamp(88px, 7.74vw, 118px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .04), 0 14px 34px -18px rgba(20, 45, 44, .32);
  --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, .05), 0 26px 48px -20px rgba(20, 45, 44, .38);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--aqua);
  color: var(--ink);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#root { overflow-x: clip; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
em, i, cite { font-style: normal; }
/* Acento: Poppins 800 itálica, solo para la palabra destacada dentro de un titular (eco de la inclinación del logo). */
.t-xl em, .t-l em, .hero-title em, .it { font-style: italic; font-weight: 800; letter-spacing: -.01em; padding-right: .06em; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--bordo); outline-offset: 3px; }

.w300 { font-weight: 300; } .w400 { font-weight: 400; } .w500 { font-weight: 500; }
.w600 { font-weight: 600; } .w700 { font-weight: 700; } .w800 { font-weight: 800; } .w900 { font-weight: 900; }
.c-bordo { color: var(--bordo); } .c-aqua { color: var(--aqua); } .c-turq { color: var(--turq-dark); }
.c-amarillo { color: var(--amarillo); } .c-coral { color: var(--coral); }
.light { color: #fff; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center-row { display: flex; justify-content: center; margin-top: 40px; }
.muted { opacity: .65; font-size: 14px; }
.muted-strong { font-weight: 700; }

/* Escala tipográfica */
.t-xl { font-size: clamp(34px, 4.51vw, 79px); line-height: .94; letter-spacing: -.025em; text-transform: uppercase; }
.t-xl > span { display: block; }
.t-l { font-size: clamp(30px, 2.53vw, 40px); line-height: 1; letter-spacing: -.02em; }
.t-m { font-size: clamp(18px, 1.36vw, 19px); line-height: 1.35; }
.lead { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; max-width: 44ch; margin-top: 24px; }
.lead.center { max-width: 52ch; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 12px 16px; }
.skip:focus { left: 8px; }

/* ---------- Boot / estados de página ---------- */
.boot { min-height: 100vh; background: var(--aqua); display: grid; place-items: center; }
.boot-line, .loader-line { display: block; width: 160px; height: 3px; background: linear-gradient(90deg, var(--bordo) 0 40%, rgba(123, 24, 53, .15) 40%); background-size: 250% 100%; animation: load 1.1s linear infinite; }
@keyframes load { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.page-state { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 120px var(--gutter); background: var(--aqua); }
.page-404 .t-xl { color: var(--turq-dark); }

/* ---------- Assets faltantes (placeholder técnico) ---------- */
.missing {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px;
  border: 1px dashed color-mix(in srgb, var(--c, var(--turq-dark)) 60%, transparent);
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c, var(--turq-dark)) 7%, transparent) 0 8px, transparent 8px 16px);
  color: var(--c, var(--turq-dark));
  font-size: 10px; line-height: 1.2; text-align: center; padding: 4px 8px; border-radius: 4px; overflow: hidden;
}
.missing-k { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.missing-n { font-weight: 400; word-break: break-all; }
.logo { display: inline-block; flex: none; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: left center; mask-position: left center; }
.logo-missing { font-size: max(8px, min(10px, 1.6cqw)); }
.head { display: inline-block; flex: none; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.pending-tag { position: absolute; right: 0; bottom: 0; font-size: 11px; font-weight: 500; color: var(--turq-dark); background: color-mix(in srgb, var(--aqua) 55%, #fff); padding: 6px 10px; border-radius: 4px; }

/* ---------- Botones y links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 58px; padding: 0 22px 0 28px; border: 0; border-radius: 4px;
  background: var(--bordo); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease);
}
.btn-fill { position: absolute; inset: 0; z-index: -1; background: var(--bordo-deep); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.btn:hover .btn-fill, .btn:focus-visible .btn-fill { transform: scaleX(1); }
.btn-arrow { display: inline-flex; transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled .btn-fill { transform: scaleX(0); }
.btn-sm { min-height: 46px; padding: 0 16px 0 20px; font-size: 14px; gap: 14px; }
.btn-light { background: #fff; color: var(--bordo); }
.btn-light .btn-fill { background: var(--aqua); }
.btn-outline { background: transparent; color: var(--bordo); box-shadow: inset 0 0 0 1.5px var(--bordo); }
.btn-outline .btn-fill { background: var(--bordo); }
.btn-outline:hover { color: #fff; }
.btn-turq { background: var(--turq-dark); }
.btn-turq .btn-fill { background: #0f4644; }
.btn-block { width: 100%; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.tlink {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0; border: 0; background: none; cursor: pointer;
  font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink);
}
.tlink-label {
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(23, 23, 23, .25), rgba(23, 23, 23, .25));
  background-size: 0% 2px, 100% 1px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
  padding-bottom: 4px; transition: background-size .45s var(--ease);
}
.tlink:hover .tlink-label, .tlink:focus-visible .tlink-label { background-size: 100% 2px, 100% 1px; }
.tlink .arrow { transition: transform .4s var(--ease); }
.tlink:hover .arrow-right { transform: translateX(4px); }
.tlink:hover .arrow-down { transform: translateY(3px); }
.arrow-down { transform: rotate(90deg); }
.arrow-left { transform: rotate(180deg); }
.tlink-light { color: #fff; }
.tlink-light .tlink-label { background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)); }

/* ---------- Tags de estado ---------- */
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 5px 11px 5px 9px; border-radius: 99px; white-space: nowrap; line-height: 1.3; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag-activo { background: var(--aqua); color: var(--turq-dark); }
.tag-pendiente { background: var(--amarillo); color: var(--ink); }
.tag-pendiente i { background: var(--mostaza); }
.tag-vencido { background: #F7DAD6; color: var(--bordo); }
.tag-vencido i { background: var(--coral); }
.tag-bloqueado { background: #ECEBE8; color: #575757; }
.tag-bloqueado i { background: #9A9A9A; }
.tag-completada { background: var(--turq-dark); color: #fff; }
.tag-proxima { background: var(--bordo); color: #fff; }
.tag-opcional { background: #fff; color: var(--turq-dark); box-shadow: inset 0 0 0 1px rgba(23, 95, 93, .35); }
.tag-error { background: #F7DAD6; color: var(--bordo); }

/* ---------- Card funcional ---------- */
.card {
  background: #fff; border: 1px solid rgba(23, 23, 23, .08); border-radius: 18px; padding: clamp(22px, 1.69vw, 23px);
  box-shadow: var(--shadow-card); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
a.card, .card.is-hover { display: block; text-decoration: none; }
.card.is-hover:hover, a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }

/* ---------- Fotos ---------- */
.photo { margin: 0; position: relative; overflow: hidden; background: color-mix(in srgb, var(--aqua) 35%, #fff); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); filter: saturate(.92) contrast(1.02); }
.photo:hover img { transform: scale(1.04); }
.photo-missing { position: absolute; inset: 0; width: 100%; height: 100%; font-size: 12px; border-radius: inherit; }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter);
  transition: transform .45s var(--ease), background-color .3s, box-shadow .3s;
}
.hdr.is-solid { background: var(--aqua); box-shadow: 0 1px 0 rgba(23, 95, 93, .16); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-logo { display: inline-flex; align-items: center; position: relative; z-index: 2; text-decoration: none; }
.hdr-nav { display: flex; gap: clamp(18px, 1.69vw, 26px); }
.hdr-link { position: relative; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }
.hdr-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.hdr-link:hover::after, .hdr-link.is-on::after { transform: scaleX(1); transform-origin: left; }
.hdr-actions { display: flex; align-items: center; gap: 22px; position: relative; z-index: 2; }
.hdr-burger { display: none; min-height: 44px; min-width: 64px; padding: 0 14px; border: 1.5px solid currentColor; border-radius: 4px; background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; }
.hdr.is-open { background: transparent; box-shadow: none; color: #fff; }
.menu {
  position: fixed; inset: 0; z-index: 1; background: var(--bordo); color: #fff;
  padding: 110px 24px max(32px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between;
}
.menu ul { display: flex; flex-direction: column; gap: 4px; }
.menu li a { display: block; text-decoration: none; font-weight: 800; font-size: clamp(38px, 7.74vw, 38px); line-height: 1.08; text-transform: uppercase; letter-spacing: -.02em; }
.menu-foot { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.menu-foot .btn { width: 100%; }

@media (max-width: 1080px) {
  .hdr-nav, .hdr-login, .hdr-cta { display: none; }
  .hdr-burger { display: inline-flex; align-items: center; justify-content: center; }
  .hdr { height: 64px; }
}

/* =========================================================
   INTRO
   ========================================================= */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--aqua); display: grid; place-items: center; cursor: pointer; }
.intro-mark { position: relative; width: min(clamp(280px, 40.83vw, 436px), 84vw); }
.intro-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro-outline path { fill: none; stroke: var(--turq-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.intro-fill-vec path { fill: var(--turq-dark); fill-rule: evenodd; }
.intro-fill { position: absolute; inset: 0; background: var(--turq-dark); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.intro-controls { position: absolute; right: var(--gutter); bottom: 16px; display: flex; gap: 4px; }
.intro-btn { min-height: 44px; padding: 0 12px; background: none; border: 0; border-radius: 8px; color: var(--turq-dark); font: inherit; font-weight: 500; font-size: 14px; cursor: pointer; }
.intro-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.intro-btn:focus-visible { outline: 2px solid var(--turq-dark); outline-offset: 2px; }
@media (max-width: 500px) { .intro-mark { width: 84vw; } }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; background: var(--aqua); display: flex; flex-direction: column; align-items: center; padding: clamp(120px, 17vh, 180px) var(--gutter) 0; overflow: hidden; }
.hero-bg { position: absolute; inset: -40px 0 0; z-index: 0; }
.hero-photo { position: absolute; inset: 0; background: transparent; }
.hero-photo img { filter: grayscale(.35) contrast(1.05); }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--aqua) 80%, transparent) 0%, color-mix(in srgb, var(--aqua) 72%, transparent) 55%, var(--aqua) 100%); }
.hero-missing { position: absolute; left: var(--gutter); bottom: 28px; inset-inline-end: auto; top: auto; width: auto; height: auto; padding: 8px 12px; font-size: 10px; flex-direction: row; gap: 8px; z-index: 2; }
.hero-in { position: relative; z-index: 2; text-align: center; max-width: 1200px; }
.hero-title { font-size: clamp(36px, 4.44vw, 76px); line-height: .96; letter-spacing: -.03em; color: var(--ink); }
.hero-title span { display: block; }
.hero-title .l1 { color: var(--turq-dark); }
.hero-title em { color: var(--bordo); }
.hero-lead { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; margin: 30px auto 0; max-width: 40ch; }
.hero-lead b { font-weight: 700; }
.hero-sub { font-size: clamp(15px, 1.15vw, 17px); margin: 10px auto 0; max-width: 46ch; opacity: .8; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.hero-pass { position: relative; z-index: 2; width: 100vw; display: flex; justify-content: center; margin-top: clamp(48px, 7vh, 80px); padding-bottom: clamp(56px, 9vh, 96px); perspective: 1400px; }
.hero-line { position: absolute; left: 0; top: 52%; width: 100%; height: 40px; pointer-events: none; overflow: visible; }

/* =========================================================
   PASE VESPA
   ========================================================= */
.pass-stage { --pw: clamp(290px, 20.42vw, 303px); display: flex; flex-direction: column; align-items: center; perspective: 1500px; }
.pass-lg { --pw: clamp(300px, min(31vw, 54vh), 460px); }
.pass-sm { --pw: clamp(250px, 16.9vw, 239px); }
.pass-float { position: relative; transform-style: preserve-3d; }
.pass {
  position: relative; width: var(--pw); aspect-ratio: 1.586; border-radius: calc(var(--pw) * .05);
  transform-style: preserve-3d; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none;
}
.pass:active { cursor: grabbing; }
.pass:focus-visible { outline: 3px solid var(--bordo); outline-offset: 10px; }
.pass-slice { position: absolute; inset: 0; border-radius: inherit; background: var(--pedge); }
.pass-face { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; container-type: inline-size; }
.pass-front { transform: translateZ(2.4px); }
.pass-back { transform: rotateY(180deg) translateZ(2.4px); }
.pass:not(.is-back) .pass-back, .pass.is-back .pass-front { pointer-events: none; }
.pass-shadow { position: absolute; left: 6%; right: 6%; bottom: -16%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 30, 30, .38), rgba(10, 30, 30, 0)); filter: blur(8px); z-index: -1; pointer-events: none; }
.pass-hint { margin-top: 44px; font-size: 13px; font-weight: 500; opacity: .7; text-align: center; }
.pass-hint.light { color: #fff; }

.tone-neutral { --pbg: #FFFFFF; --pink: var(--turq-dark); --phead: var(--aqua); --pedge: #CFE3E1; }
.tone-amarillo { --pbg: var(--amarillo); --pink: var(--ink); --phead: var(--bordo); --pedge: #D9BC68; }
.tone-aqua { --pbg: var(--aqua); --pink: var(--turq-dark); --phead: var(--turq-dark); --pedge: #86BDB9; }
.tone-coral { --pbg: var(--coral); --pink: var(--ink); --phead: var(--bordo); --pedge: #C66E66; }
.tone-mostaza { --pbg: var(--mostaza); --pink: var(--ink); --phead: var(--bordo); --pedge: #A88220; }
.tone-completo { --pbg: var(--crema); --pink: var(--ink); --phead: var(--bordo); --pedge: #D6CCB7; }

.pf, .pb { position: absolute; inset: 0; background: var(--pbg); color: var(--pink); transition: background-color .8s var(--ease), color .8s var(--ease); }
.pf { padding: 6cqw 6.5cqw 5.5cqw; display: flex; flex-direction: column; justify-content: space-between; }
.pf::after, .pb::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(118deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, 0) 38%), radial-gradient(120% 80% at 100% 100%, rgba(0, 0, 0, .06), transparent 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.pf-head { position: absolute; right: -15cqw; top: -18cqw; transition: background-color .8s var(--ease); }
.pf-bands { position: absolute; left: 0; right: 0; bottom: 0; height: 2.6cqw; display: flex; }
.pf-bands i:nth-child(1) { flex: 1; background: var(--amarillo); }
.pf-bands i:nth-child(2) { flex: 1; background: var(--aqua); }
.pf-bands i:nth-child(3) { flex: 1; background: var(--coral); }
.pf-bands i:nth-child(4) { flex: 1; background: var(--mostaza); }
.pf-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 3cqw; }
.pf-logo.missing { font-size: 1.9cqw; padding: .6cqw 1.2cqw; }
.pf-status { display: inline-flex; align-items: center; gap: 1.3cqw; font-size: 2.5cqw; font-weight: 700; letter-spacing: .04em; padding: 1cqw 2.2cqw; border-radius: 99px; background: rgba(255, 255, 255, .7); color: var(--ink); white-space: nowrap; }
.pf-status i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--bordo); }
.pf-status.is-neutral i { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.pf-status.is-pendiente i { background: var(--mostaza); }
.pf-status.is-vencido i { background: var(--coral); }
.pf-mid { position: relative; z-index: 1; }
.pf-title { font-size: 10.6cqw; font-weight: 800; line-height: .9; letter-spacing: -.03em; }
.pf-title span { font-weight: 300; }
.pf-name { display: inline-block; margin-top: 3.4cqw; font-size: 4.3cqw; font-weight: 600; letter-spacing: .01em; line-height: 1.1; }
.pf-name.is-placeholder { opacity: .7; padding-bottom: .5cqw; border-bottom: 1px dashed currentColor; min-width: 34cqw; }
.pf-sub { margin-top: 1.4cqw; font-size: 2.7cqw; opacity: .8; }
.pf-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 2cqw; }
.pf-meta small { display: block; font-size: 2.3cqw; opacity: .7; }
.pf-meta b { font-size: 3.2cqw; font-weight: 700; }
.pf-cero { margin-left: auto; margin-right: 1cqw; font-size: 2cqw; line-height: 1.05; font-weight: 800; color: var(--bordo); border: 1.5px solid var(--bordo); padding: 1cqw 1.3cqw; border-radius: 1cqw; transform: rotate(-7deg); text-align: center; }
.pf-stamps { display: flex; gap: 1.6cqw; }
.stamp { position: relative; width: 11.5cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 1px dashed currentColor; opacity: .55; }
.stamp b { position: relative; z-index: 1; font-size: 3cqw; font-weight: 600; }
.stamp-en-curso { opacity: 1; border: 1.5px solid var(--bordo); color: var(--bordo); }
.stamp-sellado { opacity: 1; border: 0; background: var(--bordo); color: #fff; transform: rotate(-9deg); box-shadow: inset 0 0 0 .6cqw rgba(255, 255, 255, .18); }
.stamp-head { position: absolute; opacity: .3; }

.pb { padding: 6cqw; display: grid; grid-template-columns: 36cqw 1fr; gap: 5cqw; align-items: center; }
.pb-qr { position: relative; z-index: 1; }
.pb-qr .qr { width: 100%; height: auto; border-radius: 2cqw; display: block; }
.qr-dim { opacity: .35; filter: blur(.4px); }
.pb-qr small { display: block; margin-top: 1.6cqw; font-size: 2.3cqw; opacity: .75; text-align: center; }
.pb-info { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2.2cqw; }
.pb-info small { display: block; font-size: 2.3cqw; opacity: .7; }
.pb-info b { font-size: 3.3cqw; font-weight: 700; line-height: 1.2; }
.pb-actions { display: flex; flex-wrap: wrap; gap: 1.6cqw; margin-top: 1cqw; }
.pb-btn { font-size: 2.7cqw; font-weight: 600; padding: 1.8cqw 2.8cqw; border-radius: 99px; border: 1px solid currentColor; background: transparent; cursor: pointer; transition: background .3s, color .3s; }
.pb-btn:hover { background: var(--pink); color: var(--pbg); }
.pb-btn-solid { background: var(--bordo); border-color: var(--bordo); color: #fff; }
.pb-btn-solid:hover { background: var(--bordo-deep); color: #fff; }

.pass-static { --pw: var(--pw-s, 220px); position: relative; width: var(--pw); aspect-ratio: 1.586; border-radius: calc(var(--pw) * .05); box-shadow: 0 2px 3px rgba(0, 0, 0, .08), 0 18px 30px -14px rgba(0, 0, 0, .35); }
.pass-static .pass-face { transform: none; }

/* =========================================================
   SECCIONES
   ========================================================= */
.sec { position: relative; padding: var(--sec-pad) var(--gutter); }
.sec-white { background: #fff; }
.sec-aqua { background: var(--aqua); }
.sec-turq { background: var(--turq-dark); color: #fff; }
.sec-bordo { background: var(--bordo); color: #fff; }

/* Clase Cero */
.cc-visual { position: relative; max-width: 680px; margin: clamp(40px, 4.22vw, 56px) auto; }
.cc-photo { aspect-ratio: 3 / 2; border-radius: 22px; background: transparent; overflow: visible; }
.cc-photo img { object-fit: contain; }
.cc-illu { width: 100%; height: 100%; object-fit: contain; }
.cc-facts { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1.5px solid var(--ink); border-bottom: 1px solid rgba(23, 23, 23, .15); }
.cc-facts li { padding: 26px 20px 28px; border-left: 1px solid rgba(23, 23, 23, .15); }
.cc-facts li:first-child { border-left: 0; padding-left: 0; }
.cc-facts b { display: block; font-weight: 800; font-size: clamp(22px, 1.62vw, 26px); line-height: 1.05; letter-spacing: -.02em; color: var(--turq-dark); }
.cc-facts span { font-weight: 300; font-size: 17px; }
.cc-foot { margin-top: 56px; display: flex; flex-direction: column; gap: 6px; }

/* Pase */
.pase-sec { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.pase-stage { margin: clamp(56px, 8vh, 96px) 0 8px; }
.pase-legend { margin-top: 28px; font-size: 14px; opacity: .85; text-align: center; }
.pase-legend b { font-weight: 700; }

/* =========================================================
   RECORRIDO
   ========================================================= */
.rec { position: relative; }
.rec-h { background: #fff; }
.rec-scroller { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; height: clamp(620px, 92vh, 860px); }
.rec-scroller::-webkit-scrollbar { display: none; }
.rec-scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rec-scroller:focus-visible { outline-offset: -4px; }
.rec-track { position: relative; display: flex; height: 100%; width: max-content; }
.rec-track > .ch { scroll-snap-align: start; }
.rec-line { position: absolute; left: 0; bottom: 0; z-index: 5; pointer-events: none; }
.rec-line-v { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; }
.rec-nav { position: absolute; top: 28px; right: var(--gutter); z-index: 6; display: flex; align-items: center; gap: 10px; }
.rec-count { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; margin-right: 6px; }
.rec-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: rgba(255, 255, 255, .85); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.rec-arrow:hover:not(:disabled) { background: var(--ink); color: #fff; }
.rec-arrow:disabled { opacity: .3; cursor: default; }

.ch { position: relative; flex: none; width: 100vw; height: 100%; overflow: hidden; padding: 88px clamp(40px, 4vw, 64px) 128px; }
.ch-white { background: #fff; }
.ch-aqua { background: var(--aqua); }
.ch-coral { background: #F6CFCA; }
.ch-mostaza { background: #FBF1CF; }
.ch-gate { width: 78vw; background: #fff; }
.ch-intro { width: 82vw; }
.ch-final { width: 100vw; }
.rec-intro { height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 980px; }
.rec-final { height: 100%; display: grid; grid-template-columns: 1fr 1.05fr; gap: 4vw; align-items: center; }
.fin-vespa { height: 100%; min-height: 0; display: flex; align-items: center; }
.giro { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.giro-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 52vh; display: grid; place-items: center; }
.giro-floor { position: absolute; left: 10%; right: 10%; bottom: 6%; height: 18%; border-radius: 50%; border: 6px solid var(--bordo); }
.giro-bike { position: relative; width: 82%; }
.giro-bike img { width: 100%; height: auto; user-select: none; }
.giro-tint { position: absolute; inset: 0; mix-blend-mode: color; opacity: .92; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.giro-missing { position: absolute; top: 0; right: 0; width: auto; height: auto; padding: 6px 10px; font-size: 10px; }
.giro-chips { display: flex; align-items: center; gap: 10px; }
.giro-chip { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); border: 2px solid #fff; box-shadow: 0 0 0 1.5px rgba(23, 23, 23, .25); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; padding: 0; }
.giro-chip.is-on { transform: scale(1.2); box-shadow: 0 0 0 2px var(--ink); }
.giro-name { font-weight: 600; font-size: 14px; min-width: 8ch; }
.rec-scroll-hint { margin-top: 40px; font-weight: 600; color: var(--bordo); }
.three-ways { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; max-width: 900px; }
.three-ways li { font-weight: 700; font-size: clamp(20px, 1.55vw, 23px); padding: 22px 16px 0 0; border-top: 3px solid var(--ink); }

.ch-grid { height: 100%; display: grid; grid-template-columns: 1.05fr 1fr; gap: 4vw; align-items: center; }
.ch-copy { position: relative; }
.ch-num { display: block; font-weight: 800; font-size: min(15vh, 10.5vw); line-height: .8; letter-spacing: -.04em; font-style: italic; font-weight: 800; padding-right: .08em; color: #fff; margin-bottom: 2vh; }
.ch-coral .ch-num { color: var(--bordo); opacity: .9; }
.ch-title > span { display: block; }
.ch-title .w300 { font-size: clamp(16px, 1.3vw, 20px); letter-spacing: .02em; }
.ch-title .w800 { font-size: clamp(44px, 3.66vw, 65px); line-height: .92; letter-spacing: -.03em; }
.ch-lead { font-size: clamp(16px, 1.15vw, 18px); font-weight: 500; line-height: 1.4; max-width: 36ch; margin: 18px 0 22px; }
.ch-facts { columns: 2; column-gap: 28px; max-width: 640px; }
.ch-facts li { break-inside: avoid; font-size: 15px; padding: 9px 0; border-top: 1px solid rgba(23, 23, 23, .2); }
.ch-note { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--turq-dark); }
.ch-visual { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.ch-illu { max-height: 38vh; width: auto; max-width: 100%; object-fit: contain; }
.evo { display: flex; align-items: center; gap: 22px; }
.evo-pass { --pw-s: clamp(170px, 9.86vw, 155px); transform: rotate(-5deg); flex: none; }
.evo-t { font-size: 14px; line-height: 1.45; max-width: 30ch; }
.evo-t b { display: block; font-weight: 700; }
.ch-moments { display: grid; gap: 0; max-width: 620px; counter-reset: m; }
.ch-moments li { padding: 16px 0 16px 52px; border-top: 1.5px solid var(--ink); position: relative; counter-increment: m; }
.ch-moments li::before { content: counter(m); position: absolute; left: 0; top: 12px; font-weight: 800; font-size: 30px; line-height: 1; }
.ch-moments li.is-yellow { background: linear-gradient(90deg, var(--amarillo), var(--amarillo)) 0 0 / 100% 100% no-repeat; padding-right: 16px; }
.ch-moments li.is-yellow::before { left: 14px; }
.ch-moments li.is-yellow { padding-left: 64px; }
.ch-moments b { display: block; font-weight: 800; font-size: 20px; }
.ch-moments span { font-size: 15px; }
.ch-checks { margin-top: 18px; font-size: 15px; max-width: 60ch; }

.gate { height: 100%; display: flex; align-items: center; justify-content: center; gap: clamp(32px, 3.52vw, 56px); }
.gate-door { flex: 0 1 auto; width: min(46vw, 620px); }
.gate-door img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; }
.gate-copy { max-width: 440px; }
.gate-title > span { display: block; }
.gate-title .w800 { font-size: clamp(40px, 3.24vw, 56px); line-height: .92; letter-spacing: -.03em; color: var(--bordo); }
.gate-title .w300 { font-size: clamp(22px, 1.41vw, 21px); line-height: 1.15; margin: 10px 0 20px; }
.gate-copy p { font-size: 17px; }

.ch-3 { width: 120vw; display: flex; flex-direction: column; justify-content: space-between; }
.ch3-kicker { font-size: clamp(15px, 1.2vw, 19px); }
.ch3-title { margin-top: 1vh; color: var(--ink); }
.ch3-title > span { display: block; font-size: clamp(72px, 8.8vw, 176px); line-height: .82; letter-spacing: -.045em; }
.ch3-title .w300 { color: var(--mostaza); }
.ch3-body { display: grid; grid-template-columns: 1fr 1.1fr auto; gap: 3vw; align-items: end; }
.ch3-inst { margin-top: 14px; font-size: 17px; max-width: 40ch; }
.ch3-inst b { font-weight: 800; }
.ch3-illu { max-height: 28vh; }

/* Recorrido vertical (mobile / movimiento reducido) */
.rec-v .ch, .rec-v .ch-gate, .rec-v .ch-intro, .rec-v .ch-final, .rec-v .ch-3 { width: auto; height: auto; min-height: 0; padding: 96px var(--gutter) 96px calc(var(--gutter) + 34px); }
.rec-v .rec-final { grid-template-columns: 1fr; gap: 40px; }
.rec-v .ch-3 { gap: 48px; }
@media (max-width: 979px) {
  .ch-grid { grid-template-columns: 1fr; gap: 40px; }
  .ch-num { font-size: clamp(96px, 21.12vw, 113px); }
  .ch-facts { columns: 1; }
  .ch-illu { max-height: none; width: 100%; }
  .gate { flex-direction: column; align-items: flex-start; }
  .gate-door { width: 100%; }
  .ch3-body { grid-template-columns: 1fr; }
  .ch3-title > span { font-size: clamp(46px, 10.21vw, 84px); }
  .evo { flex-direction: column; align-items: flex-start; }
  .three-ways { grid-template-columns: 1fr; }
  .three-ways li { padding: 18px 0; }
}

/* =========================================================
   BENEFICIOS (mapa)
   ========================================================= */
.ben-head { margin-bottom: 44px; }
.benefits { max-width: 1160px; margin: 0 auto; position: relative; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(23, 95, 93, .4); background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .25s, color .25s, border-color .25s; color: var(--turq-dark); }
.filter:hover { border-color: var(--turq-dark); }
.filter.is-on { background: var(--turq-dark); color: #fff; border-color: var(--turq-dark); }
.map-shell { position: relative; height: min(76vh, 720px); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(23, 95, 93, .55); background: #DCEDEB; isolation: isolate; }
.map { position: absolute; inset: 0; background: #DCEDEB; font-family: 'Poppins', sans-serif; }
.map-tiles { filter: grayscale(1) sepia(.18) hue-rotate(128deg) saturate(1.5) brightness(1.04) contrast(.92); }
.leaflet-container { font: inherit; }
.leaflet-control-attribution { font-size: 10px; }
.leaflet-bar a { color: var(--turq-dark); }
.map-state { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 600; background: #fff; padding: 14px 20px; border-radius: 12px; font-weight: 500; font-size: 14px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-card); text-align: center; }
.map-state.is-error { color: var(--bordo); }
.map-note { position: absolute; left: 12px; top: 12px; z-index: 500; background: #fff; font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.pin-wrap { background: none; border: 0; }
.pin { width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; }
.pin i { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--bordo); box-shadow: 0 3px 8px rgba(0, 0, 0, .25); transition: transform .3s var(--ease), background .3s, border-color .3s; }
.pin:hover i { transform: scale(1.45); background: var(--bordo); }
.pin.is-active i { transform: scale(1.75); background: var(--coral); border-color: var(--bordo); }
.pin.is-dim i { border-color: #8a8a8a; }
.pin-origin { display: block; width: 16px; height: 16px; background: var(--turq-dark); border: 3px solid #fff; transform: rotate(45deg); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.pin-sede { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bordo); color: #fff; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.pin-sede:hover { transform: scale(1.12); }
.pin-sede b { font-weight: 800; font-size: 15px; }
.leaflet-tooltip.sede-tip { background: #fff; border: 0; border-radius: 6px; font-weight: 600; font-size: 13px; color: var(--ink); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .3); padding: 6px 10px; }
.leaflet-tooltip.sede-tip::before { display: none; }
.ficha { position: absolute; top: 20px; right: 20px; bottom: 20px; width: 370px; z-index: 700; background: #fff; border-radius: 18px; border: 1px solid rgba(23, 23, 23, .08); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .4); overflow: auto; }
.ficha-in { padding: 26px 28px 28px; }
.ficha-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ficha-cat { font-size: 13px; font-weight: 600; color: var(--turq-dark); }
.ficha-close { min-height: 40px; padding: 0 12px; border: 1px solid rgba(23, 23, 23, .2); border-radius: 6px; background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.ficha-close:hover { border-color: var(--ink); }
.ficha-name { font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -.01em; }
.ficha-dir { margin-top: 6px; font-size: 14px; opacity: .7; }
.ficha-benefit { margin-top: 22px; font-weight: 800; font-size: 24px; line-height: 1.15; color: var(--bordo); }
.ficha-dl { margin: 22px 0 0; display: grid; gap: 14px; }
.ficha-dl div { padding-top: 12px; border-top: 1px solid rgba(23, 23, 23, .1); }
.ficha-dl dt { font-size: 12px; font-weight: 500; opacity: .6; }
.ficha-dl dd { margin: 2px 0 0; font-size: 15px; }
.ficha-lock { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; font-size: 14px; background: var(--crema); padding: 14px; border-radius: 10px; }
.ficha-demo { margin-top: 18px; font-size: 12px; opacity: .6; }
.benefit-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); column-gap: 28px; margin-top: 28px; }
.benefit-list button { width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid rgba(23, 95, 93, .25); padding: 14px 0; cursor: pointer; min-height: 48px; }
.benefit-list button:hover b, .benefit-list button.is-on b { color: var(--bordo); }
.benefit-list b { display: block; font-weight: 600; font-size: 15px; transition: color .2s; }
.benefit-list span { font-size: 13px; opacity: .75; }
.sheet-bg { position: fixed; inset: 0; z-index: 900; background: rgba(23, 23, 23, .35); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 901; background: #fff; border-radius: 22px 22px 0 0; max-height: 80svh; overflow: auto; box-shadow: 0 -20px 40px rgba(0, 0, 0, .18); padding-bottom: env(safe-area-inset-bottom); touch-action: none; }
.sheet .ficha-in { padding: 8px 24px 32px; }
.sheet-grip { display: block; width: 44px; height: 5px; border-radius: 9px; background: rgba(23, 23, 23, .2); margin: 10px auto 8px; }

/* =========================================================
   PRECIO
   ========================================================= */
/* (precio: ver bloque PROGRAMA al final) */

/* =========================================================
   SEDE
   ========================================================= */
.sede-list { max-width: 1160px; margin: clamp(56px, 4.93vw, 70px) auto; display: flex; flex-direction: column; gap: clamp(56px, 4.93vw, 77px); }
.sede-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: 5vw; align-items: center; }
.sede-row.is-rev { grid-template-columns: 1fr 1.45fr; }
.sede-row.is-rev .sede-photo { order: 2; }
.sede-photo { aspect-ratio: 16 / 10; border-radius: 20px; }
.sede-n { display: block; font-weight: 800; font-size: clamp(56px, 4.22vw, 68px); line-height: .9; color: var(--aqua); letter-spacing: -.04em; }
.sede-copy h3 { margin-top: 8px; color: var(--turq-dark); }
.sede-rol { margin: 12px 0 10px; font-weight: 700; font-size: 18px; color: var(--bordo); }
.sede-copy p { max-width: 42ch; }
.sede-copy .muted { margin-top: 10px; }
.sedes-map-shell { max-width: 1160px; margin: 0 auto; height: min(60vh, 520px); }
.encuentro { max-width: 1160px; margin: clamp(56px, 4.93vw, 77px) auto 0; background: var(--crema); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.encuentro-in { padding: clamp(32px, 3.52vw, 45px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.encuentro-in .t-l { text-transform: uppercase; color: var(--turq-dark); }
.encuentro-lead { font-size: clamp(20px, 1.44vw, 21px); font-weight: 600; line-height: 1.3; }
.encuentro-items { font-size: 17px; }
.encuentro-photo { min-height: 340px; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { background: var(--aqua); padding: var(--sec-pad) var(--gutter) 32px; }
.foot-cta { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.foot-big { font-size: clamp(40px, 4.36vw, 76px); line-height: .95; letter-spacing: -.03em; }
.foot-big span { display: block; }
.foot-big .w800 { color: var(--turq-dark); }
.foot-row { margin-top: clamp(72px, 6.34vw, 99px); padding-top: 28px; border-top: 1px solid rgba(23, 95, 93, .25); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.foot-row nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-legal { font-size: 13px; opacity: .7; width: 100%; }

/* Toasts */
.toaster { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 440px); }
.toast { background: var(--turq-dark); color: #fff; padding: 14px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .4); text-align: center; }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 760px) {
  :root { --gutter: 22px; --sec-pad: 88px; }
  .t-xl { font-size: clamp(36px, 8.03vw, 37px); line-height: .98; }
  .hero { padding-top: 112px; }
  .hero-title { font-size: clamp(36px, 7.88vw, 37px); line-height: 1; }
  .hero-ctas { flex-direction: column; gap: 8px; }
  .hero-ctas .btn { width: 100%; max-width: 360px; }
  .pass-stage, .pass-lg, .pass-sm { --pw: min(calc(100vw - 44px), 380px); }
  .cc-facts { grid-template-columns: 1fr; }
  .cc-facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-left: 0; border-top: 1px solid rgba(23, 23, 23, .12); }
  .cc-facts li:first-child { border-top: 0; }
  .cc-facts b { font-size: 24px; }
  .cc-facts span { font-size: 15px; text-align: right; }
  .pending-tag { position: static; display: inline-block; margin-top: 8px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 16px; padding: 0 var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .map-shell { height: 66svh; border-radius: 14px; }
  .benefit-list { grid-template-columns: 1fr; }
  .sede-row, .sede-row.is-rev { grid-template-columns: 1fr; gap: 24px; }
  .sede-row.is-rev .sede-photo { order: 0; }
  .sede-photo { border-radius: 14px; }
  .sedes-map-shell { height: 420px; }
  .encuentro { grid-template-columns: 1fr; border-radius: 16px; }
  .encuentro-photo { min-height: 220px; }
  .foot-big { font-size: clamp(36px, 7.74vw, 37px); }
  .foot-cta .btn { width: 100%; }
  .ch-title .w800 { font-size: clamp(40px, 8.45vw, 37px); }
  .ch3-title > span { font-size: 11.4vw; }
  .rec-v .ch3-title .w300 { transform: none !important; }
  .hero-title .l1 { font-size: .86em; }
}

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

/* =========================================================
   FORMULARIOS
   ========================================================= */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .fieldset legend { font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid rgba(23, 23, 23, .18);
  background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(23, 23, 23, .35); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--turq-dark); box-shadow: 0 0 0 4px rgba(36, 125, 120, .18); }
.has-error input, .has-error textarea { border-color: var(--bordo); }
.has-error input:focus { box-shadow: 0 0 0 4px rgba(123, 24, 53, .15); }
.field-hint { font-size: 13px; opacity: .65; }
.field-error { display: block; font-size: 13px; font-weight: 500; color: var(--bordo); margin-top: 4px; }
.field-error a { font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.form-stack { display: flex; flex-direction: column; gap: 28px; }
.span-2 { grid-column: span 2; }
.fieldset { border: 0; padding: 0; margin: 8px 0 0; min-width: 0; }
.fieldset legend { margin-bottom: 12px; font-size: 16px; font-weight: 700; }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-inline { grid-template-columns: repeat(2, minmax(0, 160px)); }
.choice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid rgba(23, 23, 23, .15); background: #fff; cursor: pointer; font-size: 15px; transition: border-color .2s, background .2s; }
.choice input { position: absolute; opacity: 0; }
.choice::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(23, 23, 23, .4); transition: border .2s; }
.choice.is-on { border-color: var(--bordo); background: #FBF3F5; }
.choice.is-on::before { border: 6px solid var(--bordo); }
.choice:has(input:focus-visible) { outline: 3px solid var(--bordo); outline-offset: 2px; }
.consents { display: flex; flex-direction: column; gap: 10px; }
.consent { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 12px; border: 1.5px solid rgba(23, 23, 23, .12); background: #fff; cursor: pointer; font-size: 14px; line-height: 1.45; transition: border-color .2s; }
.consent input { position: absolute; opacity: 0; }
.consent b { font-weight: 700; font-size: 15px; }
.consent-box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(23, 23, 23, .4); margin-top: 1px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.consent.is-on { border-color: var(--turq-dark); }
.consent.is-on .consent-box { background: var(--turq-dark); border-color: var(--turq-dark); }
.consent.is-on .consent-box::after { content: ''; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.consent.has-error { border-color: var(--bordo); }
.consent:has(input:focus-visible) { outline: 3px solid var(--bordo); outline-offset: 2px; }
.req, .opt { font-size: 11px; font-weight: 600; margin-left: 6px; padding: 2px 8px; border-radius: 99px; }
.req { background: var(--bordo); color: #fff; }
.opt { background: var(--aqua); color: var(--turq-dark); }
.banner { padding: 14px 18px; border-radius: 12px; background: var(--amarillo); font-size: 14px; margin-bottom: 20px; }
.banner a { font-weight: 700; }
.banner-error { background: #F7DAD6; color: var(--bordo); }
.empty { padding: 32px 0; font-size: 17px; }
.skel { display: block; border-radius: 12px; background: linear-gradient(90deg, rgba(23, 95, 93, .08) 25%, rgba(23, 95, 93, .16) 50%, rgba(23, 95, 93, .08) 75%); background-size: 300% 100%; animation: load 1.2s linear infinite; }
.skel-row { display: flex; gap: 10px; margin-bottom: 28px; }
.skel-date { width: 74px; height: 92px; }
.skel-slot { height: 84px; }

/* =========================================================
   RESERVA
   ========================================================= */
.flow { min-height: 100svh; display: grid; grid-template-columns: minmax(340px, .8fr) 1.2fr; background: #fff; }
.flow-aside { position: sticky; top: 0; height: 100svh; background: var(--aqua); padding: 36px clamp(28px, 2.82vw, 45px); display: flex; flex-direction: column; }
.flow-aside-in { margin-top: auto; margin-bottom: auto; }
.flow-count { font-size: 15px; margin-bottom: 18px; }
.flow-count b { font-weight: 800; font-size: 28px; color: var(--bordo); }
.flow-title { font-size: clamp(40px, 3.24vw, 54px); line-height: .94; letter-spacing: -.03em; margin-bottom: 22px; }
.flow-title span { display: block; }
.flow-title .w800 { color: var(--turq-dark); }
.flow-aside-in > p { max-width: 34ch; }
.flow-sel { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(23, 95, 93, .3); }
.flow-sel b { font-weight: 700; text-transform: capitalize; }
.flow-main { padding: 36px clamp(24px, 3.52vw, 56px) 140px; max-width: 860px; width: 100%; }
.flow-top { display: flex; justify-content: flex-end; align-items: center; min-height: 48px; margin-bottom: 24px; }
.flow-logo-m { display: none; }
.flow-top-aqua { justify-content: space-between; padding: 20px var(--gutter); margin: 0; }
.progress { height: 3px; background: rgba(23, 23, 23, .08); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--bordo); transition: width .6s var(--ease); }
.steps { display: flex; gap: 22px; margin: 14px 0 36px; font-size: 13px; }
.steps li { opacity: .45; }
.steps li.is-on { opacity: 1; font-weight: 700; }
.steps li.is-done { opacity: .75; }
.step-title { font-size: clamp(30px, 2.39vw, 33px); line-height: 1; letter-spacing: -.02em; margin-bottom: 28px; text-transform: uppercase; }
.step-place { margin-bottom: 18px; font-size: 15px; }
.step-place b { font-weight: 700; }
.step-sub { margin: 26px 0 14px; font-weight: 600; font-size: 18px; text-transform: capitalize; }
.date-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.date-chip { flex: none; scroll-snap-align: start; width: 76px; min-height: 92px; border-radius: 14px; border: 1.5px solid rgba(23, 23, 23, .14); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.date-chip span { font-size: 12px; text-transform: capitalize; opacity: .7; }
.date-chip b { font-weight: 800; font-size: 28px; line-height: 1; }
.date-chip:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
.date-chip.is-on { background: var(--bordo); border-color: var(--bordo); color: #fff; }
.date-chip.is-on span { opacity: .85; }
.date-chip:disabled { opacity: .35; cursor: not-allowed; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.slot { min-height: 84px; border-radius: 16px; border: 1.5px solid rgba(23, 23, 23, .12); background: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 14px 18px; cursor: pointer; box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.slot b { font-weight: 800; font-size: 24px; }
.slot span { font-size: 13px; opacity: .7; }
.slot:hover:not(:disabled) { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.slot.is-on { border-color: var(--bordo); box-shadow: 0 0 0 3px rgba(123, 24, 53, .18), var(--shadow-card); }
.slot.is-on b { color: var(--bordo); }
.slot:disabled { opacity: .4; box-shadow: none; cursor: not-allowed; background: #F3F3F1; }
.review { margin: 0; border-top: 1.5px solid var(--ink); }
.review-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(23, 23, 23, .12); align-items: baseline; }
.review-row dt { font-size: 13px; opacity: .65; }
.review-row dd { margin: 0; font-weight: 500; }
.review-edit { background: none; border: 0; font-weight: 600; font-size: 13px; color: var(--bordo); cursor: pointer; min-height: 40px; }
.review-note { margin-top: 18px; }
.flow-actions { position: sticky; bottom: 0; margin-top: 40px; padding: 18px 0 max(18px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 30%); }

.done { min-height: 100svh; background: var(--aqua); }
.done-grid { max-width: 1160px; margin: 0 auto; padding: 24px var(--gutter) 120px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 5vw; align-items: start; }
.done-copy .t-xl { color: var(--ink); }
.done-copy .t-xl .w800 { color: var(--turq-dark); }
.done-copy .lead { text-transform: none; }
.done-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 40px 0 32px; }
.turno-card { display: flex; gap: 18px; align-items: flex-start; }
.turno-date { flex: none; width: 72px; height: 78px; border-radius: 12px; background: var(--amarillo); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.turno-date b { font-weight: 800; font-size: 30px; line-height: 1; }
.turno-date span { font-size: 12px; font-weight: 600; text-transform: uppercase; }
.card-t { font-weight: 700; font-size: 19px; line-height: 1.2; margin-bottom: 4px; }
.card-k { font-size: 13px; font-weight: 600; color: var(--bordo); margin-bottom: 12px; }
.wa-card { background: #F3FAF9; }
.wa-head { font-size: 13px; margin-bottom: 12px; }
.wa-head b { font-weight: 700; }
.wa-bubble { background: #fff; border-radius: 4px 14px 14px 14px; padding: 12px 14px; font-size: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.llevar { margin-bottom: 36px; }
.llevar ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 8px; }
.llevar li { font-size: 16px; padding-left: 16px; position: relative; }
.llevar li::before { content: ''; position: absolute; left: 0; top: .7em; width: 7px; height: 2px; background: var(--bordo); }
.done-pass { position: sticky; top: 40px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 40px; }
.done-pass-t { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; max-width: 32ch; }

/* =========================================================
   LOGIN
   ========================================================= */
.login { min-height: 100svh; background: var(--aqua); }
.login-in { max-width: 520px; margin: 0 auto; padding: 32px var(--gutter) 96px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.login-head { margin-top: 2vh; }
.login-form { width: 100%; display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.code-input { letter-spacing: .5em; font-size: 24px !important; font-weight: 600; text-align: center; }
.login-alt { font-size: 15px; }
.login-alt a { font-weight: 700; }

/* =========================================================
   PERFIL
   ========================================================= */
.perfil { min-height: 100svh; }
.p-aqua { background: var(--aqua); }
.p-turq { background: var(--turq-dark); }
.p-white { background: #fff; }
.phdr { position: sticky; top: 0; z-index: 60; height: 72px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: inherit; box-shadow: 0 1px 0 rgba(23, 23, 23, .08); }
.p-turq .phdr { color: #fff; }
.phdr-nav { display: flex; gap: clamp(18px, 1.83vw, 28px); }
.phdr-user { justify-self: end; display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bordo); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.phdr-name { font-weight: 600; font-size: 15px; }
.phdr-out { background: none; border: 0; font-size: 14px; cursor: pointer; opacity: .7; min-height: 44px; padding: 0 6px; color: inherit; }
.phdr-out:hover { opacity: 1; text-decoration: underline; }
.p-turq .phdr .logo { background: #fff !important; }
.tabbar { display: none; }
.perfil-main { padding-bottom: 120px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.pin-hero { padding: clamp(56px, 9vh, 110px) var(--gutter) 48px; }
.pin-hello { text-align: center; font-size: 18px; margin-bottom: 18px; }
.pin-hero .t-xl .w800 { color: var(--turq-dark); }
.pin-cards { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.next-row { display: flex; gap: 18px; align-items: flex-start; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.mini-link { background: none; border: 0; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.pend-card { border-top: 4px solid var(--bordo); }
.pin-pass { max-width: 1040px; margin: 0 auto; padding: clamp(64px, 6.34vw, 84px) var(--gutter); display: grid; grid-template-columns: auto 1fr; gap: 5vw; align-items: center; }
.pin-pass-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.prog { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; margin-top: 22px; position: relative; }
.prog::before { content: ''; position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; background: rgba(23, 95, 93, .25); }
.prog-i { position: relative; display: flex; flex-direction: column; gap: 10px; font-size: 12px; font-weight: 500; }
.prog-dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--aqua); border: 2px solid rgba(23, 95, 93, .4); }
.prog-i.is-done .prog-dot { background: var(--bordo); border-color: var(--bordo); }
.prog-i.is-done::after { content: ''; position: absolute; left: 8px; right: -8px; top: 7px; height: 2px; background: var(--bordo); }
.prog-i.is-now .prog-dot { border-color: var(--bordo); box-shadow: 0 0 0 5px rgba(123, 24, 53, .15); background: #fff; }
.prog-i.is-now .prog-t { font-weight: 700; }
.prog-i.is-todo .prog-t { opacity: .55; }
.prog-i.is-gate .prog-dot { border-radius: 4px; }
.pin-last { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.last-page { display: flex; flex-direction: column; gap: 10px; background: var(--crema); border-radius: 22px; padding: clamp(28px, 2.82vw, 40px); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); box-shadow: var(--shadow-card); }
a.last-page:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.last-k { font-size: 14px; font-weight: 600; color: var(--bordo); }
.last-t { font-weight: 800; font-size: clamp(28px, 2.39vw, 33px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.last-o { font-size: 17px; max-width: 60ch; }
.last-cta { font-weight: 600; margin-top: 10px; }
.last-page:hover .tlink-label { background-size: 100% 2px, 100% 1px; }
.last-page.is-empty .last-t { font-size: clamp(22px, 1.69vw, 23px); text-transform: none; font-weight: 600; }

.ppase { padding: clamp(48px, 8vh, 96px) var(--gutter) 40px; color: #fff; display: flex; flex-direction: column; align-items: center; }
.ppase .t-xl .w800 { color: var(--aqua); }
.ppase-obj { margin: 56px 0 8px; }
.ppase-actions { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.ppase-info { max-width: 1040px; width: 100%; margin-top: 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; }
.ppase-info .t-m { margin-bottom: 18px; }
.estados li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .2); opacity: .55; }
.estados li.is-on { opacity: 1; }
.estados li.is-on b { color: var(--amarillo); }
.estados b { font-weight: 700; }
.estados span { font-size: 15px; }
.swatches { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.swatches li { display: flex; flex-direction: column; gap: 8px; font-size: 12px; align-items: flex-start; opacity: .6; }
.swatches li.is-on { opacity: 1; font-weight: 700; }
.sw { display: block; width: 72px; height: 46px; border-radius: 6px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.swatches li.is-on .sw { outline: 2px solid #fff; outline-offset: 3px; }
.sw-amarillo { background: var(--amarillo); } .sw-aqua { background: var(--aqua); } .sw-coral { background: var(--coral); } .sw-mostaza { background: var(--mostaza); }
.sw-completo { background: linear-gradient(90deg, var(--amarillo) 0 25%, var(--aqua) 25% 50%, var(--coral) 50% 75%, var(--mostaza) 75%); }
.ppase .muted { color: #fff; }

.pclases { max-width: 1040px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) var(--gutter); }
.pclases .t-xl > span { display: inline; }
.pclases .t-xl .w800 { color: var(--bordo); }
.pclases-next { margin: 40px 0 64px; max-width: 520px; }
.tl-group { margin-bottom: 36px; }
.tl-t { font-weight: 800; font-size: 22px; letter-spacing: -.01em; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.tl-group.is-gate .tl-t { color: var(--bordo); }
.tl-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(23, 23, 23, .1); align-items: center; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(23, 23, 23, .3); }
.tl-row.is-completada .tl-dot { background: var(--turq-dark); border-color: var(--turq-dark); }
.tl-row.is-proxima .tl-dot { background: var(--bordo); border-color: var(--bordo); box-shadow: 0 0 0 5px rgba(123, 24, 53, .15); }
.tl-row.is-bloqueada { opacity: .5; }
.tl-main b { display: block; font-weight: 600; font-size: 16px; }
.tl-main span { font-size: 14px; opacity: .75; }
.tl-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.tl-meta .muted { text-transform: capitalize; font-size: 13px; }
.pben { padding: clamp(48px, 8vh, 96px) var(--gutter); }
.pben .lead { margin-bottom: 40px; }

/* =========================================================
   MI CHAPTER · libro
   ========================================================= */
.pchapter { padding: clamp(48px, 7vh, 88px) var(--gutter) 40px; }
.pchapter .t-xl .w800 { color: var(--bordo); }
.pchapter-sum { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 22px; font-size: 15px; }
.pchapter-sum b { font-weight: 800; color: var(--turq-dark); }
.book-scene { --bw: min(88vw, 780px); display: flex; flex-direction: column; align-items: center; margin: clamp(40px, 6vh, 72px) auto 0; perspective: 2200px; }
.book { position: relative; width: var(--bw); aspect-ratio: 550 / 402; transform-style: preserve-3d; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.book.is-locked { cursor: default; }
.book-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(18deg); transition: transform .8s var(--ease); }
.book:hover .book-tilt { transform: rotateX(12deg); }
.book-shadow { position: absolute; left: 50%; width: 50%; bottom: -6%; height: 16%; background: radial-gradient(closest-side, rgba(10, 30, 30, .4), transparent); filter: blur(10px); transform: translateZ(-20px); transition: left .9s var(--ease), width .9s var(--ease); }
.book.is-open .book-shadow { left: 4%; width: 92%; }
.half { position: absolute; top: 0; height: 100%; width: 50%; container-type: inline-size;
  -webkit-mask-image: url(/assets/brand/desvespado-cabeza.png); mask-image: url(/assets/brand/desvespado-cabeza.png);
  -webkit-mask-size: 200% 100%; mask-size: 200% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.half-left { left: 0; -webkit-mask-position: 0 0; mask-position: 0 0; }
.half-right { left: 50%; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.half.edge { background: var(--aqua); transform: translate3d(0, 1.4%, -3px); }
.half-left.edge { opacity: 0; transition: opacity .3s .4s; }
.book.is-open .half-left.edge { opacity: 1; }
.half.paper { background: var(--crema); }
.half.cover { background: var(--bordo); }
.book-spine { position: absolute; left: calc(50% - 1%); width: 2%; top: 12%; bottom: 10%; background: var(--bordo-deep); transform: translateZ(1px); border-radius: 2px; }
.leaf-z { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; }
.leaf-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf-back { transform: rotateY(180deg); }
.leaf-face .half { left: 0; width: 100%; }
.cover-in { position: absolute; left: 6%; top: 40%; display: flex; flex-direction: column; color: #fff; }
.cover-k { font-weight: 300; font-size: 6.5cqw; letter-spacing: .02em; }
.cover-name { font-weight: 800; font-size: 11cqw; line-height: .95; letter-spacing: -.02em; max-width: 52cqw; overflow-wrap: anywhere; }
.pg { position: absolute; inset: 0; }
.pg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 90% 60%; filter: grayscale(.2) contrast(1.05); mix-blend-mode: multiply; opacity: .9; }
.pg-core { position: absolute; top: 36%; width: 50%; display: flex; flex-direction: column; gap: 1.6cqw; }
.pg-core-right { left: 5%; }
.pg-core-left { right: 5%; align-items: flex-end; text-align: right; }
.pg-k { font-size: max(9px, 4cqw); font-weight: 500; opacity: .7; text-transform: capitalize; }
.pg-h { font-size: max(12px, 5.6cqw); font-weight: 800; line-height: 1.02; letter-spacing: -.015em; }
.pg-e { font-size: 3.6cqw; font-weight: 600; color: var(--bordo); }
.pg-name { font-size: 11cqw; font-weight: 800; line-height: .95; color: var(--bordo); overflow-wrap: anywhere; }
.pg-title .pg-k { font-weight: 300; font-size: 6cqw; opacity: 1; text-transform: none; }
.pg-stamp { width: 26cqw; aspect-ratio: 1; border-radius: 50%; background: var(--bordo); color: #fff; display: grid; place-items: center; transform: rotate(-10deg); box-shadow: inset 0 0 0 1.4cqw rgba(255, 255, 255, .16); margin-top: 8%; }
.pg-stamp b { font-weight: 800; font-size: 4.6cqw; text-align: center; padding: 0 2cqw; }
.book-ctrl { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.book-btn, .book-close { min-height: 48px; padding: 0 20px; border-radius: 4px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.book-btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.book-btn:disabled { opacity: .3; cursor: not-allowed; }
.book-close { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.book-count { font-weight: 700; min-width: 64px; text-align: center; }
.book-hint { font-size: 13px; opacity: .65; margin-top: 10px; text-align: center; min-height: 20px; }
.reader { max-width: 860px; margin: 40px auto 0; background: var(--crema); border-radius: 22px; padding: clamp(24px, 2.82vw, 37px); }
.reader-intro { text-align: center; display: flex; flex-direction: column; gap: 12px; }
.reader-top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; text-transform: capitalize; }
.reader-n { font-weight: 800; color: var(--bordo); }
.reader-enc { font-weight: 600; color: var(--turq-dark); text-transform: none; }
.reader-h { font-weight: 800; font-size: clamp(32px, 2.82vw, 40px); line-height: .98; letter-spacing: -.025em; text-transform: uppercase; margin: 18px 0 24px; }
.reader-dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.reader-dl div { padding: 14px 0; border-top: 1px solid rgba(23, 23, 23, .15); }
.reader-dl dt { font-size: 13px; font-weight: 600; color: var(--bordo); }
.reader-dl dd { margin: 4px 0 0; font-size: 16px; }
.reader-huella { margin-top: 24px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.reader-k { font-size: 13px; font-weight: 700; color: var(--turq-dark); }
.reader-huella img { margin-top: 10px; max-height: 280px; border-radius: 12px; }
.huella-frase { font-size: clamp(20px, 1.6vw, 22px); font-weight: 600; margin-top: 6px; }
.reader-cta { margin-top: 28px; }
.huella { background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 12px; }
.huella-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.huella-opts button, .huella-file { min-height: 56px; border-radius: 12px; border: 1.5px solid rgba(23, 23, 23, .15); background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 14px; transition: border-color .2s, transform .3s var(--ease); position: relative; }
.huella-opts button:hover, .huella-file:hover { border-color: var(--bordo); transform: translateY(-3px); }
.huella-opts .is-quiet { border-style: dashed; font-weight: 500; }
.huella-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.huella-file:focus-within { outline: 3px solid var(--bordo); }
.huella-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 12px; }
.voz { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.voz-btn { min-height: 56px; padding: 0 28px; border-radius: 99px; border: 0; background: var(--bordo); color: #fff; font-weight: 700; cursor: pointer; }
.voz-btn.is-on { background: var(--coral); color: var(--ink); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(229, 138, 130, .3); } }
.voz-t { font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; }

/* =========================================================
   DECISIÓN
   ========================================================= */
.pdec { padding: clamp(48px, 8vh, 96px) var(--gutter); max-width: 1160px; margin: 0 auto; }
.pdec-locked { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 880px; }
.caminos { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid rgba(23, 23, 23, .15); }
.camino { min-height: 340px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; text-align: left; background: transparent; border: 0; border-left: 1px solid rgba(23, 23, 23, .15); cursor: pointer; transition: background .4s var(--ease), opacity .4s; }
.camino:first-child { border-left: 0; }
.camino b { font-weight: 800; font-size: clamp(28px, 2.11vw, 33px); line-height: .95; letter-spacing: -.025em; }
.camino span { font-size: 16px; max-width: 30ch; }
.camino-cta { margin-top: auto; font-weight: 600; padding-bottom: 4px; border-bottom: 2px solid currentColor; }
.camino:hover { background: var(--crema); }
.camino.is-on { background: var(--aqua); }
.camino.is-on .camino-cta { color: var(--bordo); }
.camino.is-off { opacity: .5; }
.incorporar { margin-top: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 4vw; align-items: center; }
.inc-stage { aspect-ratio: 1; max-height: 70vh; width: 100%; }
.viewer { position: relative; width: 100%; height: 100%; border-radius: 22px; background: radial-gradient(70% 60% at 50% 45%, #fff, var(--aqua)); overflow: hidden; display: grid; place-items: center; }
.viewer-loading { gap: 10px; display: flex; justify-content: center; align-items: center; font-weight: 500; }
.viewer-floor { position: absolute; left: 18%; right: 18%; bottom: 13%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 40, 40, .35), transparent); filter: blur(6px); }
.viewer-render { position: relative; max-height: 74%; max-width: 78%; object-fit: contain; }
.viewer-norender { display: flex; flex-direction: column; align-items: center; gap: 14px; font-weight: 600; }
.viewer-swatch { width: 120px; height: 120px; border-radius: 50%; box-shadow: inset 0 -12px 30px rgba(0, 0, 0, .25), 0 20px 40px -20px rgba(0, 0, 0, .5); transition: background .6s var(--ease); }
.viewer-missing { position: absolute; left: 16px; top: 16px; padding: 8px 12px; background: #fff; }
.viewer-note { position: absolute; left: 16px; right: 16px; bottom: 16px; font-size: 12px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.inc-controls { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-b { min-height: 48px; padding: 0 18px; border-radius: 99px; border: 1.5px solid rgba(23, 23, 23, .2); background: #fff; font-weight: 600; cursor: pointer; transition: all .25s; }
.seg-b.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.colors { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.color { width: 48px; height: 48px; border-radius: 50%; border: 2px solid transparent; background: none; padding: 4px; cursor: pointer; transition: border-color .3s, transform .3s var(--ease); }
.color span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--sw); box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .25), inset 0 4px 8px rgba(255, 255, 255, .35); }
.color:hover { transform: scale(1.08); }
.color.is-on { border-color: var(--ink); }
.color-name { font-weight: 600; margin-left: 6px; }
.inc-nums { margin: 0; width: 100%; border-top: 1.5px solid var(--ink); }
.inc-nums div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(23, 23, 23, .12); }
.inc-nums dt { font-size: 15px; }
.inc-nums dd { margin: 0; font-weight: 700; }
.inc-nums .is-total dd { font-size: 20px; color: var(--bordo); }
.inc-ok { background: var(--aqua); padding: 16px 18px; border-radius: 12px; }
.inc-ok b { font-weight: 800; }
.outcome { margin-top: 56px; max-width: 720px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.outcome .lead { margin-top: 0; }

/* ---------- Perfil / flujos en mobile ---------- */
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; }
  .flow-aside { display: none; }
  .flow-logo-m { display: inline-flex; }
  .flow-top { justify-content: space-between; }
  .flow-main { padding: 16px var(--gutter) 40px; }
  .done-grid { grid-template-columns: 1fr; }
  .done-pass { position: static; order: -1; padding-top: 8px; }
  .phdr { grid-template-columns: 1fr auto; height: 60px; }
  .phdr-nav { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--bordo); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { min-height: 60px; display: flex; align-items: center; justify-content: center; text-align: center; color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 12px; font-weight: 600; line-height: 1.15; padding: 0 2px; position: relative; }
  .tabbar a.is-on { color: #fff; }
  .tabbar a.is-on::before { content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; background: var(--aqua); }
  .perfil-main { padding-bottom: 110px; }
  .pin-pass { grid-template-columns: 1fr; justify-items: center; }
  .pin-pass-copy { align-items: flex-start; width: 100%; }
  .ppase-info { grid-template-columns: 1fr; }
  .caminos { grid-template-columns: 1fr; }
  .camino { min-height: 0; border-left: 0; border-top: 1px solid rgba(23, 23, 23, .15); padding: 26px 4px; }
  .camino:first-child { border-top: 0; }
  .incorporar { grid-template-columns: 1fr; }
  .inc-stage { max-height: none; }
}
@media (max-width: 760px) {
  .form-grid, .choice-list, .done-cards, .pin-cards, .huella-opts, .reader-dl { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .choice-inline { grid-template-columns: 1fr 1fr; }
  .steps { gap: 12px; font-size: 12px; overflow-x: auto; white-space: nowrap; }
  .steps li:not(.is-on) { display: none; }
  .review-row { grid-template-columns: 1fr auto; }
  .review-row dt { grid-column: 1 / -1; }
  .flow-actions { margin: 32px calc(-1 * var(--gutter)) 0; padding-left: var(--gutter); padding-right: var(--gutter); }
  .flow-actions .btn { flex: 1; max-width: 260px; }
  .phdr-name { display: none; }
  .prog { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .prog::before, .prog-i.is-done::after { display: none; }
  .tl-row { grid-template-columns: 18px 1fr; }
  .tl-meta { grid-column: 2; align-items: flex-start; text-align: left; flex-direction: row; gap: 10px; flex-wrap: wrap; }
  .book-scene { --bw: calc(100vw - 32px); }
  .book-tilt { transform: rotateX(10deg); }
  .estados li { grid-template-columns: 1fr; gap: 2px; }
  .pclases .t-xl > span { display: block; }
}

/* =========================================================
   SEDES · dos bases, dos momentos (ACA Casares → licencia → Motoplex)
   ========================================================= */
.place-dot { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--bordo); }
.is-casares .place-dot, .place-tag.is-casares .place-dot { background: var(--turq-dark); }
.is-oficial .place-dot { background: var(--ink); }
.place-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .72); margin-bottom: 14px; }
.ch-3 .place-tag { align-self: flex-start; margin-bottom: 6px; }

/* Cinco pasos */
.pasos { background: #fff; padding: var(--sec-pad) var(--gutter) clamp(56px, 5.28vw, 84px); }
.pasos-track { position: relative; max-width: 1160px; margin: clamp(40px, 4.4vw, 63px) auto 0; }
.pasos-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 130px; overflow: visible; pointer-events: none; }
.pasos-list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 150px; }
.paso { position: relative; }
.paso-n { position: absolute; top: -150px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 22px; background: #fff; border: 3px solid var(--bordo); color: var(--bordo); box-shadow: 0 8px 18px -10px rgba(23, 23, 23, .45); }
.paso:nth-child(1) .paso-n { top: -64px; } .paso:nth-child(2) .paso-n { top: -74px; } .paso:nth-child(3) .paso-n { top: -96px; }
.paso:nth-child(4) .paso-n { top: -112px; } .paso:nth-child(5) .paso-n { top: -138px; }
.paso.is-casares .paso-n { background: var(--aqua); border-color: var(--turq-dark); color: var(--turq-dark); }
.paso.is-oficial .paso-n { background: var(--amarillo); border-color: var(--ink); color: var(--ink); }
.paso.is-motoplex .paso-n { background: #F6CFCA; }
.paso-lugar { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--crema); }
.paso.is-casares .paso-lugar { background: var(--aqua); color: var(--turq-dark); }
.paso.is-oficial .paso-lugar { background: var(--amarillo); }
.paso.is-motoplex .paso-lugar { background: #F6CFCA; color: var(--bordo); }
.paso-t { margin-top: 12px; font-weight: 800; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.12; letter-spacing: -.01em; }
.paso-d { margin-top: 8px; font-size: 15px; line-height: 1.45; }
.pasos-nota { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: clamp(40px, 3.52vw, 56px) auto 0; padding: 16px 22px; border-radius: 16px; background: var(--crema); font-weight: 600; font-size: 16px; line-height: 1.4; }
.center-nota { margin-bottom: clamp(32px, 3.52vw, 49px); }

/* Sección Sedes */
.sede-split { position: relative; max-width: 1160px; margin: clamp(48px, 4.4vw, 70px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 5.28vw, 84px); }
.sede-gate { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 2px dashed rgba(23, 23, 23, .25); display: flex; align-items: center; justify-content: center; }
.sede-gate span { transform: rotate(-90deg); background: #fff; padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--ink); font-weight: 700; font-size: 13px; white-space: nowrap; }
.sede2 { display: flex; flex-direction: column; gap: 22px; }
.sede2-photo { aspect-ratio: 4 / 3; border-radius: 22px; box-shadow: var(--shadow-card); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sede2.is-active .sede2-photo { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.sede2-momento { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.sede2-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--turq-dark); }
.sede2.is-motoplex .sede2-n { background: var(--bordo); }
.sede2-t { margin-top: 6px; font-weight: 800; font-size: clamp(34px, 2.9vw, 46px); line-height: .98; letter-spacing: -.03em; color: var(--turq-dark); }
.sede2.is-motoplex .sede2-t { color: var(--bordo); }
.sede2-rol { margin-top: 6px; font-weight: 300; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.2; }
.sede2-tag { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; background: var(--aqua); color: var(--turq-dark); }
.sede2.is-motoplex .sede2-tag { background: #F6CFCA; color: var(--bordo); }
.sede2-txt { margin-top: 14px; font-size: 17px; line-height: 1.5; max-width: 44ch; }
.sede2-dir { margin-top: 12px; font-size: 15px; }
.sede2-more { margin-top: 12px; border-top: 1.5px solid var(--ink); }
.sede2-more + .sede2-more { margin-top: 0; }
.sede2-more summary, .llevar summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 700; font-size: 16px; }
.sede2-more summary::-webkit-details-marker, .llevar summary::-webkit-details-marker { display: none; }
.sede2-more summary::after, .llevar summary::after { content: '+'; font-weight: 300; font-size: 26px; line-height: 1; transition: transform .3s var(--ease); }
.sede2-more[open] summary::after, .llevar[open] summary::after { transform: rotate(45deg); }
.sede2-sub { font-size: 15px; margin-bottom: 10px; }
.sede2-list { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }
.sede2-list li { font-size: 14px; padding: 6px 12px; border-radius: 99px; background: var(--crema); }
.sede2-note { margin-top: 8px; font-size: 15px; line-height: 1.45; padding: 14px 16px; border-radius: 14px; background: rgba(168, 213, 210, .32); }
.sede2.is-motoplex .sede2-note { background: rgba(246, 207, 202, .5); }
.pin-sede.is-casares { background: var(--turq-dark); }
.pin-sede.is-motoplex { background: var(--bordo); }
.pin-sede.is-active { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(123, 24, 53, .18), 0 4px 12px rgba(0, 0, 0, .3); }
.pin-sede.is-casares.is-active { box-shadow: 0 0 0 6px rgba(23, 95, 93, .2), 0 4px 12px rgba(0, 0, 0, .3); }
.leaflet-tooltip.sede-tip { display: flex; flex-direction: column; line-height: 1.25; padding: 8px 12px; }
.leaflet-tooltip.sede-tip b { font-weight: 800; font-size: 14px; }
.leaflet-tooltip.sede-tip.is-casares b { color: var(--turq-dark); }
.leaflet-tooltip.sede-tip.is-motoplex b { color: var(--bordo); }
.leaflet-tooltip.sede-tip span { font-weight: 500; font-size: 12px; }

/* Reserva: dónde sucede */
.step-place { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(168, 213, 210, .35); line-height: 1.45; }
.step-place .place-dot, .where-banner .place-dot { margin-top: 6px; background: var(--turq-dark); }
.where-banner { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0; padding: 18px 20px; border-radius: 16px; background: #fff; border-left: 6px solid var(--turq-dark); font-size: 17px; line-height: 1.45; }
.where-banner b { font-weight: 700; }
.turno-main { display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: start; padding: 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); margin-bottom: 18px; }
.turno-date-lg { width: 84px; height: 92px; }
.turno-dl { display: grid; gap: 8px; }
.turno-dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 15px; }
.turno-dl dt { font-weight: 700; }
.turno-dl dd { margin: 0; }
.turno-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.done-next { margin: 4px 0 28px; font-size: 15px; line-height: 1.5; max-width: 58ch; }
.sena { margin-top: 28px; padding: 22px; border-radius: 18px; background: var(--crema); display: grid; gap: 16px; }
.sena-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.sena-top b { font-weight: 800; font-size: 22px; }

/* Perfil: base activa */
.base-act { width: calc(100% - 2 * var(--gutter)); max-width: 1080px; margin: 0 auto 28px; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.base-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; background: var(--aqua); font-size: 16px; }
.base-head b { font-weight: 800; }
.base-act.is-casares .base-head .place-dot { background: var(--turq-dark); }
.base-act.is-motoplex .base-head { background: #F6CFCA; }
.base-act.is-oficial .base-head { background: var(--amarillo); }
.base-act.is-oficial .base-head .place-dot { background: var(--ink); }
.base-new { margin-left: auto; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--bordo); color: #fff; }
.base-body { display: grid; grid-template-columns: 1.2fr 1fr; }
.base-info { padding: 24px; }
.base-t { font-weight: 800; font-size: clamp(24px, 1.76vw, 28px); line-height: 1.1; letter-spacing: -.02em; margin: 4px 0 16px; }
.base-dl { display: grid; gap: 0; }
.base-dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(23, 23, 23, .12); font-size: 15px; }
.base-dl dt { font-weight: 700; }
.base-dl dd { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.base-nota { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--turq-dark); }
.base-act.is-motoplex .base-nota { color: var(--bordo); }
.mini-prog { display: inline-block; width: 90px; height: 8px; border-radius: 99px; background: rgba(23, 95, 93, .18); overflow: hidden; }
.mini-prog i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--turq-dark); border-radius: 99px; }
.mini-map-shell { position: relative; min-height: 280px; height: 100%; }
.mini-map { position: absolute; inset: 0; }
.base-oficial { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 32px; background: color-mix(in srgb, var(--amarillo) 45%, #fff); font-size: 15px; }
.base-oficial b { font-weight: 800; font-size: 24px; line-height: 1.15; }
.pin-cards.is-single { grid-template-columns: 1fr; max-width: calc(1080px + 2 * var(--gutter)); }

@media (max-width: 979px) {
  .pasos-line { left: 0; right: auto; width: 36px; height: 100%; }
  .pasos-list { grid-template-columns: 1fr; gap: 34px; padding: 0 0 0 64px; }
  .paso-n, .paso:nth-child(n) .paso-n { top: -4px; left: -64px; width: 44px; height: 44px; font-size: 18px; }
  .sede-split { grid-template-columns: 1fr; gap: 56px; }
  .sede-gate { position: static; width: auto; border-left: 0; border-top: 2px dashed rgba(23, 23, 23, .25); height: 0; order: 1; margin: 4px 0; }
  .sede-gate span { transform: none; }
  .sede2.is-casares { order: 0; } .sede2.is-motoplex { order: 2; }
  .base-body { grid-template-columns: 1fr; }
  .base-dl div { grid-template-columns: 1fr; gap: 2px; }
  .mini-map-shell { min-height: 220px; }
  .turno-dl div { grid-template-columns: 1fr; gap: 0; }
}

/* Revelado de titulares por línea (RevealTitle) */
.lr { position: relative; }
.lr > .lr-overlays { position: absolute; inset: 0; display: block; pointer-events: none; }
.lr-block { position: absolute; display: block; will-change: transform, width; }

/* Cierre del recorrido: una sola pregunta */
.fin-q { margin-top: 28px; font-weight: 700; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.15; }
.fin-q em { font-style: italic; font-weight: 800; color: var(--turq-dark); }
/* Decisión: cada camino con su color */
.camino[data-c="incorporar"] b { color: var(--turq-dark); }
.camino[data-c="postergar"] b { color: var(--mostaza); }
.camino[data-c="no"] b { color: var(--bordo); }
.camino[data-c="incorporar"].is-on { background: color-mix(in srgb, var(--aqua) 55%, #fff); }
.camino[data-c="postergar"].is-on { background: color-mix(in srgb, var(--amarillo) 55%, #fff); }
.camino[data-c="no"].is-on { background: #F6CFCA; }

/* Carrusel: la altura acompaña al contenido más alto, así el texto nunca llega a la banda de la línea */
.rec-h .rec-scroller { height: auto; }
.rec-h .rec-track { height: auto; min-height: clamp(620px, 92vh, 860px); align-items: stretch; }
.rec-h .ch { height: auto; }
.rec-h .ch:not(.ch-3) { display: flex; flex-direction: column; justify-content: center; }
.rec-h .ch-grid, .rec-h .gate, .rec-h .rec-intro, .rec-h .rec-final { height: auto; }
.rec-h .fin-vespa { height: auto; }

/* Reserva: online o en persona */
.modo-seg { margin: 4px 0 22px; }
.presencial { display: grid; gap: 22px; }
.presencial .where-banner { margin: 0; }
.pres-steps { display: grid; gap: 0; counter-reset: p; }
.pres-steps li { position: relative; padding: 14px 0 14px 50px; border-top: 1.5px solid rgba(23, 23, 23, .15); counter-increment: p; display: flex; flex-direction: column; gap: 2px; }
.pres-steps li::before { content: counter(p); position: absolute; left: 0; top: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); color: var(--turq-dark); font-weight: 800; }
.pres-steps b { font-weight: 700; font-size: 17px; }
.pres-steps span { font-size: 15px; }
.cc-ctas { align-items: center; gap: 24px; flex-wrap: wrap; }

/* =========================================================
   PROGRAMA: precio único, forma de pago, checkout
   ========================================================= */
.precio { color: #fff; }
.precio .pr-t3 { font-size: .62em; line-height: 1.1; margin-top: .25em; }
.pr-flow { max-width: 1000px; margin: clamp(36px, 4vw, 56px) auto 0; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.pr-step { padding: 18px 18px 0 0; display: flex; flex-direction: column; gap: 4px; }
.pr-step span { font-weight: 800; color: var(--amarillo); }
.pr-step b { font-weight: 700; font-size: 18px; line-height: 1.2; }
.pr-step small { font-size: 14px; opacity: .8; line-height: 1.4; }
.pr-step.is-main b { color: var(--amarillo); }
.pr-card { max-width: 760px; margin: clamp(40px, 4vw, 60px) auto 0; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.pr-cero { max-width: 760px; margin: 24px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, .35); }
.pr-cero-k { font-weight: 700; color: var(--amarillo); }
.pr-cero-v { font-size: 18px; margin-top: 2px; }
.pr-cero-v b { font-weight: 800; }
.pr-cero-d { font-size: 14px; opacity: .85; margin-top: 6px; max-width: 52ch; }
.pr-credit { max-width: 760px; margin: 24px auto 0; font-size: 14px; opacity: .85; }
.pr-credit b { font-weight: 700; }

.pg-total { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-bottom: 22px; border-bottom: 1px solid rgba(23, 23, 23, .12); }
.pg-total-k { font-weight: 600; font-size: 16px; }
.pg-total-v { font-weight: 800; font-size: clamp(40px, 4.2vw, 64px); line-height: 1; letter-spacing: -.03em; color: var(--bordo); }
.pg-total-n { font-size: 14px; color: rgba(23, 23, 23, .7); max-width: 44ch; }
.pg-mod { padding: 22px 0 8px; }
.pg-seg { justify-content: center; }
.pg-mod-body { margin-top: 18px; }
.pg-mod-t { font-size: 15px; text-align: center; max-width: 52ch; margin: 0 auto 14px; }
.pg-rows { display: grid; }
.pg-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(23, 23, 23, .1); font-size: 15px; }
.pg-rows dd { margin: 0; font-weight: 600; text-align: right; }
.pg-rows .is-strong { font-size: 17px; }
.pg-rows .is-strong dt, .pg-rows .is-strong dd { font-weight: 800; }
.pg-rows .is-disc dd { color: var(--turq-dark); }
.pg-plan { display: grid; gap: 0; }
.pg-plan li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(23, 23, 23, .1); font-size: 15px; }
.pg-plan-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--crema); font-weight: 800; font-size: 13px; }
.pg-plan-t b { font-weight: 800; color: var(--bordo); margin-right: 4px; }
.pg-plan-v { font-weight: 600; white-space: nowrap; }
.pg-mod-note { margin-top: 12px; font-size: 13px; color: rgba(23, 23, 23, .7); }
.pg-more { border-top: 1.5px solid rgba(23, 23, 23, .85); }
.pg-more summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 700; font-size: 16px; }
.pg-more summary::-webkit-details-marker { display: none; }
.pg-more summary::after { content: '+'; font-weight: 300; font-size: 26px; line-height: 1; transition: transform .3s var(--ease); }
.pg-more[open] summary::after { transform: rotate(45deg); }
.pg-more-in { padding-bottom: 18px; }
.pg-incluye { columns: 2; column-gap: 28px; }
.pg-incluye li { break-inside: avoid; position: relative; padding: 6px 0 6px 22px; font-size: 15px; }
.pg-incluye li::before { content: ''; position: absolute; left: 0; top: .95em; width: 12px; height: 6px; border-left: 2px solid var(--turq-dark); border-bottom: 2px solid var(--turq-dark); transform: rotate(-45deg) translateY(-50%); }
.pg-extras { display: grid; gap: 0; }
.pg-extras div { padding: 10px 0; border-top: 1px solid rgba(23, 23, 23, .1); }
.pg-extras dt { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 15px; }
.pg-extras dt span { font-weight: 600; color: var(--bordo); white-space: nowrap; }
.pg-extras dd { margin: 2px 0 0; font-size: 14px; color: rgba(23, 23, 23, .75); }
@media (max-width: 760px) {
  .pr-flow { grid-template-columns: 1fr; }
  .pr-step { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .pr-cero { flex-direction: column; align-items: flex-start; }
  .pg-incluye { columns: 1; }
  .pg-plan li { grid-template-columns: 28px 1fr; }
  .pg-plan-v { grid-column: 2; }
}
/* Checkout del programa */
.ck-resumen, .ck-pago { display: grid; gap: 4px; }
.ck-resumen .pg-rows { margin: 8px 0 18px; }
.ck-asist { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: rgba(168, 213, 210, .35); font-size: 14px; line-height: 1.5; }
.ck-asist b { font-weight: 700; }
.ck-ya { padding: 18px 20px; border-radius: 16px; background: var(--crema); display: grid; gap: 10px; }
.ck-ya p b { font-weight: 700; }
.ck-done { background: var(--aqua); min-height: 100svh; }
.ck-done-in { max-width: 820px; margin: 0 auto; padding: 24px var(--gutter) 96px; display: flex; flex-direction: column; align-items: center; }
.ck-check { width: 84px; height: 84px; border-radius: 50%; background: var(--turq-dark); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 16px 30px -14px rgba(23, 95, 93, .7); }
.ck-card { width: 100%; margin-top: 28px; }
.ck-card .turno-actions { margin-top: 18px; }
.ck-fut { display: block; font-weight: 500; }
/* Perfil: pagos, niveles de beneficio, Pase */
.pin-sub { margin-top: 22px; font-weight: 700; font-size: 15px; }
.sumarme { border-left: 6px solid var(--bordo); }
.sumarme .card-actions { flex-wrap: wrap; gap: 14px 22px; }
.pagos { width: calc(100% - 2 * var(--gutter)); max-width: 1080px; margin: 28px auto; padding: clamp(22px, 2.4vw, 32px); border-radius: 24px; background: #fff; box-shadow: var(--shadow-card); }
.pagos-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pagos-est { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: var(--aqua); color: var(--turq-dark); }
.pagos-est.is-pausado { background: var(--amarillo); color: var(--ink); }
.pagos-est.is-interrumpido { background: #F6CFCA; color: var(--bordo); }
.pagos-sub { margin: 6px 0 12px; font-size: 14px; color: rgba(23, 23, 23, .7); }
.pagos-list { margin: 14px 0 6px; }
.pagos-list li.is-pagado .pg-plan-n { background: var(--turq-dark); color: #fff; }
.pagos-list li.is-en-espera { opacity: .7; }
.niveles { max-width: 1080px; margin: 24px auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid currentColor; }
.niveles li { padding: 14px 16px 14px 0; display: flex; flex-direction: column; gap: 4px; }
.niveles b { font-weight: 700; font-size: 15px; line-height: 1.25; }
.niveles span { font-size: 13px; opacity: .8; }
.niveles li.is-disponible b::before { content: '● '; color: var(--turq-dark); }
.niveles.is-light li.is-disponible b::before { color: var(--aqua); }
.niveles li.is-proximo b::before { content: '◐ '; color: var(--mostaza); }
.niveles li.is-bloqueado { opacity: .6; }
.niveles.is-light { color: #fff; }
.ppase-dl { max-width: 680px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; color: #fff; text-align: center; }
.ppase-dl dt { font-size: 13px; opacity: .75; }
.ppase-dl dd { margin: 2px 0 0; font-weight: 700; }
.ppase-cta { text-align: center; color: #fff; margin-top: 14px; }
.ficha-nivel { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 14px; padding: 12px; border-radius: 10px; background: var(--crema); }
.bl-niv { display: block; font-style: normal; font-size: 12px; font-weight: 600; margin-top: 2px; color: rgba(23, 23, 23, .6); }
.bl-niv.is-disponible { color: var(--turq-dark); }
.bl-niv.is-proximo { color: #9A7414; }
.pdec-k { font-weight: 600; margin-bottom: 10px; color: var(--bordo); }
@media (max-width: 760px) {
  .niveles { grid-template-columns: 1fr; margin-left: var(--gutter); margin-right: var(--gutter); }
  .ppase-dl { grid-template-columns: 1fr; }
}

/* Red de beneficios: pins por categoría, ficha y estado de alianza */
.bpin { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--turq-dark); border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .45); cursor: pointer; transition: transform .3s var(--ease), filter .3s; }
.bpin b { transform: rotate(45deg); color: #fff; font-weight: 800; font-size: 13px; }
.bpin-cafe { background: #8A5A3B; } .bpin-librerias { background: var(--turq-dark); } .bpin-coworking { background: #3E5C8A; }
.bpin-cultura { background: var(--bordo); } .bpin-urbanas { background: #C08A1E; }
.bpin.is-bloqueado { filter: grayscale(.85) opacity(.55); }
.bpin.is-proximo { box-shadow: 0 0 0 4px rgba(244, 218, 145, .9), 0 6px 14px -4px rgba(0, 0, 0, .45); }
.bpin:hover, .bpin.is-active { transform: rotate(-45deg) scale(1.18); filter: none; }
.ficha-photo { height: 120px; border-radius: 12px; margin-bottom: 16px; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #EFEAE0 0 10px, #F6F2EA 10px 20px); color: rgba(23, 23, 23, .45); font-size: 12px; font-weight: 600; }
.ficha-alianza { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 600; color: rgba(23, 23, 23, .7); padding: 4px 10px 4px 8px; border: 1px solid rgba(23, 23, 23, .15); border-radius: 99px; }
.al-dot { width: 8px; height: 8px; border-radius: 50%; background: #B8B2A6; }
.al-dot.is-conversacion { background: var(--mostaza); } .al-dot.is-confirmado { background: var(--turq-dark); }
.ficha-k { display: block; margin-top: 18px; font-size: 12px; font-weight: 600; color: rgba(23, 23, 23, .55); }
.ficha .ficha-benefit, .sheet .ficha-benefit { margin-top: 4px; font-size: 21px; }
.ficha-nota { margin-top: 8px; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: rgba(244, 218, 145, .45); }
.ficha-nivel .ficha-k { margin-top: 0; }
.ficha-nivel b { font-weight: 700; font-size: 15px; }
.ficha-nivel small { font-size: 12px; color: rgba(23, 23, 23, .6); }
.nv-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #E6E2DA; }
.nv-tag.is-disponible { background: var(--aqua); color: var(--turq-dark); }
.nv-tag.is-proximo { background: var(--amarillo); color: var(--ink); }
.ficha-actions { margin-top: 18px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ficha-cond { margin-top: 18px; border-top: 1px solid rgba(23, 23, 23, .12); }
.ficha-cond summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 14px; }
.ficha-cond ul { display: grid; gap: 6px; padding-bottom: 6px; }
.ficha-cond li { font-size: 13px; padding-left: 14px; position: relative; }
.ficha-cond li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 2px; background: var(--bordo); }
.filter.is-estado { border-style: dashed; }
.red-nota { margin-top: 16px; font-size: 13px; line-height: 1.5; color: rgba(23, 23, 23, .75); max-width: 90ch; }
.red-nota b { font-weight: 700; color: var(--ink); }
.benefit-list button { display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; align-items: start; transition: background .2s, padding .2s; }
.benefit-list button:hover { background: rgba(255, 255, 255, .45); padding-left: 8px; }
.bl-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; }
.bl-main { display: flex; flex-direction: column; }
.benefit-list .bl-niv { grid-column: 2; }
/* Vespa representativa y decisión */
.giro-pie { max-width: 46ch; text-align: center; font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(23, 23, 23, .75); }
.viewer-loading { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.inc-lead { margin-top: 14px; font-size: 17px; line-height: 1.5; }
.inc-note { margin-top: 10px; font-weight: 700; color: var(--turq-dark); }
.inc-asesor { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--crema); font-size: 15px; }
.inc-asesor ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.inc-asesor li { padding: 5px 12px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; }
/* La Vespa con la que aprendés */
.vxl-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.vxl-photo { aspect-ratio: 4 / 3; border-radius: 22px; box-shadow: var(--shadow-card); }
.vxl-sub { margin-top: 16px; font-size: 17px; }
.vxl-sub b { font-weight: 800; color: var(--turq-dark); }
.vxl-copy .pg-more { margin-top: 22px; }
.vxl-copy > .tlink { margin-top: 18px; display: inline-flex; }
.vxl-list { display: grid; gap: 8px; }
.vxl-list li { position: relative; padding-left: 18px; font-size: 15px; }
.vxl-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--bordo); }
@media (max-width: 979px) { .vxl-grid { grid-template-columns: 1fr; } }

/* Chapter 3: dos columnas dentro de un solo ancho de pantalla; ilustración protagonista */
.ch-3 { width: 100vw; display: block; }
.rec-h .ch.ch-3 { display: flex; flex-direction: column; justify-content: center; }
.ch3-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ch3-left { display: flex; flex-direction: column; align-items: flex-start; }
.ch3-left .place-tag { margin-bottom: 8px; }
.ch3-title { margin-top: 6px; }
.ch3-title > span { font-size: clamp(52px, 6.6vw, 112px); }
.ch3-left .ch-lead { margin: 18px 0 8px; }
.ch3-left .evo { margin-top: 22px; }
.ch3-visual { display: flex; justify-content: center; align-items: center; }
.ch3-illu, .rec-h .ch3-illu { width: 100%; max-width: 680px; max-height: 60vh; height: auto; object-fit: contain; }
@media (max-width: 979px) {
  .ch3-grid { grid-template-columns: 1fr; }
  .ch3-visual { order: 2; }
  .ch3-illu { max-height: none; }
  .ch3-title > span { font-size: clamp(46px, 13vw, 96px); }
}
/* Intro: relleno 100% vectorial */
.intro-svg { shape-rendering: geometricPrecision; }
.intro-fill-vec .intro-reg { fill: none; stroke: var(--turq-dark); }
.intro-fill-vec .intro-reg-t { fill: var(--turq-dark); font-family: 'Poppins', sans-serif; font-weight: 700; }
