/* Planeta Recreo · «Noche de recreo». Colores y fuentes como variables. */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #c6f432; }
:root {
  --night: #0b0722;
  --night2: #130c36;
  --violet: #6a4bff;
  --violet-soft: #9a85ff;
  --lime: #c6f432;
  --orange: #ff8a3d;
  --pink: #ff5fa2;
  --teal: #3de0c5;
  --text: #efedfb;
  --soft: #b4afd6;
  --line: rgba(255,255,255,.13);
  --card: rgba(255,255,255,.055);
  --radius: 26px;
  --accent: #c6f432;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Avenir Next', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--lime); }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.05; color: #fff; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.025em; }
h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(30px, 5vw, 56px); }
h3 { font-size: 22px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--lime); color: #140d3a; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
section { padding: 110px 0; position: relative; }
.alt { background: var(--night2); }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px; font-weight: 800; color: var(--lime); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 20px; color: var(--soft); max-width: 680px; }
[hidden] { display: none !important; }

/* Resplandor que sigue al puntero (solo con ratón) */
.glow { position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(106,75,255,.22), rgba(255,95,162,.08) 45%, transparent 70%); will-change: transform; opacity: 0; transition: opacity .4s; }
.glow.on { opacity: 1; }
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--lime), var(--orange), var(--pink)); z-index: 60; }

/* Cabecera */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--lime); color: #000; padding: 8px 12px; z-index: 99; }
header { position: sticky; top: 0; z-index: 40; background: rgba(11,7,34,.55); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
header.scrolled { background: rgba(11,7,34,.85); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-title); color: #fff; }
.brand svg { width: 46px; height: 46px; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.brand:hover svg { transform: rotate(-12deg) scale(1.12); }
.brand span { line-height: 1; font-size: 22px; letter-spacing: -.03em; }
.brand b { font-weight: 900; color: #fff; }
.brand i { font-style: normal; font-weight: 900; color: var(--lime); }
nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
nav a { text-decoration: none; color: var(--text); padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .2s; }
nav a:hover, nav a[aria-current] { background: rgba(255,255,255,.1); }
nav a.cta { background: var(--lime); color: #140d3a; font-weight: 800; margin-left: 6px; }
nav a.cta:hover { background: #fff; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 3px; background: #fff; border-radius: 3px; position: relative; content: ''; margin: 0 auto; }
.burger span::before { position: absolute; top: -8px; left: 0; }
.burger span::after { position: absolute; top: 8px; left: 0; }
@media (max-width: 900px) {
  .burger { display: block; }
  nav ul { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: rgba(11,7,34,.97); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); }
  nav ul.open { display: flex; }
  nav a { display: block; padding: 14px; }
  nav a.cta { margin: 6px 0 0; text-align: center; }
}

/* Botones */
.btn { display: inline-block; font: inherit; font-weight: 800; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; min-height: 50px; background: var(--violet); color: #fff; transition: transform .2s, box-shadow .2s, background .2s; will-change: transform; }
.btn:hover { background: #7d62ff; box-shadow: 0 14px 34px -10px rgba(106,75,255,.9); }
.btn.orange { background: linear-gradient(100deg, var(--lime), #e6f55a); color: #140d3a; box-shadow: 0 12px 34px -10px rgba(198,244,50,.6); }
.btn.orange:hover { background: #fff; box-shadow: 0 16px 40px -8px rgba(198,244,50,.8); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn.ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px #fff; }
.btn.big { padding: 18px 34px; font-size: 18px; }
.btn:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* Fondo animado (canvas) y cabeceras de página */
.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero, .page-head { position: relative; overflow: hidden; color: #e9e6ff; background: radial-gradient(60% 70% at 85% 20%, rgba(106,75,255,.55), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(255,95,162,.3), transparent 70%), var(--night); }
.hero > .wrap, .page-head > .wrap { position: relative; z-index: 2; }
.page-head { padding: 96px 0 88px; }
.page-head h1 { font-size: clamp(40px, 7vw, 84px); max-width: 900px; }
.page-head .lead { color: #cfc9f5; }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--night)); z-index: 1; pointer-events: none; }

/* Portada */
.hero { min-height: calc(100svh - 72px); display: flex; align-items: center; padding: 60px 0 90px; }
.hero > .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; width: min(1240px, 100% - 32px); }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.07); color: #e9e6ff; border: 1px solid var(--line); margin-bottom: 26px; backdrop-filter: blur(6px); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198,244,50,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(198,244,50,0); } 100% { box-shadow: 0 0 0 0 rgba(198,244,50,0); } }
.hero h1 { font-size: clamp(46px, 8.2vw, 108px); line-height: .95; letter-spacing: -.045em; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero h1 em .w > span { background: linear-gradient(95deg, var(--lime), var(--orange) 60%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero .lead { font-size: 21px; color: #d3cdf7; }
.hint { margin: 26px 0 0; font-size: 14px; color: var(--soft); display: flex; align-items: center; gap: 8px; }
.hint::before { content: '✦'; color: var(--lime); animation: tw 1.6s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .2; transform: scale(.7); } }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(110%); animation: rise .9s cubic-bezier(.2,.9,.2,1) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes rise { to { transform: none; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; margin-left: -22px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); display: grid; place-items: center; color: #fff; text-decoration: none; z-index: 3; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }

/* Constelación del niño-estrella */
.constel { margin: 0; position: relative; z-index: 2; }
.constel svg { width: 100%; max-width: 520px; margin: 0 auto; overflow: visible; transform: perspective(900px) rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -7deg)); transition: transform .25s ease-out; }
.constel .ln { fill: none; stroke: url(#cl); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s ease-out forwards; animation-delay: calc(.6s + var(--d, 0) * .18s); filter: drop-shadow(0 0 6px rgba(198,244,50,.6)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.constel .bg-st { fill: #fff; opacity: .5; animation: tw 3s ease-in-out infinite; animation-delay: calc(var(--d, 0) * .4s); }
.constel .st { cursor: pointer; opacity: 0; animation: pop .6s cubic-bezier(.3,1.7,.5,1) forwards; animation-delay: calc(.5s + var(--d, 0) * .18s); }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
.constel .st .core { fill: var(--c); filter: drop-shadow(0 0 10px var(--c)); transition: transform .3s cubic-bezier(.3,1.7,.5,1); transform-box: fill-box; transform-origin: center; }
.constel .st .ring { fill: none; stroke: var(--c); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.constel .st .hit { fill: transparent; }
.constel .st text { fill: #fff; font: 800 17px var(--font-title); letter-spacing: -.01em; opacity: .85; paint-order: stroke; stroke: rgba(11,7,34,.8); stroke-width: 4px; transition: opacity .2s; }
.constel .st:hover .core, .constel .st.on .core { transform: scale(1.5); }
.constel .st.on .ring { animation: ringout 1.4s ease-out infinite; }
.constel .st.on text, .constel .st:hover text { opacity: 1; }
@keyframes ringout { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
.constel .st:focus-visible { outline: none; }
.constel .st:focus-visible .core { stroke: #fff; stroke-width: 3; }
.constel .cap { margin: 8px auto 0; max-width: 460px; min-height: 96px; text-align: center; padding: 16px 20px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: 16px; line-height: 1.45; }
.cap b { display: block; font-family: var(--font-title); font-size: 21px; color: var(--cc, var(--lime)); margin-bottom: 2px; }
@media (max-width: 900px) {
  .hero { padding: 36px 0 90px; }
  .hero > .wrap { grid-template-columns: 1fr; }
  .constel { order: 2; }
  .constel svg { max-width: 360px; }
}

/* Banda de texto */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--night); position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-title); font-weight: 900; font-size: clamp(36px, 6vw, 76px); text-transform: uppercase; letter-spacing: -.02em; padding: 0 28px; display: flex; align-items: center; gap: 56px; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.5); transition: color .3s, -webkit-text-stroke-color .3s; }
.marquee-track span:hover { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.marquee-track span::after { content: '✦'; color: var(--pink); -webkit-text-stroke: 0; font-size: .5em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Manifiesto: las palabras se iluminan al hacer scroll */
.manifesto { padding: 150px 0; background: var(--night); }
.scrub { font-family: var(--font-title); font-size: clamp(28px, 5.2vw, 66px); line-height: 1.12; font-weight: 900; letter-spacing: -.03em; max-width: 1050px; margin: 0; }
.scrub .sw { color: rgba(255,255,255,.16); transition: color .35s; }
.scrub .sw.on { color: #fff; }
.scrub .sw.hl.on { color: var(--lime); }

/* Escena fijada: cuatro formas de transformar el patio */
.stage { background: radial-gradient(55% 50% at 15% 35%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), var(--night2); transition: --accent .9s ease; padding: 120px 0; }
.stage-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.stage-sticky { position: sticky; top: 130px; }
.stage-num { margin-top: 36px; }
.stage-num .big-n { display: block; font-family: var(--font-title); font-weight: 900; font-size: clamp(110px, 17vw, 230px); line-height: .85; color: transparent; -webkit-text-stroke: 3px var(--accent); letter-spacing: -.06em; transition: -webkit-text-stroke-color .9s; }
.stage-num small { display: block; margin-top: 14px; font-size: 22px; font-weight: 800; color: var(--accent); font-family: var(--font-title); }
.dots { display: flex; gap: 10px; margin-top: 22px; }
.dots i { width: 38px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); transition: background .4s, width .4s; }
.dots i.on { background: var(--accent); width: 70px; }
.panel { min-height: 78vh; display: flex; align-items: center; }
.panel-in { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 40px; width: 100%; position: relative; overflow: hidden; backdrop-filter: blur(8px); opacity: .35; transform: scale(.96); transition: opacity .6s, transform .6s, border-color .6s; }
.panel.active .panel-in { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--pc) 60%, transparent); }
.panel-in::before { content: ''; position: absolute; width: 320px; height: 320px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--pc) 45%, transparent), transparent 70%); }
.panel h3 { font-size: clamp(28px, 3.4vw, 42px); color: var(--pc); position: relative; }
.panel p { font-size: 19px; color: #d3cdf7; position: relative; }
.panel ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; position: relative; }
.panel li { padding-left: 34px; position: relative; font-weight: 600; }
.panel li::before { content: '✦'; position: absolute; left: 0; color: var(--pc); }
.panel .more { display: inline-block; margin-top: 18px; font-weight: 800; color: var(--pc); position: relative; }
@media (max-width: 900px) {
  .stage-grid { grid-template-columns: 1fr; gap: 20px; }
  .stage-sticky { position: static; }
  .stage-num { display: none; }
  .panel { min-height: 0; margin-bottom: 18px; }
  .panel-in { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--pc) 50%, transparent); padding: 28px; }
}

/* Creador de recreo */
.builder { background: radial-gradient(50% 60% at 90% 10%, rgba(255,95,162,.18), transparent 70%), var(--night); }
.b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; align-items: stretch; }
.b-box { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 32px; backdrop-filter: blur(8px); }
fieldset { border: 0; padding: 0; margin: 0; }
legend, .rl { font-weight: 800; font-size: 15px; letter-spacing: .02em; margin-bottom: 14px; color: var(--soft); padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip-opt { cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: 15px; transition: all .2s; user-select: none; }
.chip-opt span::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.chip-opt:hover span { border-color: var(--c); }
.chip-opt input:checked + span { background: color-mix(in srgb, var(--c) 22%, transparent); border-color: var(--c); color: #fff; transform: scale(1.04); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.range { display: block; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; color: var(--soft); margin-bottom: 14px; }
.range-head output { font-family: var(--font-title); font-size: 44px; color: #fff; letter-spacing: -.03em; line-height: 1; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--lime) var(--fill, 25%), rgba(255,255,255,.15) var(--fill, 25%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 6px solid var(--lime); cursor: grab; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid var(--lime); cursor: grab; }
.b-result { display: flex; flex-direction: column; background: radial-gradient(70% 60% at 50% 0, rgba(106,75,255,.4), transparent 70%), rgba(255,255,255,.04); }
.patio { flex: 1; min-height: 210px; display: flex; flex-wrap: wrap; gap: 7px; align-content: flex-start; padding: 6px 0 20px; }
.patio i { font-style: normal; font-size: 22px; line-height: 1; color: var(--c, rgba(255,255,255,.22)); text-shadow: 0 0 10px var(--c, transparent); animation: pop .4s cubic-bezier(.3,1.7,.5,1) backwards; animation-delay: calc(var(--k) * 8ms); }
.b-sum { font-size: 19px; margin-bottom: 4px; }
.b-sum b { color: var(--lime); font-family: var(--font-title); font-size: 26px; }
.b-note { font-size: 13px; color: var(--soft); margin-bottom: 18px; }
@media (max-width: 900px) { .b-grid { grid-template-columns: 1fr; } .b-box { padding: 24px; } }

/* Tarjetas con inclinación y foco de luz */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 36px; }
.card, .who, .trust { --mx: 50%; --my: 0%; position: relative; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,255,255,.12), transparent 60%), var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s ease-out, border-color .3s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card:hover, .who:hover, .trust:hover { border-color: rgba(198,244,50,.6); }
.card .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; margin-bottom: 16px; background: linear-gradient(135deg, var(--violet), var(--pink)); }
.card p:last-child { margin-bottom: 0; color: var(--soft); }
.card ul { color: var(--soft); padding-left: 20px; }
.grid3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 36px; }
.who { display: block; text-decoration: none; color: var(--text); }
.who-ico { font-size: 42px; display: block; margin-bottom: 14px; }
.who p { color: var(--soft); }
.who .more { font-weight: 800; color: var(--lime); display: inline-block; transition: transform .2s; }
.who:hover .more { transform: translateX(6px); }
.trust b { display: block; font-family: var(--font-title); font-size: 22px; color: #fff; margin-bottom: 6px; }
.trust p { margin: 0; color: var(--soft); }
.trust .tk { display: block; font-size: 26px; color: var(--lime); margin-bottom: 10px; }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; margin-top: 32px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 80px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: #140d3a; font-weight: 900; display: grid; place-items: center; font-family: var(--font-title); }
.notice { border-left: 5px solid var(--orange); background: var(--card); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 32px 0; }
.empty { text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); padding: 64px 24px; margin-top: 28px; color: var(--soft); }
.empty h2 { color: #fff; }
.split { display: grid; gap: 50px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Preguntas */
.narrow { max-width: 860px; }
.faq { margin-top: 30px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 4px 24px; transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(198,244,50,.5); background: rgba(198,244,50,.05); }
.faq summary { cursor: pointer; font-weight: 800; padding: 18px 32px 18px 0; list-style: none; position: relative; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 30px; color: var(--lime); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--soft); margin: 0 0 18px; }

/* Cierre */
.mega { padding: 0 0 110px; }
.cta-band { position: relative; overflow: hidden; border-radius: 40px; padding: 110px 24px; text-align: center; background: var(--night2); border: 1px solid var(--line); isolation: isolate; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(70px); z-index: -1; opacity: .75; animation: drift 12s ease-in-out infinite alternate; }
.cta-band::before { background: var(--pink); left: -140px; top: -180px; }
.cta-band::after { background: var(--violet); right: -140px; bottom: -200px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(120px, 60px) scale(1.2); } }
.cta-band h2 { font-size: clamp(36px, 7vw, 92px); letter-spacing: -.045em; line-height: .98; max-width: 980px; margin: 0 auto .4em; }
.cta-band h2 em { font-style: normal; color: var(--lime); }
.cta-band p { color: #e3defc; max-width: 560px; margin: 0 auto; font-size: 20px; }
.cta-band .actions { justify-content: center; margin-top: 34px; }

/* Formularios */
form.box { display: grid; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 34px; backdrop-filter: blur(8px); }
form label { display: flex; flex-direction: column; gap: 7px; font-weight: 700; font-size: 15px; }
form input:not([type=checkbox]), form select, form textarea { font: inherit; color: #fff; background: rgba(255,255,255,.07); padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; min-height: 50px; transition: border-color .2s, background .2s; }
form select option { background: #1a1245; color: #fff; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--lime); background: rgba(198,244,50,.06); box-shadow: 0 0 0 4px rgba(198,244,50,.18); }
form label.check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; }
form label.check input { margin-top: 5px; width: 20px; height: 20px; flex: none; accent-color: var(--lime); }
.row2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } form.box { padding: 24px; } }
.legal-mini { font-size: 13px; color: var(--soft); margin: 0; }
mark { background: #FFE45C; color: #000; padding: 0 3px; border-radius: 3px; }
.hp { position: absolute; left: -9999px; }
.msg { padding: 14px 18px; border-radius: 14px; font-weight: 700; display: none; margin: 0; }
.msg.ok { display: block; background: rgba(61,224,197,.16); color: #7af0d9; border: 1px solid rgba(61,224,197,.5); }
.msg.err { display: block; background: rgba(255,95,95,.14); color: #ffb0a8; border: 1px solid rgba(255,95,95,.5); }
.tabs { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 800; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--line); background: transparent; color: #fff; cursor: pointer; transition: all .2s; }
.tabs button:hover { border-color: var(--lime); }
.tabs button[aria-selected="true"] { background: var(--lime); color: #140d3a; border-color: var(--lime); }

/* Pie */
footer { background: #07041a; color: #cfc9f0; padding: 70px 0 30px; border-top: 1px solid var(--line); position: relative; z-index: 2; }
footer a { color: #fff; text-decoration-color: rgba(255,255,255,.3); }
footer a:hover { color: var(--lime); }
.foot { display: grid; gap: 34px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
footer h3 { color: #fff; font-size: 16px; letter-spacing: .02em; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: 14px; }

/* Aparecer al hacer scroll (solo si hay JavaScript) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scroll-cue, .cta-band::before, .cta-band::after, .badge .dot, .hint::before, .constel .bg-st { animation: none; }
  .w > span { animation: none; transform: none; }
  .constel .ln { animation: none; stroke-dashoffset: 0; }
  .constel .st { animation: none; opacity: 1; }
  .card, .who, .trust { transform: none !important; }
}

.constel .st { transform-box: fill-box; transform-origin: center; }
