/* =====================================================================
   AND Local Ads — Diseño propio v2
   Tipografía: Sora (títulos) + DM Sans (texto). Paleta: azul + amarillo.
   Tema oscuro por defecto (.dark en <html>), tema claro sin la clase.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font-head: "Sora", "DM Sans", system-ui, sans-serif;
  --font-sans: "DM Sans", "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Escalas (nombres conservados: los usan los paneles) */
  --emerald-50: #eff6ff; --emerald-100: #dbeafe; --emerald-200: #bfdbfe; --emerald-300: #93c5fd;
  --emerald-400: #60a5fa; --emerald-500: #3b82f6; --emerald-600: #2563eb; --emerald-700: #1d4ed8;
  --emerald-800: #1e40af; --emerald-900: #1e3a8a;
  --yellow-100: #fef9c3; --yellow-200: #fef08a; --yellow-300: #fde047; --yellow-400: #facc15; --yellow-500: #eab308; --yellow-600: #ca8a04;
  --red-50: #fef2f2; --red-100: #ffe2e2; --red-200: #ffcaca; --red-300: #ffa3a3; --red-400: #ff6568;
  --red-500: #fb2c36; --red-600: #e40014; --red-700: #bf000f; --red-800: #9f0712; --red-900: #82181a;
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cad5e2; --slate-400: #90a1b9;
  --slate-500: #62748e; --slate-600: #45556c; --slate-700: #314158; --slate-800: #1d293d; --slate-900: #0f172b; --slate-950: #020618;

  /* Tema claro */
  --background: #f5f7fb;
  --foreground: #0b1020;
  --text-main: #0b1020;
  --text-soft: #4b5670;
  --surface: #ffffff;
  --surface-2: #eef2fa;
  --border: #dfe5f0;
  --primary: #2563eb;
  --primary-deep: #1e3a8a;
  --accent: #facc15;
  --accent-ink: #0b1020;
  --shadow: 0 20px 50px -20px rgba(15,23,43,.25);

  /* Componentes */
  --card-bg: #ffffff;
  --card-border: #dfe5f0;
  --muted: #4b5670;
  --input-bg: #ffffff;
  --input-border: #cfd8e6;
  --range-track: #dbe3f0;
  --bad: #dc2626; --bad-bg: #fff1f1; --bad-border: #ffd5d5; --bad-soft: #ffe4e4;
  --good: #2563eb; --good-bg: #eef4ff; --good-border: #bfd3ff; --good-soft: #dbe7ff;
  --mock-bg: #ffffff; --mock-border: #dfe5f0; --mock-line: #dfe5f0; --mock-soft: #eef2fa; --mock-canvas: #f3f6fc;
  --divider: #e6eaf2;
  --nav-bg: rgba(245,247,251,.85);
  --billing-bg: #0b1020;
  --footer-link: #4b5670;
}
html.dark {
  --background: #0b1020;
  --foreground: #eef1f8;
  --text-main: #eef1f8;
  --text-soft: #a3adc2;
  --surface: #121a2f;
  --surface-2: #17203a;
  --border: rgba(255,255,255,.08);
  --primary: #3b82f6;
  --primary-deep: #93c5fd;
  --accent: #facc15;
  --accent-ink: #0b1020;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.7);

  --card-bg: #121a2f;
  --card-border: rgba(255,255,255,.08);
  --muted: #a3adc2;
  --input-bg: #0b1020;
  --input-border: rgba(255,255,255,.12);
  --range-track: #263252;
  --bad: #ff6568; --bad-bg: rgba(130,24,26,.14); --bad-border: rgba(255,101,104,.3); --bad-soft: rgba(130,24,26,.35);
  --good: #60a5fa; --good-bg: rgba(37,99,235,.12); --good-border: rgba(96,165,250,.35); --good-soft: rgba(37,99,235,.25);
  --mock-bg: #1d293d; --mock-border: #314158; --mock-line: #45556c; --mock-soft: #314158; --mock-canvas: #0f172b;
  --divider: rgba(255,255,255,.07);
  --nav-bg: rgba(11,16,32,.8);
  --billing-bg: #101a3a;
  --footer-link: #a3adc2;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; font-family: var(--font-sans); background: var(--background); color: var(--text-main); -webkit-font-smoothing: antialiased; transition: background-color .3s, color .3s; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: 1.25rem; }
.only-dark { display: none; }
html.dark .only-dark { display: block; }
html.dark .only-light { display: none; }
.text-accent { color: var(--yellow-600); }
html.dark .text-accent { color: var(--accent); }
h1, h2, h3, .hcard__big, .savings__value, .ccard__total strong, .step__num { font-family: var(--font-head); }

/* ---------- Eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .6rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--surface); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1rem; }
.eyebrow i { width: 8px; height: 8px; border-radius: 9999px; background: var(--accent); box-shadow: 0 0 0 4px rgba(250,204,21,.2); }
.eyebrow--light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #dbe4ff; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: .9rem; border: 1px solid transparent; font-weight: 700; font-size: .95rem; transition: transform .15s, box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(37,99,235,.7); }
.btn--primary:hover { background: var(--emerald-700); }
html.dark .btn--primary:hover { background: var(--emerald-400); color: #0b1020; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -10px rgba(250,204,21,.7); }
.btn--accent:hover { background: var(--yellow-300); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text-main); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1.02rem; border-radius: 1rem; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; border-radius: .7rem; }
.btn--block { width: 100%; padding: 1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Navegación superior ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: var(--nav-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--divider); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.nav__brand img { height: 42px; width: auto; }
.nav__links { display: none; gap: .25rem; margin-inline: auto; }
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__link { padding: .5rem .9rem; border-radius: .7rem; font-size: .9rem; font-weight: 600; color: var(--text-soft); transition: all .2s; }
.nav__link:hover { color: var(--text-main); background: var(--surface-2); }
.nav__link.is-active { color: var(--primary); background: rgba(37,99,235,.1); }
.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.nav__actions .btn--ghost { display: none; }
@media (min-width: 640px) { .nav__actions .btn--ghost { display: inline-flex; } }
.theme-toggle { width: 38px; height: 38px; border-radius: .7rem; border: 1px solid var(--border); background: var(--surface); color: var(--text-main); display: grid; place-items: center; }
.theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-moon { display: block; }
html.dark .theme-toggle .icon-sun { display: none; }
.topbar { position: fixed; top: 1rem; right: 1.25rem; z-index: 60; }
.topbar--landing { top: 2rem; right: 2rem; }
.topbar--landing .theme-toggle { width: 44px; height: 44px; border-radius: 9999px; box-shadow: var(--shadow); }

/* ---------- Aparición ---------- */
.reveal { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.reveal--up { transform: translateY(28px); }
.reveal--zoom { transform: scale(.96); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Encabezados ---------- */
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head__title { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.section-head__title--sm { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.section-head__text { margin-top: 1rem; font-size: 1.1rem; line-height: 1.65; color: var(--text-soft); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: 3.5rem 0 2rem; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 4.5rem 0 2.5rem; } }
.hero__bg { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(37,99,235,.14) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.blob { position: absolute; border-radius: 9999px; filter: blur(90px); opacity: .55; }
.blob--blue { width: 520px; height: 520px; top: -160px; right: -120px; background: #3b82f6; }
.blob--yellow { width: 380px; height: 380px; bottom: -160px; left: -120px; background: #facc15; opacity: .35; }
.hero__logo { position: absolute; top: 1.25rem; left: 1.5rem; z-index: 5; display: block; transition: transform .2s; }
.hero__logo:hover { transform: translateY(-2px); }
.hero__logo img { height: 92px; width: auto; display: block; }
@media (min-width: 900px) and (max-width: 1199px) { .hero__logo { top: 1rem; right: 1.5rem; left: auto; } .hero__logo img { height: 80px; } .hero { padding-top: 4.5rem; } }
@media (max-width: 899px) { .hero { padding-top: 4.5rem; } .hero__logo { top: 5.5rem; right: 1.25rem; left: auto; } .hero__logo img { height: 72px; } .hero__title { padding-right: 5.5rem; font-size: clamp(2.3rem, 7vw, 4.6rem); } }
@media (min-width: 1200px) { .hero__logo { top: 0; left: 1.25rem; } .hero__logo img { height: 100px; } .hero { padding-top: 4.5rem; } .hero__grid { padding-left: 10.5rem; } }
.hero__grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin-top: .25rem; }
.hero__accent { color: var(--primary); }
html.dark .hero__accent { background: linear-gradient(90deg, #93c5fd, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle { margin-top: 1.25rem; font-size: 1.15rem; line-height: 1.65; color: var(--text-soft); max-width: 36rem; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__facts { margin-top: 2.25rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--text-main); }
.hero__facts span { font-size: .8rem; color: var(--text-soft); }

/* Tarjeta flotante */
.hero__visual { position: relative; max-width: 27rem; margin-inline: auto; }
.hcard { position: relative; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 1.5rem; padding: 1.15rem 1.25rem; box-shadow: var(--shadow); }
.hcard::before { content: ""; position: absolute; inset: -1px; border-radius: 1.5rem; padding: 1px; background: linear-gradient(135deg, rgba(59,130,246,.6), transparent 40%, rgba(250,204,21,.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hcard__head { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; color: var(--text-soft); }
.hcard__dot { width: 8px; height: 8px; border-radius: 9999px; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hcard__tag { margin-left: auto; padding: .2rem .55rem; border-radius: 9999px; background: rgba(37,99,235,.12); color: var(--primary); font-size: .68rem; font-weight: 700; }
.hcard__big { margin-top: .6rem; font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: baseline; gap: .5rem; }
.hcard__big small { font-family: var(--font-sans); font-size: .85rem; font-weight: 600; color: var(--text-soft); }
.hcard__rows { margin-top: .7rem; display: grid; gap: .35rem; font-size: .85rem; }
.hcard__rows div { display: flex; justify-content: space-between; padding: .4rem .7rem; border-radius: .6rem; background: var(--surface-2); }
.hcard__rows span { color: var(--text-soft); }
.hcard__rows .is-bad { color: var(--bad); }
.hcard__rows .is-good { color: var(--good); }
.hcard__bar { margin-top: .7rem; height: 8px; border-radius: 4px; background: var(--range-track); overflow: hidden; }
.hcard__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; }
.hcard__foot { margin-top: .5rem; font-size: .8rem; color: var(--text-soft); }
.hcard__foot strong { color: var(--text-main); }
.hfloat { position: absolute; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .85rem; border-radius: .8rem; background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; animation: floatY 5s ease-in-out infinite; }
.hfloat--a { top: -1rem; left: -1.5rem; color: #16a34a; }
.hfloat--b { bottom: -1rem; right: -1rem; animation-delay: -2.5s; color: var(--text-soft); }
.hfloat--b span { color: var(--primary); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 480px) { .hfloat--a { left: 0; } .hfloat--b { right: 0; } }

/* =====================================================================
   PLATAFORMAS
   ===================================================================== */
.platforms { border-block: 1px solid var(--divider); background: var(--surface); }
html.dark .platforms { background: rgba(255,255,255,.02); }
.platforms__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.25rem 1.25rem; }
.platforms__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-soft); }
.platforms__logos { display: flex; flex-wrap: wrap; gap: .6rem; margin-left: auto; }
.chip { display: inline-flex; align-items: center; height: 44px; padding: 0 1rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--surface-2); transition: border-color .2s, transform .2s; }
.chip:hover { border-color: var(--primary); transform: translateY(-2px); }
.chip img { height: 20px; width: auto; }
html:not(.dark) .chip img { filter: brightness(0); opacity: .8; }

/* =====================================================================
   EMPRESAS · calculadora
   ===================================================================== */
.companies { padding: 2.5rem 0 3rem; }
.calc { display: grid; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 1000px) { .calc { grid-template-columns: 22rem 1fr; align-items: start; } }
.calc__side { position: sticky; top: 90px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 1.5rem; padding: 1.5rem; box-shadow: var(--shadow); }
@media (max-width: 999px) { .calc__side { position: static; } }
.calc__side h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.calc__side > p { margin-top: .35rem; font-size: .9rem; color: var(--text-soft); }
.calc__input { margin-top: 1.5rem; }
.calc__input > label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); margin-bottom: .6rem; }
.calc__number-wrap { display: flex; align-items: center; gap: .25rem; border: 1px solid var(--input-border); border-radius: 1rem; background: var(--input-bg); padding: .25rem 1rem; transition: border-color .2s, box-shadow .2s; }
.calc__number-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.calc__currency { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--text-soft); }
#investInput { flex: 1; min-width: 0; background: transparent; border: 0; font: inherit; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; color: var(--text-main); padding: .35rem 0; outline: none; -moz-appearance: textfield; }
#investInput::-webkit-outer-spin-button, #investInput::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#investRange { --pct: 9%; width: 100%; height: 12px; margin-top: 1rem; border-radius: 9999px; appearance: none; cursor: pointer; outline: none; border: 1px solid rgba(37,99,235,.25); background: linear-gradient(to right, var(--emerald-600) 0%, var(--emerald-500) var(--pct), var(--range-track) var(--pct), var(--range-track) 100%); }
#investRange:focus-visible { box-shadow: 0 0 0 4px rgba(37,99,235,.25); }
#investRange::-webkit-slider-thumb { appearance: none; width: 26px; height: 26px; border-radius: 9999px; background: var(--emerald-600); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(0,0,0,.25); cursor: grab; transition: transform .15s; }
#investRange::-webkit-slider-thumb:hover { transform: scale(1.1); }
#investRange::-moz-range-thumb { width: 26px; height: 26px; border-radius: 9999px; background: var(--emerald-600); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(0,0,0,.25); cursor: grab; }
.calc__range-labels { display: flex; justify-content: space-between; margin-top: .5rem; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--text-soft); }
.calc__presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-top: .9rem; }
.calc__presets button { padding: .5rem .25rem; border-radius: .6rem; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-soft); font-size: .8rem; font-weight: 700; transition: all .15s; }
.calc__presets button:hover { border-color: var(--primary); color: var(--primary); }
.calc__presets button.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Resumen de ahorro (en la barra lateral) */
.savings { margin-top: 1.5rem; border-radius: 1.25rem; padding: 1.25rem; color: #fff; background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%); position: relative; overflow: hidden; }
.savings::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 9999px; background: rgba(250,204,21,.25); filter: blur(30px); }
.savings h5 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.75); }
.savings__row { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; position: relative; }
.savings__value { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: .2rem; }
.savings__value--big { font-size: 2.3rem; color: var(--accent); }
.savings__chip { font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 9999px; background: rgba(255,255,255,.16); white-space: nowrap; }
.savings__year { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.18); position: relative; }
.savings__note { margin-top: 1rem; display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; line-height: 1.4; color: rgba(255,255,255,.9); position: relative; }
.savings__note svg { flex-shrink: 0; color: var(--accent); }
.savings__note strong { color: var(--accent); }

/* Comparativa */
.calc__main { display: flex; flex-direction: column; gap: 1.5rem; }
.compare { display: grid; gap: 1rem; position: relative; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.compare__vs { display: none; align-items: center; }
@media (min-width: 720px) { .compare__vs { display: flex; } }
.compare__vs span { width: 44px; height: 44px; border-radius: 9999px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--text-soft); box-shadow: var(--shadow); }
.ccard { position: relative; display: flex; flex-direction: column; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 1.5rem; padding: 1.5rem; overflow: hidden; }
.ccard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.ccard--bad::before { background: linear-gradient(90deg, #ef4444, #f97316); }
.ccard--good::before { background: linear-gradient(90deg, #2563eb, #facc15); }
.ccard--good { border-color: var(--good-border); box-shadow: 0 0 0 4px rgba(37,99,235,.06); }
.ccard__badge { position: absolute; top: 1rem; right: 1rem; padding: .3rem .65rem; border-radius: 9999px; background: var(--accent); color: var(--accent-ink); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ccard__head { display: flex; gap: .85rem; align-items: center; margin-bottom: 1.25rem; padding-right: 5rem; }
.ccard__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: .9rem; display: grid; place-items: center; }
.ccard--bad .ccard__icon { background: var(--bad-soft); color: var(--bad); }
.ccard--good .ccard__icon { background: var(--good-soft); color: var(--good); }
.ccard__head h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; }
.ccard__head p { font-size: .8rem; color: var(--text-soft); margin-top: .1rem; }
.ccard__rows { display: flex; flex-direction: column; gap: .55rem; }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; font-size: .9rem; color: var(--text-soft); }
.row > span:last-child { color: var(--text-main); font-weight: 600; font-variant-numeric: tabular-nums; }
.row small { display: block; font-size: .7rem; color: var(--text-soft); margin-top: .1rem; }
.row--sub { padding-top: .55rem; border-top: 1px dashed var(--border); }
.row--accent > span { color: var(--yellow-600); font-weight: 700; }
html.dark .row--accent > span { color: var(--accent); }
.tag { display: inline-block !important; margin-top: .25rem !important; padding: .15rem .5rem; border-radius: .4rem; background: rgba(37,99,235,.12); color: var(--primary) !important; font-weight: 700; font-size: .68rem !important; }
.callout { margin-top: .4rem; padding: .8rem .9rem; border-radius: .9rem; border: 1px solid; }
.callout__row { display: flex; justify-content: space-between; font-weight: 700; font-size: .88rem; }
.callout p { font-size: .75rem; margin-top: .2rem; opacity: .85; }
.callout--bad { background: var(--bad-bg); border-color: var(--bad-border); color: var(--bad); }
.callout--good { background: var(--good-bg); border-color: var(--good-border); color: var(--good); }
.ccard__total { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--divider); display: flex; justify-content: space-between; align-items: flex-end; margin-top: 1.25rem; }
.ccard__total span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); }
.ccard__total strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.ccard--bad .ccard__total strong { color: var(--bad); }
.ccard--good .ccard__total strong { color: var(--good); }

/* Formulario de leads */
.lead { display: grid; gap: 1.5rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 1.5rem; padding: 1.75rem; }
@media (min-width: 880px) { .lead { grid-template-columns: 1fr 1.4fr; gap: 2.5rem; padding: 2.25rem; } }
.lead__title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.lead__copy > p { margin-top: .75rem; color: var(--text-soft); line-height: 1.6; }
.lead__list { margin-top: 1.25rem; display: grid; gap: .6rem; }
.lead__list li { position: relative; padding-left: 1.75rem; font-size: .92rem; font-weight: 600; }
.lead__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 9999px; background: rgba(37,99,235,.12); color: var(--primary); font-size: .7rem; display: grid; place-items: center; }
.lead__form { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .lead__form { grid-template-columns: 1fr; } }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); margin-bottom: .45rem; }
.field input, .phone { width: 100%; font: inherit; font-size: .95rem; color: var(--text-main); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: .8rem; padding: .85rem 1rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .phone:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.field input[readonly] { background: var(--surface-2); color: var(--text-soft); font-weight: 600; cursor: not-allowed; }
.field__hint { font-size: .72rem; color: var(--text-soft); margin-top: .35rem; }
.phone { display: flex; padding: 0; overflow: hidden; }
.phone select { border: 0; border-right: 1px solid var(--input-border); background: var(--surface-2); color: var(--text-main); font: inherit; font-size: .8rem; padding: 0 .5rem; cursor: pointer; outline: none; }
.phone input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--text-main); padding: .85rem .9rem; outline: none; }
.consent { display: flex; align-items: flex-start; gap: .6rem; margin-top: .75rem; font-size: .78rem; color: var(--text-soft); cursor: pointer; }
.consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--primary); }
.lead__status { margin-top: .5rem; font-size: .88rem; font-weight: 700; color: #16a34a; min-height: 1.2rem; }
.lead__status.is-error { color: var(--bad); }

/* =====================================================================
   PROCESO · pasos en cuadrícula
   ===================================================================== */
.process { padding-top: 1rem; }
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(6, 1fr); }
.step { grid-column: span 6; position: relative; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 1.5rem; padding: .75rem; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
@media (min-width: 720px) { .step { grid-column: span 3; } }
@media (min-width: 1000px) { .step { grid-column: span 2; } .step--wide { grid-column: span 3; } }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37,99,235,.35); }
.step__text { padding: 1.1rem .75rem .6rem; }
.step__num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: .7rem; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 800; margin-bottom: .75rem; }
.step__text h4 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.step__text p { margin-top: .4rem; font-size: .9rem; line-height: 1.55; color: var(--text-soft); }
.process__cta { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.process__hint { font-size: .85rem; color: var(--text-soft); }

/* Ilustraciones SVG de los pasos */
.mock { position: relative; height: 13rem; border-radius: 1.1rem; background: var(--mock-canvas); border: 1px solid var(--divider); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mock::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(37,99,235,.12) 1px, transparent 1px); background-size: 18px 18px; }
.illo { position: relative; width: 100%; height: 100%; max-width: 22rem; }
.illo-surface { fill: var(--mock-bg); stroke: var(--mock-border); stroke-width: 1.5; }
.illo-field { fill: var(--mock-soft); }
.illo-line { fill: var(--mock-line); }
.illo-track { fill: var(--range-track); }
.illo-rule { stroke: var(--mock-line); stroke-width: 1; }
.illo-fold { stroke: var(--mock-border); stroke-width: 1.5; }
.illo-ink { fill: var(--text-main); }
.illo-muted { fill: var(--text-soft); }
.illo-mono { fill: var(--text-main); font-family: var(--font-mono); }
.illo-grid line { stroke: var(--mock-line); }
.illo-bars rect { fill: #3b82f6; opacity: .28; transform-origin: 50% 158px; transform: scaleY(0); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.illo-track-ring { stroke: var(--range-track); }
.illo-ring { stroke-dasharray: 239; stroke-dashoffset: 239; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1) .3s; }
.illo-linepath { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s ease .4s; }
.illo-area { opacity: 0; transition: opacity .8s ease 1.2s; }
.illo-rocket { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .4s ease 1.9s; }
.illo-pop { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1) 1.3s; }
.illo-stamp { transform-box: fill-box; transform-origin: center; transform: scale(2.2) rotate(8deg); opacity: 0; transition: transform .45s cubic-bezier(.2,.9,.3,1.2) .9s, opacity .3s ease .9s; }
.illo-doc { transform-box: fill-box; transform-origin: center; transform: translateY(14px); opacity: 0; transition: all .7s ease .15s; }
.illo-ghost { transition: opacity .6s ease .8s; }
.illo-card { transform-box: fill-box; transform-origin: center; transform: translateX(-18px); opacity: 0; transition: all .6s ease .1s; }
.illo-bank { transform-box: fill-box; transform-origin: center; transform: translateX(18px); opacity: 0; transition: all .6s ease .25s; }
.illo-coin { opacity: 0; transition: opacity .4s ease .7s; }
.illo-cursor { opacity: 0; transform: translate(230px, 60px); }
.illo-btn { transform-box: fill-box; transform-origin: center; }
.illo-platforms { opacity: 0; transition: opacity .6s ease 1.4s; }

.step.is-active .illo-bars rect { transform: scaleY(1); }
.step.is-active .illo-bars rect:nth-child(2) { transition-delay: .1s; } .step.is-active .illo-bars rect:nth-child(3) { transition-delay: .2s; } .step.is-active .illo-bars rect:nth-child(4) { transition-delay: .3s; } .step.is-active .illo-bars rect:nth-child(5) { transition-delay: .4s; } .step.is-active .illo-bars rect:nth-child(6) { transition-delay: .5s; } .step.is-active .illo-bars rect:nth-child(7) { transition-delay: .6s; }
.step.is-active .illo-ring { stroke-dashoffset: 0; }
.step.is-active .illo-linepath { stroke-dashoffset: 0; }
.step.is-active .illo-area { opacity: 1; }
.step.is-active .illo-rocket { opacity: 1; animation: illoRocket 2.4s ease-in-out 2.2s infinite; }
.step.is-active .illo-pop { transform: scale(1); }
.step.is-active .illo-stamp { transform: scale(1) rotate(0); opacity: 1; }
.step.is-active .illo-doc { transform: none; opacity: 1; }
.step.is-active .illo-ghost { opacity: .25; }
.step.is-active .illo-card, .step.is-active .illo-bank { transform: none; opacity: 1; }
.step.is-active .illo-coin { opacity: 1; }
.step.is-active .illo-cursor { animation: illoCursor 1.8s ease .3s forwards; }
.step.is-active .illo-btn { animation: illoPress .35s ease 1.15s; }
.step.is-active .illo-platforms { opacity: 1; }
@keyframes illoCursor { 0% { opacity: 0; transform: translate(230px,60px); } 25% { opacity: 1; } 70% { opacity: 1; transform: translate(150px,146px); } 100% { opacity: 0; transform: translate(150px,146px); } }
@keyframes illoPress { 0%, 100% { transform: scale(1); } 50% { transform: scale(.96); } }
@keyframes illoRocket { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(4px,-8px); } }
@media (prefers-reduced-motion: reduce) { .illo-bars rect, .illo-ring, .illo-linepath, .illo-area, .illo-rocket, .illo-pop, .illo-stamp, .illo-doc, .illo-card, .illo-bank, .illo-coin, .illo-platforms { transition: none; transform: none; opacity: 1; stroke-dashoffset: 0; } }

/* =====================================================================
   CLIENTES
   ===================================================================== */
.clients { padding: 3.5rem 0 2rem; overflow: hidden; }
.clients__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.clients__head .eyebrow { margin-bottom: 0; }
.clients__title { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
.marquee { position: relative; }
.marquee__fade { position: absolute; top: 0; bottom: 0; width: 8rem; z-index: 10; pointer-events: none; }
.marquee__fade--l { left: 0; background: linear-gradient(to right, var(--background), transparent); }
.marquee__fade--r { right: 0; background: linear-gradient(to left, var(--background), transparent); }
.marquee__track { display: flex; width: max-content; padding: .75rem 0; animation: clientMarquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 1rem; padding-right: 1rem; }
.client { flex-shrink: 0; display: flex; align-items: center; justify-content: center; height: 5rem; width: 10rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card-bg); transition: all .3s; }
.client:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.client.is-lit { background: #e4edff; border-color: #a8c5ff; box-shadow: 0 10px 24px -14px rgba(37,99,235,.35); }
.client.is-lit img { opacity: .9; }
html.dark .client.is-lit { background: rgba(59,130,246,.22); border-color: rgba(96,165,250,.45); box-shadow: 0 10px 24px -14px rgba(59,130,246,.5); }
html.dark .client.is-lit img { filter: none; opacity: .95; }
.client img { height: 2.75rem; width: auto; max-width: 80%; object-fit: contain; opacity: .55; transition: opacity .3s; user-select: none; }
.client:hover img { opacity: 1; }
html:not(.dark) .client img { filter: brightness(0); }
html.dark .client img { filter: grayscale(1); }
html.dark .client:hover img { filter: none; }
@keyframes clientMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================================
   FACTURAR · panel destacado
   ===================================================================== */
.billing { padding: 2rem 0 4rem; }
.billing__panel { position: relative; overflow: hidden; display: grid; gap: 2rem; padding: 2.5rem; border-radius: 2rem; background: var(--billing-bg); color: #fff; box-shadow: var(--shadow); }
@media (min-width: 900px) { .billing__panel { grid-template-columns: 1.1fr 1fr; padding: 3.5rem; gap: 3rem; align-items: center; } }
.billing__panel::before { content: ""; position: absolute; width: 480px; height: 480px; right: -180px; top: -200px; border-radius: 9999px; background: radial-gradient(circle, rgba(59,130,246,.55), transparent 65%); pointer-events: none; }
.billing__panel::after { content: ""; position: absolute; width: 360px; height: 360px; left: -140px; bottom: -200px; border-radius: 9999px; background: radial-gradient(circle, rgba(250,204,21,.35), transparent 65%); pointer-events: none; }
.billing__copy, .billing__steps { position: relative; }
.billing__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.billing__title span { color: var(--accent); }
.billing__copy > p { margin-top: 1rem; color: rgba(255,255,255,.78); line-height: 1.65; max-width: 32rem; }
.billing__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.billing__steps { display: grid; gap: 1rem; }
.billing__steps li { display: flex; gap: 1rem; padding: 1.25rem; border-radius: 1.25rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.billing__n { flex-shrink: 0; width: 40px; height: 40px; border-radius: .9rem; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--font-head); font-weight: 800; }
.billing__steps h3 { font-size: 1.05rem; font-weight: 800; }
.billing__steps p { margin-top: .35rem; font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.75); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { border-top: 1px solid var(--divider); padding: 3.5rem 0 2rem; background: var(--surface); }
html.dark .footer { background: #090d1a; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 48px; width: auto; }
.footer__brand p { margin-top: 1rem; font-size: .92rem; line-height: 1.6; color: var(--text-soft); max-width: 24rem; }
.footer__col { display: flex; flex-direction: column; gap: .6rem; }
.footer__col h4 { font-family: var(--font-head); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--text-main); margin-bottom: .25rem; }
.footer__col a { font-size: .92rem; color: var(--footer-link); transition: color .2s; }
.footer__col a:hover { color: var(--primary); }
.footer__cta { font-weight: 700; color: var(--primary) !important; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--divider); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .8rem; color: var(--text-soft); }
.footer__dev { display: inline-flex; align-items: center; gap: .6rem; opacity: .7; transition: opacity .2s; }
.footer__dev:hover { opacity: 1; }
.footer__dev span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.footer__dev img { height: 28px; width: auto; }

/* =====================================================================
   MODAL — Registro Corporativo
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,8,20,.7); backdrop-filter: blur(6px); animation: fadeIn .25s ease; }
.modal__dialog { position: relative; width: 100%; max-width: 30rem; max-height: calc(100vh - 2rem); overflow-y: auto; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow); animation: slideUp .3s ease; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 9999px; border: 1px solid var(--border); background: transparent; color: var(--text-soft); display: grid; place-items: center; transition: all .2s; }
.modal__close:hover { color: var(--text-main); border-color: var(--primary); }
body.modal-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.register__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; padding-right: 2.5rem; }
.register__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: .9rem; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 15px -3px rgba(37,99,235,.35); }
.register__head h3, .register__title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.register__head p { font-size: .875rem; color: var(--text-soft); margin-top: .125rem; }
.register__form { display: flex; flex-direction: column; gap: 1.05rem; }
.rfield label { display: block; font-size: .78rem; font-weight: 600; color: var(--text-soft); margin-bottom: .4rem; }
.rfield__wrap { position: relative; }
.rfield__icon { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: var(--slate-400); pointer-events: none; transition: color .2s; }
.rfield__wrap:focus-within .rfield__icon { color: var(--primary); }
.rfield input { width: 100%; font: inherit; font-size: .95rem; color: var(--text-main); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: .8rem; padding: .8rem 1rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.rfield__wrap .rfield__icon + input { padding-left: 2.6rem; }
.rfield input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.rfield input.is-invalid { border-color: var(--bad); }
.rfield input::placeholder { color: var(--slate-400); }
.register__terms { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: var(--text-soft); cursor: pointer; margin-top: .25rem; }
.register__terms input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--primary); }
.register__terms a { color: var(--yellow-600); font-weight: 600; }
html.dark .register__terms a { color: var(--accent); }
.register__terms a:hover { text-decoration: underline; }
.register__form .btn--block { margin-top: .5rem; }
.register__form .btn--block:disabled { background: var(--surface-2); color: var(--text-soft); border-color: var(--border); opacity: 1; box-shadow: none; }
.register__status { text-align: center; font-size: .875rem; font-weight: 700; color: #16a34a; min-height: 1.25rem; }
.register__status.is-error { color: var(--bad); }
.register__icon--wa { background: #25d366; box-shadow: 0 10px 15px -3px rgba(37,211,102,.35); }
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px -10px rgba(37,211,102,.8); }
.btn--wa:hover { background: #1ebe5b; }

/* =====================================================================
   AUTENTICACIÓN — login.html / registro.html
   ===================================================================== */
.auth-body { min-height: 100vh; }
.auth { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem; overflow: hidden; background-image: radial-gradient(rgba(37,99,235,.14) 1px, transparent 1px); background-size: 26px 26px; }
.auth__glow { position: absolute; width: 50%; height: 50%; border-radius: 9999px; filter: blur(120px); pointer-events: none; }
.auth__glow--a { top: -20%; left: 20%; background: rgba(37,99,235,.35); }
.auth__glow--b { bottom: -20%; right: 20%; background: rgba(250,204,21,.22); }
html:not(.dark) .auth__glow--a { background: rgba(37,99,235,.14); }
html:not(.dark) .auth__glow--b { background: rgba(250,204,21,.18); }
.auth__wrap { position: relative; z-index: 10; width: 100%; max-width: 28rem; animation: slideUp .4s ease; }
.auth__back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-size: .875rem; font-weight: 600; color: var(--text-soft); transition: color .2s; }
.auth__back:hover { color: var(--text-main); }
.auth__back svg { transition: transform .2s; }
.auth__back:hover svg { transform: translateX(-3px); }
.auth__card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow); }
.auth__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 2rem; }
.auth__logo { height: 5rem; width: auto; margin-bottom: 1.25rem; }
.auth__head h1 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.auth__head p { font-size: .875rem; color: var(--text-soft); margin-top: .25rem; }
.auth__form { display: flex; flex-direction: column; gap: 1.4rem; }
.auth__label { display: block; font-size: .78rem; font-weight: 600; color: var(--text-soft); margin-bottom: .6rem; }
.access { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.access__btn { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .8rem 1rem; border-radius: .9rem; border: 2px solid var(--input-border); background: transparent; color: var(--text-soft); font-size: .875rem; font-weight: 600; transition: all .2s; }
.access__btn:hover { border-color: var(--primary); }
.access__btn.is-active { border-color: var(--accent); background: rgba(37,99,235,.08); color: var(--primary); }
html.dark .access__btn.is-active { background: rgba(37,99,235,.2); color: #fff; }
.rfield input.has-eye { padding-right: 3rem; }
.rfield__eye { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: .25rem; color: var(--slate-400); display: grid; place-items: center; transition: color .2s; }
.rfield__eye:hover { color: var(--text-main); }
.rfield__eye .eye-closed { display: none; }
.rfield__eye.is-visible .eye-open { display: none; }
.rfield__eye.is-visible .eye-closed { display: block; }
.auth__forgot { text-align: right; margin-top: .5rem; }
.auth__forgot a { font-size: .75rem; color: var(--text-soft); transition: color .2s; }
.auth__forgot a:hover { color: var(--yellow-600); }
html.dark .auth__forgot a:hover { color: var(--accent); }
.auth__submit { width: 100%; margin-top: .25rem; padding: .95rem 1rem; border: 0; border-radius: .9rem; display: flex; align-items: center; justify-content: center; gap: .5rem; background: linear-gradient(to right, #1e3a8a, #3b82f6); color: #fff; font-weight: 700; font-size: .95rem; box-shadow: 0 10px 24px -10px rgba(37,99,235,.7); transition: box-shadow .3s, transform .15s, opacity .2s; }
.auth__submit:hover { box-shadow: 0 12px 28px -10px rgba(37,99,235,.9); }
.auth__submit:active { transform: scale(.99); }
.auth__submit:disabled { opacity: .7; cursor: wait; }
.auth__submit:hover .btn__arrow { transform: translateX(4px); }
.auth__foot { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--divider); text-align: center; display: flex; flex-direction: column; gap: 1rem; }
.auth__foot p { font-size: .875rem; color: var(--text-soft); }
.auth__foot a { font-weight: 700; color: var(--yellow-600); }
html.dark .auth__foot a { color: var(--accent); }
.auth__foot a:hover { text-decoration: underline; }
.auth__card .register__head { padding-right: 0; }

/* Hero en móvil: logo a la derecha junto al título, sin solaparse */
@media (max-width: 899px) {
  .hero .hero__title { font-size: clamp(2.1rem, 9vw, 3.2rem); padding-right: 5.5rem; }
  .hero .hero__logo { top: 1rem; right: 1.25rem; left: auto; }
  .hero .hero__logo img { height: 72px; }
}
@media (max-width: 480px) {
  .hero .hero__logo img { height: 60px; }
  .hero .hero__title { padding-right: 4.75rem; }
}
@media (max-width: 360px) {
  .hero .hero__logo { top: 2.75rem; }
  .hero .hero__title { font-size: 1.9rem; }
}

.footer__logo { height: 64px; width: auto; }
