/* COLEX by LQN landing.
   Brand: Manual de Marca LQN. Fucsia is the single interactive/text accent; cian and
   amarillo are used only as graphic fills (shapes, chevrons, highlights), per the manual.
   Radius system: interactive = full pill; cards = --r-card (outer) / --r-core (inner);
   list items = --r-item. Theme: light by default, dark via prefers-color-scheme. */
@font-face { font-family: "Jost"; src: url("/colex/fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/colex/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --pink: #E90085;
  --pink-d: #C4006F;
  --pink-dd: #8F0052;
  --pink-l: #FF5AAE;
  --cyan: #58CFEF;
  --yellow: #FFBD31;
  --on-fill: #0E0C11;

  --bg: #FEFCFD;
  --bg-alt: #F7F3F6;
  --surface: #FFFFFF;
  --text: #0E0C11;
  --text-2: #2C2832;
  --muted: #625C69;
  --line: rgba(14, 12, 17, .08);
  --shell: rgba(14, 12, 17, .035);
  --shadow: 0 24px 60px -36px rgba(120, 0, 70, .35);
  --glass: rgba(255, 252, 254, .82);

  --r-card: 2rem;
  --r-core: 1.55rem;
  --r-item: 1.25rem;
  --spring: cubic-bezier(.32, .72, 0, 1);
  --soft: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(1rem, 4vw, 3rem);
  --sec: clamp(5.5rem, 11vw, 9rem);
  --f-head: "Jost", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110F14;
    --bg-alt: #18151C;
    --surface: #1F1B24;
    --text: #F5F1F6;
    --text-2: #DCD6DF;
    --muted: #ADA5B4;
    --line: rgba(255, 255, 255, .09);
    --shell: rgba(255, 255, 255, .04);
    --shadow: 0 24px 60px -36px rgba(0, 0, 0, .7);
    --glass: rgba(24, 21, 28, .78);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
b { font-weight: 600; }
h1, h2, h3 { font-family: var(--f-head); margin: 0; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - var(--pad) * 2); margin-inline: auto; }
.pink { color: var(--pink); }
.pink-l { color: var(--pink-l); }
@media (prefers-color-scheme: dark) { .pink { color: var(--pink-l); } }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--text); color: var(--bg); padding: .75rem 1rem; border-radius: 0 0 .75rem 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* Icons (Phosphor, via inline sprite) */
.ic { width: 1.6rem; height: 1.6rem; fill: currentColor; flex: none; }
.ic--lg { width: 2.4rem; height: 2.4rem; }
.ic--xl { width: 3.2rem; height: 3.2rem; }

/* ---------- Eyebrow (3 on the page: hero, checker, brokers) ---------- */
.eyebrow { display: inline-flex; align-items: center; padding: .45rem .9rem; border-radius: 999px; font: 600 .72rem/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--pink); background: rgba(233, 0, 133, .07); box-shadow: inset 0 0 0 1px rgba(233, 0, 133, .16); }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--pink-l); background: rgba(255, 90, 174, .1); } }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.eyebrow--dark { color: var(--pink-l); background: rgba(255, 90, 174, .1); box-shadow: inset 0 0 0 1px rgba(255, 90, 174, .24); }

/* ---------- Type ---------- */
.h2 { font-weight: 700; font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; }
.eyebrow + .h2 { margin-top: 1.25rem; }
.h2--light { color: #fff; }
.lede { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 56ch; }
.lede b { color: var(--text); }
.lede--light { color: rgba(255, 255, 255, .74); }
.source { margin-top: 1.5rem; font-size: .86rem; color: var(--muted); max-width: 56ch; padding-left: 1rem; border-left: 3px solid var(--cyan); }
.link { color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .link { color: var(--pink-l); } }
.section { padding-block: var(--sec); position: relative; }

/* ---------- Buttons (pill + nested icon) ---------- */
.btn { --bg-b: var(--text); --fg: var(--bg); --ic: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .5rem .5rem 1.5rem; min-height: 3.5rem; border-radius: 999px; background: var(--bg-b); color: var(--fg); font: 700 .95rem/1 var(--f-head); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform .5s var(--spring), background-color .4s var(--spring), box-shadow .5s var(--spring); }
.btn__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--ic); transition: transform .5s var(--spring); flex: none; }
.btn__icon svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__icon { transform: translate(3px, -2px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn--pink { --bg-b: var(--pink); --fg: #fff; --ic: rgba(255, 255, 255, .2); box-shadow: 0 16px 40px -16px rgba(233, 0, 133, .75); }
.btn--pink:hover { --bg-b: var(--pink-d); }
.btn--white { --bg-b: #fff; --fg: var(--pink-d); --ic: rgba(233, 0, 133, .1); box-shadow: 0 18px 44px -18px rgba(80, 0, 45, .6); }
.btn--ghost-light { --bg-b: rgba(255, 255, 255, .08); --fg: #fff; --ic: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { --bg-b: rgba(255, 255, 255, .16); }
.btn--sm { min-height: 2.9rem; padding-left: 1.1rem; font-size: .78rem; gap: .7rem; }
.btn--sm .btn__icon { width: 2rem; height: 2rem; }
.btn--block { width: 100%; }

/* ---------- Bezel (double shell) ---------- */
.bezel { padding: .45rem; border-radius: var(--r-card); background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); }
.bezel__core { border-radius: var(--r-core); background: var(--surface); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .06), var(--shadow); height: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 1rem 0 auto; z-index: 40; display: flex; justify-content: center; pointer-events: none; padding-inline: 1rem; }
.nav__island { pointer-events: auto; display: flex; align-items: center; gap: 1.5rem; padding: .45rem .45rem .45rem 1.1rem; border-radius: 999px; background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--line), 0 18px 50px -24px rgba(60, 0, 35, .45); transition: transform .6s var(--spring); }
@media (prefers-reduced-transparency: reduce) { .nav__island { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav.is-hidden .nav__island { transform: translateY(-150%); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__lqn { width: 4.9rem; height: 1.8rem; background: var(--pink); -webkit-mask: url("/colex/img/lqn-logo-blanco.png") center / contain no-repeat; mask: url("/colex/img/lqn-logo-blanco.png") center / contain no-repeat; }
@media (prefers-color-scheme: dark) { .brand__lqn { background: #fff; } }
.brand__sep { width: 1px; height: 1.3rem; background: var(--line); box-shadow: 0 0 0 .5px var(--line); }
.brand__colex { font: 800 1.05rem/1 var(--f-head); letter-spacing: .14em; color: var(--text); }
.nav__links { display: flex; gap: 1.4rem; }
.nav__links a { font: 500 .92rem/1 var(--f-head); text-decoration: none; color: var(--text-2); position: relative; padding: .4rem 0; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--spring); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 50%; background: var(--pink); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--spring); }
.burger span:first-child { transform: translate(-50%, -4px); }
.burger span:last-child { transform: translate(-50%, 4px); }
.burger[aria-expanded="true"] span:first-child { transform: translate(-50%, 0) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translate(-50%, 0) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 35; background: rgba(196, 0, 111, .95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: grid; place-items: center; opacity: 0; transition: opacity .5s var(--spring); }
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu nav { display: grid; gap: 1.2rem; text-align: center; }
.menu a { font: 700 clamp(1.8rem, 8vw, 2.6rem)/1.1 var(--f-head); color: #fff; text-decoration: none; letter-spacing: -.02em; opacity: 0; transform: translateY(2.5rem); transition: opacity .6s var(--spring), transform .7s var(--spring); transition-delay: calc(var(--d) * 70ms); }
.menu.is-open a { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; color: #fff; background: radial-gradient(120% 90% at 15% 10%, #FF2E9E 0%, var(--pink) 38%, var(--pink-d) 72%, var(--pink-dd) 100%); overflow: hidden; display: flex; align-items: center; padding: 6rem 0 4rem; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__glow--a { width: 34rem; height: 34rem; right: -8rem; top: -10rem; background: radial-gradient(circle, rgba(255, 189, 49, .7), transparent 65%); animation: drift 14s var(--soft) infinite alternate; }
.hero__glow--b { width: 30rem; height: 30rem; left: -10rem; bottom: -12rem; background: radial-gradient(circle, rgba(88, 207, 239, .65), transparent 65%); animation: drift 18s var(--soft) infinite alternate-reverse; }
.hero__stripes { position: absolute; right: 0; top: 0; height: 100%; width: 7rem; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .09) 0 10px, transparent 10px 24px); }
@keyframes drift { to { transform: translate3d(-3rem, 2.5rem, 0) scale(1.08); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title { font-weight: 800; font-size: clamp(2.5rem, 4.15vw, 4rem); line-height: 1.04; letter-spacing: -.045em; margin-top: 1.4rem; }
.hero__title .line { display: block; white-space: nowrap; }
.hl { color: var(--on-fill); padding: 0 .14em; margin: 0 -.06em; border-radius: .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left 62% / 0% 82%; transition: background-size 1.2s var(--spring) .8s; }
.is-in .hl, .hl.is-in { background-size: 100% 82%; }
.hero__lede { margin-top: 1.6rem; font-size: clamp(1.08rem, 1.45vw, 1.28rem); color: rgba(255, 255, 255, .88); max-width: 42ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* Orbit graphic: routes from countries converge on the LQN house */
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 540px); justify-self: center; }
.orbit__svg { width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 280px 280px; }
.ring--1 { animation: spin 90s linear infinite; }
.ring--2 { animation: spin 70s linear infinite reverse; stroke: rgba(255, 255, 255, .28); }
.ring--3 { stroke: rgba(255, 255, 255, .35); stroke-dasharray: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.routes path { fill: none; stroke: url(#routeG); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 9; opacity: .9; animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.comets circle { fill: var(--yellow); }
.comets circle:nth-child(even) { fill: var(--cyan); }
.house__line { fill: none; stroke: #fff; stroke-width: 11; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 620; stroke-dashoffset: 620; }
.is-in .house__line { animation: draw 2.2s var(--soft) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.house__win rect { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2); }
.is-in .house__win rect { animation: pop .7s var(--spring) forwards; }
.is-in .house__win rect:nth-child(1) { animation-delay: 1.9s; } .is-in .house__win rect:nth-child(2) { animation-delay: 2s; } .is-in .house__win rect:nth-child(3) { animation-delay: 2.1s; } .is-in .house__win rect:nth-child(4) { animation-delay: 2.2s; }
.house__dot { fill: var(--yellow); opacity: 0; transform-box: fill-box; transform-origin: center; }
.house__dot--b { fill: var(--cyan); }
.is-in .house__dot { animation: pop .8s var(--spring) 2.4s forwards; }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.pin { position: absolute; font: 600 .82rem/1 var(--f-head); letter-spacing: .02em; padding: .55rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); color: #fff; white-space: nowrap; animation: float 6s var(--soft) infinite alternate; }
.pin--1 { left: 2%; top: 17%; } .pin--2 { right: 0; top: 15%; animation-delay: -1s; } .pin--3 { left: 50%; top: 1%; margin-left: -2.6rem; animation-delay: -2s; }
.pin--4 { left: -2%; top: 56%; animation-delay: -3s; } .pin--5 { right: -3%; top: 61%; animation-delay: -1.5s; } .pin--6 { left: 12%; bottom: 6%; animation-delay: -2.5s; } .pin--7 { right: 10%; bottom: 7%; animation-delay: -.5s; }
.pin--co { left: 50%; top: 79%; margin-left: -3.2rem; background: #fff; color: var(--pink-d); font-weight: 700; animation: none; box-shadow: 0 12px 30px -10px rgba(60, 0, 35, .6); }
@keyframes float { to { translate: 0 -10px; } }

/* Brand chevrons ^^^ */
.chev { display: inline-grid; gap: .15rem; }
.chev i { display: block; width: 2.4rem; height: 1.1rem; border-left: 8px solid currentColor; border-top: 8px solid currentColor; transform: rotate(45deg) translate(.25rem, .25rem); border-radius: 3px; }
.chev i:nth-child(1) { color: var(--pink); } .chev i:nth-child(2) { color: var(--cyan); } .chev i:nth-child(3) { color: var(--yellow); }
.chev--hero { position: absolute; right: -1rem; bottom: 20%; animation: rise 2.8s var(--soft) infinite; }
.chev--hero i:nth-child(1), .chev--card i:nth-child(1) { color: #fff; }
.chev--card { position: absolute; right: 1.8rem; top: 1.8rem; }
.chev--big i { width: 3.6rem; height: 1.6rem; border-width: 12px; }
@keyframes rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--bg-alt); color: var(--text); overflow: hidden; padding: 1.4rem 0; box-shadow: inset 0 -1px 0 var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
.marquee__row span { font: 600 clamp(1.1rem, 2vw, 1.5rem)/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
.marquee__row { gap: 2.6rem; padding-right: 2.6rem; }
.marquee__row span { display: inline-flex; align-items: center; gap: .7rem; }
.flag { width: 1.75rem; height: 1.75rem; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 2.5px var(--line); }
.pin .flag { width: 1.15rem; height: 1.15rem; margin-right: .45rem; display: inline-block; vertical-align: -.28em; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- What: statement + asymmetric trio ---------- */
.what__statement { font-weight: 700; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; max-width: 20ch; }
.trio { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1rem; margin-top: 3.5rem; align-items: stretch; }
.trio__b { margin-top: 2.5rem; }
.trio__c { margin-top: 5rem; }
.trio__card { padding: 2rem; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .5rem; min-height: 15rem; }
.trio__card .ic { color: var(--pink); margin-bottom: auto; }
.trio__card h3 { font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; margin-top: 1.6rem; }
.trio__card p { color: var(--muted); }
.trio__card--pink { background: linear-gradient(155deg, var(--pink), var(--pink-d) 75%); color: #fff; }
.trio__card--pink .ic { color: #fff; }
.trio__card--pink h3 { font-size: 1.9rem; }
.trio__card--pink p { color: rgba(255, 255, 255, .84); }
.trio__card--cyan { background: var(--cyan); color: var(--on-fill); }
.trio__card--cyan .ic { color: var(--on-fill); }
.trio__card--cyan p { color: rgba(14, 12, 17, .72); }

/* ---------- Checker ---------- */
.checker { background: var(--bg-alt); overflow: hidden; }
.checker__deco { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.sq { position: absolute; border-radius: .6rem; }
.sq--pink { width: 4.5rem; height: 4.5rem; background: var(--pink); left: 3%; top: 10%; transform: rotate(-8deg); }
.sq--yellow { width: 6.5rem; height: 6.5rem; background: var(--yellow); left: calc(3% + 2.2rem); top: calc(10% + 2.4rem); }
.sq--cyan { width: 2rem; height: 2rem; background: var(--cyan); left: calc(3% + 8rem); top: calc(10% + 1rem); }
.checker__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.quiz { padding: clamp(1.4rem, 3vw, 2.4rem); }
.quiz__head { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.6rem; }
.meter { position: relative; width: 6.5rem; height: 6.5rem; flex: none; }
.meter svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.meter__track { fill: none; stroke: rgba(233, 0, 133, .12); stroke-width: 10; }
.meter__bar { fill: none; stroke: var(--pink); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .9s var(--spring); }
.meter__val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--f-head); }
.meter__val b { font-size: 2rem; font-weight: 800; line-height: 1; }
.meter__val small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.quiz__title { font: 700 1.35rem/1.2 var(--f-head); letter-spacing: -.01em; }
.quiz__msg { margin-top: .4rem; color: var(--muted); font-size: .96rem; }
.quiz__list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; }
.opt { width: 100%; display: flex; align-items: center; gap: 1rem; text-align: left; padding: .95rem 1.1rem; border-radius: var(--r-item); border: 0; cursor: pointer; background: var(--bg-alt); color: var(--text); font: inherit; box-shadow: inset 0 0 0 1px transparent; transition: background-color .45s var(--spring), box-shadow .45s var(--spring), transform .45s var(--spring); }
.opt:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px rgba(233, 0, 133, .3); }
.opt__box { width: 1.9rem; height: 1.9rem; flex: none; border-radius: .6rem; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 2px rgba(120, 110, 130, .4); color: #fff; transition: background-color .45s var(--spring), box-shadow .45s var(--spring); }
.opt__box svg { width: 1rem; height: 1rem; fill: currentColor; transform: scale(0); transition: transform .45s var(--spring); }
.opt__txt { display: grid; }
.opt__txt b { font: 600 1.02rem/1.3 var(--f-head); }
.opt__txt small { color: var(--muted); font-size: .86rem; }
.opt[aria-checked="true"] { background: rgba(233, 0, 133, .08); box-shadow: inset 0 0 0 1.5px var(--pink); }
.opt[aria-checked="true"] .opt__box { background: var(--pink); box-shadow: none; }
.opt[aria-checked="true"] .opt__box svg { transform: scale(1); }
.quiz__fine { margin-top: .9rem; text-align: center; font-size: .84rem; color: var(--muted); }

/* ---------- Numbers: stat strip ---------- */
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.num { padding-top: 1.4rem; position: relative; }
.num::before { content: ""; position: absolute; left: 0; top: 0; width: 3rem; height: 5px; border-radius: 5px; background: var(--bar); }
.num--pink { --bar: var(--pink); } .num--cyan { --bar: var(--cyan); } .num--yellow { --bar: var(--yellow); } .num--ink { --bar: var(--text); }
.num__v { display: flex; align-items: baseline; gap: .3rem; }
.num__v b { font: 800 clamp(3rem, 6vw, 5.2rem)/1 var(--f-head); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.num__v span { font: 700 1.25rem/1 var(--f-head); color: var(--muted); }
.num p:not(.num__v) { margin-top: .9rem; color: var(--muted); font-size: .98rem; max-width: 24ch; }
.numbers__src { margin-top: 2.6rem; font-size: .82rem; color: var(--muted); }

/* ---------- Video ---------- */
.video { background: var(--bg-alt); }
.video__title { text-align: center; margin: 0 auto 3.2rem; max-width: 20ch; }
.bezel--video { --r-card: 2.6rem; --r-core: 2.1rem; padding: .55rem; max-width: 1080px; margin-inline: auto; background: linear-gradient(135deg, rgba(233, 0, 133, .35), rgba(88, 207, 239, .35)); box-shadow: 0 40px 100px -40px rgba(233, 0, 133, .55); }
.player { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: radial-gradient(120% 120% at 20% 10%, #FF2E9E, var(--pink) 45%, var(--pink-dd)); }
.player__video { width: 100%; height: 100%; object-fit: cover; }
.player__play { position: absolute; inset: 0; margin: auto; width: 6.2rem; height: 6.2rem; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--pink); display: grid; place-items: center; box-shadow: 0 20px 50px -14px rgba(60, 0, 35, .6); transition: transform .5s var(--spring), opacity .4s var(--spring); }
.player__play svg { width: 2.2rem; height: 2.2rem; fill: currentColor; margin-left: .2rem; }
.player__play:hover { transform: scale(1.07); }
.player__ring { position: absolute; inset: -.8rem; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); animation: ring 2.2s var(--soft) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.player.is-playing .player__play { opacity: 0; pointer-events: none; transform: scale(.8); }

/* ---------- How: sticky split + progress path ---------- */
.how__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.how__sticky { position: sticky; top: 7rem; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: .6rem; --prog: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 2.15rem; top: 2.2rem; bottom: 2.2rem; width: 3px; border-radius: 3px; background: rgba(233, 0, 133, .14); }
.steps::after { background: linear-gradient(var(--pink), var(--yellow)); transform-origin: top; transform: scaleY(var(--prog)); transition: transform .9s var(--spring); }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 4.3rem 1fr; gap: 1.4rem; padding: 1.3rem 0; align-items: start; }
.step__icon { width: 4.3rem; height: 4.3rem; border-radius: var(--r-item); display: grid; place-items: center; background: var(--surface); color: var(--pink); box-shadow: inset 0 0 0 1.5px rgba(233, 0, 133, .28), 0 12px 30px -18px rgba(233, 0, 133, .6); transition: background-color .6s var(--spring), color .6s var(--spring), transform .6s var(--spring); }
.step__icon svg { width: 1.8rem; height: 1.8rem; fill: currentColor; }
.step.is-on .step__icon { background: var(--pink); color: #fff; transform: scale(1.04); }
.step h3 { font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.02em; margin-top: .55rem; }
.step p { color: var(--muted); margin-top: .4rem; max-width: 46ch; }

/* ---------- File: bento ---------- */
.file__title { margin-bottom: 3.2rem; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(13rem, auto); gap: 1rem; }
.bento__a { grid-column: span 7; grid-row: span 2; }
.bento__b { grid-column: span 5; }
.bento__c { grid-column: span 5; }
.bento__d { grid-column: span 6; }
.bento__e { grid-column: span 6; }
.tile { padding: 1.8rem 2rem 2rem; display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 13rem; }
.tile .ic { color: var(--pink); margin-bottom: auto; transition: transform .7s var(--spring); }
.bezel:hover .tile .ic { transform: translateY(-4px) rotate(-6deg); }
.tile h3 { margin-top: 1.4rem; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.025em; }
.tile p { margin-top: .5rem; color: var(--muted); max-width: 36ch; }
.tile--pink { background: linear-gradient(155deg, var(--pink), var(--pink-d) 70%); color: #fff; }
.tile--pink .ic { color: #fff; }
.tile--pink h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.tile--pink p { color: rgba(255, 255, 255, .84); font-size: 1.1rem; }
.tile--yellow { background: var(--yellow); color: var(--on-fill); }
.tile--yellow .ic { color: var(--on-fill); }
.tile--yellow p { color: rgba(14, 12, 17, .72); }
.tile--ink { background: var(--on-fill); color: #fff; }
.tile--ink .ic { color: var(--pink-l); }
.tile--ink p { color: rgba(255, 255, 255, .7); }
.tile--cyan { background: var(--cyan); color: var(--on-fill); }
.tile--cyan .ic { color: var(--on-fill); }
.tile--cyan p { color: rgba(14, 12, 17, .72); }

/* ---------- Can: editorial index + logo wall ---------- */
.index { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; }
.index__row { display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.index__row .ic { grid-row: span 2; color: var(--pink); width: 2rem; height: 2rem; margin-top: .2rem; transition: transform .6s var(--spring); }
.index__row:hover .ic { transform: translateX(4px); }
.index__row h3 { font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; }
.index__row p { color: var(--muted); margin-top: .35rem; }
.banks { margin-top: 4.5rem; display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.banks__title { font: 600 1rem/1.3 var(--f-head); color: var(--muted); letter-spacing: .02em; }
.banks__wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .7rem; width: 100%; }
.banks__wall li { background: #fff; border-radius: var(--r-item); padding: .8rem 1rem; box-shadow: inset 0 0 0 1px rgba(14, 12, 17, .07); display: grid; place-items: center; height: 4.6rem; transition: transform .5s var(--spring); }
.banks__wall li:hover { transform: translateY(-3px); }
.banks__wall img { max-height: 2.5rem; width: auto; max-width: 100%; object-fit: contain; }
.banks__fine { font-size: .92rem; color: var(--muted); }

/* ---------- Brokers: the single dark block ---------- */
.brokers { position: relative; background: #0E0C11; color: #fff; padding-block: var(--sec); overflow: hidden; }
.brokers__deco .chev { position: absolute; right: 5%; top: 3.5rem; }
.brokers__inner { display: grid; justify-items: start; }
.brokers__title { max-width: 20ch; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.brk { list-style: none; padding: 0; margin: 3rem 0 2.6rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; width: 100%; }
.brk li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--r-item); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .86); }
.brk .ic { color: var(--pink-l); width: 1.8rem; height: 1.8rem; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq__list { display: grid; gap: .7rem; }
.qa { border-radius: var(--r-item); background: var(--bg-alt); overflow: hidden; transition: background-color .5s var(--spring); }
.qa[open] { background: var(--surface); box-shadow: inset 0 0 0 1.5px rgba(233, 0, 133, .25); }
.qa summary { list-style: none; cursor: pointer; padding: 1.35rem 1.5rem; font: 600 1.12rem/1.35 var(--f-head); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa__x { position: relative; width: 2rem; height: 2rem; flex: none; border-radius: 50%; background: rgba(233, 0, 133, .1); transition: transform .5s var(--spring), background-color .5s var(--spring); }
.qa__x::before, .qa__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2px; background: var(--pink); border-radius: 2px; transform: translate(-50%, -50%); }
.qa__x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--spring); }
.qa[open] .qa__x { transform: rotate(180deg); background: var(--pink); }
.qa[open] .qa__x::before, .qa[open] .qa__x::after { background: #fff; }
.qa[open] .qa__x::after { transform: translate(-50%, -50%) rotate(0); }
.qa__a { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* ---------- Final: brand color block ---------- */
.final { position: relative; overflow: hidden; color: #fff; text-align: center; padding-block: clamp(6rem, 12vw, 9.5rem); background: linear-gradient(120deg, var(--pink) 0%, var(--pink-d) 55%, #FF4FA3 100%); }
.final__deco .sq--yellow { left: auto; right: 7%; top: 18%; width: 5rem; height: 5rem; transform: rotate(14deg); }
.final__deco .sq--cyan { left: 8%; top: auto; bottom: 16%; width: 3rem; height: 3rem; }
.final__inner { position: relative; display: grid; justify-items: center; }
.final__title { font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1.03; letter-spacing: -.045em; max-width: 17ch; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.6rem; }
.final__phone { margin-top: 1.8rem; color: rgba(255, 255, 255, .85); }

/* ---------- Footer ---------- */
.foot { background: var(--bg-alt); color: var(--muted); padding: 3.5rem 0 6rem; font-size: .88rem; box-shadow: inset 0 1px 0 var(--line); }
.foot__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: start; }
.foot__legal { max-width: 62ch; }
.foot__links { display: grid; gap: .55rem; }
.foot__links a { color: var(--text); text-decoration: none; }
.foot__links a:hover { color: var(--pink); }

/* ---------- FAB ---------- */
.fab { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 30; width: 3.8rem; height: 3.8rem; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(18, 140, 70, .75); transform: scale(0); transition: transform .6s var(--spring); }
.fab.is-on { transform: scale(1); }
.fab svg { width: 2rem; height: 2rem; fill: currentColor; }
.fab:hover { background: #1EBE5A; }
/* WhatsApp CTAs keep the official WhatsApp green in the nested icon, for instant recognition. */
.btn__icon--wa { background: #25D366 !important; color: #fff; }

/* ---------- Grain (fixed, non-interactive) ---------- */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .035; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(2.2rem); filter: blur(8px); transition: opacity 1s var(--soft), transform 1.1s var(--spring), filter 1s var(--soft); transition-delay: calc(var(--d, 0) * 110ms); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
}
@media (max-width: 900px) {
  .hero { padding-top: 6.5rem; }
  .hero__grid, .checker__grid, .how__grid, .faq__grid { grid-template-columns: 1fr; }
  .orbit { width: min(100%, 440px); }
  .how__sticky { position: static; }
  .trio { grid-template-columns: 1fr; }
  .trio__b, .trio__c { margin-top: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .index { grid-template-columns: 1fr; }
  .banks__wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brk { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero__stripes { width: 3.5rem; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
  .burger { display: block; }
  .nav__island { gap: .8rem; }
  .hero__title { font-size: clamp(2.2rem, 9.6vw, 3rem); }
  .hero__title .line { white-space: normal; }
  .banks__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__ctas .btn, .final__ctas .btn { width: 100%; }
  .pin { font-size: .7rem; padding: .45rem .65rem; }
  .numbers__grid { grid-template-columns: 1fr; }
  .quiz__head { flex-direction: column; align-items: flex-start; }
  .chev--hero { display: none; }
  .chev--big i { width: 2.4rem; height: 1.1rem; border-width: 8px; }
  .eyebrow { font-size: .64rem; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .house__line { stroke-dashoffset: 0; }
  .house__win rect, .house__dot { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .comets { display: none; }
}

/* ---------- Sub-pages (país y ley) ---------- */
.hero--sub { min-height: auto; padding: 8rem 0 4.5rem; }
.hero--sub .hero__title { font-size: clamp(2.4rem, 4.4vw, 4.1rem); }
.crumbs { display: flex; gap: .5rem; align-items: center; font: 600 .78rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.flagpair { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 46 / 30; }
.flagpair img { position: absolute; width: 42%; height: auto; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255, 255, 255, .9), 0 30px 60px -24px rgba(60, 0, 35, .7); animation: float 6s var(--soft) infinite alternate; }
.flagpair__a { left: 0; top: 6%; }
.flagpair__b { right: 0; bottom: 0; animation-delay: -3s !important; }
.flagpair__route { position: absolute; left: 18%; top: 4%; width: 64%; overflow: visible; }
.flagpair__route path { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 10; animation: flow 2.4s linear infinite; }
.pin--fa { left: 4%; bottom: 4%; }
.pin--fb { right: 6%; top: 0; left: auto; margin-left: 0; }
.lawcard { position: relative; justify-self: center; width: min(100%, 400px); padding: 2.2rem; border-radius: var(--r-card); background: #fff; color: var(--on-fill); box-shadow: 0 40px 80px -30px rgba(60, 0, 35, .6); transform: rotate(-2.5deg); }
.lawcard__seal { display: inline-grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--pink); color: #fff; font: 800 .9rem/1 var(--f-head); letter-spacing: .12em; }
.lawcard__n { font: 800 clamp(3.6rem, 7vw, 5.6rem)/1 var(--f-head); letter-spacing: -.05em; margin-top: 1rem; }
.lawcard__d { font: 600 1rem/1.2 var(--f-head); color: var(--pink-d); margin-top: .4rem; }
.lawcard__t { margin-top: 1rem; color: #4b4552; }
.lawcard .chev--card { top: 2rem; right: 2rem; }
.lawcard .chev--card i:nth-child(1) { color: var(--pink); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.answer-bezel { max-width: 980px; }
.answer { padding: clamp(1.4rem, 3vw, 2.2rem); border-left: 5px solid var(--pink); }
.answer__q { font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--f-head); letter-spacing: -.02em; }
.answer__date { margin-top: .4rem; font-size: .84rem; color: var(--muted); }
.answer__a { margin-top: .9rem; font-size: clamp(1.02rem, 1.3vw, 1.12rem); }
.aliado { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.4rem; max-width: 980px; color: var(--muted); }
.aliado .ic { color: #25D366; width: 1.5rem; height: 1.5rem; margin-top: .15rem; }
.aliado b { color: var(--text); }
.tbl-bezel { margin-top: 2.6rem; }
.tbl-wrap { overflow-x: auto; padding: .6rem; }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl th { text-align: left; font: 600 .78rem/1.2 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 1rem 1.2rem; }
.tbl td { padding: 1.1rem 1.2rem; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl td:first-child { width: 11rem; }
.tbl td img { max-height: 2.2rem; width: auto; max-width: 8.5rem; background: #fff; border-radius: .5rem; padding: .3rem .5rem; }
.link--ink { color: inherit; }
@media (max-width: 900px) {
  .hero--sub { padding-top: 6.5rem; }
  .flagpair { width: min(100%, 340px); }
  .lawcard { transform: none; }
}
.guides__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1rem; margin-top: 2.6rem; }
.guide { text-decoration: none; color: inherit; transition: transform .6s var(--spring); }
.guide:hover { transform: translateY(-6px); }
.guide__core { padding: 1.8rem; display: grid; gap: .5rem; position: relative; min-height: 13rem; align-content: start; }
.guide__flag { width: 3rem; height: 3rem; }
.guide h3 { font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; margin-top: .8rem; }
.guide p { color: var(--muted); }
.guide .btn__icon { position: absolute; right: 1.4rem; top: 1.4rem; background: rgba(233, 0, 133, .1); color: var(--pink); }
.guide:hover .btn__icon { transform: translate(3px, -2px) scale(1.06); }
.guide--law .guide__core { background: linear-gradient(155deg, var(--pink), var(--pink-d) 75%); color: #fff; }
.guide--law p { color: rgba(255, 255, 255, .85); }
.guide--law .btn__icon { background: rgba(255, 255, 255, .2); color: #fff; }
.guide__law { display: inline-grid; place-items: center; justify-self: start; padding: .45rem .8rem; border-radius: 999px; background: #fff; color: var(--pink-d); font: 800 .78rem/1 var(--f-head); letter-spacing: .12em; }
@media (max-width: 900px) { .guides__grid { grid-template-columns: 1fr; } }
