/* BCP Bolivia pitch prototype "Planes en Realidad": shared stylesheet. Depends on tokens.css.
   The world is light and airy (References/Hero concept.png + Movement and Structure.mp4):
   pale ground, huge rounded containers, calm grotesk type, floating elements that settle,
   and dark navy inset panels only where the drama is earned. */

/* ---------- Fonts (self-hosted, variable 400-800) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/archivo-latinext-var.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--ground-blue);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.08; letter-spacing: -.022em; font-weight: 680; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--orange) 24%, white); }
.tabular { font-variant-numeric: tabular-nums; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: var(--s-4); top: -3.4rem; z-index: 200;
  background: var(--navy); color: var(--white); font-weight: 600;
  padding: var(--s-2) var(--s-4); border-radius: var(--r-pill);
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: var(--s-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 640; font-size: var(--fs-body); line-height: 1.15;
  padding: .84em 1.6em; border-radius: var(--r-pill);
  border: 1.5px solid transparent; text-decoration: none;
  transition: background var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: var(--t-fast); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 10px 26px var(--orange-glow); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: color-mix(in srgb, var(--white) 40%, transparent); }
.btn-ghost:hover { border-color: var(--white); background: color-mix(in srgb, var(--white) 8%, transparent); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { font-size: var(--fs-small); padding: .62em 1.2em; }
.btn-lg { font-size: 1.08rem; padding: .95em 1.95em; }
.link-arrow { font-weight: 640; color: var(--blue); }
@media (min-width: 641px) { .link-arrow { white-space: nowrap; } }
.link-arrow::after { content: ' \2192'; transition: transform var(--t-fast) var(--ease-out); display: inline-block; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header: light, floating ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--white) 86%, transparent);
  border-bottom-color: var(--border-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header .container {
  display: flex; align-items: center; gap: var(--s-5);
  min-height: var(--header-h);
}
.header-logo { flex: 0 0 auto; display: flex; }
.header-logo img { height: 30px; width: auto; }
.main-nav { display: flex; align-items: center; gap: var(--s-1); margin-inline: auto; }
.main-nav a {
  color: var(--text-soft); font-weight: 560; font-size: var(--fs-small);
  padding: .58em .95em; border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.main-nav a:hover { color: var(--navy); background: color-mix(in srgb, var(--navy) 6%, transparent); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--navy); background: color-mix(in srgb, var(--navy) 8%, transparent); }
.header-actions { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--border); border-radius: var(--r-pill); padding: 2px;
  background: color-mix(in srgb, var(--white) 65%, transparent);
}
.lang-switch button {
  background: none; border: 0; color: var(--text-soft);
  font-size: var(--fs-tiny); font-weight: 650; letter-spacing: .04em;
  padding: .35em .7em; border-radius: var(--r-pill);
}
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--navy); }

.nav-toggle {
  display: none; background: none; border: 0; padding: var(--s-2);
  margin-left: auto;
}
.nav-toggle svg { height: 24px; width: 24px; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; fill: none; }

@media (max-width: 900px) {
  .site-header .container { gap: var(--s-3); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) var(--s-3) auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: var(--s-1);
    background: var(--white); border: 1px solid var(--border-soft);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-lift);
    padding: var(--s-4);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 1rem; padding: .8em 1em; }
  .main-nav .nav-login-mobile { margin-top: var(--s-3); background: var(--navy); color: var(--white); text-align: center; font-weight: 650; }
  .main-nav .nav-login-mobile:hover { background: var(--blue-deep); }
}
@media (min-width: 901px) { .nav-login-mobile { display: none; } }

/* ---------- The shell system: the container as the brand device ---------- */
.shell-wrap { padding-inline: clamp(.6rem, 1.6vw, 1.25rem); }
.shell {
  max-width: var(--shell-max); margin-inline: auto;
  background: var(--white);
  border-radius: var(--r-shell);
  box-shadow: var(--shadow-shell);
  overflow: clip;
}
.shell + .shell, .shell-wrap + .shell-wrap .shell { margin-top: clamp(.75rem, 1.8vw, 1.4rem); }
.shell-navy {
  background: linear-gradient(165deg, var(--navy) 12%, var(--blue-deep) 100%);
  color: var(--white);
}
.shell-navy h2, .shell-navy h3 { color: var(--white); }
.shell-ghost { background: transparent; box-shadow: none; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tight { padding-block: clamp(2.8rem, 6vw, 4.5rem); }

/* Kicker: quiet pill label, like the reference's small tags */
.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--fs-tiny); font-weight: 680;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--white) 70%, transparent);
  padding: .42em 1em; border-radius: var(--r-pill);
  margin-bottom: var(--s-4);
}
.kicker::before { content: ''; width: .45em; height: .45em; border-radius: 50%; background: var(--orange); }
.shell-navy .kicker, .on-navy .kicker {
  color: var(--text-inverse-soft);
  border-color: var(--border-navy);
  background: color-mix(in srgb, var(--white) 7%, transparent);
}

.section-head { max-width: 860px; margin-bottom: clamp(2rem, 5vw, 3.6rem); }
.section-head h2 { font-size: var(--fs-h2); font-weight: 660; }
.section-head p { color: var(--text-soft); margin-top: var(--s-4); font-size: var(--fs-lede); max-width: 56ch; }
.shell-navy .section-head p { color: var(--text-inverse-soft); }

/* Asymmetric intro (Ofspace): label sits left, the headline holds the center-right */
.intro-split {
  display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) { .intro-split { grid-template-columns: 1fr; } }
.intro-split h2 { font-size: var(--fs-h2); font-weight: 660; max-width: 21ch; }
.intro-split .intro-copy { color: var(--text-soft); font-size: var(--fs-lede); max-width: 44ch; margin-top: var(--s-4); }
/* Statement scale (the reference board jumps between quiet rows and huge type) */
.intro-split.is-statement h2 { font-size: clamp(2.3rem, 4.7vw, 4.1rem); max-width: 17ch; letter-spacing: -.026em; }
.intro-split.is-statement .intro-copy { font-size: clamp(1.1rem, 1.6vw, 1.32rem); }

/* ---------- Planes takeover (#tesis) ----------
   The thesis pins; three goal cards preview side by side, then each one
   expands to take the whole stage and hands it back before the next.
   JS (html.planes-on) drives geometry on absolutely positioned cards inside
   a fixed sticky stage; without it this is a calm static row. */
.planes-inner {
  width: 100%;
  display: flex; flex-direction: column;
  gap: clamp(2rem, 5vh, 3.2rem);
}
.goal-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.25rem);
}
@media (max-width: 860px) { .goal-row { grid-template-columns: 1fr; } }
.goal-card {
  position: relative; overflow: hidden;
  background: var(--blue-tint);
  border-radius: var(--r-card);
  min-height: clamp(200px, 26vh, 280px);
}
.goal-tilt { height: 100%; }
/* Preview photo: an edge strip on the card's right, clipped by the card */
.goal-thumb {
  position: absolute; right: 0; top: 0;
  width: 38%; height: 100%;
  object-fit: cover;
}
.goal-min {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: var(--s-4);
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
  padding-right: calc(38% + 1rem);
}
.goal-n {
  font-size: var(--fs-tiny); font-weight: 680; letter-spacing: .13em;
  color: var(--text-faint);
}
.goal-min h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 660; max-width: 13ch; }
.goal-tag {
  align-self: flex-start;
  display: inline-block;
  font-size: var(--fs-tiny); font-weight: 680;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  padding: .42em 1em; border-radius: var(--r-pill);
}
/* Expanded state: laid out at stage size, revealed by the growing card */
.goal-full {
  display: none;
  position: absolute; left: 0; top: 0;
  flex-direction: column; justify-content: center; align-items: flex-start;
  gap: var(--s-4);
  padding: clamp(2rem, 5vw, 5rem);
  padding-right: calc(30% + clamp(3rem, 7vw, 7rem));
}
.goal-full > :not(.goal-water):not(.goal-photo) { position: relative; z-index: 1; }
/* Expanded photo: a framed plate holding the stage's right side */
.goal-photo {
  position: absolute; left: auto; right: clamp(2rem, 4.5vw, 4.5rem); top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  width: min(30%, 430px); max-height: 76%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--r-card) + 8px);
  box-shadow: var(--shadow-lift);
}
.goal-big {
  font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 720;
  letter-spacing: -.026em; line-height: 1.04;
  color: var(--text); max-width: 14ch;
}
.goal-copy { font-size: var(--fs-lede); color: var(--text-soft); max-width: 46ch; }
.goal-meta { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-3); }
.goal-water {
  position: absolute; right: clamp(1rem, 4vw, 4rem); bottom: -.18em;
  font-size: clamp(9rem, 30vh, 17rem); font-weight: 760; line-height: 1;
  letter-spacing: -.04em;
  color: color-mix(in srgb, var(--blue) 12%, white);
  user-select: none;
}
/* The pinned machine (JS on, desktop, motion allowed) */
html.planes-on .planes-pin { height: 400vh; }
html.planes-on .planes-stage {
  position: sticky; top: calc(var(--header-h) + 10px);
  height: calc(100vh - var(--header-h) - 20px);
  min-height: 540px;
  display: flex;
}
html.planes-on .planes-inner {
  justify-content: space-between;
  padding-block: clamp(1.6rem, 4vh, 3rem);
}
html.planes-on #tesis .intro-split.is-statement h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
html.planes-on .goal-card {
  position: absolute;
  opacity: var(--ento, 0);
  min-height: 0;
  box-shadow: none;
  will-change: left, top, width, height;
}
html.planes-on .goal-card.is-active { box-shadow: var(--shadow-lift); }
html.planes-on .goal-tilt {
  transform: translateY(calc((1 - var(--ent, 0)) * 38px))
             rotate(calc(var(--tilt, 0deg) * (1 - var(--e, 0))));
}
html.planes-on .goal-min,
html.planes-on .goal-thumb { opacity: calc(1 - var(--e, 0) * 2.4); }
html.planes-on .goal-full {
  display: flex;
  visibility: hidden;
  opacity: calc((var(--e, 0) - .5) / .35);
  transform: translateY(calc((1 - var(--e, 0)) * 30px));
}
html.planes-on .goal-card.is-open .goal-full { visibility: visible; }

/* ---------- 404: the page that is still a plan ---------- */
.lost-main { position: relative; overflow: hidden; min-height: 68vh; }
.lost-code {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -52%);
  font-size: clamp(15rem, 36vw, 32rem); font-weight: 760; line-height: 1;
  letter-spacing: -.05em;
  color: color-mix(in srgb, var(--blue) 7%, white);
  user-select: none; pointer-events: none;
}
.lost-main .stub-inner { position: relative; z-index: 1; }

/* The sketch-line motif */
.head-stroke { width: 120px; height: 10px; margin-top: var(--s-3); overflow: visible; }
.head-stroke path {
  fill: none; stroke: color-mix(in srgb, var(--navy) 32%, var(--border));
  stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.shell-navy .head-stroke path { stroke: color-mix(in srgb, var(--white) 44%, transparent); }
html.js [data-reveal].is-in .head-stroke path,
html.js .head-stroke[data-reveal].is-in path {
  transition: stroke-dashoffset 900ms var(--ease-out) 150ms;
  stroke-dashoffset: 0;
}
html:not(.js) .head-stroke path { stroke-dashoffset: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--r-card); padding: var(--s-5);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
}
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--navy) 20%, var(--border)); }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--blue-tint);
  display: grid; place-items: center; margin-bottom: var(--s-4);
}
.card-icon img { width: 28px; height: 28px; }
.card h3 { font-size: var(--fs-h3); font-weight: 680; margin-bottom: var(--s-2); }
.card p { color: var(--text-soft); font-size: var(--fs-small); }
.card .card-cta { margin-top: var(--s-4); }
.card-tag {
  display: inline-block;
  width: fit-content; font-size: var(--fs-tiny); font-weight: 700;
  color: color-mix(in srgb, var(--orange) 76%, black); background: var(--orange-tint);
  padding: .28em .85em; border-radius: var(--r-pill); margin-bottom: var(--s-3);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Motion: reveals and floats (compostura) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); }
html.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
/* Floating elements drift in from off-angle positions and straighten as they
   settle; the transform follows the scroll both ways (like the mp4 reference),
   the opacity only ever arrives. */
html.js [data-float] {
  opacity: calc(.2 + var(--fpo, 0) * .8);
  transform: translate(calc((1 - var(--fp, 0)) * var(--float-x, 0px)),
                       calc((1 - var(--fp, 0)) * var(--float-y, 44px)))
             rotate(calc(var(--float-r, 2deg) * (1 - var(--fp, 0))));
  will-change: transform, opacity;
}
html:not(.js) [data-float] { opacity: 1; transform: none; }

/* ============================================================
   HERO: "La mano" (light, airy; the phone in a living hand)
   ============================================================ */
.mano-wrap { padding-top: calc(var(--header-h) + clamp(.6rem, 1.6vw, 1.25rem)); }
.mano {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  padding: clamp(2rem, 4.5vw, 4.5rem);
  min-height: min(86svh, 880px);
  background:
    radial-gradient(120% 130% at 86% 8%, color-mix(in srgb, var(--blue) 9%, transparent), transparent 52%),
    radial-gradient(100% 120% at 8% 96%, color-mix(in srgb, var(--orange) 5%, transparent), transparent 46%),
    var(--white);
}
@media (max-width: 920px) {
  .mano { grid-template-columns: 1fr; min-height: 0; padding: clamp(1.4rem, 4vw, 2.5rem); padding-top: clamp(2rem, 6vw, 3rem); }
}
.mano-copy { max-width: 34rem; }
.mano-copy h1 {
  font-size: var(--fs-display); font-weight: 680;
  line-height: 1.01; letter-spacing: -.028em;
}
.mano-copy h1 .dot { color: var(--orange); }
.mano-sub {
  margin-top: var(--s-4);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 560;
  color: var(--text-soft);
  max-width: 30ch;
}
.mano-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; margin-top: clamp(1.5rem, 3vw, 2.2rem); }
.mano-proof {
  display: flex; align-items: center; gap: var(--s-2) var(--s-3); flex-wrap: wrap;
  margin-top: clamp(1.8rem, 4vw, 3rem);
  color: var(--text-soft); font-size: var(--fs-tiny);
}
.proof-item { display: flex; align-items: center; gap: .6em; font-weight: 560; }
.proof-item b { color: var(--navy); font-weight: 720; }
.proof-item .stars { display: inline-flex; gap: 2px; }
.proof-item .stars svg { width: 15px; height: 15px; fill: var(--navy); }
.proof-item .stars svg.half { fill: color-mix(in srgb, var(--navy) 38%, var(--border)); }
.proof-sep { width: 1px; height: 2em; background: var(--border); }
@media (max-width: 560px) { .proof-sep { display: none; } .mano-proof { gap: var(--s-3); } }

/* Staged entrance: one thing leads, the rest follow */
html.js .mano [data-stage] { opacity: 0; transform: translateY(26px); }
html.js .mano.is-on [data-stage] {
  opacity: 1; transform: none;
  transition: opacity 720ms var(--ease-out) calc(var(--stage, 0) * 110ms),
              transform 720ms var(--ease-out) calc(var(--stage, 0) * 110ms);
}

.mano-media {
  position: relative;
  border-radius: calc(var(--r-shell) * .8);
  overflow: clip;
  aspect-ratio: 5 / 5.6;
  max-height: min(72svh, 760px);
  justify-self: end;
  width: 100%;
  background: var(--ground-blue);
  box-shadow: var(--shadow-card);
}
@media (max-width: 920px) { .mano-media { aspect-ratio: 1 / 1.04; justify-self: stretch; max-height: none; } }
.mano-media video, .mano-media .mano-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 34%;
  transform: translateY(calc(var(--par, 0) * 14px)) scale(1.06);
  will-change: transform;
}
html.js .mano-media video { opacity: 0; transition: opacity 900ms var(--ease-out); }
html.js .mano.video-on .mano-media video { opacity: 1; }
.mano-hint {
  position: absolute; left: var(--s-4); bottom: var(--s-4); z-index: 2;
  font-size: var(--fs-tiny); font-weight: 620; letter-spacing: .04em;
  color: color-mix(in srgb, var(--navy) 74%, white);
  background: color-mix(in srgb, var(--white) 78%, transparent);
  border: 1px solid var(--border-soft);
  padding: .4em .9em; border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

/* ---------- Plan block: cuenta (5:00) ---------- */
.plan-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.2rem, 5.5vw, 5rem); align-items: center;
}
@media (max-width: 920px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-copy h2 { font-size: var(--fs-h2); font-weight: 660; max-width: 17ch; }
.plan-copy .lede { color: var(--text-soft); font-size: var(--fs-lede); margin-top: var(--s-4); max-width: 46ch; }
.shell-navy .plan-copy .lede { color: var(--text-inverse-soft); }
.plan-copy .plan-product { margin-top: var(--s-3); font-weight: 700; color: var(--navy); font-size: var(--fs-small); letter-spacing: .02em; }
.plan-copy .actions { margin-top: var(--s-6); display: flex; gap: var(--s-4); flex-wrap: wrap; align-items: center; }

/* ---------- Bento duo: copy cell + dial cell ---------- */
.bento-duo { display: flex; gap: var(--s-4); align-items: stretch; }
.bento-cell {
  background: var(--ground-blue);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 3.2vw, 2.8rem);
  min-width: 0;
}
.bento-cell.is-copy { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; }
.bento-cell.is-dial {
  flex: 0 0 44%;
  background: var(--blue-tint);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: clip;
}
.grow-extra {
  display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: center;
  margin-top: var(--s-3);
}
.grow-extra span {
  font-size: var(--fs-tiny); font-weight: 650; color: var(--navy);
  background: var(--white); border: 1px solid var(--border-soft);
  padding: .38em .95em; border-radius: var(--r-pill);
  white-space: nowrap;
}
@media (max-width: 920px) {
  .bento-duo { flex-direction: column; }
  .bento-cell.is-dial { flex: 1 1 auto; }
}

/* ---------- Giant stat wall (the reference board's huge number rows) ---------- */
.stats-wall {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--border-soft);
  padding-top: clamp(1.8rem, 4.5vw, 3.2rem);
}
.stats-wall > div { padding-inline: clamp(1rem, 3vw, 2.5rem); text-align: center; }
.stats-wall > div + div { border-left: 1px solid var(--border-soft); }
.stats-wall b {
  display: block; font-variant-numeric: tabular-nums;
  font-size: clamp(2.7rem, 6.4vw, 5.4rem); font-weight: 730;
  letter-spacing: -.032em; line-height: 1; color: var(--navy);
}
.stats-wall span { display: block; margin-top: var(--s-3); font-size: var(--fs-small); color: var(--text-soft); max-width: 26ch; margin-inline: auto; }
@media (max-width: 720px) {
  .stats-wall { grid-template-columns: 1fr; gap: var(--s-5); }
  .stats-wall > div + div { border-left: 0; border-top: 1px solid var(--border-soft); padding-top: var(--s-5); }
}

.fivemin { position: relative; display: grid; place-items: center; padding-block: var(--s-4); }
.fivemin svg { width: min(340px, 74vw); height: auto; overflow: visible; }
.fivemin .ring-track { fill: none; stroke: color-mix(in srgb, var(--navy) 12%, var(--border-soft)); stroke-width: 2.5; }
.fivemin .ring-run { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .fivemin.is-in .ring-run { transition: stroke-dashoffset 1600ms var(--ease-out) 200ms; stroke-dashoffset: .1667; }
html:not(.js) .fivemin .ring-run { stroke-dashoffset: .1667; }
.fivemin .dial-core { position: absolute; text-align: center; }
.fivemin b {
  display: block; font-variant-numeric: tabular-nums;
  font-size: clamp(3.4rem, 8vw, 5.4rem); font-weight: 740; letter-spacing: -.03em;
  color: var(--navy); line-height: 1;
}
.fivemin span { display: block; margin-top: var(--s-2); font-size: var(--fs-small); color: var(--text-soft); font-weight: 600; }

/* ---------- Card cinema (the dark inset panel that earns the drama) ----------
   The card lives: a slow idle bob (like the floating cards in the mp4
   reference) on top of a scroll-linked drift, with a warm glow moving
   in counter-parallax behind it. */
.cinema { overflow: clip; position: relative; }
.cinema .section-head h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 16ch; }
.cinema-stage {
  position: relative; width: min(880px, 100%); margin-inline: auto;
  transform: translateY(calc(var(--cin, 0) * -36px)) rotate(calc(var(--cin, 0) * 2.8deg));
  will-change: transform;
}
.cinema-stage::before {
  content: ''; position: absolute; inset: -14% -20%;
  background: radial-gradient(46% 42% at 50% 60%, var(--orange-glow), transparent 72%);
  opacity: .45; pointer-events: none;
  transform: translateY(calc(var(--cin, 0) * 44px));
  will-change: transform;
}
.cinema-stage img {
  position: relative;
  width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(82% 88% at 50% 48%, #000 42%, transparent 76%);
          mask-image: radial-gradient(82% 88% at 50% 48%, #000 42%, transparent 76%);
  animation: card-bob 7s ease-in-out infinite alternate;
}
@keyframes card-bob {
  from { transform: translateY(-7px) rotate(-.5deg) scale(1.02); }
  to   { transform: translateY(9px) rotate(.6deg) scale(1.02); }
}
.stats-giant {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6);
  margin-top: clamp(2.2rem, 5vw, 4rem);
  border-top: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  padding-top: clamp(1.8rem, 4vw, 3rem);
}
.stats-giant b {
  display: block; font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 4.6vw, 3.9rem); font-weight: 740;
  letter-spacing: -.03em; line-height: 1.04; color: var(--white);
}
.stats-giant b small { font-size: .52em; font-weight: 700; letter-spacing: -.01em; }
.stats-giant span { display: block; margin-top: var(--s-2); font-size: var(--fs-small); color: var(--text-inverse-soft); }
@media (max-width: 720px) { .stats-giant { grid-template-columns: 1fr; gap: var(--s-5); } }

/* ---------- Yape ---------- */
.photo-plate { position: relative; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lift); }
.photo-plate img { width: 100%; height: 100%; object-fit: cover; }
.counter-row { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.counter-row .metric b {
  display: block; font-variant-numeric: tabular-nums;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 740; letter-spacing: -.025em; line-height: 1.06;
  color: var(--navy);
}
.counter-row .metric span { font-size: var(--fs-small); color: var(--text-soft); }

/* ---------- The network (light, drawn in navy) ---------- */
.red-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.2rem, 5.5vw, 5rem); align-items: center;
}
@media (max-width: 920px) { .red-grid { grid-template-columns: 1fr; } }
.bo-map { width: min(520px, 100%); margin-inline: auto; overflow: visible; }
.bo-map .bo-outline {
  fill: none; stroke: color-mix(in srgb, var(--navy) 46%, var(--border));
  stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
html.js .is-in .bo-map .bo-outline, html.js .bo-map.is-in .bo-outline { transition: stroke-dashoffset 1800ms var(--ease-out); stroke-dashoffset: 0; }
html:not(.js) .bo-map .bo-outline { stroke-dashoffset: 0; }
.bo-map .bo-dot { fill: var(--orange); opacity: 0; transform-origin: center; transform-box: fill-box; transform: scale(.2); }
html.js .is-in .bo-map .bo-dot, html.js .bo-map.is-in .bo-dot {
  opacity: 1; transform: scale(1);
  transition: opacity 420ms var(--ease-out) var(--dot-d, 400ms), transform 420ms var(--ease-out) var(--dot-d, 400ms);
}
html:not(.js) .bo-map .bo-dot { opacity: 1; transform: none; }
.bo-map .bo-agent { fill: color-mix(in srgb, var(--navy) 34%, var(--border)); opacity: 0; }
html.js .is-in .bo-map .bo-agent, html.js .bo-map.is-in .bo-agent { opacity: .85; transition: opacity 700ms var(--ease-out) var(--dot-d, 900ms); }
html:not(.js) .bo-map .bo-agent { opacity: .85; }
.bo-map text {
  font-family: var(--font); font-size: 3.4px; font-weight: 650; letter-spacing: .06em;
  fill: color-mix(in srgb, var(--navy) 72%, white); text-transform: uppercase;
}
.red-list { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.red-item {
  display: flex; align-items: center; gap: var(--s-4); width: 100%; text-align: left;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 16px; padding: var(--s-4) var(--s-5);
  color: var(--navy); text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
}
.red-item:hover { text-decoration: none; transform: translateX(4px); border-color: color-mix(in srgb, var(--navy) 22%, var(--border)); box-shadow: var(--shadow-lift); color: var(--navy); }
.red-item svg { width: 26px; height: 26px; flex: 0 0 auto; stroke: var(--navy); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.red-item b { display: block; font-size: 1.02rem; font-weight: 690; }
.red-item span { display: block; font-size: var(--fs-small); color: var(--text-soft); }
.red-note { margin-top: var(--s-5); font-size: var(--fs-small); color: var(--text-soft); max-width: 52ch; }

/* ---------- Audiences ---------- */
.segment-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 980px) { .segment-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .segment-strip { grid-template-columns: 1fr; } }
.segment-card { display: flex; flex-direction: column; gap: var(--s-2); min-height: 172px; }
.segment-card h3 { font-size: 1.22rem; }
.segment-card .link-arrow { margin-top: auto; font-size: var(--fs-small); }

/* ---------- Promotions teaser ---------- */
.promo-teaser {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; justify-content: space-between;
}
.promo-teaser h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 24ch; }
.promo-teaser p { color: var(--text-soft); margin-top: var(--s-2); max-width: 48ch; }

/* ---------- Trust: compliance as first-class design ---------- */
.trust-band { display: grid; gap: var(--s-4); }
.trust-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 980px) { .trust-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-links { grid-template-columns: 1fr; } }
.trust-links .card { padding: var(--s-4) var(--s-5); }
.trust-links .card h3 { font-size: 1.05rem; margin-bottom: var(--s-1); }
.trust-links .card p { font-size: var(--fs-tiny); }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; position: relative; overflow: clip; }
.cta-final::before {
  content: ''; position: absolute; inset: auto -20% -58% -20%; height: 95%;
  background: radial-gradient(closest-side, var(--orange-glow), transparent 70%);
  pointer-events: none;
}
.cta-final h2 {
  position: relative;
  font-size: clamp(2.4rem, 5.8vw, 4.8rem); font-weight: 700;
  letter-spacing: -.028em; line-height: 1.02; color: var(--white);
  max-width: 18ch; margin-inline: auto;
}
.cta-final h2 .dot { color: var(--orange); }
.cta-final p { position: relative; color: var(--text-inverse-soft); font-size: 1.12rem; margin: var(--s-4) auto 0; max-width: 46ch; }
.cta-final .hero-actions { position: relative; justify-content: center; margin-top: var(--s-6); }
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ---------- Footer: light ---------- */
.site-footer {
  margin-top: clamp(.75rem, 1.8vw, 1.4rem);
  background: var(--white);
  border-top: 1px solid var(--border-soft);
}
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6);
  padding-block: var(--s-8) var(--s-7);
}
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand img.footer-logo { height: 34px; width: auto; margin-bottom: var(--s-4); }
.footer-brand .purpose { font-size: 1.05rem; color: var(--navy); font-weight: 620; max-width: 24ch; }
.footer-brand .hashtags { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--text-soft); }
.app-badges { display: flex; gap: var(--s-2); margin-top: var(--s-5); flex-wrap: wrap; }
.app-badges span {
  display: inline-flex; align-items: center;
  background: var(--navy); border-radius: 10px; padding: 7px 12px;
}
.app-badges img { height: 22px; width: auto; }
.footer-col h4 {
  color: var(--navy); font-size: var(--fs-tiny); font-weight: 720;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-col a { color: var(--text-soft); font-size: var(--fs-small); }
.footer-col a:hover { color: var(--navy); }
.footer-trust {
  border-top: 1px solid var(--border-soft);
  padding-block: var(--s-5);
  display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; justify-content: space-between;
}
.footer-trust .legend { font-size: var(--fs-small); color: var(--navy); font-weight: 600; max-width: 52ch; }
.trust-logos { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.trust-logos img { height: 34px; width: auto; border: 1px solid var(--border-soft); background: var(--white); border-radius: 8px; padding: 5px 10px; }
.trust-logos img.no-plate { border: 0; padding: 0; height: 22px; }
.footer-legal {
  border-top: 1px solid var(--border-soft);
  padding-block: var(--s-4);
  font-size: var(--fs-tiny); color: var(--text-faint);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between;
}
.footer-legal a { color: inherit; }

/* ---------- Page head (interior pages, light) ---------- */
.page-head { padding-block: calc(var(--header-h) + clamp(1.6rem, 4vw, 3rem)) clamp(1.6rem, 4vw, 2.6rem); }
.page-head h1 { font-size: var(--fs-h1); font-weight: 680; max-width: 22ch; }
.page-head p { color: var(--text-soft); margin-top: var(--s-4); font-size: var(--fs-lede); max-width: 56ch; }
.page-head .hero-actions { margin-top: var(--s-6); }
.page-head-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 880px) { .page-head-grid { grid-template-columns: 1fr; } }
.page-head-grid .photo-plate { aspect-ratio: 4 / 3; }
.page-head-grid .photo-plate img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Personas hub ---------- */
.hub-tabs { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-6); }
.hub-tab {
  background: var(--white); border: 1.5px solid var(--border); color: var(--navy);
  font-weight: 640; font-size: var(--fs-small);
  padding: .6em 1.3em; border-radius: var(--r-pill);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.hub-tab:hover { border-color: var(--navy); }
.hub-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
@media (max-width: 980px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-grid .card.is-hidden { display: none; }

/* ---------- Cuenta Digital flow ---------- */
.flow-shell {
  max-width: 760px; margin-inline: auto; position: relative;
  scroll-margin-top: calc(var(--header-h) + 16px);
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--r-card); box-shadow: var(--shadow-shell);
  padding: clamp(1.5rem, 4vw, 2.8rem);
}
.flow-timer {
  display: flex; align-items: baseline; gap: var(--s-2); justify-content: flex-end;
  margin-bottom: var(--s-4);
  color: var(--text-soft); font-size: var(--fs-tiny); font-weight: 640;
}
.flow-timer b {
  font-size: 1.7rem; font-weight: 740; letter-spacing: -.02em;
  color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1;
}
.flow-timer.is-low b { color: var(--orange); }
@media (min-width: 761px) {
  .flow-timer { position: absolute; top: clamp(1.5rem, 4vw, 2.8rem); right: clamp(1.5rem, 4vw, 2.8rem); margin-bottom: 0; }
  .flow-progress { margin-right: 248px; }
}
.flow-progress { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-6); }
.flow-step-dot { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-tiny); font-weight: 640; color: var(--text-soft); }
.flow-step-dot .dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1.5px solid var(--border);
  font-size: var(--fs-tiny); font-weight: 700; color: var(--text-soft);
  transition: background var(--t-med) var(--ease-out), color var(--t-med), border-color var(--t-med);
}
.flow-step-dot[data-state="active"] .dot { background: var(--orange); border-color: var(--orange); color: var(--white); }
.flow-step-dot[data-state="done"] .dot { background: var(--navy); border-color: var(--navy); color: var(--white); }
.flow-step-dot[data-state="active"] { color: var(--navy); }
.flow-bar { flex: 1; height: 2px; background: var(--border-soft); min-width: 14px; }
@media (max-width: 560px) {
  .flow-step-dot span:not(.dot) { display: none; }
  .flow-step-dot[data-state="active"] span:not(.dot) { display: inline; }
}
.flow-panel { display: none; }
.flow-panel.is-active { display: block; animation: panel-in 350ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.demo-banner {
  background: var(--orange-tint); border: 1px solid color-mix(in srgb, var(--orange) 30%, white);
  color: color-mix(in srgb, var(--orange) 70%, black);
  font-size: var(--fs-small); font-weight: 600;
  border-radius: var(--r-input); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-5);
}
.field { margin-bottom: var(--s-4); }
.field label { display: block; font-size: var(--fs-small); font-weight: 640; color: var(--navy); margin-bottom: var(--s-1); }
.field input, .field select {
  width: 100%; font: inherit; color: var(--text);
  padding: .75em 1em; border-radius: var(--r-input);
  border: 1.5px solid var(--border); background: var(--white);
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--blue); }
.field .hint { font-size: var(--fs-tiny); color: var(--text-soft); margin-top: var(--s-1); }
.checklist { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-3); }
.checklist li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  background: var(--ground-blue); border-radius: var(--r-input); padding: var(--s-4);
}
.checklist .check {
  width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%;
  background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: .8rem;
}
.flow-nav { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-6); }
.flow-success {
  position: relative; text-align: center;
  padding: clamp(2.2rem, 5vw, 3.5rem) clamp(1.2rem, 3vw, 2.5rem);
  border-radius: var(--r-card); overflow: clip;
  background: linear-gradient(165deg, var(--navy) 12%, var(--blue-deep));
}
.flow-success .success-plate {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .85;
}
.flow-success > *:not(.success-plate) { position: relative; }
.flow-success h2 { color: var(--white); }
.flow-success .big-check {
  width: 74px; height: 74px; margin: 0 auto var(--s-5); border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: grid; place-items: center; font-size: 2rem;
  box-shadow: 0 12px 36px var(--orange-glow);
}
.flow-sobraron {
  margin-top: var(--s-4);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing: -.02em;
  color: var(--white); font-variant-numeric: tabular-nums;
}
.flow-success .success-note { color: var(--text-inverse-soft); }

/* ---------- Tarjeta Prepago page ---------- */
.tp-hero { overflow: clip; padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem); }
.tp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .tp-hero-grid { grid-template-columns: 1fr; } }
.tp-hero h1 { color: var(--white); font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.025em; max-width: 15ch; }
.tp-hero .lede { color: var(--text-inverse-soft); margin-top: var(--s-4); font-size: var(--fs-lede); max-width: 46ch; }
.tp-hero img {
  width: 100%; height: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--border-navy);
  box-shadow: 0 30px 80px color-mix(in srgb, black 40%, transparent);
}
.como-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); position: relative; }
@media (max-width: 820px) { .como-steps { grid-template-columns: 1fr; } }
.como-line { position: absolute; inset: 34px 8% auto; height: 12px; overflow: visible; pointer-events: none; }
@media (max-width: 820px) { .como-line { display: none; } }
.como-line path {
  fill: none; stroke: color-mix(in srgb, var(--navy) 30%, var(--border));
  stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
}
html.js .como-steps.is-in .como-line path { transition: stroke-dashoffset 1400ms var(--ease-out) 250ms; stroke-dashoffset: 0; }
html:not(.js) .como-line path { stroke-dashoffset: 0; }
.como-step { position: relative; }
.como-step .step-n {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--border);
  display: grid; place-items: center; margin-bottom: var(--s-4);
  font-weight: 740; font-size: 1.3rem; color: var(--navy);
  position: relative; z-index: 1;
  box-shadow: var(--shadow-card);
}
.como-step h3 { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.como-step p { color: var(--text-soft); font-size: var(--fs-small); max-width: 34ch; }

.faq { display: grid; gap: var(--s-3); max-width: 820px; }
.faq details {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-input);
  padding: var(--s-4) var(--s-5);
  box-shadow: var(--shadow-card);
}
.faq summary {
  cursor: pointer; font-weight: 690; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; font-weight: 600; color: var(--orange); transition: transform var(--t-fast) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: var(--s-3); color: var(--text-soft); font-size: var(--fs-small); }

/* ---------- Stub pages ---------- */
.stub-main { min-height: 52vh; display: grid; place-items: center; text-align: center; padding-block: calc(var(--header-h) + var(--s-7)) var(--s-9); }
.stub-main .stub-inner { max-width: 560px; }
.stub-main h1 { font-size: var(--fs-h2); margin-bottom: var(--s-3); }
.stub-main p { color: var(--text-soft); margin-bottom: var(--s-5); }

/* ============================================================
   THE CHAT SLOT (unbranded conversational layer)
   ============================================================ */
.chat-launcher {
  position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 110;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--navy); border: 1px solid color-mix(in srgb, var(--white) 20%, transparent);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--navy) 30%, transparent);
  display: grid; place-items: center;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out);
}
.chat-launcher svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.chat-launcher:hover { transform: translateY(-2px); border-color: var(--orange); }
.chat-launcher:active { background: var(--orange); border-color: var(--orange); transform: translateY(0); }
.chat-launcher[aria-expanded="true"] { background: var(--blue-deep); }
.chat-launcher .ico-close { display: none; }
.chat-launcher[aria-expanded="true"] .ico-chat { display: none; }
.chat-launcher[aria-expanded="true"] .ico-close { display: block; }

.chat-panel {
  position: fixed; right: var(--s-4); bottom: calc(var(--s-4) + 70px); z-index: 110;
  width: min(380px, calc(100vw - 2rem));
  max-height: min(540px, calc(100svh - 120px));
  background: var(--white); border-radius: var(--r-card);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.985); pointer-events: none;
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { padding: var(--s-4) var(--s-5) 0; }
.chat-head .chat-stroke { width: 64px; height: 10px; overflow: visible; }
.chat-head .chat-stroke path {
  fill: none; stroke: color-mix(in srgb, var(--navy) 40%, var(--border));
  stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.chat-panel.is-open .chat-stroke path { transition: stroke-dashoffset 800ms var(--ease-out) 250ms; stroke-dashoffset: 0; }
.chat-body { padding: var(--s-4) var(--s-5); overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: var(--s-3); }
.chat-msg { display: flex; }
.chat-msg .bubble {
  background: var(--ground-blue); border-radius: 14px 14px 14px 4px;
  padding: var(--s-3) var(--s-4); font-size: var(--fs-small); color: var(--text);
  max-width: 85%;
  opacity: 0; transform: translateY(8px);
}
.chat-panel.is-open .chat-msg .bubble {
  opacity: 1; transform: none;
  transition: opacity 460ms var(--ease-out) 420ms, transform 460ms var(--ease-out) 420ms;
}
.chat-msg.from-user { justify-content: flex-end; }
.chat-msg.from-user .bubble { background: var(--navy); color: var(--white); border-radius: 14px 14px 4px 14px; opacity: 1; transform: none; transition: none; }
.chat-note {
  display: none;
  font-size: var(--fs-tiny); color: var(--text-soft);
  background: var(--ground); border-radius: var(--r-input);
  padding: var(--s-3) var(--s-4);
}
.chat-note.is-on { display: block; animation: panel-in 350ms var(--ease-out); }
.chat-note-presenter {
  display: none;
  font-size: var(--fs-tiny); font-weight: 640;
  color: color-mix(in srgb, var(--orange) 70%, black);
  background: var(--orange-tint); border-radius: var(--r-input);
  padding: var(--s-3) var(--s-4);
}
body.presenter-mode .chat-note-presenter { display: block; }
.chat-input { display: flex; gap: var(--s-2); border-top: 1px solid var(--border-soft); padding: var(--s-3) var(--s-4); }
.chat-input input {
  flex: 1; min-width: 0; font: inherit; font-size: var(--fs-small);
  border: 1.5px solid var(--border); border-radius: var(--r-pill);
  padding: .6em 1.1em; outline: 0;
}
.chat-input input:focus { border-color: var(--blue); }
.chat-send {
  background: var(--navy); color: var(--white); border: 0; border-radius: 50%;
  width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center;
  transition: background var(--t-fast);
}
.chat-send:hover { background: var(--orange); }
.chat-send svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   PRESENTER MODE
   ============================================================ */
.presenter-ui {
  position: fixed; left: 50%; bottom: var(--s-4); transform: translateX(-50%);
  z-index: 140;
  display: flex; align-items: center; gap: var(--s-4);
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  border: 1px solid var(--border-navy);
  color: var(--white); font-size: var(--fs-tiny);
  padding: .6em 1.2em; border-radius: var(--r-pill);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.presenter-ui .p-dots { display: flex; gap: 6px; }
.presenter-ui .p-dot { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--white) 26%, transparent); transition: background var(--t-fast), transform var(--t-fast); }
.presenter-ui .p-dot.is-on { background: var(--orange); transform: scale(1.25); }
.presenter-ui .p-label { font-weight: 700; letter-spacing: .02em; }
.presenter-ui .p-keys { color: color-mix(in srgb, var(--white) 55%, transparent); font-weight: 600; }
@media (max-width: 640px) { .presenter-ui .p-keys { display: none; } }

/* ---------- Utility ---------- */
.mt-6 { margin-top: var(--s-6); }
.center { text-align: center; }

/* ---------- Reduced motion: instant, fully-composed states ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  html.js [data-float] { opacity: 1 !important; transform: none !important; }
  html.js .mano [data-stage] { opacity: 1 !important; transform: none !important; }
  .mano-media video { display: none; }
  html.js .mano-media .mano-poster { opacity: 1 !important; transform: none !important; }
  .fivemin .ring-run { stroke-dashoffset: .1667 !important; }
  .bo-map .bo-outline { stroke-dashoffset: 0 !important; }
  .bo-map .bo-dot, .bo-map .bo-agent { opacity: 1 !important; transform: none !important; }
  .head-stroke path, .como-line path, .chat-head .chat-stroke path { stroke-dashoffset: 0 !important; }
  .cinema-stage, .cinema-stage::before, .cinema-stage img { transform: none !important; animation: none !important; }
  .mano-media video, .mano-media .mano-poster { transform: none !important; }
}
