/* =====================================================================
   EIO Digital Lab - Sistema de estilos
   Tema: dark-tech · acento único lima · tema oscuro bloqueado
   Tokens de marca derivados del logotipo (ver MANUAL_DE_MARCA.md)
   ===================================================================== */

:root {
  /* --- Color de marca --- */
  --lime: #d4f81a;          /* Verde Laboratorio (acento principal) */
  --lime-bright: #e3ff4d;   /* hover / brillo */
  --lime-deep: #a7c610;     /* pressed / bordes */
  --lime-ink: #0d0d0d;      /* texto sobre lima */

  /* --- Neutros (cálido-neutro, nunca negro puro) --- */
  --bg: #0c0d0c;            /* fondo base */
  --bg-2: #121312;          /* secciones alternas */
  --surface: #171816;       /* tarjetas */
  --surface-2: #1e201d;     /* tarjetas elevadas */
  --line: #2a2c28;          /* hairlines / bordes */
  --line-soft: #212320;

  --text: #f3f4ef;          /* texto principal */
  --text-2: #b7bbb0;        /* texto secundario */
  --text-3: #80847a;        /* texto terciario / captions */

  /* --- Radios (sistema único: estructura 14px · chips pill) --- */
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* --- Espaciado de sección --- */
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* --- Sombras (tintadas al fondo, nunca negro puro) --- */
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(212, 248, 26, 0.16), 0 18px 50px -18px rgba(212, 248, 26, 0.18);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* --- z-index --- */
  --z-nav: 100;
  --z-overlay: 200;
  --z-grain: 300;
}

/* ===================== Reset ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--lime-ink); }

/* ===================== Tipografía ===================== */
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
}
.h-display { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; }

p { color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 56ch; }
.muted { color: var(--text-3); }
strong, b { color: var(--text); font-weight: 600; }

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--lime);
  opacity: 0.7;
}

.accent { color: var(--lime); }
.serif-em { font-style: italic; font-weight: 600; }

/* ===================== Layout ===================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { padding-block: var(--section-y); }
.section-bg { background: var(--bg-2); }
.divider { height: 1px; background: var(--line-soft); border: 0; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1rem; }

/* ===================== Botones ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 0 0 1px rgba(212, 248, 26, 0.3);
}
.btn-primary:hover { background: var(--lime-bright); box-shadow: var(--glow); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.985); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-1px); }
.btn-ghost:active { transform: scale(0.985); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }

/* ===================== Chips / tags ===================== */
.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-2);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.015);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tag:hover { border-color: var(--lime); color: var(--lime); }

/* ===================== Navegación ===================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 13, 12, 0.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-soft);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 38px; width: auto; border-radius: 8px; }
.brand-name { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-name b { color: var(--lime); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.94rem; color: var(--text-2); transition: color 0.18s var(--ease); position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  .nav-links, .nav-actions .btn-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 6rem var(--gutter) 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a { font-family: "Space Grotesk", sans-serif; font-size: 1.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.mobile-menu .btn { margin-top: 2rem; }
.mobile-close { position: absolute; top: 1.5rem; right: var(--gutter); width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; }
.mobile-close svg { width: 22px; height: 22px; }

/* ===================== Fondo ambiente ===================== */
.ambient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 78% -10%, rgba(212, 248, 26, 0.10), transparent 60%),
    radial-gradient(50vw 50vw at 0% 30%, rgba(212, 248, 26, 0.05), transparent 55%);
}
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ===================== Hero ===================== */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding-top: 6rem; }
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin: 1.4rem 0 1.3rem; max-width: 16ch; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.4rem; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(212, 248, 26, 0.16), transparent 42%),
              linear-gradient(0deg, rgba(12, 13, 12, 0.85), transparent 55%);
}
.hero-badge {
  position: absolute; left: -14px; bottom: 28px; z-index: 2;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 0.9rem 1.1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.8rem; max-width: 78%;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); flex: none; }
.hero-badge span { font-size: 0.82rem; color: var(--text-2); line-height: 1.35; }
.hero-badge b { color: var(--text); }

/* ===================== Marquee (único en la página) ===================== */
.marquee { border-block: 1px solid var(--line-soft); padding-block: 1.4rem; overflow: hidden; }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee-track span {
  font-family: "Space Grotesk", sans-serif; font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 500; color: var(--text-3); display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee-track span::after { content: "/"; color: var(--lime); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ===================== Servicios (bento) ===================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.5rem, 2.5vw, 2.1rem);
  position: relative; overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.card:hover { border-color: rgba(212, 248, 26, 0.4); transform: translateY(-3px); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  background: rgba(212, 248, 26, 0.1); border: 1px solid rgba(212, 248, 26, 0.22);
  color: var(--lime);
}
.card .ic svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.96rem; }

/* spans del bento */
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }

.card-feature {
  grid-column: span 3; grid-row: span 2;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-feature .feat-art {
  margin-top: 1.5rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16/10; position: relative;
}
.card-feature .feat-art img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.card-feature .feat-art::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(12,13,12,0.7), rgba(212,248,26,0.08)); }

@media (max-width: 880px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .col-3, .col-2, .col-4, .col-6, .card-feature { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .col-3, .col-2, .col-4, .col-6, .card-feature { grid-column: span 1; }
}

/* ===================== Enfoque / proceso ===================== */
.process { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }
.steps { display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.step { background: var(--bg); padding: 1.8rem 0.2rem; display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; transition: padding-left 0.25s var(--ease); }
.step:hover { padding-left: 1rem; }
.step .num { font-family: "JetBrains Mono", monospace; font-size: 1.1rem; color: var(--lime); padding-top: 0.2rem; }
.step h3 { margin-bottom: 0.45rem; }
.step p { font-size: 0.96rem; }
.process-aside { position: sticky; top: 100px; }
.process-aside .stat { padding: 1.4rem 0; border-bottom: 1px solid var(--line-soft); }
.process-aside .stat:first-child { border-top: 1px solid var(--line-soft); }
.process-aside .stat .v { font-family: "Space Grotesk", sans-serif; font-size: 2.4rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.process-aside .stat .v small { color: var(--lime); font-size: 1.6rem; }
.process-aside .stat .k { color: var(--text-3); font-size: 0.9rem; }

/* ===================== Casos ===================== */
.cases { display: grid; gap: 1.6rem; }
.case {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
}
.case:nth-child(even) .case-media { order: 2; }
.case-media { position: relative; min-height: 340px; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-media::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, rgba(12,13,12,0.55), rgba(212,248,26,0.08)); }
.case-body { padding: clamp(1.8rem, 3.5vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.case-body .kicker { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--lime); margin-bottom: 0.9rem; }
.case-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 0.9rem; }
.case-body p { font-size: 0.98rem; margin-bottom: 1.4rem; }
.case-metrics { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.case-metrics .v { font-family: "Space Grotesk", sans-serif; font-size: 1.7rem; font-weight: 600; color: var(--lime); }
.case-metrics .k { font-size: 0.82rem; color: var(--text-3); }
.case-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
@media (max-width: 800px) {
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-media { order: 0; }
  .case-media { min-height: 240px; }
}

/* ===================== Nosotros ===================== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.values { display: grid; gap: 1px; background: var(--line-soft); margin-top: 2rem; border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.value { background: var(--surface); padding: 1.3rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; }
.value svg { width: 22px; height: 22px; color: var(--lime); flex: none; margin-top: 3px; }
.value h4 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.value p { font-size: 0.92rem; }

/* ===================== Contacto / Formulario ===================== */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
.contact-info .channel { display: flex; gap: 0.9rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft); }
.contact-info .channel:first-of-type { border-top: 1px solid var(--line-soft); margin-top: 1.6rem; }
.contact-info .channel svg { width: 20px; height: 20px; color: var(--lime); flex: none; }
.contact-info .channel .k { font-size: 0.78rem; color: var(--text-3); }
.contact-info .channel .v { color: var(--text); font-weight: 500; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: 0.86rem; color: var(--text-2); font-weight: 500; }
.field label .req { color: var(--lime); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.85rem 1rem; color: var(--text); font: inherit; font-size: 0.96rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(212, 248, 26, 0.14);
}
.field .help { font-size: 0.78rem; color: var(--text-3); }
.field .err { font-size: 0.78rem; color: #ff8f6b; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff8f6b; }
.field.invalid .err { display: block; }
.checkbox { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--text-2); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--lime); }
.checkbox a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }

.form-status { display: none; padding: 1rem 1.1rem; border-radius: var(--r); font-size: 0.92rem; margin-top: 0.4rem; }
.form-status.ok { display: block; background: rgba(212, 248, 26, 0.1); border: 1px solid rgba(212, 248, 26, 0.3); color: var(--text); }
.form-status.bad { display: block; background: rgba(255, 143, 107, 0.1); border: 1px solid rgba(255, 143, 107, 0.3); color: #ffb59c; }

.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== Footer ===================== */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-family: "JetBrains Mono", monospace; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: 0.7rem; }
.footer a { color: var(--text-2); font-size: 0.94rem; transition: color 0.18s var(--ease); }
.footer a:hover { color: var(--lime); }
.footer .brand { margin-bottom: 1rem; }
.footer .about-foot { color: var(--text-3); font-size: 0.92rem; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); color: var(--text-3); font-size: 0.85rem; }
.libro-badge { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line); border-radius: var(--r); padding: 0.7rem 1rem; color: var(--text-2); font-size: 0.86rem; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.libro-badge:hover { border-color: var(--lime); color: var(--lime); }
.libro-badge svg { width: 18px; height: 18px; color: var(--lime); }

/* ===================== Páginas legales ===================== */
.page-hero { padding-top: 8rem; padding-bottom: 2rem; }
.legal { max-width: 760px; }
.legal h2 { margin-top: 2.4rem; margin-bottom: 0.8rem; font-size: 1.4rem; }
.legal h3 { margin-top: 1.6rem; margin-bottom: 0.5rem; font-size: 1.1rem; }
.legal p, .legal li { color: var(--text-2); margin-bottom: 0.8rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: var(--r); padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.note p { margin: 0; font-size: 0.94rem; }

.fieldset { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.6rem; }
.fieldset legend { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.05rem; padding: 0 0.6rem; color: var(--lime); }
.radio-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.radio-card { flex: 1; min-width: 160px; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); display: flex; gap: 0.7rem; align-items: flex-start; }
.radio-card:hover { border-color: var(--lime); }
.radio-card input { accent-color: var(--lime); margin-top: 3px; }
.radio-card.checked { border-color: var(--lime); background: rgba(212, 248, 26, 0.06); }
.radio-card .t { font-weight: 600; color: var(--text); font-size: 0.96rem; }
.radio-card .d { font-size: 0.82rem; color: var(--text-3); }

/* ===================== Animaciones de entrada ===================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-frame img { filter: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* utilidades */
.mt-1 { margin-top: 0.6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.center { text-align: center; margin-inline: auto; }
.flex-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
