/* RideDesk · sitio de presentación */
:root {
  --navy-950: #070d1a;
  --navy-900: #0b1220;
  --navy-800: #0f172a;
  --navy-700: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --green: #22c55e;
  --red-500: #ef4444;
  --red-50: #fef2f2;

  --st-received: #64748b;
  --st-diagnosis: #3b82f6;
  --st-parts: #a855f7;
  --st-repair: #f59e0b;
  --st-ready: #22c55e;
  --st-delivered: #94a3b8;

  --ink: var(--navy-800);
  --muted: var(--slate-600);
  --line: var(--slate-200);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .06), 0 1px 3px rgb(15 23 42 / .08);
  --shadow-md: 0 4px 6px -1px rgb(15 23 42 / .07), 0 12px 24px -6px rgb(15 23 42 / .10);
  --shadow-lg: 0 24px 48px -12px rgb(15 23 42 / .25);
  --shadow-device: 0 40px 80px -20px rgb(2 6 23 / .55), 0 18px 36px -18px rgb(2 6 23 / .5);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); color: inherit; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
figure { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font-body);
  padding: 12px 18px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .16s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 1px 2px rgb(15 23 42 / .2), inset 0 1px 0 rgb(255 255 255 / .15); }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { background: rgb(255 255 255 / .06); color: var(--white); border-color: rgb(255 255 255 / .18); }
.btn-ghost:hover { background: rgb(255 255 255 / .12); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 15px 22px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(11 18 32 / .94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgb(255 255 255 / .06);
  transition: background-color .25s var(--ease);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--font-head); color: var(--white); letter-spacing: -0.01em; text-decoration: none !important; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(160deg, var(--blue-500), var(--blue-700));
  color: var(--white); font: 800 13px/1 var(--font-head); letter-spacing: .02em;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25);
}
.brand-mark.sm { width: 22px; height: 22px; border-radius: 6px; font-size: 9px; }
.nav-links { display: flex; gap: 28px; margin-left: 12px; }
.nav-links a { color: var(--slate-300); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-login { color: var(--slate-200); font-size: 14.5px; font-weight: 500; }
.nav-login:hover { color: var(--white); text-decoration: none; }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-login { display: none; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.soft { background: var(--slate-50); }
.dark {
  background: var(--navy-900); color: var(--slate-300);
  position: relative; isolation: isolate; overflow: hidden;
}
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--blue-600); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.kicker-light { color: var(--blue-400); }
h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; font-weight: 800; }
.section-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin-top: 18px; line-height: 1.6; }
.dark .section-lead { color: var(--slate-400); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 40%, rgb(37 99 235 / .32), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgb(59 130 246 / .16), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgb(37 99 235 / .14); border: 1px solid rgb(96 165 250 / .28);
  color: var(--blue-100); font-size: 13.5px; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(34 197 94 / .18); }
/* El h1 es la frase con las palabras clave (pastilla chica); el eslogan grande es un <p>. */
.hero h1.badge { font-family: inherit; font-size: 13.5px; font-weight: 500; line-height: 1.4; letter-spacing: normal; color: var(--blue-100); }
.hero-title { font-family: var(--font-head); color: var(--white); font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; margin-top: 24px; text-wrap: balance; }
.hero-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--slate-300); margin-top: 22px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14.5px; color: var(--slate-300); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .ic { width: 17px; height: 17px; color: var(--green); stroke-width: 2.5; }

.hero-visual { position: relative; padding-bottom: 40px; padding-right: 40px; }
.hero-visual .laptop { width: 100%; }
.hero-visual .phone-hero { position: absolute; right: 0; bottom: 0; width: clamp(150px, 15vw, 200px); }

/* ---------- Dispositivos ---------- */
.laptop { position: relative; filter: drop-shadow(0 40px 50px rgb(2 6 23 / .5)); }
.laptop-screen {
  background: #0a0f1a; border-radius: 16px 16px 0 0; padding: 2.2% 2.2% 0;
  border: 1px solid #334155; border-bottom: 0;
  box-shadow: inset 0 0 0 2px #111827;
}
.laptop-screen img { border-radius: 4px 4px 0 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.laptop-base {
  position: relative; height: 16px; margin: 0 -6.5%;
  background: linear-gradient(#e2e8f0, #94a3b8 70%, #64748b);
  border-radius: 0 0 18px 18px;
}
.laptop-base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 6px; transform: translateX(-50%);
  background: #94a3b8; border-radius: 0 0 8px 8px;
}

.phone {
  position: relative; width: 260px; aspect-ratio: 9 / 19.2;
  background: #0b0f17; border-radius: 44px; padding: 10px;
  box-shadow: var(--shadow-device), inset 0 0 0 1.5px #3b4252, inset 0 0 0 4px #0b0f17, inset 0 0 0 5px #252b37;
}
.phone::before {
  /* isla dinámica */
  content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 22px; background: #000; border-radius: 20px; z-index: 3;
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 34px; background: #f8fafc;
  display: flex; flex-direction: column;
}
.phone-screen > img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }
.statusbar {
  flex: none; height: 40px; display: flex; align-items: center; justify-content: space-between;
  padding: 4px 22px 0 28px; font: 600 12.5px/1 var(--font-body); color: var(--white);
  background: var(--navy-800);
}
.statusbar-dim { background: #4b5563; }
.sb-icons {
  width: 46px; height: 10px;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 3px 4px no-repeat,
    linear-gradient(currentColor, currentColor) 5px 100% / 3px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 10px 100% / 3px 8px no-repeat,
    linear-gradient(currentColor, currentColor) 15px 100% / 3px 10px no-repeat,
    linear-gradient(currentColor, currentColor) 26px 50% / 17px 9px no-repeat;
  border-radius: 1px;
  position: relative;
}
.sb-icons::after { content: ""; position: absolute; right: 0; top: 2px; width: 2px; height: 5px; background: currentColor; opacity: .6; border-radius: 1px; }
.phone-hero .statusbar { height: 30px; font-size: 10px; padding: 3px 14px 0 20px; }
.phone-hero { border-radius: 34px; padding: 7px; }
.phone-hero .phone-screen { border-radius: 27px; }
.phone-hero::before { top: 14px; height: 15px; }
.phone-hero .sb-icons { transform: scale(.75); transform-origin: right center; }

.browser {
  border-radius: 14px; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  background: var(--slate-100); border-bottom: 1px solid var(--line);
}
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.browser-bar span:nth-child(1) { background: #f87171; }
.browser-bar span:nth-child(2) { background: #fbbf24; }
.browser-bar span:nth-child(3) { background: #4ade80; }
.browser-bar p {
  margin-left: 14px; flex: 1; max-width: 300px; height: 24px; border-radius: 6px;
  background: var(--white); border: 1px solid var(--line);
  font: 500 12px/22px var(--font-body); color: var(--slate-500); padding: 0 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }

/* ---------- Franja de valores ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.strip-item { display: flex; gap: 14px; align-items: flex-start; padding: 30px 24px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item:first-child { padding-left: 0; }
.strip-title { font-weight: 600; color: var(--ink); font-size: 15.5px; line-height: 1.35; }
.strip-item p:not(.strip-title) { color: var(--muted); font-size: 14.5px; margin-top: 4px; line-height: 1.45; }
.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100);
}
.icon-tile .ic { width: 22px; height: 22px; }

/* ---------- Problema ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pain {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.pain-ic { width: 28px; height: 28px; color: var(--red-500); }
.pain h3 { font-size: 19px; font-weight: 700; margin-top: 18px; }
.pain p { color: var(--muted); margin-top: 10px; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; position: relative; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px; box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--navy-800); color: var(--white); font: 700 15px/1 var(--font-head);
}
.step h3 { font-size: 19px; font-weight: 700; margin-top: 20px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* ---------- Funciones destacadas ---------- */
.feature-row {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(80px, 11vw, 136px); }
.feature-row.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 800; margin-top: 22px; }
.feature-copy > p { color: var(--muted); font-size: 17.5px; margin-top: 16px; }
.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checklist .ic {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-600); stroke-width: 3; margin-top: 1px;
}
.checklist-light li { color: var(--slate-200); }
.checklist-light .ic { background: rgb(59 130 246 / .18); color: var(--blue-400); }

.phone-pair {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  padding: 20px 0; min-height: 560px;
}
.phone-pair::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: -1; border-radius: 32px;
  background: linear-gradient(150deg, var(--blue-50), #e0e7ff);
}
.phone-pair .phone { width: 250px; }
.phone-pair .phone-front { z-index: 2; transform: translateX(24%); }
.phone-pair .phone.phone-back { position: absolute; z-index: 1; transform: translateX(-40%) translateY(-34px) rotate(-5deg); }

/* ---------- Celular (sección oscura) ---------- */
.mobile-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 75% 55%, rgb(37 99 235 / .3), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgb(59 130 246 / .12), transparent 70%);
}
.mobile-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.try-hint {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 10px 14px; border-radius: 10px; font-size: 14.5px;
  background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); color: var(--slate-300);
}
.try-hint .ic { color: var(--blue-400); width: 18px; height: 18px; }
.phones-fan { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.phones-fan .phone { width: 270px; }
.fan-center { z-index: 3; }
.phones-fan .fan-left, .phones-fan .fan-right { position: absolute; width: 230px !important; opacity: .92; }
.fan-left { transform: translateX(-62%) rotate(-7deg) scale(.92); z-index: 1; }
.fan-right { transform: translateX(62%) rotate(7deg) scale(.92); z-index: 1; }
.fan-left.reveal.is-in { transform: translateX(-62%) rotate(-7deg) scale(.92); }
.fan-right.reveal.is-in { transform: translateX(62%) rotate(7deg) scale(.92); }

/* App simulada */
.app { flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--slate-50); color: var(--ink); font-size: 12px; line-height: 1.4; }
.app-top {
  display: flex; align-items: center; gap: 8px; padding: 9px 14px;
  background: var(--white); border-bottom: 1px solid var(--line);
  font: 700 13px/1 var(--font-head);
}
.app-avatar {
  margin-left: auto; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700);
  font: 700 9.5px/1 var(--font-body);
}
.app-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px; min-height: 0; }
.app-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; position: relative; }
.app-muted { color: var(--slate-500); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.app-name { font-weight: 700; font-size: 14px; margin-top: 3px; }
.app-sub { color: var(--slate-500); font-size: 11px; margin-top: 1px; }
.pill {
  --pill: var(--st-received);
  position: absolute; top: 11px; right: 11px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 600;
  color: var(--pill); background: color-mix(in srgb, var(--pill) 13%, white);
  transition: color .25s, background-color .25s;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.st {
  --c: var(--st-received);
  border: 1px solid var(--line); background: var(--white); color: var(--slate-500);
  font: 600 9.5px/1 var(--font-body); padding: 7px 2px; border-radius: 7px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.st-received { --c: var(--st-received); } .st-diagnosis { --c: var(--st-diagnosis); } .st-parts { --c: var(--st-parts); }
.st-repair { --c: var(--st-repair); } .st-ready { --c: var(--st-ready); } .st-delivered { --c: var(--st-delivered); }
.st.is-done { color: var(--c); border-color: color-mix(in srgb, var(--c) 35%, white); }
.st.is-current { background: var(--c); border-color: var(--c); color: var(--white); }
.app-event {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  color: var(--slate-600); font-size: 11.5px; min-height: 58px;
}
.app-event.is-changing { animation: fadeUp .35s var(--ease); }
.wa { margin-top: 8px; background: #e7f6ec; border-radius: 10px; padding: 8px 10px; }
.wa-to { font-size: 9.5px; font-weight: 700; color: #15803d; letter-spacing: .02em; }
.wa-bubble { margin-top: 4px; background: #d9fdd3; color: #111b21; padding: 7px 9px; border-radius: 8px 8px 8px 2px; font-size: 11px; }
.app-lines { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; }
.line { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 11px; color: var(--slate-600); }
.line + .line { border-top: 1px solid var(--slate-100); }
.line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-part { color: var(--st-parts); font-weight: 500; animation: fadeUp .35s var(--ease); }
.line-total { font-weight: 700; color: var(--ink); font-size: 12px; }
.app-btn {
  margin-top: auto; border: 0; border-radius: 10px; padding: 11px; cursor: pointer;
  background: var(--blue-600); color: var(--white); font: 600 12.5px/1 var(--font-body);
  transition: background-color .2s, transform .16s var(--ease);
}
.app-btn:hover { background: var(--blue-700); }
.app-btn:active { transform: scale(.97); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Grilla de funciones ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 17px; font-weight: 700; margin-top: 18px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; line-height: 1.55; }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 600; font-size: 16.5px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--slate-400); transition: transform .25s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); color: var(--blue-600); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA / Demo ---------- */
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 70% at 85% 50%, rgb(37 99 235 / .35), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgb(59 130 246 / .14), transparent 70%);
}
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.form-card {
  background: var(--white); color: var(--ink); border-radius: 20px; padding: 32px;
  box-shadow: 0 30px 60px -20px rgb(2 6 23 / .6);
}
.form-card h3 { font-size: 22px; font-weight: 800; color: var(--ink) !important; margin-bottom: 8px; }
.form-card label, .form-card legend { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; padding: 0; color: var(--ink); }
.form-card input[type="text"] {
  width: 100%; font: 400 16px/1.4 var(--font-body); padding: 12px 14px;
  border: 1px solid var(--slate-300); border-radius: 10px; color: var(--ink); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-card input::placeholder { color: var(--slate-400); }
.form-card input[type="text"]:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgb(59 130 246 / .15); }
.form-card fieldset { border: 0; margin: 0; padding: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--slate-100); border-radius: 11px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { margin: 0 !important; text-align: center; padding: 9px; border-radius: 8px; cursor: pointer; font-weight: 500 !important; color: var(--slate-600) !important; transition: background-color .2s, color .2s; }
.segmented input:checked + label { background: var(--white); color: var(--ink) !important; font-weight: 600 !important; box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + label { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.form-card .btn-block { margin-top: 24px; }
.form-note { font-size: 13px; color: var(--slate-500); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { color: var(--slate-400); margin-top: 16px; max-width: 30em; }
.footer-title { color: var(--white); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer a:not(.brand) { color: var(--slate-400); }
.footer a:not(.brand):hover { color: var(--white); text-decoration: none; }
.footer-bottom { margin-top: 56px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgb(255 255 255 / .08); color: var(--slate-500); font-size: 14px; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .fan-left.reveal { transform: translateX(-50%) rotate(-3deg) scale(.88); }
.js .fan-right.reveal { transform: translateX(50%) rotate(3deg) scale(.88); }
.js .fan-left.reveal.is-in { opacity: .92; transform: translateX(-62%) rotate(-7deg) scale(.92); }
.js .fan-right.reveal.is-in { opacity: .92; transform: translateX(62%) rotate(7deg) scale(.92); }
.js .phone-hero.reveal { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .js .fan-left.reveal { transform: translateX(-62%) rotate(-7deg) scale(.92); }
  .js .fan-right.reveal { transform: translateX(62%) rotate(7deg) scale(.92); }
  .app-event.is-changing, .line-part { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .hero-grid, .mobile-grid, .cta-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 680px; margin: 8px auto 0; width: 100%; }
  .feature-row, .feature-row.reverse { grid-template-columns: minmax(0, 1fr); }
  .feature-row.reverse .feature-copy { order: 0; }
  .feature-copy { max-width: 640px; }
  .faq-grid .section-head { position: static; }
  .pain-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-copy { max-width: 640px; }
}
@media (max-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .steps, .card-grid, .strip-grid { grid-template-columns: minmax(0, 1fr); }
  .strip-item { padding: 20px 0 !important; border-left: 0 !important; }
  .strip-item + .strip-item { border-top: 1px solid var(--line); }
  .hero-ctas .btn { width: 100%; }
  .hero-visual { padding-right: 18px; padding-bottom: 28px; }
  .hero-visual .phone-hero { width: 34%; border-radius: 24px; padding: 5px; }
  .phone-hero .phone-screen { border-radius: 19px; }
  .phone-hero .statusbar { height: 22px; font-size: 7.5px; padding: 2px 9px 0 13px; }
  .phone-hero::before { top: 9px; height: 10px; }
  .phone-hero .sb-icons { transform: scale(.5); }
  .phones-fan { min-height: 520px; }
  .phones-fan .phone { width: 250px; }
  .phones-fan .fan-left, .phones-fan .fan-right { width: 190px !important; }
  .js .fan-left.reveal.is-in, .fan-left { transform: translateX(-46%) rotate(-7deg) scale(.88); }
  .js .fan-right.reveal.is-in, .fan-right { transform: translateX(46%) rotate(7deg) scale(.88); }
  .phone-pair { min-height: 0; padding: 24px 0 8px; }
  .phone-pair .phone { width: 190px; }
  .phone-pair .phone-front { transform: translateX(22%); }
  .phone-pair .phone.phone-back { transform: translateX(-38%) translateY(-24px) rotate(-5deg); }
  .browser-bar p { display: none; }
  .form-card { padding: 24px 20px; }
  .pain, .step { padding: 24px; }
}
