/* ==========================================================
   Block Zero · sitio web
   Paleta: Tinta #06080F · Azul Bloque #5B7CFF · Lima Cero #C8FF4D
   Tipos: Space Grotesk (títulos) · Inter (texto) · JetBrains Mono (detalles)
   ========================================================== */

:root {
  --bg: #06080F;
  --bg-2: #0A0E1A;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #EEF1FA;
  --muted: #8E97AD;
  --blue: #5B7CFF;
  --blue-2: #8EA4FF;
  --lime: #C8FF4D;
  --violet: #9D7BFF;
  --grad: linear-gradient(100deg, var(--lime) 0%, #7DF0C8 45%, var(--blue-2) 100%);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -.03em; margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--lime); color: #000; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

/* grano sutil para dar textura */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 0; opacity: .5;
  background: radial-gradient(circle, rgba(91,124,255,.16), transparent 65%);
  transform: translate(-50%, -50%); transition: opacity .3s;
}

/* ---------- botones ---------- */
.btn {
  --pad: 14px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s, color .3s;
}
.btn--sm { --pad: 10px 16px; font-size: 14px; }
.btn--lg { --pad: 18px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--lime); color: #0A0D05;
  box-shadow: 0 0 0 0 rgba(200,255,77,.5), 0 10px 30px -10px rgba(200,255,77,.55);
}
.btn--primary:hover { box-shadow: 0 0 0 6px rgba(200,255,77,.15), 0 16px 40px -10px rgba(200,255,77,.7); }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); background: var(--surface-2); }
.arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 2s infinite; }
.tag { padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--lime); }
@keyframes blink { 50% { opacity: .3; } }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.02em; color: var(--lime); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(6,8,15,.72); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; }
.brand__slash { stroke-dasharray: 32; stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease); }
.brand:hover .brand__slash { animation: slash .8s var(--ease); }
@keyframes slash { 0% { stroke-dashoffset: 32; } 100% { stroke-dashoffset: 0; } }
.brand__word { font: 500 22px/1 var(--display); letter-spacing: -.04em; }
.brand__word b { font-weight: 700; color: var(--lime); }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 15px; color: var(--muted); }
.nav__links a:not(.btn) { position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 15% 45%, rgba(6,8,15,.92), rgba(6,8,15,.4) 60%, transparent),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(40px, 5.4vw, 80px); font-weight: 600; margin: 22px 0 24px; }
.hero__title em { font-style: normal; color: var(--muted); }
.rotator { display: inline-block; vertical-align: top; overflow: hidden; height: 1.12em; line-height: 1.12; padding-right: .04em; }
.rotator span {
  display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rotIn .7s var(--ease) both;
}
.rotator span.out { animation: rotOut .5s var(--ease) both; }
@keyframes rotIn { from { transform: translateY(100%); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes rotOut { to { transform: translateY(-100%); opacity: 0; filter: blur(6px); } }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 32px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.ico--check { width: 18px; height: 18px; border-radius: 50%; background: rgba(200,255,77,.14); position: relative; }
.ico--check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--lime); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.hero__card { perspective: 1000px; }
.term {
  border-radius: 18px; border: 1px solid var(--line-2); overflow: hidden;
  background: rgba(10,14,26,.78); backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(91,124,255,.08), 0 0 80px -20px rgba(91,124,255,.35);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ease);
}
.hero__card:hover .term { transform: none; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2A3146; }
.term__bar i:first-child { background: #FF5F57; } .term__bar i:nth-child(2) { background: #FEBC2E; } .term__bar i:nth-child(3) { background: #28C840; }
.term__bar span { margin-left: 8px; }
.term__body { margin: 0; padding: 20px 20px 24px; min-height: 300px; font: 13.5px/1.75 var(--mono); color: #C9D1E6; white-space: pre-wrap; }
.term__body .ok { color: var(--lime); } .term__body .dim { color: #5D6684; } .term__body .hl { color: var(--blue-2); }
.term__body .caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: var(--lime); animation: blink 1s steps(1) infinite; }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; font: 500 clamp(20px, 2.4vw, 30px)/1 var(--display); letter-spacing: -.02em; color: #4A5272; }
.marquee__track b { color: var(--lime); font-size: .55em; align-self: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(34px, 4.6vw, 62px); margin: 20px 0 18px; }
.section__lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 620px; }
.section__head--center .section__lead { margin-inline: auto; }

/* ---------- tarjetas / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card--xl { grid-row: span 2; display: flex; flex-direction: column; }
.card--wide { grid-column: 1 / -1; }
.card--wide p { max-width: 720px; }
.card h3 { font-size: 23px; margin: 22px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(91,124,255,.25), rgba(200,255,77,.12)); border: 1px solid var(--line-2);
}
.card__icon svg, .pillar svg { width: 24px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text); }
.card__viz { margin-top: auto; padding-top: 30px; }
.bars { height: 150px; display: flex; align-items: flex-end; gap: 10px; }
.bars i {
  flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--blue), rgba(91,124,255,.15));
  transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease);
}
.bars i:last-child { background: linear-gradient(180deg, var(--lime), rgba(200,255,77,.15)); }
.is-in .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .08s; } .bars i:nth-child(3) { transition-delay: .16s; } .bars i:nth-child(4) { transition-delay: .24s; }
.bars i:nth-child(5) { transition-delay: .32s; } .bars i:nth-child(6) { transition-delay: .4s; } .bars i:nth-child(7) { transition-delay: .48s; }
.pulse-row { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font: 12.5px var(--mono); color: var(--muted); padding: 8px 14px; border-radius: 999px; background: rgba(200,255,77,.06); border: 1px solid rgba(200,255,77,.2); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200,255,77,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200,255,77,0); } 100% { box-shadow: 0 0 0 0 rgba(200,255,77,0); } }

/* reflector que sigue al mouse */
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(200,255,77,.09), transparent 60%);
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(200,255,77,.6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- soluciones ---------- */
.tabs { position: relative; display: inline-flex; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 40px; }
.tab { position: relative; z-index: 1; padding: 12px 24px; border: 0; background: none; color: var(--muted); font: 600 15px var(--body); cursor: pointer; border-radius: 999px; transition: color .3s; }
.tab.is-active { color: #0A0D05; }
.tabs__ink { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: var(--lime); transition: transform .5s var(--ease), width .5s var(--ease); }
.panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.panel.is-active { animation: panelIn .7s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); } }
.panel__copy h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.panel__copy > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 6px; background: rgba(200,255,77,.14); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid var(--lime); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.link { color: var(--lime); font-weight: 600; border-bottom: 1px solid rgba(200,255,77,.35); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--lime); }

.mock {
  padding: 22px; border-radius: 24px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(20,26,46,.95), rgba(9,12,22,.95));
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 120px -40px rgba(91,124,255,.45);
  transform-style: preserve-3d; transition: transform .25s ease-out;
}
.mock__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 14px; }
.mock__top b { font-family: var(--display); font-size: 18px; }
.mock__top span { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mock__stats div { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.mock__stats small { display: block; color: var(--muted); font-size: 11.5px; }
.mock__stats b { font: 600 22px var(--display); }

.cal { display: grid; grid-template-columns: 52px 1fr 1fr; gap: 10px; height: 250px; }
.cal__col { display: grid; grid-template-rows: repeat(5, 1fr); font: 11px var(--mono); color: var(--muted); }
.cal__grid { display: grid; grid-template-rows: repeat(5, 1fr); gap: 6px; padding: 4px; border-radius: 12px; background: repeating-linear-gradient(180deg, transparent 0 49px, var(--line) 49px 50px); }
.ev { grid-row: var(--r) / span var(--s); border-radius: 10px; padding: 8px 10px; font-size: 12px; display: flex; flex-direction: column; justify-content: center; border-left: 3px solid; animation: evIn .6s var(--ease) both; }
.ev b { font-size: 13px; } .ev span { color: var(--muted); font-size: 11px; }
.ev--a { background: rgba(91,124,255,.16); border-color: var(--blue); }
.ev--b { background: rgba(200,255,77,.1); border-color: var(--lime); }
.ev--c { background: rgba(157,123,255,.16); border-color: var(--violet); }
.ev:nth-child(2) { animation-delay: .1s; } .ev:nth-child(3) { animation-delay: .2s; }
@keyframes evIn { from { opacity: 0; transform: translateX(-10px); } }

.rooms { display: grid; gap: 14px; padding: 6px 0; }
.room { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.room__bar { position: relative; height: 36px; border-radius: 10px; background: repeating-linear-gradient(90deg, var(--surface) 0 calc(12.5% - 1px), var(--line) calc(12.5% - 1px) 12.5%); }
.room__bar i { position: absolute; top: 4px; bottom: 4px; left: var(--x); width: var(--w); border-radius: 7px; background: linear-gradient(90deg, var(--blue), var(--violet)); animation: grow .9s var(--ease) both; transform-origin: left; }
.room:nth-child(odd) .room__bar i:last-child { background: linear-gradient(90deg, #9BE33D, var(--lime)); }
@keyframes grow { from { transform: scaleX(0); } }

.map { position: relative; height: 230px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 30% 30%, rgba(91,124,255,.12), transparent 60%), repeating-linear-gradient(0deg, transparent 0 23px, var(--line) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, var(--line) 23px 24px); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { fill: none; stroke: var(--blue-2); stroke-width: 2.5; stroke-dasharray: 6 8; animation: dash 3s linear infinite; }
.route--2 { stroke: var(--lime); opacity: .7; }
@keyframes dash { to { stroke-dashoffset: -70; } }
.truck { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 4px 8px; border-radius: 8px; background: var(--lime); color: #0A0D05; font: 600 11px var(--mono); box-shadow: 0 0 0 6px rgba(200,255,77,.15); animation: bob 2.4s ease-in-out infinite; }
.truck--b { background: var(--blue-2); box-shadow: 0 0 0 6px rgba(142,164,255,.18); animation-delay: -1.2s; }
@keyframes bob { 50% { transform: translate(-50%, -70%); } }

/* ---------- proceso ---------- */
.steps { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 18px; }
.steps__line { position: absolute; left: 35px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps__line i { position: absolute; inset: 0 0 auto; height: 0; background: linear-gradient(var(--lime), var(--blue)); box-shadow: 0 0 14px var(--lime); }
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: start; padding: 26px 30px 26px 0; border-radius: var(--radius); transition: background .4s; }
.step:hover { background: var(--surface); }
.step__n {
  position: relative; z-index: 1; width: 72px; height: 72px; display: grid; place-items: center;
  border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line-2); font: 600 20px var(--mono); color: var(--muted);
  transition: color .4s, border-color .4s, box-shadow .4s, background .4s;
}
.step.is-lit .step__n { color: #0A0D05; background: var(--lime); border-color: var(--lime); box-shadow: 0 0 30px -4px rgba(200,255,77,.6); }
.step h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 10px 0 8px; }
.step p { color: var(--muted); max-width: 620px; }

/* ---------- confianza ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 600 clamp(44px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.stat span { color: var(--muted); font-size: 14.5px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { position: relative; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.pillar svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 22px; margin: 20px 0 10px; }
.pillar p { color: var(--muted); font-size: 15.5px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(200,255,77,.35); background: rgba(200,255,77,.035); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative; font: 600 18px var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 400 20px/1 var(--body); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); color: #0A0D05; border-color: var(--lime); }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

/* ---------- cta / contacto ---------- */
.cta { overflow: hidden; border-top: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(91,124,255,.22), transparent 60%); pointer-events: none; }
.cta::after { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,77,.12), transparent 60%); pointer-events: none; }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta__title { font-size: clamp(40px, 5.4vw, 76px); margin: 20px 0 20px; }
.cta__direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.form { display: grid; gap: 16px; padding: 32px; border-radius: 28px; border: 1px solid var(--line-2); background: rgba(10,14,26,.8); backdrop-filter: blur(16px); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); color: var(--text); font: 400 15.5px var(--body); outline: none; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.form select option { background: var(--bg-2); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(200,255,77,.12); }
.form .is-invalid { border-color: #FF6B6B; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 40px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; }
.footer__tag { color: var(--muted); font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--muted); }
.footer__links a:hover { color: var(--lime); }
.footer__copy { grid-column: 1 / -1; color: #4F5873; font-size: 13px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner, .panel, .cta__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 560px; }
  .term { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl { grid-row: auto; grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
  .panel { gap: 36px; }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 24px;
    background: rgba(6,8,15,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; }
  .nav.menu-open { background: rgba(6,8,15,.96); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .hero__canvas { opacity: .55; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .term__body { min-height: 240px; font-size: 12px; }
  .bento { grid-template-columns: 1fr; }
  .card--xl, .card--wide { grid-column: auto; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 12px 8px; font-size: 14px; }
  .mock { padding: 16px; }
  .mock__stats b { font-size: 18px; }
  .room { grid-template-columns: 84px 1fr; font-size: 12px; }
  .steps__line { left: 27px; }
  .step { grid-template-columns: 56px 1fr; gap: 18px; padding-right: 0; }
  .step__n { width: 56px; height: 56px; font-size: 16px; border-radius: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .cursor-glow { display: none; }
}

@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; }
}
