/* ============================================================
   Odomo — landing pública (odomo.com.ar)
   Tokens del design system Odomo + estilos de la landing.
   60/30/10: Night Dome (oscuro) · Cloud Shell (claro) · Signal Lime.
   ============================================================ */

/* ---- Webfonts (self-host) ---- */
@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/Syne-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-VariableFont_wght.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --night-dome:    #06120E;
  --cloud-shell:   #F5F7F2;
  --signal-lime:   #B6FF3B;
  --system-aqua:   #00D6A3;
  --dark-surface:  #15201A;
  --soft-border:   #DDE4DA;
  --friction-coral:#FF6B3D;

  --text-dark:        #0E1512;
  --text-dark-soft:   #5D6861;
  --text-light:       #F5F7F2;
  --text-light-soft:  rgba(245, 247, 242, 0.68);

  --dark-surface-2: #1B2922;
  --dark-border:  #243029;
  --dark-border-strong: #324036;

  --lime-press:   #9DE61F;
  --lime-soft:    rgba(182, 255, 59, 0.14);

  --surface-card:   #FFFFFF;
  --surface-sunken: #ECEFE8;

  --text-body:      var(--text-dark);
  --text-muted:     var(--text-dark-soft);
  --text-on-dark:   var(--text-light);
  --text-on-dark-muted: var(--text-light-soft);

  --border-subtle:  var(--soft-border);
  --border-strong:  #C7D0C2;
  --focus-ring:     var(--system-aqua);

  --font-display: "Syne", "Geist", system-ui, sans-serif;
  --font-body:    "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-display-xl: clamp(2.55rem, 1.5rem + 4.6vw, 5rem);
  --fs-display-lg: clamp(2.1rem, 1.5rem + 3vw, 3.7rem);
  --fs-display-md: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);

  --text-xl:  1.25rem;
  --text-lg:  1.125rem;
  --text-md:  1rem;
  --text-sm:  0.875rem;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-pill:999px;
  --radius-input: 12px;

  --glow-lime-soft: 0 0 40px -8px rgba(182, 255, 59, 0.35);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;

  --content-max: 1220px;
  --side-pad: 24px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--text-body);
  background: var(--cloud-shell);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--signal-lime); color: var(--night-dome); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---- Layout helpers ---- */
.wrap { max-width: var(--content-max); margin: 0 auto; width: 100%; padding-left: var(--side-pad); padding-right: var(--side-pad); }
.section { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.anchor { scroll-margin-top: 84px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--system-aqua); }
.eyebrow.on-dark { color: var(--text-on-dark-muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; cursor: pointer;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-sm { font-size: 0.875rem; padding: 9px 18px; }
.btn-lg { font-size: 1rem; padding: 15px 28px; }
.btn-primary { background: var(--signal-lime); color: var(--night-dome); }
.btn-primary:hover { background: var(--lime-press); box-shadow: var(--glow-lime-soft); }
.btn-outline-dark { background: transparent; color: var(--text-on-dark); border-color: var(--dark-border-strong); }
.btn-outline-dark:hover { border-color: var(--text-on-dark); }
.btn-full { width: 100%; }

/* ---- Badges / tags ---- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em;
  padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--dark-border-strong); color: var(--text-on-dark-muted);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal-lime); }
.badge-coral { border-color: rgba(255,107,61,0.4); color: var(--friction-coral); }
.badge-coral .dot { background: var(--friction-coral); }
.badge-lime-solid { background: var(--signal-lime); border-color: var(--signal-lime); color: var(--night-dome); font-weight: 600; }
.badge-on-light { border-color: var(--border-strong); color: var(--text-muted); }
.badge-on-light.badge-coral { border-color: rgba(255,107,61,0.45); color: #D14E24; }
.tag {
  display: inline-flex; font-family: var(--font-mono); font-size: 0.8rem;
  padding: 7px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--dark-border-strong); color: var(--text-on-dark-muted);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.nav.scrolled {
  background: rgba(6,18,14,0.85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--dark-border);
}
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-on-dark-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--text-on-dark); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 0.9rem; font-weight: 500; color: var(--text-on-dark); }
.nav-burger {
  display: none; background: none; border: 1px solid var(--dark-border-strong);
  border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--text-on-dark);
}
.nav-burger svg { display: block; }
.nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  background: rgba(6,18,14,0.97); border-bottom: 1px solid var(--dark-border);
  padding: 10px var(--side-pad) 18px;
}
.nav-mobile a { padding: 10px 4px; font-size: 1rem; font-weight: 500; color: var(--text-on-dark); }
.nav-mobile.open { display: flex; }

/* ============================================================
   Hero
   ============================================================ */
.hero { background: var(--night-dome); position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; top: -160px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(182,255,59,0.10), rgba(182,255,59,0) 62%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 120px);
  position: relative;
}
.hero h1 { color: var(--text-on-dark); font-size: var(--fs-display-xl); font-weight: 800; line-height: 1.04; margin-top: 20px; }
.hero-sub { color: var(--text-on-dark-muted); font-size: var(--text-xl); line-height: 1.5; max-width: 540px; margin: 22px 0 0; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* Dome visual */
.dome { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 0.92; margin: 0 auto; }
.dome svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dome-center {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  pointer-events: none; text-align: center;
}
.dome-center span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--night-dome); background: var(--signal-lime);
  padding: 3px 9px; border-radius: var(--radius-pill); font-weight: 600; display: inline-block; margin-top: 26px;
}
.dome-chip {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px;
  background: var(--dark-surface); border: 1px solid var(--dark-border-strong);
  border-radius: var(--radius-pill); padding: 6px 12px 6px 6px;
  box-shadow: 0 8px 26px -16px rgba(0,0,0,0.7);
}
.dome-chip .chip-ic {
  width: 30px; height: 30px; border-radius: 50%; background: var(--night-dome);
  display: grid; place-items: center;
}
.dome-chip .chip-ic img { width: 20px; height: 20px; }
.dome-chip span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-on-dark); white-space: nowrap; }

@keyframes odo-spin { to { transform: rotate(360deg); } }
@keyframes odo-dash { to { stroke-dashoffset: -240; } }
@keyframes odo-pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .odo-orbit { animation: odo-spin 64s linear infinite; transform-origin: 260px 250px; }
  .odo-orbit-2 { animation: odo-spin 92s linear infinite reverse; transform-origin: 260px 250px; }
  .odo-flow { stroke-dasharray: 5 9; animation: odo-dash 4.5s linear infinite; }
  .odo-core { animation: odo-pulse 3.4s var(--ease-in-out) infinite; }
}

/* ============================================================
   Pain (claro)
   ============================================================ */
.pain { background: var(--cloud-shell); }
.section-head { max-width: 720px; }
.section-head h2 { font-size: var(--fs-display-lg); margin-top: 16px; }
.section-head .lead { font-size: var(--text-lg); color: var(--text-muted); margin: 18px 0 0; line-height: 1.55; }
.dark .section-head h2 { color: var(--text-on-dark); }
.dark .section-head .lead { color: var(--text-on-dark-muted); }

.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; align-items: stretch; }
.pain-card {
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.pain-card.before { background: var(--surface-card); border: 1px solid rgba(255,107,61,0.35); }
.pain-card.after { background: var(--dark-surface); border: 1px solid rgba(182,255,59,0.4); box-shadow: var(--glow-lime-soft); }
.pain-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.pain-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.pain-card.before li { color: var(--text-body); }
.pain-card.after li { color: var(--text-on-dark); }
.pain-card .x { color: var(--friction-coral); font-weight: 700; flex: 0 0 auto; }
.pain-card .check { color: var(--signal-lime); font-weight: 700; flex: 0 0 auto; }

/* ============================================================
   Sistema (oscuro)
   ============================================================ */
.system { background: var(--night-dome); position: relative; overflow: hidden; }
.system-glow {
  position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(0,214,163,0.08), rgba(0,214,163,0) 65%);
  pointer-events: none;
}
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; position: relative; }
.step { position: relative; }
.step-card {
  background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: var(--radius-md);
  padding: 22px 18px; height: 100%; display: flex; flex-direction: column; gap: 12px;
}
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--night-dome); display: grid; place-items: center; }
.step-ic img { width: 28px; height: 28px; }
.step-n { font-family: var(--font-mono); font-size: 12px; color: var(--text-on-dark-muted); }
.step-t { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text-on-dark); letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--text-on-dark-muted); }
.step .arrow { position: absolute; right: -11px; top: 44px; color: var(--system-aqua); font-size: 16px; z-index: 2; }
.step:last-child .arrow { display: none; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--dark-border);
}
.stat .v { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 600; color: var(--signal-lime); }
.stat .l { font-size: 0.85rem; color: var(--text-on-dark-muted); margin-top: 6px; }

/* ============================================================
   Soluciones (claro hundido)
   ============================================================ */
.solutions { background: var(--surface-sunken); }
.solutions-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.solutions-head .side-note { font-size: 0.95rem; color: var(--text-muted); max-width: 320px; margin: 0; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.svc {
  background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.svc:hover { transform: translateY(-3px); border-color: rgba(182,255,59,0.6); box-shadow: var(--glow-lime-soft); }
.svc-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--night-dome); display: grid; place-items: center; }
.svc-ic img { width: 32px; height: 32px; }
.svc h3 { font-size: 1.2rem; margin-top: 4px; letter-spacing: -0.01em; }
.svc p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--text-muted); }
.svc-outcome {
  margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-body);
}
.svc-outcome::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--system-aqua); }

.custom-strip {
  margin-top: 28px; border-radius: var(--radius-lg);
  background: var(--night-dome); border: 1px solid var(--dark-border-strong);
  padding: clamp(26px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.custom-strip h3 { color: var(--text-on-dark); font-size: 1.45rem; letter-spacing: -0.01em; }
.custom-strip p { margin: 10px 0 0; color: var(--text-on-dark-muted); font-size: 0.95rem; line-height: 1.55; max-width: 560px; }

/* ============================================================
   Proceso (claro)
   ============================================================ */
.process { background: var(--cloud-shell); }
.timeline { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.timeline li { position: relative; padding-right: 18px; }
.tl-rail { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.tl-dot {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  background: var(--surface-card); border: 1.5px solid var(--border-strong); color: var(--text-body);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; font-weight: 600;
}
.timeline li:first-child .tl-dot { background: var(--signal-lime); border-color: var(--signal-lime); color: var(--night-dome); }
.tl-line { flex: 1; height: 1.5px; background: var(--border-strong); }
.timeline li:last-child .tl-line { display: none; }
.tl-wk { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #009677; }
.tl-t { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; margin: 6px 0 8px; letter-spacing: -0.01em; }
.timeline p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--text-muted); }

/* ============================================================
   Planes (oscuro)
   ============================================================ */
.offer { background: var(--night-dome); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.plan {
  background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative;
}
.plan.featured { background: var(--dark-surface-2); border-color: rgba(182,255,59,0.55); box-shadow: var(--glow-lime-soft); }
.plan-flag { position: absolute; top: 22px; right: 22px; }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--text-on-dark); }
.plan-outcome { margin: 8px 0 0; font-size: 0.9rem; color: var(--text-on-dark-muted); line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--dark-border); }
.plan-price .p { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 600; color: var(--text-on-dark); }
.plan-price .s { font-size: 0.85rem; color: var(--text-on-dark-muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-on-dark); }
.plan li::before { content: "\2713"; color: var(--signal-lime); font-weight: 700; flex: 0 0 auto; }
.offer-note { margin: 26px 0 0; font-size: 0.9rem; color: var(--text-on-dark-muted); }
.stack { margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--dark-border); }
.stack-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ============================================================
   FAQ (claro)
   ============================================================ */
.faq { background: var(--cloud-shell); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-grid h2 { font-size: var(--fs-display-md); margin-top: 16px; }
.faq-grid .lead { font-size: 0.98rem; color: var(--text-muted); margin-top: 16px; line-height: 1.55; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
}
.faq-q span:first-child { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--text-body); letter-spacing: -0.01em; }
.faq-toggle {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); color: var(--text-muted);
  display: grid; place-items: center; font-size: 18px; line-height: 1;
  transition: all var(--dur-fast) var(--ease-out);
}
.faq-item.open .faq-toggle { border-color: var(--signal-lime); background: var(--signal-lime); color: var(--night-dome); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease-out); }
.faq-item.open .faq-a { max-height: 340px; }
.faq-a p { margin: 0; padding: 0 0 22px; font-size: 0.98rem; line-height: 1.6; color: var(--text-muted); max-width: 680px; }
.faq-a a { color: #009677; text-decoration: underline; }

/* ============================================================
   Contacto + footer (oscuro)
   ============================================================ */
.footer { background: var(--night-dome); border-top: 1px solid var(--dark-border); }
.contact-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.contact-grid h2 { color: var(--text-on-dark); font-size: var(--fs-display-lg); margin-top: 16px; line-height: 1.05; }
.contact-grid .lead { color: var(--text-on-dark-muted); font-size: var(--text-lg); margin-top: 18px; line-height: 1.55; max-width: 460px; }
.contact-alt { margin-top: 26px; font-size: 0.92rem; color: var(--text-on-dark-muted); }
.contact-alt a { color: var(--text-on-dark); text-decoration: underline; }

.lead-form {
  background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text-on-dark); }
.field label .opt { color: var(--text-on-dark-muted); font-weight: 400; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 0.95rem;
  background: var(--night-dome); color: var(--text-on-dark);
  border: 1px solid var(--dark-border-strong); border-radius: var(--radius-input);
  padding: 12px 14px; width: 100%;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(245,247,242,0.35); }
.field input:focus, .field textarea:focus { border-color: var(--system-aqua); outline: none; }
.field textarea { resize: vertical; min-height: 74px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { margin: 0; font-size: 0.78rem; color: var(--text-on-dark-muted); text-align: center; line-height: 1.5; }
.form-note a { text-decoration: underline; }
.form-error {
  display: none; margin: 0; font-size: 0.85rem; line-height: 1.5;
  color: var(--friction-coral); background: rgba(255,107,61,0.1);
  border: 1px solid rgba(255,107,61,0.35); border-radius: var(--radius-input); padding: 10px 14px;
}
.form-error.show { display: block; }
.form-error a { color: var(--text-on-dark); text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-success {
  background: var(--dark-surface); border: 1px solid rgba(182,255,59,0.5); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--glow-lime-soft); min-height: 260px;
  display: none; flex-direction: column; justify-content: center; gap: 12px;
}
.form-success.show { display: flex; }
.form-success .tick {
  width: 48px; height: 48px; border-radius: 50%; background: var(--signal-lime); color: var(--night-dome);
  display: grid; place-items: center; font-size: 24px; font-weight: 700;
}
.form-success .t { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--text-on-dark); }
.form-success p { margin: 0; font-size: 0.95rem; color: var(--text-on-dark-muted); line-height: 1.55; }

.footer-nav {
  padding-top: 44px; padding-bottom: 44px; border-top: 1px solid var(--dark-border);
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
}
.footer-nav .about img { height: 24px; width: auto; }
.footer-nav .about p { font-size: 0.85rem; color: var(--text-on-dark-muted); margin-top: 16px; max-width: 260px; line-height: 1.5; }
.footer-col .col-t {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-on-dark-muted); margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--text-on-dark); }
.footer-col a:hover { color: var(--signal-lime); }

.footer-legal {
  padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--dark-border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-legal span, .footer-legal a { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-on-dark-muted); line-height: 1.6; }
.footer-legal a { text-decoration: underline; }

/* ============================================================
   Página de privacidad
   ============================================================ */
.legal-page { background: var(--cloud-shell); min-height: 100vh; }
.legal-hero { background: var(--night-dome); padding: 48px 0 40px; }
.legal-hero .kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--signal-lime);
}
.legal-hero h1 { color: var(--text-on-dark); font-size: var(--fs-display-md); margin-top: 12px; }
.legal-hero p { color: var(--text-on-dark-muted); font-size: 0.95rem; max-width: 640px; margin-top: 14px; line-height: 1.6; }
.legal-body { max-width: 760px; margin: 0 auto; padding: 48px var(--side-pad) 80px; }
.legal-body section { margin-bottom: 36px; scroll-margin-top: 24px; }
.legal-body h2 { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.legal-body p, .legal-body li { font-size: 0.97rem; line-height: 1.65; color: #3D4741; }
.legal-body ul { padding-left: 22px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.legal-body a { color: #009677; text-decoration: underline; }
.legal-body code {
  font-family: var(--font-mono); font-size: 0.85em;
  background: var(--surface-sunken); border: 1px solid var(--border-subtle);
  border-radius: 6px; padding: 1px 6px;
}
.legal-back { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }

/* ============================================================
   404
   ============================================================ */
.nf { background: var(--night-dome); min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.nf .code { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--system-aqua); }
.nf h1 { color: var(--text-on-dark); font-size: var(--fs-display-md); margin: 14px 0 10px; }
.nf p { color: var(--text-on-dark-muted); margin: 0 0 28px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .step .arrow { display: none; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .nav-burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .dome { max-width: 440px; }
  .pain-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; row-gap: 28px; }
  .tl-line { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; gap: 26px; }
  .footer-legal { flex-direction: column; }
  .dome-chip span { font-size: 10.5px; }
  .btn-lg { width: 100%; }
}
