/* Fuentes alojadas en el sitio */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/montserrat.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 600 800; font-display: swap; src: url("/assets/fonts/montserrat-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600 700; font-display: swap; src: url("/assets/fonts/playfair-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"); size-adjust: 112%; ascent-override: 86%; descent-override: 22%; }

/* ================================================================
   GOZ Ecosistema · carta de ventas
   Paleta del manual de logo: azul #093A89, turquesa #00AAB6, ámbar #FAA210, gris #DDDDDD.
   Degradado de marca: noche #000032, cian #00C0C7, naranja #FF9E00 sobre negro.
   ================================================================ */
:root {
  --azul: #093A89;
  --azul-2: #0C4BB0;
  --noche: #000032;
  --turq: #00AAB6;
  --turq-2: #DCF4F6;
  --ambar: #FAA210;
  --ambar-2: #FFF1D6;
  --gris: #DDDDDD;

  --bg: #FFFFFF;
  --bg-soft: #F2F7FB;
  --surface: #FFFFFF;
  --surface-2: #EAF1F8;
  --text: #0B1633;
  --muted: #56607A;
  --line: #DCE4EF;
  --head: #0A1F4F;
  --accent: #093A89;
  --accent-ink: #FFFFFF;
  --serif-c: #00909B;
  --shadow: 0 18px 50px -22px rgba(9, 58, 137, .4);
  --radius: 26px;
  --tabbar-h: 0px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #01021A;
  --bg-soft: #060A26;
  --surface: #0A1131;
  --surface-2: #101A44;
  --text: #EAF0FA;
  --muted: #9AA5C0;
  --line: #1D2757;
  --head: #FFFFFF;
  --accent: #FAA210;
  --accent-ink: #0A1F4F;
  --serif-c: #1FC3CF;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .65);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16.5px/1.65 "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
/* Safari rompe la barra pegajosa cuando el body recorta con hidden; clip no crea contenedor de desplazamiento */
@supports (overflow: clip) {
  body { overflow-x: clip; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
b, strong { font-weight: 700; }
h1, h2, h3 { color: var(--head); margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.025em; }
h1, h2 { font-weight: 800; font-style: italic; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.serif { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700; color: var(--serif-c); letter-spacing: -.02em; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
[data-theme="dark"] .eyebrow { color: var(--turq); }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 2.4rem; }
.center-head > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.center-head > p b { color: var(--text); }

/* ---------- Botones ---------- */
.btn {
  --b: var(--accent); --i: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.45em; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--i); font-family: inherit; font-weight: 700; font-size: .98rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--b) 80%, transparent); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-amber { --b: var(--ambar); --i: #0A1F4F; }
.btn-primary { --b: var(--azul); --i: #fff; }
[data-theme="dark"] .btn-primary { --b: var(--ambar); --i: #0A1F4F; }
.btn-glass { --b: rgba(255, 255, 255, .12); --i: #fff; border-color: rgba(255, 255, 255, .42); backdrop-filter: blur(6px); }
.btn-glass:hover { --b: rgba(255, 255, 255, .22); }

.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--head); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.icon-btn:hover { transform: rotate(20deg); }
.icon-btn .i-sun, [data-theme="dark"] .icon-btn .i-moon { display: none; }
[data-theme="dark"] .icon-btn .i-sun { display: block; }

/* ---------- Progreso y barra superior ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--azul), var(--turq), var(--ambar)); }
.topbar { position: sticky; top: 0; z-index: 50; margin-bottom: -72px; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.topbar.scrolled { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar-in { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .logo-c { display: none; }
.topbar.scrolled .brand .logo-w { display: none; }
.topbar.scrolled .brand .logo-c { display: block; }
[data-theme="dark"] .topbar.scrolled .brand .logo-w { display: block; }
[data-theme="dark"] .topbar.scrolled .brand .logo-c { display: none; }
.topnav { display: flex; gap: 1.5rem; margin-left: auto; }
.topnav a { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--muted); position: relative; padding: .3em 0; }
.topnav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .3s var(--ease); }
.topnav a:hover, .topnav a.is-active { color: var(--head); }
.topnav a:hover::after, .topnav a.is-active::after { right: 0; }
.top-actions { display: flex; align-items: center; gap: .6rem; }
.topbar:not(.scrolled) .topnav a { color: #fff; opacity: .85; }
.topbar:not(.scrolled) .topnav a::after { background: var(--ambar); }
.topbar:not(.scrolled) .icon-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.topbar:not(.scrolled) .btn-sm { --b: var(--ambar); --i: #0A1F4F; }

/* ---------- PORTADA: degradado del manual de marca ---------- */
.hero { position: relative; color: #fff; overflow: hidden; padding-top: 72px;
  background:
    radial-gradient(65% 80% at 100% 0%, rgba(0, 200, 205, .95) 0%, rgba(0, 150, 175, .55) 36%, transparent 70%),
    radial-gradient(60% 75% at 0% 100%, rgba(255, 165, 20, .95) 0%, rgba(200, 100, 15, .5) 40%, transparent 74%),
    radial-gradient(55% 60% at 72% 48%, rgba(12, 75, 176, .85) 0%, rgba(9, 58, 137, .45) 45%, transparent 75%),
    linear-gradient(160deg, #06106B 0%, #0A2A78 45%, #062258 100%); }
.hero-glow { position: absolute; inset: auto -10% -30% 30%; height: 70%; background: radial-gradient(closest-side, rgba(0, 200, 205, .35), transparent); filter: blur(20px); animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-8%, -6%) scale(1.1); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; min-height: min(780px, 90vh); padding-block: 3rem 0; }
.hero-copy { padding-bottom: 3.5rem; }
.chip { display: inline-flex; align-items: center; gap: .55em; padding: .45em 1em; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.chip-hero { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 0 0 rgba(250, 162, 16, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(250, 162, 16, 0); } 100% { box-shadow: 0 0 0 0 rgba(250, 162, 16, 0); } }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); margin: 1.1rem 0 1.2rem; letter-spacing: -.035em; }
.hero h1 em { font-family: "Playfair Display", Georgia, serif; font-weight: 700; color: var(--ambar); letter-spacing: -.02em; }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgba(255, 255, 255, .88); max-width: 34em; }
.hero .lead b { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.2rem; }
.hero-note { display: flex; align-items: center; gap: .5em; font-size: .88rem; color: rgba(255, 255, 255, .78); }
.hero-note svg { color: var(--ambar); }

/* ---------- Ecosistema de la portada ---------- */
/* Viviana al centro; las 7 marcas flotan a su alrededor sin taparla y alimentan el centro con líneas de luz */
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .wrap, .closing .wrap { position: relative; z-index: 1; }
.hero-visual { position: relative; align-self: end; height: 100%; min-height: 620px; }
.rings { position: absolute; left: 50%; top: 40%; width: min(520px, 104%); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; }
.rings::before { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(250, 162, 16, .4), rgba(0, 170, 182, .14) 62%, transparent); animation: breathe 4s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; }
.ring-a { inset: 0; border: 1.5px dashed rgba(255, 255, 255, .26); animation: spin 60s linear infinite; }
.ring-b { inset: 18%; border: 1.5px dotted rgba(0, 192, 199, .5); animation: spin 38s linear infinite reverse; }
.ring i { position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(0, 192, 199, .9); }
.ring i:nth-child(2) { top: auto; bottom: -5px; background: var(--ambar); box-shadow: 0 0 12px 3px rgba(250, 162, 16, .9); }
.ring i:nth-child(3) { left: -5px; top: 50%; margin: -4.5px 0 0; }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .65; } }
@keyframes spin { to { transform: rotate(360deg); } }
.feed { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.feed .ln { fill: none; stroke: rgba(255, 255, 255, .24); stroke-width: 1.2; stroke-dasharray: 3 7; animation: flowdash 1.4s linear infinite; }
.feed .dot-t { fill: #fff; filter: drop-shadow(0 0 5px rgba(0, 192, 199, .95)); }
.feed .dot-a { fill: #FAA210; filter: drop-shadow(0 0 5px rgba(250, 162, 16, .95)); }
@keyframes flowdash { to { stroke-dashoffset: -20; } }
.eco-core { --s: clamp(120px, 13vw, 170px); position: absolute; left: calc(50% - var(--s) / 2); top: calc(40% - var(--s) / 2); width: var(--s); height: var(--s); z-index: 2; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 28%, #0C4BB0, #000032 72%); box-shadow: 0 0 0 10px rgba(0, 170, 182, .12), 0 0 0 22px rgba(250, 162, 16, .06), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.eco-core img { width: 68%; }
.sound-btn { position: absolute; z-index: 4; left: calc(50% + clamp(120px, 13vw, 170px) / 2 - 20px); top: calc(40% + clamp(120px, 13vw, 170px) / 2 - 22px); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #0A1F4F; background: var(--ambar); border: 2px solid rgba(255, 255, 255, .8); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); transition: transform .25s var(--ease); }
.sound-btn:hover { transform: scale(1.08); }
.sound-btn svg { width: 18px; height: 18px; }
.sound-btn .i-off, .sound-btn[aria-pressed="false"] .i-on { display: none; }
.sound-btn[aria-pressed="false"] .i-off { display: block; }
.sound-btn[aria-pressed="false"] { background: rgba(255, 255, 255, .9); }
.eco-core::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--turq); opacity: 0; pointer-events: none; }
@keyframes coreping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }
@keyframes corebump { 40% { transform: scale(1.08); } }
.eco-core.hit::after { animation: coreping .9s var(--ease); }
.eco-core.hit { animation: corebump .5s var(--ease); }
.sats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.sat { --w: clamp(76px, 7.4vw, 104px); position: absolute; left: clamp(calc(var(--w) / 2 + 2px), var(--x), calc(100% - var(--w) / 2 - 2px)); top: var(--y); width: var(--w); height: calc(var(--w) * .62); margin-left: calc(var(--w) / -2); padding: 8px 10px; border-radius: 16px 16px 16px 5px; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .5); pointer-events: auto; animation: bob 5.5s ease-in-out var(--d, 0s) infinite; touch-action: none; }
/* posición de cada marca en el círculo (en la hoja de estilos: la CSP bloquea estilos en línea) */
.sat:nth-child(1) { --x:50.0%; --y:5.0%; --d:0s; }
.sat:nth-child(2) { --x:81.3%; --y:18.2%; --d:-1.4s; }
.sat:nth-child(3) { --x:89.0%; --y:47.8%; --d:-2.6s; }
.sat:nth-child(4) { --x:67.4%; --y:71.5%; --d:-.7s; }
.sat:nth-child(5) { --x:32.6%; --y:71.5%; --d:-2s; }
.sat:nth-child(6) { --x:11.0%; --y:47.8%; --d:-3.1s; }
.sat:nth-child(7) { --x:18.7%; --y:18.2%; --d:-1s; }
.sat img { position: absolute; inset: 7px 9px; width: calc(100% - 18px); height: calc(100% - 14px); object-fit: contain; pointer-events: none; }
.sat::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid transparent; pointer-events: none; }
.sat.pulse::after { border-color: rgba(0, 192, 199, .9); animation: satping .9s var(--ease); }
@keyframes satping { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-9px); } }
.sat.dragging, .sat.returning { animation: none; }
.hero-skill, .hero-sign { position: absolute; z-index: 4; padding: .75rem 1rem; border-radius: 20px 20px 20px 6px; background: rgba(0, 0, 40, .55); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); display: grid; gap: .1rem; }
.hero-skill { left: 50%; bottom: 3%; width: 250px; transform: translateX(-50%); text-align: center; }
.hero-skill small { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--turq); }
.hero-skill b { font-size: .95rem; font-style: italic; font-weight: 800; min-height: 1.3em; white-space: nowrap; overflow: hidden; }
.hero-sign b { font-size: 1.05rem; font-style: italic; font-weight: 800; }
.sign-role { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ambar); }

/* ---------- Tarjetas con movimiento: arrastrables, foco de luz e inclinación ---------- */
.drag { cursor: grab; user-select: none; -webkit-user-select: none; }
.drag.dragging { cursor: grabbing; z-index: 20; transition: none !important; box-shadow: 0 30px 60px -20px rgba(0, 0, 40, .55) !important; }
.drag.returning { transition: transform .7s cubic-bezier(.3, 1.6, .5, 1) !important; }
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--turq) 18%, transparent), transparent 70%); }
.spot:hover::before { opacity: 1; }
.magnetic { will-change: transform; }

/* ---------- Cómo funciona: 4 pasos en tarjetas ---------- */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; position: relative; }
.how::before { content: ""; position: absolute; left: 8%; right: 8%; top: 44px; height: 2px; background: repeating-linear-gradient(90deg, var(--turq) 0 10px, transparent 10px 18px); opacity: .6; z-index: 0; }
.how-step { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) var(--radius) 6px; padding: 1.4rem; transition: box-shadow .35s, border-color .35s; }
.how-step:hover { box-shadow: var(--shadow); border-color: var(--turq); }
.how-step b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--azul); color: #fff; font-weight: 800; font-style: italic; font-size: 1.1rem; box-shadow: 0 0 0 6px var(--bg-soft); margin-bottom: 1rem; }
.how-step:nth-child(even) b { background: var(--ambar); color: #0A1F4F; }
.how-step h3 { font-style: italic; font-weight: 800; font-size: 1.1rem; margin-bottom: .35rem; }
.how-step p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: 0; }
.how-cta { text-align: center; margin-top: 2rem; }

/* ---------- Programa del ecosistema: Negocios Invertibles ---------- */
.ni-band { background: var(--bg); }
.ni-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ni-grid > * { min-width: 0; }
.ni-photo { position: relative; aspect-ratio: 5 / 6; max-width: 440px; width: 100%; margin: 0 auto; border-radius: 34px 34px 34px 10px; overflow: hidden; background: radial-gradient(75% 60% at 100% 0%, rgba(0, 200, 205, .95), transparent 70%), radial-gradient(70% 55% at 0% 100%, rgba(255, 165, 20, .9), transparent 72%), linear-gradient(160deg, #06106B 0%, #0A2A78 50%, #062258 100%); box-shadow: var(--shadow); }
.ni-photo img { position: absolute; left: 50%; bottom: 0; height: 90%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 20px 30px rgba(0, 0, 30, .45)); }
.ni-pill { position: absolute; border-radius: 999px; background: rgba(220, 244, 246, .85); z-index: 0; animation: nifloat 7s ease-in-out infinite; }
.ni-pill-a { width: 74%; height: 18%; right: -12%; bottom: 20%; }
.ni-pill-b { width: 56%; height: 16%; left: -8%; bottom: -4%; animation-delay: -3s; }
@keyframes nifloat { 50% { transform: translateY(-10px); } }
.ni-photo img { z-index: 1; }
.ni-lock { position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: .5rem; color: #fff; }
.ni-pulpo { width: 2.4rem; aspect-ratio: 755 / 644; background: currentColor; -webkit-mask: url("/negocios-invertibles/assets/pulpo.webp") center / contain no-repeat; mask: url("/negocios-invertibles/assets/pulpo.webp") center / contain no-repeat; }
.ni-lock-txt { display: grid; line-height: .9; padding-left: .5rem; border-left: 2px solid currentColor; }
.ni-lock-txt small { font-size: .58rem; font-weight: 700; font-style: italic; color: #FAA210; margin-bottom: 2px; }
.ni-lock-txt b { font-size: .8rem; font-weight: 800; }
.ni-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

/* ---------- Estudio ---------- */
.studio { display: grid; grid-template-columns: 1.35fr .75fr 1fr; grid-template-rows: clamp(240px, 27vw, 360px); gap: 1rem; align-items: stretch; margin-top: 2.4rem; }
.studio > * { min-width: 0; }
.studio-photo { margin: 0; border-radius: var(--radius) var(--radius) var(--radius) 6px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); height: 100%; touch-action: none; }
.studio-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.2s var(--ease); }
.studio-photo:hover img { transform: scale(1.05); }
.studio-copy { align-self: center; padding: .5rem .5rem .5rem 1rem; }
.studio-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-style: italic; font-weight: 800; line-height: 1.12; }
.studio-copy p:not(.eyebrow) { color: var(--muted); margin: 0; }

/* Equipo: 7 especialistas + tarjeta de llamado = cuadrícula exacta de 4 x 2 */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.member { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) var(--radius) 6px; padding: 1.3rem; text-decoration: none; color: inherit; transition: box-shadow .35s, border-color .35s; }
.member:hover { box-shadow: var(--shadow); border-color: var(--turq); }
.member-logo { display: grid; place-items: center; height: 84px; margin-bottom: 1rem; padding: 12px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
[data-theme="dark"] .member-logo { border-color: transparent; }
.member-logo img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; pointer-events: none; }
.member small { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--serif-c); line-height: 1.35; }
.member h3 { font-style: italic; font-weight: 800; font-size: 1.12rem; margin: .45rem 0 .4rem; }
.member p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0; }
.member-link { margin-top: auto; padding-top: .9rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .86rem; color: var(--accent); text-decoration: none; }
.member-link svg { transition: transform .25s var(--ease); }
.member-link:hover svg, .member-cta:hover .member-link svg { transform: translateX(4px); }
.member-cta { background: linear-gradient(160deg, var(--azul), var(--noche)); border-color: transparent; color: #fff; }
.member-cta small { color: var(--ambar); }
.member-cta h3 { color: #fff; }
.member-cta p { color: rgba(255, 255, 255, .8); }
.member-cta .member-link { color: var(--ambar); }
.member-logo-goz { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15) !important; }
.member-logo-goz img { max-height: 50px; }

.hero-stats { position: relative; z-index: 4; background: var(--ambar); color: #0A1F4F;
  background-image: linear-gradient(rgba(10, 31, 79, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 31, 79, .07) 1px, transparent 1px); background-size: 22px 22px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; gap: .15rem; padding: 1.5rem 1.2rem; border-left: 1px solid rgba(10, 31, 79, .16); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; font-style: italic; color: var(--azul); line-height: 1; letter-spacing: -.03em; }
.stat > span { font-size: .88rem; font-weight: 600; line-height: 1.35; }
.stat-logo { flex-direction: row; align-items: center; gap: .9rem; }
.stat-logo img { width: 92px; flex: none; }
.stat-logo > span { font-size: .8rem !important; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(3.5rem, 7vw, 5.5rem) 0; overflow: hidden; }
.section-soft { background: var(--bg-soft); }

.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: center; }
.vs-col { border-radius: var(--radius); padding: 2rem; height: 100%; }
.vs-col h3 { font-size: 1.25rem; margin-bottom: 1.1rem; font-style: italic; font-weight: 800; }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.vs-col li { display: flex; gap: .7rem; align-items: flex-start; }
.vs-col li svg { margin-top: .25em; padding: 3px; width: 1.4em; height: 1.4em; border-radius: 50%; stroke-width: 3; }
.vs-old { background: var(--surface-2); color: var(--muted); }
.vs-old h3 { color: var(--muted); }
.vs-old li svg { background: rgba(86, 96, 122, .15); color: var(--muted); }
.vs-new { background: linear-gradient(160deg, var(--azul), var(--noche)); color: #fff; box-shadow: var(--shadow); border-radius: var(--radius) var(--radius) var(--radius) 6px; }
.vs-new h3 { color: var(--ambar); }
.vs-new li svg { background: var(--ambar); color: #0A1F4F; }
.vs-badge { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-style: italic; background: var(--ambar); color: #0A1F4F; box-shadow: var(--shadow); }

/* Áreas */
.ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--turq-2); color: var(--azul); flex: none; }
[data-theme="dark"] .ico { background: rgba(0, 170, 182, .15); color: var(--turq); }
.ico svg { width: 1.4em; height: 1.4em; }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) var(--radius) 6px; padding: 1.5rem; transition: box-shadow .35s, border-color .35s; }
.area:hover { box-shadow: var(--shadow); border-color: var(--turq); }
.area h3 { margin: 1rem 0 .4rem; font-size: 1.05rem; font-style: italic; font-weight: 800; }
.area p { color: var(--muted); margin: 0; font-size: .92rem; line-height: 1.5; }
.area:nth-child(even) .ico { background: var(--ambar-2); color: #B06A00; }
[data-theme="dark"] .area:nth-child(even) .ico { background: rgba(250, 162, 16, .15); color: var(--ambar); }

/* Formulario */
.section-grid { background: var(--bg-soft); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px; }
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form-side { position: sticky; top: 100px; }
.summary { background: linear-gradient(150deg, var(--azul), var(--noche)); color: #fff; border-radius: var(--radius) var(--radius) var(--radius) 6px; padding: 1.4rem 1.5rem; margin: 1.6rem 0 1.2rem; box-shadow: var(--shadow); }
.summary-head small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--turq); font-weight: 700; }
.summary-head b { display: block; font-size: 1.2rem; font-style: italic; font-weight: 800; margin-bottom: .6rem; }
.summary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.summary-list li { position: relative; padding-left: 1.7rem; line-height: 1.45; }
.summary-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--ambar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1F4F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.mini-steps { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .55rem; font-weight: 600; font-size: .95rem; }
.mini-steps li { display: flex; align-items: center; gap: .7rem; }
.mini-steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ambar); color: #0A1F4F; font-weight: 800; font-size: .85rem; }

.form { background: var(--surface); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 1rem; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-weight: 700; font-size: .85rem; margin-bottom: .5rem; color: var(--head); }
.form legend em, .field em { font-weight: 500; font-style: normal; color: var(--muted); }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.radio-cards label { position: relative; cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-cards span { display: grid; text-align: center; padding: .8rem .5rem; border-radius: 16px; border: 2px solid var(--line); background: var(--bg-soft); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.radio-cards b { font-size: .92rem; color: var(--head); }
.radio-cards label:hover span { transform: translateY(-2px); }
.radio-cards input:checked + span { border-color: var(--azul); background: var(--turq-2); }
.radio-cards input:checked + span b { color: var(--azul); }
[data-theme="dark"] .radio-cards input:checked + span { border-color: var(--ambar); background: rgba(250, 162, 16, .1); }
[data-theme="dark"] .radio-cards input:checked + span b { color: var(--ambar); }
.radio-cards input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--turq); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5em .95em; border-radius: 999px; border: 2px solid var(--line); background: var(--bg-soft); font-size: .85rem; font-weight: 600; color: var(--muted); transition: all .25s var(--ease); }
.chips label:hover span { color: var(--head); border-color: var(--turq); }
.chips input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
[data-theme="dark"] .chips input:checked + span { background: var(--ambar); border-color: var(--ambar); color: #0A1F4F; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field > span { font-weight: 700; font-size: .85rem; color: var(--head); }
.field input, .field textarea { width: 100%; font-family: inherit; font-weight: 500; font-size: 1rem; line-height: 1.4; color: var(--text); background: var(--bg-soft); border: 2px solid var(--line); border-radius: 14px; padding: .8rem 1rem; transition: border-color .25s, background .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azul); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--turq) 35%, transparent); }
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field textarea:focus { border-color: var(--turq); }
.field input.invalid { border-color: #D64545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; min-height: 1.2em; text-align: center; font-weight: 600; font-size: .92rem; color: var(--muted); }
.form-msg.err { color: #D64545; }
.form-legal { margin: 0; text-align: center; font-size: .78rem; color: var(--muted); }

/* Preguntas */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0 1.4rem; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--turq); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2rem 1.2rem 0; font-weight: 700; color: var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--turq-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23093A89' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 60% no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; animation: fadeDown .35s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* Cierre con las cuatro barras de color del manual */
.closing { position: relative; overflow: hidden; background: var(--azul); color: #fff; padding: clamp(3.5rem, 7vw, 5rem) 0; }
[data-theme="dark"] .closing { background: #06225A; }
.closing::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; background: linear-gradient(90deg, var(--gris) 0 25%, var(--turq) 25% 50%, var(--ambar) 50% 75%, var(--noche) 75%); }
.closing-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.closing h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.closing h2 .serif { color: var(--ambar); display: block; font-size: 1.15em; }
.closing p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 30em; }
.closing-brand { position: relative; display: grid; justify-items: center; }
.closing-brand img { width: min(300px, 80%); position: relative; z-index: 1; }
.flechas { position: absolute; right: 3%; bottom: 22px; width: clamp(110px, 13vw, 170px); height: auto; stroke: rgba(255, 255, 255, .5); stroke-width: 1; fill: none; pointer-events: none; }

/* Pie */
.footer { padding: 2rem 0 calc(2rem + var(--tabbar-h)); background: var(--bg); border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-in { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer p { margin: 0; }
.credit a { color: var(--accent); font-weight: 700; text-decoration: none; }
.credit a:hover { text-decoration: underline; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6); transform: scale(0); transition: transform .4s var(--ease); }
.wa-float.show { transform: scale(1); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

.tabbar { display: none; }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.rise { animation: rise .7s var(--ease) both; }
.hero-copy .rise:nth-child(2) { animation-delay: .05s; }
.hero-copy .rise:nth-child(3) { animation-delay: .1s; }
.hero-copy .rise:nth-child(4) { animation-delay: .15s; }
.hero-copy .rise:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(18px); } }
.hero-grid > *, .form-grid > *, .closing-grid > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .topnav { display: none; }
  .top-actions { margin-left: auto; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .studio { grid-template-columns: 1.3fr .7fr; grid-template-rows: clamp(220px, 40vw, 320px) auto; }
  .studio-copy { grid-column: 1 / -1; padding: .5rem 0 0; }
}
@media (max-width: 900px) {
  :root { --tabbar-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(var(--tabbar-h) + 12px); } /* al saltar a una sección, nada queda debajo de la barra */
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 2rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { min-height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .rings { width: min(420px, 92%); top: 40%; }
  .hero-skill { width: 220px; bottom: 3%; padding: .6rem .8rem; }
  .how { grid-template-columns: 1fr 1fr; }
  .how::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.1rem .9rem; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(10, 31, 79, .16); }
  .stat-logo { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .versus { grid-template-columns: 1fr; }
  .vs-badge { margin: -1.9rem auto; position: relative; z-index: 1; }
  .form-grid, .closing-grid, .ni-grid { grid-template-columns: 1fr; }
  .ni-photo { max-width: 340px; }
  .form-side { position: static; }
  .closing-brand { order: -1; justify-items: start; }
  .closing-brand img { width: 200px; }
  .flechas { width: 96px; right: 16px; bottom: 16px; opacity: .7; }
  .wa-float { display: none; }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    height: calc(64px + env(safe-area-inset-bottom, 0px)); padding: 0 .4rem env(safe-area-inset-bottom, 0px); border-radius: 20px 20px 0 0;
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.5) blur(18px);
    border-top: 1px solid var(--line); box-shadow: 0 -12px 34px -16px rgba(0, 0, 50, .45);
    transform: none;
  }
  .tabbar.show { transform: none; }
  .tab { display: grid; justify-items: center; gap: 2px; padding-bottom: 9px; text-decoration: none; font-size: .64rem; font-weight: 700; color: var(--muted); transition: color .25s; }
  .tab svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
  .tab.is-active { color: var(--azul); }
  [data-theme="dark"] .tab.is-active { color: var(--ambar); }
  .tab.is-active svg { transform: translateY(-2px); }
  .tab-fab { width: 50px; height: 50px; margin-top: -22px; border-radius: 18px; display: grid; place-items: center; background: var(--azul); color: #fff; box-shadow: 0 10px 22px -8px rgba(9, 58, 137, .8); }
  [data-theme="dark"] .tab-fab { background: var(--ambar); color: #0A1F4F; }
  .tab-main { color: var(--head); }
  .tab.wa-link svg { color: #25D366; }
}
@media (max-width: 560px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .brand img { height: 34px; }
  .hero h1 { font-size: clamp(2.05rem, 9.4vw, 2.7rem); }
  .hero-cta .btn { width: 100%; white-space: normal; }
  .hero-visual { min-height: 400px; }
  .hero-skill { padding: .6rem .8rem; }
  .hero-skill b { font-size: .9rem; }
  .hero-sign b { font-size: .95rem; }
  .areas { grid-template-columns: 1fr; gap: .7rem; }
  .area { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; padding: 1.1rem; }
  .area .ico { grid-row: span 2; }
  .area h3 { margin: 0 0 .2rem; }
  .areas { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .member { padding: 1rem; }
  .member-logo { height: 64px; padding: 8px 10px; margin-bottom: .7rem; }
  .member-logo img { max-height: 44px; }
  .member small { font-size: .6rem; letter-spacing: .1em; }
  .member h3 { font-size: .98rem; }
  .member p { font-size: .82rem; }
  .member-link { font-size: .78rem; }
  .hero-visual { min-height: 440px; }
  .sat { --w: 64px; padding: 6px 7px; border-radius: 12px 12px 12px 4px; }
  .hero-skill { width: 210px; }
  .eco-core { --s: 104px; }
  .sound-btn { left: calc(50% + 32px); top: calc(40% + 30px); width: 34px; height: 34px; }
  .hero-skill small, .sign-role { font-size: .56rem; letter-spacing: .1em; }
  .hero-skill b { font-size: .8rem; white-space: normal; min-height: 2.6em; line-height: 1.3; }
  .hero-sign b { font-size: .88rem; }
  .how { grid-template-columns: 1fr; gap: .7rem; }
  .how-step { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.1rem; }
  .how-step b { grid-row: span 2; margin: 0; width: 40px; height: 40px; }
  .how-step h3 { margin: 0 0 .2rem; }
  .studio { grid-template-columns: 1.25fr .75fr; grid-template-rows: 210px auto; gap: .6rem; }
  .row2 { grid-template-columns: 1fr; }
  .radio-cards { gap: .4rem; }
  .radio-cards span { padding: .7rem .2rem; }
  .radio-cards b { font-size: .82rem; }
  .vs-col { padding: 1.5rem; }
  .stat-logo img { width: 72px; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .feed .ln { animation: none; }
}

/* ---------- Página de gracias ---------- */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 2rem 16px;
  background: radial-gradient(60% 75% at 100% 0%, rgba(0, 192, 199, .85), transparent 70%), radial-gradient(55% 70% at 0% 100%, rgba(255, 158, 0, .85), transparent 72%), #000; }
.thanks-card { width: min(520px, 100%); background: var(--surface); border-radius: 30px; padding: 2.4rem 2rem; text-align: center; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); display: grid; gap: 1rem; justify-items: center; }
.thanks-card .brand img { height: 52px; }
.thanks-card .brand .logo-c { display: block; }
.thanks-card .brand .logo-w { display: none; }
[data-theme="dark"] .thanks-card .brand .logo-c { display: none; }
[data-theme="dark"] .thanks-card .brand .logo-w { display: block; }
.thanks-ok { width: 76px; height: 76px; border-radius: 50%; background: var(--ambar); color: #0A1F4F; display: grid; place-items: center; animation: pop .6s var(--ease); }
.thanks-ok svg { width: 38px; height: 38px; stroke-width: 3; }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.12); } }
.thanks-card h1 { font-size: 2rem; margin: 0; }
.thanks-card p { color: var(--muted); margin: 0; }
.wa-redirect { background: var(--turq-2); color: #0A1F4F !important; border-radius: 14px; padding: .6rem 1rem; font-weight: 600; }
.card-steps { text-align: left; margin: 0; padding-left: 1.2rem; color: var(--text); display: grid; gap: .3rem; width: 100%; }
.btn-wa { --b: #25D366; --i: #fff; }
.btn-ghost { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* Aviso emergente de Negocios Invertibles */
.ni-pop { width: min(760px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: var(--surface); color: var(--text); box-shadow: 0 40px 90px -30px rgba(0, 0, 50, .6); }
.ni-pop[open] { display: grid; grid-template-columns: 300px 1fr; animation: popin .45s var(--ease); }
.ni-pop::backdrop { background: rgba(0, 0, 40, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes popin { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.ni-pop-visual { position: relative; min-height: 340px; background: radial-gradient(75% 60% at 100% 0%, rgba(0, 200, 205, .95), transparent 70%), radial-gradient(70% 55% at 0% 100%, rgba(255, 165, 20, .9), transparent 72%), linear-gradient(160deg, #06106B 0%, #0A2A78 50%, #062258 100%); }
.ni-pop-visual img { position: absolute; left: 50%; bottom: 0; height: 86%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 18px 26px rgba(0, 0, 30, .45)); }
.ni-pop-visual .ni-lock { z-index: 1; }
.ni-pop-body { padding: 2.4rem 2.2rem 2rem; align-self: center; }
.ni-pop-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; color: var(--head); margin: 0 0 .8rem; }
.ni-pop-body p:not(.eyebrow) { color: var(--muted); margin: 0 0 1.4rem; }
.ni-pop-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.ni-pop-no { background: none; border: 0; padding: .6em .2em; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.ni-pop-no:hover { color: var(--head); }
.ni-pop-x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 40, .35); color: #fff; cursor: pointer; }
.ni-pop-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (min-width: 681px) { .ni-pop-x { border-color: var(--line); background: var(--surface); color: var(--head); } }
@media (max-width: 680px) {
  .ni-pop { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .ni-pop[open] { grid-template-columns: 1fr; animation-name: popup; }
  @keyframes popup { from { transform: translateY(100%); } }
  .ni-pop-visual { min-height: 200px; height: 30dvh; }
  .ni-pop-body { padding: 1.4rem 20px calc(1.4rem + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .ni-pop[open] { animation: none; } }
