/* ============================================================
   AUTIA GPS — Producto de consumo (B2C) · estilos compartidos
   Conversa con la marca Autia (navy + acento cian, Geist),
   pero con un sistema propio: claro, cálido, centrado en la app.
   Usado por index.html (landing) y contratar.html (formulario).
   ============================================================ */
:root {
  --navy: #0A1628;
  --cian: #00CFFF;
  --cian-2: #38D9F5;
  --cian-deep: #0369A1;
  --cian-soft: #E7F9FF;
  --cian-mist: #F2FCFF;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --ink-2: #4A5568;
  --ink-3: #8B96A8;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --line: rgba(10, 22, 40, .09);
  --line-soft: rgba(10, 22, 40, .06);
  --line-cian: rgba(0, 207, 255, .42);
  --shadow-xs: 0 4px 14px rgba(10, 22, 40, .05);
  --shadow-sm: 0 12px 30px -12px rgba(10, 22, 40, .14);
  --shadow-md: 0 24px 56px -20px rgba(10, 22, 40, .22);
  --shadow-cian: 0 16px 38px -12px rgba(0, 207, 255, .45);
  --container: min(1180px, calc(100% - 48px));
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { border: 0; background: none; }
img { max-width: 100%; }
::selection { background: var(--cian); color: var(--navy); }
:focus-visible { outline: 2px solid var(--cian-deep); outline-offset: 2px; border-radius: 4px; }

.wrap { width: var(--container); margin: 0 auto; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--cian) 0%, var(--cian-2) 100%);
  box-shadow: var(--shadow-cian);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(0, 207, 255, .55); }
.btn-dark { color: var(--bg); background: var(--navy); }
.btn-dark:hover { transform: translateY(-2px); background: #0c1c33; }
.btn-secondary { color: var(--navy); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { transform: translateY(-2px); border-color: rgba(10, 22, 40, .22); }
.btn-sm { min-height: 44px; font-size: 15px; padding: 0 18px; }

/* ---------- Etiquetas / kickers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--cian-deep);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--cian-soft); border: 1px solid var(--line-cian);
  color: var(--cian-deep);
  font-size: 13px; font-weight: 600;
}
.pill-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--success); box-shadow: 0 0 0 4px rgba(16, 185, 129, .16); }

/* ---------- Encabezados de sección ---------- */
.head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.head .kicker { margin-bottom: 16px; }
.head h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; }
.head p { margin: 0 auto; max-width: 620px; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.head--left { margin-left: 0; text-align: left; }
.head--left p { margin-left: 0; }

/* ---------- Navbar ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(16px); background: rgba(250, 250, 247, .8); border-bottom: 1px solid var(--line-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 51px; width: auto; display: block; }
.brand-tag { padding: 4px 9px; border-radius: 999px; background: var(--cian-soft); border: 1px solid var(--line-cian); color: var(--cian-deep); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .15s ease; }
.nav-link:hover { color: var(--navy); }
.nav-back { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-back:hover { color: var(--navy); }
.nav-back svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(0, 207, 255, .18), transparent 70%),
    radial-gradient(50% 40% at 6% 4%, rgba(0, 207, 255, .10), transparent 70%),
    linear-gradient(180deg, var(--cian-mist) 0%, var(--bg) 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; padding: 64px 0 80px; }
.hero h1 { margin: 18px 0 22px; font-size: clamp(40px, 5.6vw, 66px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 span { color: var(--cian-deep); }
.hero-lead { margin: 0 0 30px; max-width: 540px; color: var(--ink-2); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.hero-note { display: flex; align-items: center; gap: 9px; color: var(--ink-3); font-size: 14px; }
.hero-note strong { color: var(--navy); font-weight: 600; }
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.trust-chip svg { width: 16px; height: 16px; color: var(--cian-deep); }

/* ---------- Mockup de teléfono (app) ---------- */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 580px; }
.blob { position: absolute; width: 460px; height: 460px; border-radius: 46% 54% 60% 40% / 50% 44% 56% 50%; background: linear-gradient(150deg, rgba(0, 207, 255, .26), rgba(0, 207, 255, .06)); filter: blur(6px); z-index: 0; }
.phone {
  position: relative; z-index: 2;
  width: 312px; padding: 12px;
  border-radius: 50px;
  background: linear-gradient(160deg, #0d1b30, var(--navy));
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone-screen { position: relative; border-radius: 40px; overflow: hidden; background: linear-gradient(180deg, #ffffff, #f3f7fb); min-height: 612px; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 999px; background: var(--navy); z-index: 5; }
.ui { padding: 38px 18px 22px; }
.ui-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ui-hi { font-size: 13px; color: var(--ink-3); }
.ui-hi strong { display: block; font-size: 17px; color: var(--navy); font-weight: 600; }
.ui-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--cian), var(--cian-2)); display: grid; place-items: center; color: var(--navy); font-weight: 700; font-size: 15px; }
.ui-map { position: relative; height: 196px; border-radius: 22px; overflow: hidden; background: #0c1c33; border: 1px solid var(--line); }
.ui-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,40,.02), rgba(10,22,40,.18)); }
.ui-pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 3; width: 16px; height: 16px; border-radius: 50%; background: var(--cian); border: 3px solid #fff; box-shadow: 0 0 0 9px rgba(0, 207, 255, .18); }
.ui-pin::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid rgba(0, 207, 255, .5); animation: ping 1.9s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.ui-status { position: absolute; left: 12px; bottom: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.95); font-size: 11px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-xs); }
.ui-status .live { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.ui-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.ui-q { display: grid; gap: 6px; justify-items: center; padding: 12px 6px; border-radius: 16px; background: var(--cian-mist); border: 1px solid var(--line-soft); }
.ui-q svg { width: 20px; height: 20px; color: var(--cian-deep); }
.ui-q span { font-size: 11px; font-weight: 600; color: var(--navy); }
.ui-row { display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ui-row + .ui-row { margin-top: 9px; }
.ui-ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--cian-soft); color: var(--cian-deep); }
.ui-ic svg { width: 19px; height: 19px; }
.ui-row .t { flex: 1; }
.ui-row .t strong { display: block; font-size: 13.5px; font-weight: 600; }
.ui-row .t span { display: block; font-size: 11.5px; color: var(--ink-3); }
.ui-badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.ui-badge.ok { background: rgba(16,185,129,.12); color: #047857; }
.ui-badge.soon { background: rgba(245,158,11,.14); color: #b45309; }
.ui-toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--cian); position: relative; }
.ui-toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.chip-float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; color: var(--navy); }
.chip-float svg { width: 18px; height: 18px; color: var(--cian-deep); }
.chip-a { top: 54px; left: -6px; }
.chip-b { bottom: 92px; right: -10px; }

/* ---------- Tira de valor ---------- */
.valuebar { background: var(--navy); }
.valuebar .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 34px 0; }
.vb { display: flex; align-items: center; gap: 14px; color: var(--bg); }
.vb-ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 207, 255, .14); color: var(--cian); }
.vb-ic svg { width: 23px; height: 23px; }
.vb strong { display: block; font-size: 16px; font-weight: 600; }
.vb span { display: block; font-size: 14px; color: rgba(250, 250, 247, .66); margin-top: 2px; }
.vb-div { width: 1px; background: rgba(250, 250, 247, .12); }

/* ---------- Pasos (cómo funciona) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.step-n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--navy); color: var(--cian); font-family: var(--font-mono); font-weight: 600; font-size: 17px; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.step-arrow { position: absolute; top: 44px; right: -13px; z-index: 2; color: var(--line-cian); }
.step-arrow svg { width: 22px; height: 22px; color: var(--cian); }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-cian); }
.benefit-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(150deg, var(--cian-soft), var(--cian-mist)); color: var(--cian-deep); }
.benefit-ic svg { width: 26px; height: 26px; }
.benefit h3 { margin: 0 0 9px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.benefit p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ---------- Showcase App ---------- */
.app-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.app-copy h2 { margin: 16px 0 16px; font-size: clamp(28px, 3.8vw, 42px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
.app-copy > p { margin: 0 0 26px; color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 520px; }
.app-list { display: grid; gap: 16px; margin: 0 0 30px; }
.app-li { display: flex; gap: 14px; align-items: flex-start; }
.app-li-ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cian-soft); color: var(--cian-deep); }
.app-li-ic svg { width: 20px; height: 20px; }
.app-li strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.app-li span { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.app-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.app-visual .blob { width: 420px; height: 420px; }

/* ---------- Para quién es ---------- */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona { position: relative; overflow: hidden; padding: 32px; border-radius: 26px; color: var(--bg); background: linear-gradient(165deg, #12243f, var(--navy)); box-shadow: var(--shadow-sm); }
.persona::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(0,207,255,.22), transparent 70%); }
.persona-ic { position: relative; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(0,207,255,.14); color: var(--cian); }
.persona-ic svg { width: 25px; height: 25px; }
.persona h3 { position: relative; margin: 0 0 9px; font-size: 20px; font-weight: 600; }
.persona p { position: relative; margin: 0; color: rgba(250, 250, 247, .72); font-size: 15px; line-height: 1.6; }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 34px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); overflow: hidden; }
.plan.featured { border: 1.5px solid var(--cian); box-shadow: var(--shadow-sm); }
.plan.out-of-stock { opacity: .72; filter: grayscale(.32); }
.plan-tag { position: absolute; top: 22px; right: 22px; z-index: 3; padding: 6px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.plan-tag.ok { background: rgba(16,185,129,.12); color: #047857; border: 1px solid rgba(16,185,129,.3); }
.plan-tag.soon { background: rgba(245,158,11,.12); color: #b45309; border: 1px solid rgba(245,158,11,.3); }
.plan h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.plan-desc { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 90%; }
.price { display: flex; align-items: flex-end; gap: 6px; }
.price strong { font-size: 48px; font-weight: 600; line-height: .9; letter-spacing: -0.035em; }
.price span { color: var(--ink-3); font-weight: 500; padding-bottom: 7px; }
.install { display: inline-flex; width: fit-content; padding: 7px 13px; border-radius: 999px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.32); color: #b45309; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.plan li svg { flex: 0 0 auto; margin-top: 1px; width: 19px; height: 19px; color: var(--cian-deep); }
.plan .btn { width: 100%; margin-top: auto; }
.btn:disabled, .plan.out-of-stock .btn { cursor: not-allowed; transform: none !important; box-shadow: none !important; background: #e2e8f0 !important; color: #94a3b8 !important; }
.plans-note { text-align: center; margin: 26px auto 0; color: var(--ink-3); font-size: 14px; }

/* ---------- Confianza ---------- */
.trust { background: var(--cian-mist); }
.trust-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.trust-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-card { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.trust-card-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: var(--cian-soft); color: var(--cian-deep); }
.trust-card-ic svg { width: 21px; height: 21px; }
.trust-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.trust-card p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.trust-pay { margin-top: 22px; display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.trust-pay span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.trust-pay img { height: 30px; width: auto; }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.quote-stars { color: var(--cian); letter-spacing: 2px; font-size: 15px; margin-bottom: 14px; }
.quote p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--navy); }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--cian-soft), var(--cian)); display: grid; place-items: center; color: var(--navy); font-weight: 700; font-size: 15px; }
.quote-who strong { display: block; font-size: 14px; font-weight: 600; }
.quote-who span { display: block; font-size: 13px; color: var(--ink-3); }

/* ---------- FAQ (acordeón nativo) ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-xs); overflow: hidden; }
.faq details[open] { border-color: var(--line-cian); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 16.5px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cian-soft); color: var(--cian-deep); transition: transform .2s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq summary .ic svg { width: 15px; height: 15px; }
.faq p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ---------- Inscripción / formulario ---------- */
.signup { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: start; }
.signup-info { position: sticky; top: 94px; padding: 36px; border-radius: 28px; color: var(--bg); background: linear-gradient(165deg, #12243f, var(--navy)); box-shadow: var(--shadow-sm); overflow: hidden; }
.signup-info::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(0,207,255,.2), transparent 70%); }
.signup-info .kicker { color: var(--cian); margin-bottom: 14px; position: relative; }
.signup-info h2 { position: relative; margin: 0 0 14px; font-size: 32px; font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
.signup-info > p { position: relative; margin: 0 0 26px; color: rgba(250, 250, 247, .76); font-size: 15.5px; line-height: 1.6; }
.mini-steps { position: relative; display: grid; gap: 14px; }
.mini-step { display: flex; gap: 13px; align-items: flex-start; }
.mini-step .n { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cian); color: var(--navy); font-family: var(--font-mono); font-weight: 600; font-size: 13px; }
.mini-step strong { display: block; font-size: 15px; font-weight: 600; }
.mini-step span { display: block; font-size: 13.5px; color: rgba(250, 250, 247, .68); }
.form-box { padding: 34px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.form-head h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.form-head p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.secure-note { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.28); color: #047857; font-family: var(--font-mono); font-size: 11px; font-weight: 500; white-space: nowrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--navy); font-size: 13px; font-weight: 500; }
input, select { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 13px; padding: 0 15px; outline: none; background: var(--bg); color: var(--navy); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
input::placeholder { color: var(--ink-3); }
input:focus, select:focus { border-color: var(--cian-deep); background: var(--surface); box-shadow: 0 0 0 3px rgba(3, 105, 161, .12); }
.hidden { display: none !important; }
.alert { display: none; margin-bottom: 15px; padding: 14px 15px; border-radius: 13px; font-size: 14px; font-weight: 500; line-height: 1.45; }
.alert.ok { display: block; color: #047857; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.28); }
.alert.error { display: block; color: #b91c1c; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.28); }
.alert.info { display: block; color: var(--cian-deep); background: var(--cian-soft); border: 1px solid var(--line-cian); }
.terms-box { margin: 20px 0; padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.terms-box h4 { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.terms-list { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.terms-check { margin-top: 14px; display: flex; gap: 11px; align-items: flex-start; color: var(--navy); font-size: 13px; line-height: 1.5; font-weight: 500; }
.terms-check input { width: 18px; height: 18px; min-height: 18px; margin-top: 1px; accent-color: var(--cian-deep); }
.pay-brand { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pay-brand span { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.pay-brand img { height: 28px; width: auto; }

/* ---------- Cabecera de página interior ---------- */
.page-head { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cian-mist), var(--bg)); }
.page-head-inner { padding: 48px 0 36px; }
.page-head h1 { margin: 16px 0 12px; font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; }
.page-head p { margin: 0; max-width: 560px; color: var(--ink-2); font-size: 18px; line-height: 1.55; }

/* ---------- Banda destacada (validez legal de documentos) ---------- */
.lawband { position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; padding: 32px 36px; border-radius: 26px; color: var(--bg); background: linear-gradient(135deg, #12243f, var(--navy)); box-shadow: var(--shadow-sm); }
.lawband::after { content: ""; position: absolute; right: -40px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(0,207,255,.22), transparent 70%); }
.lawband-ic { position: relative; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(0,207,255,.16); color: var(--cian); }
.lawband-ic svg { width: 28px; height: 28px; }
.lawband-tx { position: relative; flex: 1; }
.lawband-tx h3 { margin: 0 0 7px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.lawband-tx p { margin: 0; color: rgba(250,250,247,.8); font-size: 15.5px; line-height: 1.55; }
.lawband .btn { position: relative; flex: 0 0 auto; }
@media (max-width: 860px) { .lawband { flex-direction: column; align-items: flex-start; } .lawband .btn { width: 100%; } }

/* ---------- Formulario: marcas de obligatorio / opcional ---------- */
.req { color: var(--danger); font-weight: 600; }
.opt { color: var(--ink-3); font-weight: 400; }
.form-legend { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 11px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.form-legend .req { font-size: 15px; }
.signup-info .trust-pay { width: 100%; justify-content: space-between; box-shadow: none; }
.signup-info .trust-pay img { height: 44px; }
.pay-brand img { height: 42px; }

/* ---------- Páginas de contenido (legal / soporte) ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-lead { margin: 0 0 28px; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.article > section { margin-bottom: 30px; }
.article h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.article p { margin: 0 0 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.article ul { margin: 0 0 12px; padding-left: 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.article li { margin-bottom: 6px; }
.article a { color: var(--cian-deep); font-weight: 500; }
.article a:hover { text-decoration: underline; }
.note-card { margin-top: 8px; padding: 20px 22px; border-radius: 18px; background: var(--cian-mist); border: 1px solid var(--line-cian); }
.note-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--cian-deep); }
.note-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.updated { margin-top: 20px; color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; }
.legal-nav { display: flex; gap: 10px; flex-wrap: wrap; max-width: 760px; margin: 36px auto 0; }
.legal-nav a { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.legal-nav a:hover { border-color: var(--line-cian); color: var(--cian-deep); }
.legal-nav a.active { background: var(--navy); color: var(--bg); border-color: var(--navy); }

/* ---------- Soporte: filas de contacto ---------- */
.support-rows { display: grid; gap: 14px; max-width: 760px; margin: 0 auto 28px; }
.support-row { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.support-row .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--cian-soft); color: var(--cian-deep); }
.support-row .ic svg { width: 22px; height: 22px; }
.support-row .tx { min-width: 0; }
.support-row strong { display: block; font-size: 16px; font-weight: 600; }
.support-row span { display: block; color: var(--ink-3); font-size: 13.5px; }
.support-row .go { margin-left: auto; color: var(--cian-deep); font-weight: 600; font-size: 14px; white-space: nowrap; }

/* ---------- App: guía de instalación ---------- */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.guide-card { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.guide-card > h3 { margin: 0 0 18px; font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.guide-card .os { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--cian-soft); color: var(--cian-deep); }
.guide-step { display: flex; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); }
.guide-step:first-of-type { border-top: 0; padding-top: 0; }
.guide-step .n { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--cian); font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.guide-step strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.guide-step span { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 720px) { .guide-grid { grid-template-columns: 1fr; } }
.os-switch-wrap { text-align: center; margin-bottom: 28px; }
.os-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.os-switch button { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .15s ease, color .15s ease; }
.os-switch button svg { width: 18px; height: 18px; }
.os-switch button[aria-selected="true"] { background: var(--navy); color: var(--bg); }
.os-panel { max-width: 620px; margin: 0 auto; }
.os-panel[hidden] { display: none; }
.os-panel .note-card { margin-top: 16px; }
@media (max-width: 460px) { .os-switch button { padding: 11px 16px; } }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(160deg, #12243f 0%, var(--navy) 100%); color: var(--bg); }
.cta::after { content: ""; position: absolute; right: -8%; top: -30%; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(0,207,255,.22), transparent 65%); }
.cta-inner { position: relative; text-align: center; padding: 84px 0; }
.cta-inner h2 { margin: 0 auto 16px; max-width: 720px; font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
.cta-inner p { margin: 0 auto 32px; max-width: 540px; color: rgba(250, 250, 247, .78); font-size: 18px; line-height: 1.55; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 36px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin: 16px 0 0; max-width: 260px; color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.footer h4 { margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--navy); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { color: var(--ink-2); font-size: 14px; transition: color .15s ease; }
.footer a:hover { color: var(--cian-deep); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom p { margin: 0; color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .app-section, .trust-grid, .signup { grid-template-columns: 1fr; }
  .hero-inner { gap: 40px; padding: 40px 0 56px; }
  .hero-visual, .app-visual { min-height: auto; order: -1; }
  .steps, .benefits, .personas, .quotes { grid-template-columns: 1fr 1fr; }
  .valuebar .grid { grid-template-columns: 1fr; gap: 18px; }
  .vb-div { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .signup-info { position: static; }
  .step-arrow { display: none; }
  .nav-links .nav-link { display: none; }
}
@media (max-width: 620px) {
  :root { --container: min(100% - 32px, 1180px); }
  .section { padding: 60px 0; }
  .steps, .benefits, .personas, .quotes, .plans, .trust-cards, .grid2, .footer-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .hero h1 { font-size: 40px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .chip-a, .chip-b { display: none; }
  .form-box, .signup-info, .plan { padding: 24px; }
  .form-head { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ui-pin::after { animation: none; }
}
