/* =========================================================================
   OptiRuta — Landing v4 · "Sala de control logística"
   Tema oscuro cohesionado · Naranja señal (marca + CTA, texto oscuro encima)
   Cian = telemetría en vivo · Verde = éxito/confirmación
   Tipografía: Bricolage Grotesque (display) · Hanken Grotesk (texto) · JetBrains Mono (datos)
   ========================================================================= */

:root {
  /* Superficies (de más profundo a más elevado) */
  --bg-0: #07090f;
  --bg-1: #0b0e17;
  --bg-2: #10141f;
  --surface: rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .055);
  --line: rgba(151, 168, 205, .14);
  --line-strong: rgba(151, 168, 205, .22);

  /* Marca + CTA — naranja señal (la ruta optimizada ES la marca) */
  --cta: #ff6d2e;
  --cta-hot: #ff5500;
  --cta-soft: #ffb454;
  --cta-ink: #1a0c03;
  --cta-glow: rgba(255, 109, 46, .38);

  /* Acentos funcionales */
  --cyan: #53c9f2;
  --green: #2bd99f;
  --green-dim: rgba(43, 217, 159, .13);

  /* Texto */
  --text: #eef1f9;
  --body: #c0c9de;
  --muted: #8e9ab8;
  --faint: #5d6884;

  /* Sombras y brillos */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px -6px rgba(0, 0, 0, .5);
  --shadow: 0 12px 40px -12px rgba(0, 0, 0, .65), 0 2px 8px -2px rgba(0, 0, 0, .4);
  --shadow-lg: 0 32px 80px -20px rgba(0, 0, 0, .75), 0 8px 24px -8px rgba(0, 0, 0, .5);
  --shadow-cta: 0 10px 32px -8px var(--cta-glow), 0 2px 8px -2px rgba(255, 85, 0, .3);

  --gradient-cta: linear-gradient(120deg, #ff8a3d 0%, var(--cta) 45%, var(--cta-hot) 100%);
  --gradient-text: linear-gradient(100deg, #ffb454 0%, #ff7a2e 50%, #ff5500 100%);

  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", -apple-system, sans-serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

/* ----------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); color: var(--body); background: var(--bg-0);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-size: 1rem;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--cta); color: var(--cta-ink); }

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

/* --------------------------- Tipografía -------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text); line-height: 1.06; letter-spacing: -.025em; font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h3 { font-size: 1.12rem; letter-spacing: -.012em; line-height: 1.3; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Eyebrow — etiqueta técnica de sección */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cta-soft);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "//";
  color: var(--cta);
  font-weight: 600;
  letter-spacing: 0;
}

/* ----------------------------- Layout ---------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
section { padding: clamp(3.5rem, 9vw, 7rem) 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin-top: 1rem; line-height: 1.75; }
.text-grad {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Hairline divisoria entre secciones */
.hairline-top::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, 1400px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}

/* ----------------------------- Botones --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: 1rem; padding: .9rem 1.6rem; border-radius: 12px;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; cursor: pointer; position: relative; overflow: hidden;
  min-height: 48px; max-width: 100%; text-align: center;
  font-family: var(--font-body);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* CTA principal — naranja señal con tinta oscura (máximo contraste) */
.btn-cta {
  background: var(--gradient-cta);
  color: var(--cta-ink);
  box-shadow: var(--shadow-cta), inset 0 1px 0 rgba(255, 255, 255, .35);
  font-weight: 800;
  letter-spacing: -.01em;
}
.btn-cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .35) 0%, transparent 40%);
  pointer-events: none;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -8px rgba(255, 109, 46, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-cta:active { transform: translateY(0); }

/* Halo exterior del CTA al hover */
.btn-cta::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: var(--gradient-cta); filter: blur(12px); opacity: 0;
  transition: opacity .3s ease; z-index: -1;
}
.btn-cta:hover::before { opacity: .55; }

/* Ghost sobre fondo oscuro */
.btn-dark-ghost {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-dark-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(151, 168, 205, .4); transform: translateY(-2px); }

.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }

.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* ------------------------------ Navbar --------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, transform .32s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 15, .78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -.02em;
}
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--gradient-cta);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px -4px var(--cta-glow), inset 0 1px 0 rgba(255, 255, 255, .3);
  flex-shrink: 0;
}
.brand .logo svg { width: 18px; height: 18px; }
.brand .logo svg path, .brand .logo svg circle { stroke: var(--cta-ink); }
.brand .logo svg circle { fill: var(--cta-ink); stroke: none; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-cta .btn { padding: .6rem 1.15rem; min-height: 42px; font-size: .92rem; border-radius: 10px; }

/* ------------------------------- Hero ---------------------------------- */
.hero {
  position: relative; background: var(--bg-0);
  padding-top: 8.5rem; padding-bottom: 5.5rem;
  overflow: hidden; isolation: isolate;
}
/* Atmósfera: horizonte naranja + frío cian arriba */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 18% -12%, rgba(83, 201, 242, .12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 48% at 85% 108%, rgba(255, 109, 46, .16) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 70% -5%, rgba(255, 180, 84, .06) 0%, transparent 55%);
  animation: orb-pulse 8s ease-in-out infinite alternate;
}
/* Rejilla cartográfica */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgba(151, 168, 205, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 168, 205, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, rgba(0, 0, 0, .5), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, rgba(0, 0, 0, .5), transparent 75%);
}
@keyframes orb-pulse { 0% { opacity: .75; } 100% { opacity: 1; } }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; position: relative; z-index: 1; }
.hero-copy { text-align: center; }
.hero h1 { color: var(--text); margin-bottom: 1.4rem; text-wrap: balance; }
.hero .lead {
  font-size: clamp(1.02rem, 2.5vw, 1.22rem); color: var(--muted);
  line-height: 1.75; max-width: 52ch; margin-inline: auto;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; justify-content: center; }
.hero-trust {
  margin-top: 2rem; color: var(--faint); font-size: .86rem;
  display: flex; align-items: center; gap: .5rem; justify-content: center; flex-wrap: wrap;
}
.hero-trust .stars { color: var(--cta-soft); letter-spacing: 2px; }

/* Terminal typewriter */
.hero-terminal {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.75rem;
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 109, 46, .22);
  padding: .55rem 1.05rem; border-radius: 10px; font-size: .82rem;
  font-family: var(--font-mono);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 8px 24px -12px rgba(0, 0, 0, .6);
}
.terminal-prompt { color: var(--cta); font-weight: 600; }
.terminal-text { color: rgba(238, 241, 249, .78); }
.terminal-cursor { color: var(--cta); animation: blink-cur .8s step-end infinite; }
@keyframes blink-cur { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Canvas de partículas */
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: .8;
}

/* ------------------- Hero visual — cabina de control -------------------- */
.hero-visual { position: relative; }

.map-sys-bar {
  display: flex; align-items: center; gap: .6rem; margin-bottom: .65rem;
  font-family: var(--font-mono);
  font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint);
}
.sys-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse-sys 2s ease infinite; }
.sys-label { color: var(--faint); }
.sys-sep { color: rgba(151, 168, 205, .25); }
@keyframes pulse-sys {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(43, 217, 159, .4); }
  50% { opacity: .8; box-shadow: 0 0 0 4px rgba(43, 217, 159, 0); }
}
.badge-live {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .64rem; font-weight: 700; letter-spacing: .1em;
  color: var(--green); padding: .15rem .5rem; border-radius: 5px;
  background: var(--green-dim); border: 1px solid rgba(43, 217, 159, .3);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: blink-live 1.2s ease infinite; flex-shrink: 0;
}
@keyframes blink-live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Cockpit de métricas del día */
.route-cockpit {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .9rem;
  margin-bottom: .85rem; padding: .75rem .9rem;
  border: 1px solid rgba(255, 109, 46, .2);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 109, 46, .1), rgba(83, 201, 242, .04) 70%),
    var(--surface);
  box-shadow: 0 18px 46px -24px rgba(255, 109, 46, .4), inset 0 1px 0 rgba(255, 255, 255, .07);
  overflow: hidden; position: relative;
}
.route-cockpit::after {
  content: ""; position: absolute; inset: 0 auto 0 -45%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent);
  animation: cockpit-sheen 4.2s ease-in-out infinite;
}
.route-cockpit > * { position: relative; z-index: 1; }
.route-cockpit .badge-sub { display: none; }
.cockpit-label {
  font-family: var(--font-mono);
  color: var(--cta-soft); font-size: .62rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.cockpit-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.cockpit-metrics span {
  min-width: 0; padding: .48rem .55rem; border-radius: 9px;
  background: rgba(7, 9, 15, .55);
  border: 1px solid rgba(151, 168, 205, .1);
  color: var(--muted); font-size: .68rem; line-height: 1.1; text-align: center;
}
.cockpit-metrics strong {
  display: block; margin-bottom: .2rem; color: var(--text);
  font-size: .95rem; font-weight: 600; line-height: 1;
}
@keyframes cockpit-sheen {
  0%, 28% { transform: translateX(0); opacity: 0; }
  44% { opacity: 1; }
  70%, 100% { transform: translateX(360%); opacity: 0; }
}

/* Mapa */
.map-wrap {
  border-radius: 18px; overflow: hidden; position: relative;
  box-shadow:
    0 0 0 1px rgba(151, 168, 205, .14),
    0 0 90px -24px rgba(255, 109, 46, .3),
    var(--shadow-lg);
}
.map-svg { width: 100%; display: block; }

/* Línea de escáner */
.map-wrap::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, rgba(83, 201, 242, .55), transparent);
  animation: scan 4.5s ease-in-out infinite;
  pointer-events: none; z-index: 2;
}
@keyframes scan {
  0% { top: 5%; opacity: .8; }
  50% { top: 90%; opacity: .35; }
  100% { top: 5%; opacity: .8; }
}

/* Animación de la ruta */
.route-draw { animation: draw-route 2s ease forwards .5s; }
@keyframes draw-route { to { stroke-dashoffset: 0; } }
.pin { opacity: 0; animation: pin-appear .4s ease forwards; }
@keyframes pin-appear { to { opacity: 1; } }
.pulse-ring { animation: pulse 2.5s ease-out infinite; }
@keyframes pulse { 0% { r: 10; opacity: .6; } 100% { r: 20; opacity: 0; } }

/* Timeline de estado */
.route-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .85rem; }
.timeline-step {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 38px; padding: .45rem .55rem; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--faint); font-size: .72rem; font-weight: 600; line-height: 1.15; white-space: nowrap;
}
.timeline-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(151, 168, 205, .35); flex: 0 0 auto; }
.timeline-step.done { color: var(--muted); }
.timeline-step.done .timeline-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(43, 217, 159, .12); }
.timeline-step.active {
  color: var(--text);
  border-color: rgba(255, 109, 46, .35);
  background: rgba(255, 109, 46, .12);
  box-shadow: 0 12px 32px -20px rgba(255, 109, 46, .8);
}
.timeline-step.active .timeline-dot {
  background: var(--cta);
  box-shadow: 0 0 0 4px rgba(255, 109, 46, .16), 0 0 16px rgba(255, 109, 46, .55);
  animation: timeline-pulse 1.6s ease-in-out infinite;
}
@keyframes timeline-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.72); opacity: .55; }
}

/* Badge ETA */
.map-badge {
  display: flex; align-items: center; gap: .7rem;
  background: var(--bg-2);
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: .7rem .95rem;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .05);
  margin-top: .85rem;
}
.badge-bottom { align-self: flex-end; }
.badge-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.badge-dot.green { background: var(--green); box-shadow: 0 0 0 3px rgba(43, 217, 159, .18); }
.badge-dot.blue { background: var(--cyan); box-shadow: 0 0 0 3px rgba(83, 201, 242, .18); }
.badge-title { font-size: .84rem; font-weight: 700; color: var(--text); }
.badge-sub { font-size: .74rem; color: var(--muted); margin-top: .05rem; }

.reveal-fast { opacity: 0; animation: fade-up .5s ease forwards; }
.badge-bottom.reveal-fast { animation-delay: 2.2s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------- Trust bar (telemetría) ----------------------- */
.trust-bar {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.trust-inner { display: flex; flex-direction: column; gap: 0; padding: 1.6rem 0; }
.trust-header { display: flex; align-items: center; gap: .5rem; justify-content: center; margin-bottom: 1.1rem; }
.trust-label {
  font-size: .64rem; font-weight: 600; letter-spacing: .16em;
  color: var(--faint); text-transform: uppercase;
}
.trust-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; width: 100%; }
.trust-stat { text-align: center; padding: .75rem 2.4rem; }
.trust-stat strong {
  display: block; font-size: 1.6rem; font-weight: 600; color: var(--text);
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.trust-stat span {
  font-size: .74rem; color: var(--faint); text-transform: uppercase;
  letter-spacing: .08em; margin-top: .2rem; display: block;
}
.trust-div { width: 1px; background: var(--line); align-self: stretch; margin: .75rem 0; }

/* ----------------------------- Beneficios ------------------------------ */
.benefits { background: var(--bg-0); }
.benefits::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 80% 0%, rgba(83, 201, 242, .06) 0%, transparent 60%);
}
.benefits-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative; z-index: 1;
}
.benefit-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.75rem;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.benefit-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--gradient-cta);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px -16px rgba(255, 109, 46, .22), var(--shadow);
  border-color: rgba(255, 109, 46, .28);
}
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-card .ic {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 109, 46, .16), rgba(255, 109, 46, .04));
  color: var(--cta); display: grid; place-items: center; margin-bottom: 1.15rem;
  border: 1px solid rgba(255, 109, 46, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.benefit-card .ic svg { width: 24px; height: 24px; }
.benefit-card h3 { margin-bottom: .5rem; }
.benefit-card p { color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* --------------------------- Vídeo promo ------------------------------- */
.video-promo { background: var(--bg-1); overflow: hidden; isolation: isolate; }
.video-promo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 15% 50%, rgba(83, 201, 242, .07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 88% 40%, rgba(255, 109, 46, .08) 0%, transparent 55%);
}
.video-promo .section-head { position: relative; z-index: 1; }
.video-container {
  position: relative; width: 100%; max-width: 920px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; z-index: 1; isolation: isolate;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 0 80px -20px rgba(83, 201, 242, .25),
    0 40px 80px -20px rgba(0, 0, 0, .7);
}
.video-container::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 109, 46, .5), transparent);
  animation: scan 5s ease-in-out infinite;
  pointer-events: none; z-index: 2;
}
.video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block; }
.video-cta-hint { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.6rem; position: relative; z-index: 1; }
.video-cta-link { color: var(--cta); font-weight: 700; transition: opacity .15s; }
.video-cta-link:hover { opacity: .8; }

/* ------------------------- Cómo funciona ------------------------------- */
.how { background: var(--bg-0); overflow: hidden; isolation: isolate; }
.how::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(255, 109, 46, .07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(83, 201, 242, .06) 0%, transparent 55%);
}
.steps {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  position: relative; z-index: 1;
}
/* Línea de ruta punteada que conecta los pasos (desktop) */
.steps::before {
  content: ""; position: absolute;
  top: calc(1.7rem + 21px); left: 12%; right: 12%;
  border-top: 2px dashed rgba(255, 109, 46, .3);
  z-index: 0; display: none;
}
.step {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem;
  transition: background .25s, border-color .25s, transform .25s;
  position: relative; z-index: 1;
}
.step:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 109, 46, .35);
  transform: translateY(-3px);
}
.step .num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-cta); color: var(--cta-ink);
  font-family: var(--font-mono); font-weight: 600; font-size: 1rem;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  box-shadow: var(--shadow-cta), 0 0 0 5px rgba(255, 109, 46, .12);
}
.step:hover .num { box-shadow: var(--shadow-cta), 0 0 0 7px rgba(255, 109, 46, .16), 0 0 30px -4px rgba(255, 109, 46, .6); }
.step h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .93rem; line-height: 1.7; }

/* --------------------------- Demo en vivo ------------------------------ */
.demo-live { background: var(--bg-1); overflow: hidden; isolation: isolate; }
.demo-live::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 60% at 20% 50%, rgba(83, 201, 242, .08) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 85% 60%, rgba(255, 109, 46, .08) 0%, transparent 55%);
}
.demo-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.demo-copy p { color: var(--muted); margin-top: 1rem; font-size: 1.02rem; line-height: 1.75; max-width: 42ch; }
.demo-points { margin-top: 1.8rem; display: grid; gap: .85rem; }
.demo-points li { display: flex; align-items: flex-start; gap: .65rem; color: var(--body); font-size: .96rem; }
.demo-check {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  background: var(--green-dim); color: var(--green);
  display: grid; place-items: center; margin-top: .1rem;
  border: 1px solid rgba(43, 217, 159, .25);
}
.demo-frame iframe {
  width: min(300px, 100%); height: auto; aspect-ratio: 300 / 640;
  border: none; border-radius: 26px; display: block;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 0 70px -10px rgba(255, 109, 46, .22),
    0 30px 80px rgba(0, 0, 0, .6);
}

/* ----------------------------- Métricas -------------------------------- */
.results { background: var(--bg-0); }
.metrics {
  display: grid; gap: 0; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.metric {
  text-align: center; padding: 2.5rem 1.25rem;
  position: relative;
  transition: background .25s ease;
}
.metric:hover { background: rgba(255, 109, 46, .05); }
.metric:nth-child(2) { border-left: 1px solid var(--line); }
.metric:nth-child(3) { border-top: 1px solid var(--line); }
.metric:nth-child(4) { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric .num {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem); font-weight: 600; letter-spacing: -.05em;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.1; display: block;
  font-variant-numeric: tabular-nums;
}
.metric .lbl { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.results-note { text-align: center; color: var(--faint); font-size: .82rem; margin-top: 1.5rem; line-height: 1.7; }

/* --------------------------- Calculadora ------------------------------- */
.calculator { background: var(--bg-0); }
.calc-wrap {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(83, 201, 242, .06), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05);
  padding: clamp(1.85rem, 5vw, 3.25rem);
  position: relative;
}
.calc-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(151, 168, 205, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 168, 205, .04) 1px, transparent 1px);
  background-size: 34px 34px;
}
.calc-wrap::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cta), transparent);
  opacity: .6;
}
.calc-wrap > * { position: relative; z-index: 1; }
.calc-left p { color: var(--muted); margin-top: .9rem; line-height: 1.75; font-size: 1.02rem; }
.calc-left h2 { margin-top: .25rem; }
.calc-includes { margin-top: 1.6rem; display: grid; gap: .65rem; }
.calc-includes li { display: flex; align-items: center; gap: .65rem; color: var(--body); font-size: .94rem; }
.ci-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cta); flex-shrink: 0; box-shadow: 0 0 8px rgba(255, 109, 46, .6); }

.calc-card {
  background: rgba(7, 9, 15, .55);
  border: 1px solid var(--line);
  border-radius: 18px; padding: 1.85rem;
  display: flex; flex-direction: column; gap: 1.3rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.calc-slider-wrap { display: flex; flex-direction: column; gap: .65rem; }
.calc-slider-label { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }
.calc-slider-label strong { color: var(--text); font-size: 1.3rem; font-family: var(--font-mono); font-weight: 600; }

/* Slider */
.slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px; outline: none; cursor: pointer;
  background: linear-gradient(to right, var(--cta) 0%, var(--cta) var(--val, 14%), rgba(151, 168, 205, .18) var(--val, 14%));
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gradient-cta);
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 5px rgba(255, 109, 46, .22), var(--shadow-cta);
  cursor: pointer; transition: transform .15s;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.slider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  background: var(--cta); box-shadow: 0 0 0 5px rgba(255, 109, 46, .22); cursor: pointer;
}
.slider-ticks {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: .68rem; color: var(--faint);
  padding: 0 2px; margin-top: -.2rem;
}

.calc-result {
  background: rgba(0, 0, 0, .3); border-radius: 14px; padding: 1.35rem 1.5rem;
  border: 1px solid rgba(255, 109, 46, .25);
  box-shadow: inset 0 0 40px -20px rgba(255, 109, 46, .25);
}
.calc-main-num { text-align: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.calc-amount {
  display: block; font-size: clamp(2.3rem, 6vw, 3.4rem);
  font-family: var(--font-mono); font-weight: 600;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.05em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.calc-period { display: block; font-size: .84rem; color: var(--muted); margin-top: .3rem; }
.calc-breakdown { display: flex; flex-direction: column; gap: .65rem; }
.calc-item { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.calc-item span { color: var(--muted); }
.calc-item strong { color: var(--text); font-weight: 600; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.calc-sep { height: 1px; background: var(--line); }
.calc-note { text-align: center; font-size: .76rem; color: var(--faint); line-height: 1.65; }

/* --------------------------- Testimonio -------------------------------- */
.quote { background: var(--bg-1); }
.quote-card {
  max-width: 820px; margin: 0 auto;
  background: linear-gradient(180deg, var(--surface-2), transparent);
  border: 1px solid var(--line);
  border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
  position: relative; overflow: hidden; isolation: isolate;
}
.quote-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 20% -10%, rgba(255, 109, 46, .09) 0%, transparent 65%);
}
.quote-card .mark {
  font-size: 5rem; line-height: 1; color: var(--cta); opacity: .3;
  font-weight: 700; position: absolute; top: .9rem; left: 1.6rem;
  font-family: var(--font-display); pointer-events: none;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 1.45rem); color: var(--text);
  font-weight: 500; line-height: 1.55; position: relative; z-index: 1;
  letter-spacing: -.01em;
}
.quote-author { display: flex; align-items: center; gap: .9rem; margin-top: 1.85rem; position: relative; z-index: 1; }
.quote-author .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-cta); color: var(--cta-ink);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 109, 46, .18);
}
.quote-author .name { font-weight: 700; color: var(--text); font-size: .94rem; display: block; }
.quote-author .role { color: var(--muted); font-size: .82rem; display: block; }

/* ----------------------------- Formulario ------------------------------ */
.book { background: var(--bg-0); }
.book::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 85% 20%, rgba(255, 109, 46, .07) 0%, transparent 60%);
}
.book-grid { display: grid; gap: 2.75rem; grid-template-columns: 1fr; position: relative; z-index: 1; }
.book-info p { color: var(--muted); font-size: 1.02rem; margin-top: .9rem; line-height: 1.75; }
.book-points { margin-top: 1.6rem; display: grid; gap: .85rem; }
.book-points li { display: flex; gap: .7rem; align-items: flex-start; color: var(--body); font-size: .96rem; }
.book-points .check {
  width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%;
  background: var(--green-dim); color: var(--green);
  display: grid; place-items: center; margin-top: .1rem;
  border: 1px solid rgba(43, 217, 159, .25);
}
.book-meta {
  margin-top: 1.85rem; display: flex; gap: 1.75rem; flex-wrap: wrap;
  color: var(--muted); font-size: .85rem;
  padding-top: 1.35rem; border-top: 1px solid var(--line);
}
.book-meta b { color: var(--text); display: block; font-size: 1.2rem; font-weight: 700; font-family: var(--font-display); }

.form-card {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05);
  padding: 2rem 1.85rem;
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cta), transparent);
  opacity: .7;
}
.form-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 45% at 100% 0%, rgba(255, 109, 46, .08) 0%, transparent 60%);
}
.form-card > * { position: relative; z-index: 1; }
.form-card h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.form-card .sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 10px;
  font-family: inherit; font-size: 16px; color: var(--text);
  background: rgba(7, 9, 15, .55);
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--faint); opacity: .7; }
.field select option { background: var(--bg-2); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(255, 109, 46, .6);
  box-shadow: 0 0 0 3px rgba(255, 109, 46, .15);
  background: rgba(7, 9, 15, .8);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field .err { color: #ff8585; font-size: .78rem; margin-top: .3rem; display: none; }
.field.invalid input, .field.invalid select { border-color: #ff8585; }
.field.invalid .err { display: block; }
.form-consent { font-size: .76rem; color: var(--faint); margin-top: .9rem; text-align: center; }
.form-consent a { color: var(--cta-soft); text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success .ic {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--green-dim); color: var(--green);
  border: 1px solid rgba(43, 217, 159, .3);
  display: grid; place-items: center;
}
.form-success h3 { font-size: 1.3rem; }
.form-success p { color: var(--muted); margin-top: .4rem; }

/* -------------------------------- FAQ ---------------------------------- */
.faq { background: var(--bg-1); }
.faq-list {
  max-width: 740px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  padding: .5rem 1.5rem;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  text-align: left; padding: 1.3rem 0;
  font-family: var(--font-body);
  font-weight: 650; font-size: 1.02rem; color: var(--text);
  transition: color .15s; min-height: 48px;
}
.faq-q:hover { color: var(--cta-soft); }
.faq-q .chev { flex: 0 0 auto; transition: transform .25s; color: var(--cta); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--muted); padding-bottom: 1.3rem; font-size: .95rem; line-height: 1.75; }

/* ----------------------------- Footer ---------------------------------- */
.footer {
  background: var(--bg-0); color: var(--muted);
  padding: 3.25rem 0 2.25rem;
  border-top: 1px solid var(--line);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; }
.footer .brand { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.6rem; }
.footer-links a { font-size: .88rem; color: var(--muted); padding: .3rem 0; transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: .8rem; color: var(--faint); }

/* ----------------------- Bottom nav móvil ------------------------------ */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(7, 9, 15, .92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line);
  padding: .45rem .5rem calc(.45rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--faint); font-size: .6rem; font-weight: 600;
  letter-spacing: .01em; padding: .3rem .25rem; border-radius: 10px;
  transition: color .15s, background .15s; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item:hover,
.bottom-nav-item:focus-visible { color: var(--text); background: var(--surface-2); }
.bottom-nav-item svg { flex-shrink: 0; }
.bottom-nav-cta {
  background: var(--gradient-cta); color: var(--cta-ink) !important;
  border-radius: 12px; padding: .35rem .25rem; margin: .05rem;
  box-shadow: 0 4px 16px -4px var(--cta-glow);
  font-weight: 700;
}
.bottom-nav-cta:hover { opacity: .92; background: var(--gradient-cta) !important; }

/* --------------------------- Animaciones ------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.benefits-grid .reveal:nth-child(2) { transition-delay: .09s; }
.benefits-grid .reveal:nth-child(3) { transition-delay: .18s; }
.steps .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3) { transition-delay: .2s; }
.metrics .reveal:nth-child(2) { transition-delay: .08s; }
.metrics .reveal:nth-child(3) { transition-delay: .16s; }
.metrics .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-fast { opacity: 1; transform: none; }
  .route-draw { stroke-dashoffset: 0; }
  .pin { opacity: 1; }
}

/* ========================= RESPONSIVE ================================== */

@media (min-width: 640px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metric:nth-child(n) { border-top: none; }
  .metric:nth-child(2), .metric:nth-child(3), .metric:nth-child(4) { border-left: 1px solid var(--line); border-top: none; }
  .book-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .calc-breakdown { flex-direction: row; align-items: center; }
  .calc-sep { width: 1px; height: 2rem; background: var(--line); }
  .calc-item { flex-direction: column; align-items: center; text-align: center; flex: 1; gap: .2rem; }
  .trust-inner { flex-wrap: nowrap; }
}

@media (min-width: 820px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
  .hero-copy { text-align: left; }
  .hero .lead { margin-inline: 0; }
  .hero-cta { justify-content: flex-start; }
  .hero-trust { justify-content: flex-start; }
  .calc-wrap { grid-template-columns: 1fr 1fr; }
  .steps::before { display: block; }
}

@media (min-width: 900px) {
  .nav-inner { height: 72px; }
  .hero { padding-top: 9.5rem; padding-bottom: 6.5rem; }
}

@media (max-width: 900px) {
  .demo-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .demo-copy p { max-width: 100%; }
  .demo-frame iframe { margin: 0 auto; }
}

/* ============================ MÓVIL ==================================== */
@media (max-width: 639px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .trust-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-div { display: none; }
  .trust-inner { gap: .5rem; }
  .trust-stat { padding: .6rem 1rem; }
  .bottom-nav { display: grid; }
  .nav-cta { display: none; }

  /* Hero móvil */
  .hero { padding-top: 5.75rem; padding-bottom: 3rem; }
  .hero-terminal { display: none; }
  .hero-cta .btn-dark-ghost { display: none; }
  .hero-visual {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: .85rem;
  }
  .map-sys-bar { font-size: .56rem; gap: .35rem; margin-bottom: .4rem; flex-wrap: wrap; }
  .route-cockpit {
    grid-template-columns: 1fr;
    gap: .55rem; padding: .65rem;
    margin-bottom: .6rem; border-radius: 12px;
  }
  .cockpit-label { font-size: .56rem; text-align: center; }
  .cockpit-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .cockpit-metrics span { padding: .42rem .45rem; font-size: .62rem; }
  .cockpit-metrics strong { font-size: .82rem; }
  .route-timeline { grid-template-columns: 1fr; gap: .35rem; margin-top: .6rem; }
  .timeline-step { justify-content: flex-start; min-height: 32px; padding: .42rem .6rem; font-size: .66rem; }
  .map-badge { padding: .45rem .6rem; gap: .45rem; margin-top: .45rem; flex-wrap: wrap; }
  .badge-title { font-size: .72rem; }
  .badge-sub { font-size: .63rem; }
  .map-svg { max-height: 150px; }
  .map-wrap { border-radius: 12px; }

  .btn-lg { font-size: .95rem; padding: .85rem 1.25rem; }
  .hero-trust { font-size: .78rem; line-height: 1.6; }
  .book-meta { gap: 1rem; }
  .demo-inner { gap: 1.5rem; }
  .demo-frame { display: flex; justify-content: center; }
  .demo-frame iframe { width: min(300px, 100%); height: auto; }

  /* padding para que la bottom nav no tape la última sección */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  section { padding: clamp(2.25rem, 6vw, 4rem) 0; }
  .section-head { margin-bottom: 1.85rem; }
  .section-head h2 { font-size: clamp(1.55rem, 7vw, 2rem); }

  /* Botones largos pueden partir línea */
  .btn-block, .calc-card .btn, .demo-copy .btn {
    white-space: normal; line-height: 1.25; min-height: 52px;
  }

  .video-container {
    max-width: min(360px, calc(100vw - 2.5rem));
    border-radius: 18px;
    aspect-ratio: 9 / 16;
  }

  .demo-frame iframe {
    width: min(300px, calc(100vw - 2.5rem));
    height: auto; aspect-ratio: 300 / 640; border-radius: 20px;
  }

  .calculator .container { padding-inline: .875rem; }
  .calc-wrap { gap: 1.25rem; padding: 1.1rem; border-radius: 18px; }
  .calc-card { gap: 1rem; padding: 1.1rem; border-radius: 16px; min-width: 0; }
  .calc-left p { font-size: .94rem; line-height: 1.65; }
  .calc-includes { gap: .5rem; margin-top: 1rem; }
  .calc-includes li { font-size: .86rem; align-items: flex-start; }
  .calc-slider-label { display: grid; grid-template-columns: 1fr auto; gap: .75rem; }
  .slider { height: 8px; }
  .slider::-webkit-slider-thumb { width: 26px; height: 26px; }
  .slider::-moz-range-thumb { width: 26px; height: 26px; }
  .calc-result { padding: 1rem; border-radius: 12px; }
  .calc-amount { font-size: clamp(2rem, 13vw, 2.85rem); letter-spacing: -.03em; overflow-wrap: anywhere; }
  .calc-item { align-items: flex-start; gap: .75rem; }
  .calc-item strong { white-space: nowrap; text-align: right; }
  .calc-note { font-size: .72rem; }

  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 1.75rem 1rem; }

  .faq-list { padding: .25rem 1.1rem; }
  .form-card { padding: 1.6rem 1.25rem; }
}
