/* ============================================================
   BARBAINFORMATICA V2 — Design System
   Tono: socio estratégico de crecimiento, no catálogo de servicios.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #06070a;
  --bg-raised: #0c0f16;
  --surface: rgba(255,255,255,0.035);
  --surface-border: rgba(255,255,255,0.08);
  --surface-hover: rgba(255,255,255,0.06);
  --text: #eef1f5;
  --text-dim: #a6b0bd;
  --muted: #6b7684;
  --accent: #79c0ff;
  --accent-dim: rgba(121,192,255,0.12);
  --accent-line: rgba(121,192,255,0.28);
  --accent-glow: rgba(121,192,255,0.22);

  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(.16,.8,.28,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--accent-dim); color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ---------- Ambient background ---------- */
.grid-bg {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 15%, transparent 75%);
  pointer-events: none; z-index: 0;
}

.field-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 400px at 15% 8%, rgba(121,192,255,0.08), transparent 60%),
    radial-gradient(500px 380px at 85% 25%, rgba(121,192,255,0.05), transparent 60%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono), var(--font-body);
  font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}

.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent-glow);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-block: 14px 16px;
}

.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.65;
}

.section {
  padding-block: 96px;
  position: relative;
}

.section-header { margin-bottom: 52px; }

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--surface-border) 20%, var(--surface-border) 80%, transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 600;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent); color: #06070a;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--accent-glow); }

.btn-ghost {
  background: var(--surface); border: 1px solid var(--surface-border); color: var(--text);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--accent-line); }

.btn-icon { transition: transform .25s var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  padding: 18px 0;
  background: rgba(6,7,10,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
nav.scrolled { border-color: var(--surface-border); background: rgba(6,7,10,0.92); }
nav.nav-hidden { transform: translateY(-100%); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 30px; height: 30px;/* border-radius: 8px; probanding*/
  display: grid; place-items: center;
  /*  background: var(--surface); border: 1px solid var(--surface-border);  */
}
.logo-text {
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
}
.logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-dim);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; width: 32px; height: 32px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle-bar {
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s var(--ease), width .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-top: 88px;
  padding-bottom: 64px;
  position: relative;
}

.hero-layout {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  margin-top: 18px;
}
.hero-copy h1 .accent-word { color: var(--accent); }

.hero-sub {
  margin-top: 20px; font-size: 18px; color: var(--text-dim); max-width: 520px; line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* Stage strip teaser (mini "medidor") inside hero */
.hero-stagestrip {
  margin-top: 46px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  max-width: 560px;
}
.stagestrip-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.stagestrip-track {
  display: flex; gap: 5px;
}
.stagestrip-seg {
  flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.07);
  position: relative; overflow: hidden;
}
.stagestrip-seg.is-filled { background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.stagestrip-caption {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-size: 13px; color: var(--text-dim);
}
.stagestrip-caption b { color: var(--text); font-weight: 600; }

/* Hero visual card: live snapshot of the journey */
.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  backdrop-filter: blur(18px);
  padding: 6px;
}
.hero-card-inner {
  border-radius: calc(var(--radius-lg) - 6px);
  background: var(--bg-raised);
  padding: 26px;
}
.hero-card-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  margin-bottom: 22px;
}
.hero-journey { display: flex; flex-direction: column; gap: 2px; }
.journey-step {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 10px;
  border-radius: 10px;
  position: relative;
}
.journey-step + .journey-step::before {
  content: ''; position: absolute; left: 24px; top: -2px; width: 1px; height: 4px;
  background: var(--surface-border);
}
.journey-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--muted); flex-shrink: 0;
}
.journey-step.is-active .journey-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.journey-step.is-active { background: var(--accent-dim); }
.journey-name { font-size: 14px; font-weight: 600; }
.journey-step.is-active .journey-name { color: var(--accent); }
.journey-step:not(.is-active) .journey-name { color: var(--text-dim); }
.journey-tag {
  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted);
}

/* ---------- Autoubicación (question block) ---------- */
.locate {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
}
.locate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.locate-card {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  background: var(--bg-raised);
  transition: border-color .2s, transform .2s;
}
.locate-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.locate-q { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.locate-a { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

/* ---------- Planes (stage cards) ---------- */
.stages {
  display: flex; flex-direction: column; gap: 14px; margin-top: 44px;
}
.stage-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
  position: relative;
}
.stage-row:hover {
  border-color: var(--accent-line);
  background: var(--surface-hover);
  transform: translateX(4px);
}
.stage-num {
  font-family: var(--font-head); font-size: 26px; font-weight: 700;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  border: 1px solid var(--surface-border);
}
.stage-row:hover .stage-num { color: var(--accent); border-color: var(--accent-line); }
.stage-body h3 { font-size: 19px; margin-bottom: 6px; }
.stage-body p { font-size: 14.5px; color: var(--text-dim); max-width: 520px; }
.stage-for {
  margin-top: 10px; font-size: 12.5px; color: var(--muted);
  font-family: var(--font-mono);
}
.stage-arrow {
  color: var(--muted); transition: transform .25s var(--ease), color .25s var(--ease);
}
.stage-row:hover .stage-arrow { color: var(--accent); transform: translateX(4px); }

/* ---------- Cases ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.case-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .25s, transform .25s;
}
.case-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.case-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); width: fit-content;
  padding: 4px 10px; border-radius: 20px; background: var(--accent-dim);
}
.case-card h3 { font-size: 17px; }
.case-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.case-result {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--surface-border);
  font-size: 13.5px; color: var(--text);
}
.case-result b { color: var(--accent); }

/* ---------- Laboratorio teaser ---------- */
.lab-teaser {
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: linear-gradient(135deg, rgba(121,192,255,0.06), rgba(255,255,255,0.02));
  padding: 48px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  margin-top: 44px;
  position: relative; overflow: hidden;
}
.lab-teaser::after {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  right: -120px; top: -120px; pointer-events: none;
}
.lab-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lab-badge {
  font-size: 12.5px; padding: 7px 13px; border-radius: 20px;
  border: 1px solid var(--surface-border); background: var(--bg-raised); color: var(--text-dim);
}
.lab-visual {
  aspect-ratio: 4/3; border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background: radial-gradient(120% 120% at 30% 20%, rgba(121,192,255,0.14), var(--bg-raised) 60%);
  display: grid; place-items: center;
}

/* ---------- CTA ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  padding: 64px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(500px 220px at 50% 0%, var(--accent-glow), transparent 70%);
  opacity: .5;
}
.cta-band h2 { position: relative; }
.cta-band p { position: relative; margin: 14px auto 30px; max-width: 480px; color: var(--text-dim); }
.cta-actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { padding: 64px 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; margin-bottom: 28px; border-bottom: 1px solid var(--surface-border);
}
.footer-brand p { margin-top: 14px; color: var(--text-dim); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; font-family: var(--font-mono); font-weight: 500; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-dim); font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 10px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #06070a;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

.back-to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, border-color .2s, background .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent-line); background: var(--surface-hover); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.stagger.is-visible > *:nth-child(1) { transition-delay: .03s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: .09s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .15s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .27s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: .33s; }

/* ============================================================
   /planes — página de hoja de ruta
   ============================================================ */

.plan-hero { padding-top: 72px; padding-bottom: 40px; }
.plan-hero h1 { font-size: clamp(34px, 4.6vw, 52px); margin-top: 16px; }
.plan-hero .hero-sub { margin-top: 18px; }

/* Selector de etapas (jump nav) */
.stage-jump {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px;
}
.stage-jump a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--surface-border); background: var(--surface);
  font-size: 13.5px; font-weight: 600; color: var(--text-dim);
  transition: border-color .2s, color .2s, background .2s;
}
.stage-jump a:hover { border-color: var(--accent-line); color: var(--text); background: var(--surface-hover); }
.stage-jump a b { color: var(--muted); font-family: var(--font-mono); font-weight: 500; font-size: 12px; }

/* Bloque de detalle por etapa */
.stage-detail {
  padding-block: 72px;
  scroll-margin-top: 88px;
  border-top: 1px solid var(--surface-border);
}
.stage-detail:first-of-type { border-top: none; }

.stage-detail-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.stage-detail-num {
  font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--accent);
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--accent-line);
  display: grid; place-items: center; flex-shrink: 0; background: var(--accent-dim);
}
.stage-detail-head h2 { font-size: clamp(24px, 3vw, 32px); }
.stage-detail-for {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px;
}
.stage-detail-problem {
  color: var(--text-dim); font-size: 16px; max-width: 680px; line-height: 1.7; margin-bottom: 40px;
}

.stage-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }

.detail-box {
  border: 1px solid var(--surface-border); border-radius: var(--radius-md);
  background: var(--surface); padding: 24px;
}
.detail-box h4 {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin-bottom: 14px; font-weight: 500;
}
.detail-box.is-kpi h4 { color: var(--accent); }
.include-list li, .exclude-list li {
  font-size: 14.5px; padding: 7px 0; display: flex; gap: 10px; color: var(--text-dim);
}
.include-list li::before { content: '✓'; color: var(--accent); flex-shrink: 0; font-weight: 700; }
.exclude-list li::before { content: '—'; color: var(--muted); flex-shrink: 0; }
.kpi-list li { font-size: 14.5px; padding: 7px 0; color: var(--text-dim); display:flex; gap:10px; }
.kpi-list li::before { content: '↗'; color: var(--accent); flex-shrink: 0; }

/* Proyectos (inversión inicial) */
.projects-label {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin-bottom: 16px;
}
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 40px; }
.project-card {
  border: 1px solid var(--surface-border); border-radius: var(--radius-md);
  background: var(--bg-raised); padding: 22px;
  transition: border-color .2s, transform .2s;
}
.project-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.project-card h5 { font-size: 16px; margin-bottom: 10px; }
.project-price { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.project-price b { display: block; font-family: var(--font-head); font-size: 22px; color: var(--text); font-weight: 700; margin-top: 2px; }
.project-price.is-open b { font-size: 17px; color: var(--accent); }
.project-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Continuidad / Plataforma Administrada */
.continuity-block {
  border: 1px solid var(--accent-line); border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-dim), transparent);
  padding: 28px; margin-bottom: 40px;
}
.continuity-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.continuity-head h4 { font-size: 16px; font-family: var(--font-head); }
.continuity-desc { font-size: 14px; color: var(--text-dim); max-width: 560px; margin-bottom: 20px; }
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier-card {
  background: var(--bg-raised); border: 1px solid var(--surface-border); border-radius: var(--radius-sm);
  padding: 18px;
}
.tier-card.is-featured { border-color: var(--accent-line); }
.tier-name { font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.tier-price { font-family: var(--font-head); font-size: 19px; color: var(--accent); margin-bottom: 10px; }
.tier-price span { font-size: 12px; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.tier-includes { font-size: 12.5px; color: var(--text-dim); line-height: 1.7; }

/* Cierre de etapa: qué pasa al final + siguiente */
.stage-next {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--surface-border);
}
.stage-next-text { font-size: 14.5px; color: var(--text-dim); max-width: 480px; }
.stage-next-text b { color: var(--text); }

@media (max-width: 720px) {
  .stage-detail-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .stage-detail-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   /contacto
   ============================================================ */

.contact-layout {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; margin-top: 44px;
}

.form-panel {
  border: 1px solid var(--surface-border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 34px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  background: var(--bg-raised); border: 1px solid var(--surface-border);
  color: var(--text); font: inherit; font-size: 14.5px;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent-line);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7684' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}

.form-submit-row { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
#form-status {
  font-size: 13.5px; opacity: 0; transition: opacity .3s; display: flex; align-items: center; gap: 8px;
}
#form-status.is-visible { opacity: 1; }
#form-status.is-error { color: #f59e0b; }
#form-status.is-ok { color: var(--accent); }

.contact-info-list { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-md);
  border: 1px solid var(--surface-border); background: var(--surface);
}
.contact-info-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--accent-dim); color: var(--accent);
}
.contact-info-item h4 { font-size: 14.5px; margin-bottom: 4px; }
.contact-info-item p { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }
.contact-info-item a { color: var(--accent); }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   /portafolio
   ============================================================ */

.pf-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; margin-bottom: 44px; }
.pf-filter {
  padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--surface-border); background: var(--surface); color: var(--text-dim);
  transition: all .2s;
}
.pf-filter:hover { color: var(--text); border-color: var(--accent-line); }
.pf-filter.is-active { background: var(--accent); color: #06070a; border-color: var(--accent); }

.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.pf-card {
  border: 1px solid var(--surface-border); border-radius: var(--radius-md);
  background: var(--surface); padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s, transform .2s;
}
.pf-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.pf-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pf-card h3 { font-size: 18px; }
.pf-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.pf-card .case-tag { margin-top: 2px; }
.pf-card-result { font-size: 13px; color: var(--text); padding-top: 10px; border-top: 1px solid var(--surface-border); margin-top: auto; }
.pf-card-result b { color: var(--accent); }
.pf-more-link { font-size: 13px; font-weight: 600; color: var(--accent); display:flex; align-items:center; gap:6px; margin-top:4px; }

.pf-more-band {
  border: 1px dashed var(--surface-border); border-radius: var(--radius-md);
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.pf-more-band p { font-size: 14px; color: var(--text-dim); max-width: 460px; }

/* Historia completa de cada caso */
.case-full { padding-block: 72px; border-top: 1px solid var(--surface-border); scroll-margin-top: 88px; }
.case-full:first-of-type { border-top: none; }
.case-full-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.case-full-head h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 10px; }
.case-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.case-full-box h4 {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin-bottom: 10px; font-weight: 500;
}
.case-full-box p { font-size: 14.5px; color: var(--text-dim); line-height: 1.65; }
.case-full-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.case-full-tech span { font-size: 12.5px; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--surface-border); background: var(--bg-raised); color: var(--text-dim); }
.case-full-result {
  border: 1px solid var(--accent-line); border-radius: var(--radius-md);
  background: var(--accent-dim); padding: 20px 24px; margin-bottom: 20px;
}
.case-full-result h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 8px; }
.case-full-result p { font-size: 15px; color: var(--text); }
.case-full-learning { font-size: 14px; color: var(--text-dim); font-style: italic; max-width: 640px; }

@media (max-width: 860px) {
  .pf-grid { grid-template-columns: 1fr; }
  .case-full-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   /laboratorio
   ============================================================ */

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; margin-bottom: 10px; }
.product-card {
  border: 1px solid var(--surface-border); border-radius: var(--radius-md);
  background: var(--surface); padding: 24px;
  transition: border-color .2s, transform .2s;
}
.product-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.product-status { display: flex; align-items: center; gap: 7px; font-size: 12px; font-family: var(--font-mono); color: var(--muted); margin-bottom: 14px; }
.product-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.product-status.is-live .dot { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,.5); }
.product-status.is-live { color: #4ade80; }
.product-card h3 { font-size: 17px; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
.product-link { font-size: 13px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 6px; }

.demos-preview-note {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 46px;
}

/* Wrapper de la experiencia 3D (iframe) */
.lab-frame-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(6,7,10,0.92); border-bottom: 1px solid var(--surface-border);
}
.lab-frame-bar .back-link { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-dim); }
.lab-frame-bar .back-link:hover { color: var(--text); }
.lab-frame-wrap { width: 100%; height: calc(100vh - 54px); background: #000; }
.lab-frame-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

@media (max-width: 860px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   /proceso
   ============================================================ */

.terminal-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--bg-raised);
  overflow: hidden;
  margin-top: 44px;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--surface-border);
}
.terminal-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-border); }
.terminal-title { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.terminal-body { padding: 22px 24px; font-family: var(--font-mono); font-size: 13.5px; line-height: 2; }
.terminal-line { color: var(--text-dim); }
.terminal-line .ok { color: #4ade80; margin-right: 8px; }
.terminal-line .path { color: var(--accent); }

/* Timeline vertical de proceso */
.process-timeline { position: relative; margin-top: 50px; padding-left: 6px; }
.process-timeline::before {
  content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--accent-line), var(--surface-border) 90%);
}
.process-step { position: relative; display: flex; gap: 24px; padding-bottom: 44px; }
.process-step:last-child { padding-bottom: 0; }
.process-step-num {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-raised); border: 1px solid var(--surface-border);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--muted);
}
.process-step.is-linked .process-step-num { border-color: var(--accent-line); color: var(--accent); }
.process-step-body { padding-top: 6px; }
.process-step-body h3 { font-size: 18px; margin-bottom: 8px; }
.process-step-body p { font-size: 14.5px; color: var(--text-dim); max-width: 560px; line-height: 1.65; }
.process-step-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--accent);
}

/* Stack como respaldo técnico (no protagonista) */
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.stack-tags span {
  font-size: 12.5px; padding: 7px 13px; border-radius: 20px;
  border: 1px solid var(--surface-border); background: var(--bg-raised); color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ============================================================
   /onboarding — formulario multi-paso
   ============================================================ */

.container-form { width: min(760px, calc(100% - 40px)); margin-inline: auto; position: relative; z-index: 1; }

.onb-header { padding: 56px 0 8px; }
.onb-header h1 { font-size: clamp(28px, 4.4vw, 40px); margin-top: 14px; }
.onb-header p { margin-top: 14px; color: var(--text-dim); font-size: 16.5px; max-width: 560px; line-height: 1.65; }

.progress-wrap { padding: 32px 0 0; }
.progress-track { display: flex; gap: 5px; }
.progress-seg { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.07); overflow: hidden; }
.progress-seg.is-filled { background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.progress-caption { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.03em; }
.progress-caption b { color: var(--accent); font-weight: 500; }

.form-shell { padding: 36px 0 100px; }
.form-panel {
  border-radius: var(--radius-lg); border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  backdrop-filter: blur(18px); padding: 8px;
}
.form-panel-inner { border-radius: calc(var(--radius-lg) - 6px); background: var(--bg-raised); padding: 40px; }

.onb-step { display: none; }
.onb-step.is-active { display: block; animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.step-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.step-title { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 8px; }
.step-sub { color: var(--text-dim); font-size: 14.5px; margin-bottom: 32px; max-width: 520px; line-height: 1.6; }

.field-group { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-dim); margin-bottom: 9px; }
.field-label .opt { font-weight: 400; color: var(--muted); text-transform: none; }

.form-panel-inner input[type="text"],
.form-panel-inner input[type="email"],
.form-panel-inner input[type="tel"],
.form-panel-inner input[type="url"],
.form-panel-inner textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--surface-border);
  color: var(--text); font: inherit; font-size: 14.5px;
  transition: border-color .2s, background .2s;
}
.form-panel-inner input::placeholder, .form-panel-inner textarea::placeholder { color: var(--muted); }
.form-panel-inner input:focus, .form-panel-inner textarea:focus { outline: none; border-color: var(--accent-line); background: var(--surface-hover); }
.form-panel-inner textarea { min-height: 96px; resize: vertical; }

.choice-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-grid.is-col { flex-direction: column; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice label {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border); background: var(--surface);
  font-size: 14px; color: var(--text-dim); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.choice label:hover { border-color: var(--accent-line); }
.choice input:checked + label { border-color: var(--accent-line); background: var(--accent-dim); color: var(--text); }
.choice-mark { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--surface-border); flex-shrink: 0; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.choice input[type="radio"] + label .choice-mark { border-radius: 50%; }
.choice input:checked + label .choice-mark { border-color: var(--accent); background: var(--accent); }
.choice input:checked + label .choice-mark::after { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--bg); }
.choice input[type="radio"]:checked + label .choice-mark::after { border-radius: 50%; }

.step-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--surface-border); }
.step-nav .spacer { flex: 1; }
.btn-back .btn-icon { transform: rotate(180deg); }
.btn-back:hover .btn-icon { transform: rotate(180deg) translateX(3px); }
.btn-accent:disabled { opacity: .5; pointer-events: none; }

.success-screen { text-align: center; padding: 40px 10px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center; background: var(--accent-dim); border: 1px solid var(--accent-line); }
.success-screen h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 12px; }
.success-screen p { color: var(--text-dim); font-size: 15px; max-width: 440px; margin: 0 auto; line-height: 1.65; }
.success-next { margin-top: 32px; padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--surface-border); background: var(--surface); text-align: left; }
.success-next h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.success-next p { color: var(--text-dim); font-size: 13.5px; margin: 0; max-width: none; }

.onb-footer { padding: 20px 0 40px; text-align: center; font-size: 12.5px; color: var(--muted); }

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .form-panel-inner { padding: 26px 20px; }
  .step-nav { flex-wrap: wrap; gap: 12px; }
}

/* ============================================================
   /demos — motor de scan.php con el diseño del sitio nuevo
   ============================================================ */

.dm-hero { padding: 56px 0 8px; position: relative; }
.dm-hero h1 { font-size: clamp(30px, 4.8vw, 48px); margin-top: 16px; max-width: 760px; }
.dm-hero h1 .accent-word { color: var(--accent); }
.dm-hero p { margin-top: 16px; color: var(--text-dim); font-size: 16.5px; max-width: 560px; line-height: 1.7; }

.dm-eyebrow-live {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid rgba(74,222,128,0.22); background: rgba(74,222,128,0.07);
  font-size: 12.5px; color: #6ee7a0; font-weight: 600;
}
.dm-pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,.6); animation: dm-pulse 2s infinite; }
@keyframes dm-pulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.4);opacity:.5;} }

.dm-search-zone { margin-top: 36px; }
.dm-search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius-md); padding: 15px 18px;
  backdrop-filter: blur(14px);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.dm-search-bar:focus-within { border-color: var(--accent-line); background: rgba(121,192,255,0.03); box-shadow: 0 0 0 3px var(--accent-dim); }
.dm-search-bar svg { flex-shrink: 0; color: var(--muted); }
.dm-search-bar input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--text); font: inherit; font-size: 15px; }
.dm-search-bar input::placeholder { color: var(--muted); }
.dm-search-clear {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, background .2s, color .2s;
}
.dm-search-clear.show { opacity: 1; pointer-events: auto; }
.dm-search-clear:hover { background: rgba(255,255,255,0.12); color: var(--text); }

.dm-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.dm-chip {
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--surface-border);
  background: var(--surface); color: var(--text-dim); font-size: 13px; font-weight: 600;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.dm-chip:hover { transform: translateY(-1px); }
.dm-chip.is-active, .dm-chip:hover { border-color: var(--accent-line); background: var(--accent-dim); color: var(--accent); }

.dm-result-count { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.dm-result-count strong { color: var(--text); font-weight: 700; }

.dm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }

.dm-card {
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  opacity: 0; transform: translateY(18px); animation: dm-card-in .5s var(--ease) forwards;
}
@keyframes dm-card-in { to { opacity: 1; transform: translateY(0); } }
.dm-card:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: 0 18px 50px rgba(0,0,0,0.32), 0 0 30px rgba(121,192,255,0.05); }

.dm-thumb { position: relative; width: 100%; aspect-ratio: 16/10; background: var(--bg-raised); overflow: hidden; border-bottom: 1px solid var(--surface-border); }
.dm-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .5s var(--ease); }
.dm-card:hover .dm-thumb img { transform: scale(1.04); }
.dm-thumb.is-placeholder { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 20%, rgba(121,192,255,0.1), transparent 60%), var(--bg-raised); }
.dm-thumb.is-placeholder svg { color: rgba(121,192,255,0.35); }

.dm-status-tag { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .03em; backdrop-filter: blur(8px); }
.dm-status-tag.is-live { background: rgba(74,222,128,0.16); border: 1px solid rgba(74,222,128,0.3); color: #6ee7a0; }
.dm-status-tag.is-dev { background: rgba(245,158,11,0.16); border: 1px solid rgba(245,158,11,0.3); color: #fcd34d; }
.dm-status-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.dm-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dm-name { font-family: var(--font-head); font-size: 17px; font-weight: 700; }
.dm-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.dm-meta .sep { color: var(--surface-border); }
.dm-meta .comuna { color: var(--muted); font-weight: 500; }
.dm-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin-top: 2px; }
.dm-cta { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text); }
.dm-cta svg { transition: transform .25s var(--ease); }
.dm-card:hover .dm-cta svg { transform: translateX(4px); }

.dm-empty { display: none; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 70px 20px; color: var(--muted); }
.dm-empty.show { display: flex; }
.dm-empty svg { color: rgba(121,192,255,0.3); }
.dm-empty h3 { font-family: var(--font-head); color: var(--text); font-size: 19px; }

@media (max-width: 640px) {
  .dm-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   404 / 502
   ============================================================ */

.error-page {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px; position: relative; z-index: 1;
}
.error-code {
  font-family: "Space Grotesk", Sans-Serif; font-weight: 800; font-size: clamp(70px, 16vw, 140px);
  line-height: 1; letter-spacing: -0.02em; color: var(--surface-border);
  -webkit-text-stroke: 1px var(--accent-line);
  margin-bottom: 8px;
}
.error-title { font-size: clamp(20px, 3vw, 28px); margin-bottom: 12px; }
.error-desc { color: var(--text-dim); font-size: 15px; max-width: 440px; line-height: 1.65; margin-bottom: 32px; }
.error-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.error-logo { margin-bottom: 28px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; }
  /*.hero-card { order: -1; }*/
  .hero-card {display: none; }
  .locate-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .lab-teaser { grid-template-columns: 1fr; padding: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background: rgba(6,7,10,0.98);
    border-bottom: 1px solid var(--surface-border);
    backdrop-filter: blur(12px);
  }
  .nav-links.is-open { display: flex; }
  .nav-link { padding: 12px 14px; }
  .nav-cta { margin-left: 0; margin-top: 8px; justify-content: center; }
  .nav-toggle { display: flex; }
  nav { position: relative; }
  .section { padding-block: 64px; }
  .stage-row { grid-template-columns: 48px 1fr; row-gap: 12px; }
  .stage-arrow { display: none; }
  .cta-band { padding: 40px 24px; }
}