/* =============================================================
   Selta — hoja de estilos única
   Archetype: 05 Mouse-Reactive Gradient (tech, adaptado a marca)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #07060e;
  --bg-1:      #0b0916;
  --bg-2:      #100d1f;
  --card:      #14112399;
  --card-solid:#14112a;
  --ink:       #f3f1fb;
  --ink-soft:  #cfccdf;
  --mute:      #8f8ba6;
  --line:      rgba(243, 241, 251, 0.1);
  --line-2:    rgba(243, 241, 251, 0.16);

  --accent-a:  #cfe4ff;
  --accent-b:  #b7c6ff;
  --accent-c:  #a888f5;
  --accent-d:  #6a4fe0;
  --grad-line: linear-gradient(90deg, var(--accent-a), var(--accent-b), var(--accent-c));

  --mx: 62%;
  --my: 34%;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  min-height: 100svh;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--display); color: var(--ink); font-weight: 600; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent-c); color: #0a0812; }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--bg);
  border-radius: 8px; font-weight: 600; font-size: .9rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.4rem;
}
.wrap-narrow { max-width: 760px; }

.mono { font-family: var(--mono); }

.kicker {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-b);
  margin-bottom: 1rem;
  display: inline-block;
}

em {
  font-style: normal;
  background: var(--grad-line);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =============================================================
   4. Typography — sections
   ============================================================= */
.section-title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  max-width: 20ch;
}
.section-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--mute);
  max-width: 56ch;
  margin-top: 1.1rem;
}
.section-head { margin-bottom: 3rem; }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: -0.01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), opacity .35s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent-a), var(--accent-c));
  color: #0a0812;
  box-shadow: 0 12px 30px -12px rgba(168, 136, 245, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(168, 136, 245, 0.7);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover {
  border-color: var(--accent-b);
  background: rgba(183, 198, 255, 0.06);
  transform: translateY(-2px);
}
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* --- Logo mark --- */
.logo-svg { width: 34px; height: auto; }
.logo-svg--splash { width: 64px; }
.logo-svg--footer { width: 40px; }

/* --- Reveal-on-scroll (base) --- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: elements combining .reveal + data-split must stay visible
   even if the split-text handler never runs (gotcha A.4.5) */
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .3s; }
}

/* =============================================================
   6. Global background layers
   ============================================================= */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(680px circle at var(--mx) var(--my), rgba(168, 136, 245, 0.24) 0%, transparent 60%),
    radial-gradient(900px circle at calc(100% - var(--mx)) calc(var(--my) + 20%), rgba(110, 231, 255, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
  transition: background .15s linear;
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(243,241,251,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,241,251,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1100px circle at 50% 0%, #000 0%, transparent 75%);
}
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}

/* =============================================================
   7. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity .6s var(--ease-out), visibility .6s;
  /* Safety net: hide automatically even if JS never runs */
  animation: splashSafety .01s 5.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }

.splash-mark { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.splash-word {
  font-family: var(--display); font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; font-size: 1.1rem; color: var(--ink);
  opacity: 0; animation: fadeUpSmall .7s .3s var(--ease-out) forwards;
}
@keyframes fadeUpSmall { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

.splash-logo-img {
  opacity: 0;
  transform: scale(.88);
  filter: blur(6px);
  animation: logoReveal .85s .05s var(--ease-out) forwards;
}
@keyframes logoReveal { to { opacity: 1; transform: scale(1); filter: blur(0); } }

/* =============================================================
   8. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 1.4rem;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), padding .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 6, 14, 0.75);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  padding-block: .85rem;
}
@supports not (backdrop-filter: blur(1px)) {
  .nav.is-scrolled { background: rgba(7, 6, 14, 0.96); }
}
.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-word { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }

.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: .93rem; color: var(--ink-soft); position: relative; padding-block: .3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--grad-line); transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-cta { display: none; }

.nav-burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; align-items: center;
}
.nav-burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); }
.nav-burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu-movil {
  position: fixed; inset: 64px 0 0 0; z-index: 190;
  background: rgba(7,6,14,0.98);
  flex-direction: column; gap: 0; padding: 1rem 1.4rem 2rem;
  overflow-y: auto;
}
.menu-movil:not([hidden]) { display: flex; }
.menu-movil[hidden] { display: none; }
.menu-movil a {
  padding: 1.05rem 0; font-size: 1.15rem; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.menu-movil-cta { color: var(--accent-b) !important; font-weight: 600; }
body.menu-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav { padding-inline: 2.2rem; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
}

/* =============================================================
   9. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 7.5rem 1.4rem 4rem;
  overflow: clip;
}
.hero-waves {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  opacity: .8;
}
@media (min-width: 720px) {
  .hero-waves { opacity: 1; }
}

.hero-code {
  position: absolute; top: 7rem; left: 1.4rem; z-index: -1;
  display: none;
  flex-direction: column; gap: .55rem;
  width: 220px;
  opacity: .5;
}
.hero-code-dots { display: flex; gap: 6px; margin-bottom: .4rem; }
.hero-code-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.cl {
  display: block; height: 7px; width: var(--w, 50%); border-radius: 4px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.cl-in { margin-left: 1.1rem; }
.cl-in2 { margin-left: 2.2rem; }
@media (min-width: 1180px) {
  .hero-code { display: flex; }
}

.hero-inner { max-width: 780px; position: relative; }

.hero-title {
  font-size: clamp(2.6rem, 7.4vw, 5.2rem);
  line-height: 0.98;
  text-wrap: balance;
  max-width: 16ch;
  margin-inline: auto;
}
.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-inline: auto;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  margin-top: 2.3rem;
  display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center;
}

.hero-mini {
  margin-top: 3.2rem;
  padding-top: 2.1rem;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center;
}
.hero-mini-label {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-b); margin-bottom: 1.2rem;
}
.hero-mini-list {
  display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center;
}
.hero-mini-list li {
  display: flex; align-items: center; gap: .65rem;
  font-size: .96rem; color: var(--ink-soft);
}
.hero-mini-list .check { flex-shrink: 0; }

.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .74rem; color: var(--mute); letter-spacing: .03em;
}
.hero-scroll span {
  width: 1px; height: 26px;
  background: linear-gradient(var(--accent-b), transparent);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100% { opacity: .2; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-scroll span { animation: none; opacity: .5; }
}

/* =============================================================
   10. Sections generic
   ============================================================= */
.section { position: relative; padding-block: 6rem; }
@media (min-width: 720px) { .section { padding-block: 8rem; } }

/* =============================================================
   11. La diferencia — comparación
   ============================================================= */
.compara {
  margin-top: 3rem;
  display: grid;
  gap: 1.4rem;
  position: relative;
}
.compara-col {
  border-radius: var(--radius-l);
  padding: 2.1rem 1.8rem;
  border: 1px solid var(--line);
}
.compara-col--sin {
  background: linear-gradient(160deg, rgba(248,113,113,0.07), transparent);
  border-color: rgba(248,113,113,0.2);
}
.compara-col--con {
  background: linear-gradient(160deg, rgba(74,222,128,0.1), rgba(74,222,128,0.02));
  border-color: rgba(74,222,128,0.28);
  box-shadow: 0 24px 60px -30px rgba(74,222,128,0.3);
}
.compara-tag {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--mute); margin-bottom: .8rem;
}
.compara-col--sin .compara-tag { color: #f87171; }
.compara-col--con .compara-tag { color: #4ade80; }
.compara-title { font-size: 1.35rem; margin-bottom: 1.4rem; max-width: none; }
.compara-list { display: flex; flex-direction: column; gap: .9rem; }
.compara-list li {
  position: relative; padding-left: 1.5rem; font-size: .96rem; color: var(--ink-soft);
}
.compara-col--sin .compara-list li::before {
  content: "×"; position: absolute; left: 0; top: -1px; color: #f87171; font-weight: 700;
}
.compara-col--con .compara-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; color: #4ade80; font-weight: 700;
}
.compara-vs {
  display: none;
}

@media (min-width: 860px) {
  .compara { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .compara-vs {
    display: flex; align-items: center; justify-content: center;
  }
  .compara-vs span {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line-2);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: .78rem; color: var(--mute);
    background: var(--bg);
  }
}

.statement {
  margin: 3.6rem 0;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.statement p {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.28rem, 2.8vw, 1.85rem);
  line-height: 1.42; color: var(--ink);
  max-width: 48ch; margin-inline: auto;
}
.statement em.neg {
  background: linear-gradient(90deg, #fca5a5, #f87171, #ef4444);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.cifras {
  margin-top: 3.2rem;
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cifra {
  padding: 1.6rem 1.4rem;
  border-top: 1px solid var(--line);
}
.cifra-num, .cifra-suf, .cifra p.cifra-why {
  font-family: var(--display); font-weight: 600; font-size: 2.6rem;
  background: var(--grad-line); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cifra-statement {
  margin-top: .6rem; font-size: .96rem; line-height: 1.5;
  color: var(--ink-soft); max-width: 26ch;
}
.cifra p { margin-top: .6rem; font-size: .88rem; color: var(--mute); max-width: 28ch; }

/* =============================================================
   12. Proceso
   ============================================================= */
.pasos {
  margin-top: 3rem;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.paso {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding-block: 2.1rem;
  border-bottom: 1px solid var(--line);
}
.paso-num {
  font-size: 1rem; color: var(--mute);
  padding-top: .2rem;
}
.paso-body h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.paso-body p { font-size: .96rem; max-width: 58ch; }

@media (min-width: 720px) {
  .paso { grid-template-columns: 90px 1fr; padding-block: 2.6rem; }
  .paso-num { font-size: 1.15rem; }
}

/* =============================================================
   13. Garantía
   ============================================================= */
.garantia-card {
  border-radius: var(--radius-l);
  border: 1px solid var(--line-2);
  background: linear-gradient(155deg, rgba(168,136,245,0.09), rgba(110,231,255,0.02) 55%, transparent);
  padding: 2.4rem 1.8rem;
  display: grid; gap: 2.6rem;
}
.garantia-list { display: flex; flex-direction: column; gap: 1.3rem; }
.garantia-list li { display: flex; gap: .9rem; align-items: flex-start; }
.check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-line);
  position: relative; margin-top: .15rem;
}
.check::after {
  content: ""; position: absolute; left: 6px; top: 4px; width: 5px; height: 9px;
  border: solid #0a0812; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.garantia-list strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: .25rem; }
.garantia-list p { font-size: .89rem; color: var(--mute); }

@media (min-width: 900px) {
  .garantia-card { grid-template-columns: 1.1fr 1fr; padding: 3.4rem; align-items: center; }
}

/* =============================================================
   14. Servicios — spotlight cards
   ============================================================= */
.servicios {
  margin-top: 3rem;
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.serv {
  position: relative;
  padding: 1.9rem 1.6rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--card-solid);
  overflow: hidden;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.serv::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(183,198,255,0.16), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.serv.is-hovering { border-color: rgba(183,198,255,0.35); transform: translateY(-3px); }
.serv.is-hovering::before { opacity: 1; }
.serv h3 { font-size: 1.1rem; margin-bottom: .7rem; }
.serv p { font-size: .9rem; color: var(--mute); }

/* =============================================================
   15. FAQ
   ============================================================= */
.faq { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding-block: .3rem; }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0; font-size: 1.02rem; color: var(--ink); font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--accent-b);
  transition: transform .3s var(--ease-out); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding-bottom: 1.4rem; font-size: .95rem; color: var(--mute); max-width: 62ch; }

/* =============================================================
   16. Formulario
   ============================================================= */
.form { margin-top: 2.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: .5rem; }
.field span { font-size: .84rem; color: var(--mute); }
.field span i { font-style: normal; opacity: .7; }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  padding: .85rem 1rem;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #5f5b78; }
.field input:focus, .field textarea:focus {
  border-color: var(--accent-b);
  background: rgba(183,198,255,0.05);
  outline: none;
}

.btn-submit { margin-top: .5rem; align-self: flex-start; position: relative; }
.btn-check { width: 16px; height: 16px; }
.btn-check path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 30; stroke-dashoffset: 30; }
.form.is-sent .btn-check path { animation: drawCheck .5s var(--ease-out) forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.form.is-sending .btn-submit { opacity: .7; pointer-events: none; }
.form.is-sending .btn-submit:hover { transform: none; }

.form-note { min-height: 1.4em; font-size: .88rem; }
.form-note.is-pending { color: var(--mute); }
.form-note.is-ok { color: var(--accent-b); }

.contacto-alt { margin-top: 2.4rem; font-size: .95rem; color: var(--mute); display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.link-underline {
  color: var(--ink); position: relative; font-weight: 500;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--grad-line); transform: scaleX(1); transform-origin: left;
}

/* =============================================================
   16b. Teasers de inicio + CTA band de cierre (sitio multi-página)
   ============================================================= */
.teaser-cta { margin-top: 2.6rem; }

.pasos-mini {
  margin-top: 3rem;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.paso-mini {
  padding: 1.6rem 1.4rem;
  border-top: 1px solid var(--line);
}
.paso-mini .paso-num { display: block; margin-bottom: .6rem; }
.paso-mini h3 { font-size: 1.02rem; }

.ctaband { text-align: center; }
.ctaband .section-title, .ctaband .section-lead { margin-inline: auto; }
.ctaband .btn { margin-top: 2.2rem; }

/* Nav — página actual */
.nav-links a[aria-current="page"],
.menu-movil a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { right: 0; }

/* =============================================================
   17. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 3.4rem 2rem; margin-top: 2rem; }
.footer-inner {
  display: flex; flex-direction: column; gap: 2.2rem;
  padding-bottom: 2.6rem; border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-word { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.footer-tag { font-size: .85rem; color: var(--mute); margin-top: .15rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem 1.8rem; }
.footer-links a { font-size: .9rem; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-base {
  padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between;
  font-size: .8rem; color: var(--mute);
}

@media (min-width: 760px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* =============================================================
   18. Responsive — breakpoints canónicos
   ============================================================= */
@media (min-width: 540px) {
  .hero-actions { gap: 1.1rem; }
}
@media (min-width: 720px) {
  .compara-col { padding: 2.6rem 2.4rem; }
}
@media (min-width: 960px) {
  .servicios { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .section-title { max-width: 22ch; }
}

/* =============================================================
   19. Reduced motion — only genuinely intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .bg-gradient { transition: none; }
  .splash-logo-img, .splash-word { animation-duration: .01s; animation-delay: 0s; }
  /* Do NOT disable: reveals (shortened above), hover, spotlight, count-up, marquee */
}
