/* Arcen Leasing · página web v4 · estático, sin dependencias
   Índice: 1 fuentes · 2 variables · 3 base · 4 tipografía · 5 botones y enlaces · 6 controles (deslizador, pills)
   7 nav · 8 hero y beneficios · 9 categorías · 10 por qué · 11 pasos · 12 documento · 13 simulador · 14 para quién
   15 requisitos · 16 preguntas · 17 cotización · 18 pie · 19 WhatsApp flotante y aviso · 20 movimiento · 21 movimiento reducido */

/* ---------- 1 · Fuentes locales ---------- */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/Archivo-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- 2 · Variables ---------- */
:root {
  /* Marca */
  --ink: #0B2A36;
  --ink-deep: #071E27;
  --petrol: #0E3A4A;
  --petrol-mid: #1F5566;
  --green: #22A855;
  --green-bright: #3FD47A;
  --green-text: #15803D;
  --green-ink: #06240F;
  --green-soft: #DDF3E5;

  /* Neutros */
  --mist: #F4F8F8;
  --white: #FFFFFF;
  --line: #DCE6E8;
  --line-strong: #B9C9CD;
  --muted: #557079;
  --danger: #B42318;
  --on-ink: rgba(255, 255, 255, .72);
  --on-ink-soft: rgba(255, 255, 255, .56);
  --on-ink-line: rgba(255, 255, 255, .12);
  --glass: rgba(255, 255, 255, .06);

  /* Tipografía */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(2.625rem, 6.1vw, 6.5rem);
  --fs-h2: clamp(2.125rem, 4.4vw, 4rem);
  --fs-h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1.35vw, 1.25rem);
  --fs-body: clamp(1rem, 1.1vw, 1.0625rem);
  --fs-small: .9375rem;
  --fs-micro: .8125rem;

  /* Espacio y forma */
  --pad: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 11.5vw, 176px);
  --value-pad: clamp(48px, 6vw, 88px);
  --max: 1296px;
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --nav-h: 76px;
  --safe-b: env(safe-area-inset-bottom, 0px);

  /* Movimiento */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);

  /* Sombras en capas */
  --shadow-sm: 0 1px 2px rgba(11, 42, 54, .05), 0 4px 12px -4px rgba(11, 42, 54, .08);
  --shadow: 0 1px 2px rgba(11, 42, 54, .04), 0 8px 20px -8px rgba(11, 42, 54, .1), 0 24px 48px -24px rgba(11, 42, 54, .16);
  --shadow-lift: 0 2px 4px rgba(11, 42, 54, .05), 0 16px 32px -12px rgba(11, 42, 54, .16), 0 48px 80px -32px rgba(11, 42, 54, .32);
  --shadow-deep: 0 2px 4px rgba(0, 0, 0, .2), 0 24px 48px -16px rgba(0, 0, 0, .4), 0 64px 120px -40px rgba(0, 0, 0, .6);
  --focus: var(--green-text);
}

/* ---------- 3 · Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { -webkit-appearance: none; appearance: none; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--green-ink); }

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

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  padding: 12px 18px; border-radius: 12px;
  background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow-lift); transform: translateY(-250%);
}
.skip:focus { transform: none; }

/* ---------- 4 · Tipografía y secciones ---------- */
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h2 { font-size: var(--fs-h2); font-weight: 680; line-height: 1.04; letter-spacing: -.022em; }
h3 { font-size: var(--fs-h3); font-weight: 640; line-height: 1.2; letter-spacing: -.012em; }
p { text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78125rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-text);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 168, 85, .18); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 38em; }
.fine { font-size: var(--fs-small); line-height: 1.55; color: var(--muted); }
.fine--onink { color: var(--on-ink-soft); }
.opt { font-weight: 400; color: var(--muted); }
.tbd {
  display: inline-block; padding: .05em .5em; border-radius: 6px;
  border: 1px dashed color-mix(in srgb, currentColor 50%, transparent);
  font-size: .8em; font-weight: 500; line-height: 1.5; letter-spacing: .01em; white-space: nowrap;
  vertical-align: .08em;
}

.section { position: relative; padding-block: var(--section); }
/* Anclas bajo la nav fija: el encabezado de cada sección queda justo debajo de la barra (no su relleno superior). */
.section { scroll-margin-top: calc(20px - var(--section)); }
.value { scroll-margin-top: calc(20px - var(--value-pad)); }
.section--mist { background: var(--mist); }
.section--ink {
  background: var(--ink); color: var(--white); --focus: var(--green-bright); overflow: hidden; isolation: isolate;
  background-image: linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 30%, var(--ink) 70%, var(--ink-deep) 100%);
}
.section--ink .eyebrow { color: var(--green-bright); }
.section--ink .lead { color: var(--on-ink); }
.head { display: grid; gap: 22px; max-width: 880px; margin-bottom: clamp(44px, 6vw, 88px); justify-items: start; }
.head--split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: end; gap: 28px clamp(32px, 6vw, 96px); }
.head__main { display: grid; gap: 22px; justify-items: start; max-width: 820px; }
.head__aside { font-size: var(--fs-small); line-height: 1.55; color: var(--muted); padding-left: 18px; border-left: 2px solid var(--green); }
@media (max-width: 899px) { .head--split { grid-template-columns: minmax(0, 1fr); } }

/* Halos de las secciones oscuras */
.glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; border-radius: 50%; pointer-events: none; opacity: .7; }
.glow--a { right: -30vmax; top: -34vmax; background: radial-gradient(closest-side, rgba(34, 168, 85, .2), rgba(34, 168, 85, 0)); }
.glow--b { left: -32vmax; top: -22vmax; background: radial-gradient(closest-side, rgba(31, 85, 102, .7), rgba(31, 85, 102, 0)); }
.glow--c { right: -28vmax; bottom: -38vmax; background: radial-gradient(closest-side, rgba(34, 168, 85, .18), rgba(34, 168, 85, 0)); }

/* ---------- 5 · Botones y enlaces ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border: 0; border-radius: 999px;
  font-family: var(--body); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; text-align: center; cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .25s, color .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .5) 50%, transparent 68%);
  transform: translateX(-130%);
}
.btn:active { transform: scale(.975); }
.btn--primary {
  background: var(--green); color: var(--green-ink);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(6, 36, 15, .3), 0 12px 28px -12px rgba(34, 168, 85, .75);
}
.btn--ghost {
  background: rgba(255, 255, 255, .06); color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost::after { background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .2) 50%, transparent 68%); }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn__arrow { flex: none; width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
.btn__ico { flex: none; width: 22px; height: 22px; }
.btn > span:not(.ripple) { text-wrap: balance; }
.ripple {
  position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: currentColor; opacity: .22; pointer-events: none; transform: scale(0);
}

/* Subrayado animado */
.u { position: relative; display: inline-block; text-decoration: none; cursor: pointer; }
.u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; border-radius: 2px;
  background: currentColor; opacity: .45; transform: scaleX(1); transform-origin: 0 50%;
  transition: transform .45s var(--ease-out), opacity .3s;
}
a.u:not([href]) { cursor: default; }
a.u:not([href])::after { display: none; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::after { transform: translateX(130%); transition: transform .9s var(--ease); }
  .btn:active { transform: translateY(0) scale(.975); }
  .btn--primary:hover { background-color: #2BB660; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 4px rgba(6, 36, 15, .3), 0 20px 40px -14px rgba(34, 168, 85, .9); }
  .btn--ghost:hover { background-color: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
  .u::after { transform: scaleX(0); transform-origin: 100% 50%; opacity: 1; }
  .u:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
}

/* ---------- 6 · Controles: deslizador y pills ---------- */
.range {
  --p: 50%; --track: #E3ECEE; --fill: var(--green); --thumb: var(--white); --ring: rgba(34, 168, 85, .22);
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; padding: 0;
  background: transparent; cursor: pointer; touch-action: pan-y; border-radius: 999px;
}
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--fill) 0, var(--fill) var(--p), var(--track) var(--p), var(--track) 100%);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--green) 0 4.5px, var(--thumb) 5.5px);
  box-shadow: 0 0 0 1px rgba(11, 42, 54, .1), 0 2px 4px rgba(11, 42, 54, .16), 0 8px 16px -4px rgba(11, 42, 54, .3), 0 0 0 0 var(--ring);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.range::-moz-range-track { height: 6px; border-radius: 999px; background: var(--track); }
.range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--fill); }
.range::-moz-range-thumb {
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--green) 0 4.5px, var(--thumb) 5.5px);
  box-shadow: 0 0 0 1px rgba(11, 42, 54, .1), 0 2px 4px rgba(11, 42, 54, .16), 0 8px 16px -4px rgba(11, 42, 54, .3);
}
.range:active::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 1px rgba(11, 42, 54, .1), 0 2px 4px rgba(11, 42, 54, .16), 0 8px 16px -4px rgba(11, 42, 54, .3), 0 0 0 10px var(--ring); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(11, 42, 54, .1), 0 2px 4px rgba(11, 42, 54, .16), 0 0 0 4px var(--white), 0 0 0 7px var(--focus); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--focus); }
.range:disabled { opacity: .45; cursor: not-allowed; }

.pills {
  --i: 2; --n: 5; --pill-pad: 5px;
  position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  padding: var(--pill-pad); border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line);
}
.pills__thumb {
  position: absolute; top: var(--pill-pad); bottom: var(--pill-pad); left: var(--pill-pad);
  width: calc((100% - var(--pill-pad) * 2) / var(--n)); border-radius: 999px;
  background: var(--ink); box-shadow: 0 1px 2px rgba(11, 42, 54, .3), 0 8px 16px -6px rgba(11, 42, 54, .5);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform .55s var(--ease-spring);
}
.pills__opt { position: relative; display: block; cursor: pointer; }
.pills__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pills__opt span {
  position: relative; display: grid; place-items: center; min-height: 46px; border-radius: 999px;
  font-family: var(--display); font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted);
  transition: color .3s;
}
.pills__opt input:checked + span { color: var(--white); }
.pills__opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) {
  .pills__opt:hover input:not(:checked) + span { color: var(--ink); }
}

/* Cifra que rueda (odómetro) */
.odo { display: inline-flex; align-items: flex-start; }
.odo__c, .odo__s { display: inline-block; height: 1.1em; line-height: 1.1; }
.odo__c { overflow: hidden; }
.odo__r { display: block; will-change: transform; transition: transform .9s var(--ease-out); transition-delay: calc(var(--k, 0) * 22ms); }
.odo__r > span { display: block; height: 1.1em; }

/* ---------- 7 · Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--white); --focus: var(--green-bright); padding-top: env(safe-area-inset-top, 0px); }
.nav__progress { position: absolute; inset: 0 0 auto 0; height: 3px; overflow: hidden; z-index: 3; }
.nav__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-bright)); transform: scaleX(0); transform-origin: 0 50%; }
.nav__in {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h); max-width: var(--max); margin-inline: auto; padding-inline: var(--pad);
}
.nav__glass {
  position: absolute; inset: 9px calc(var(--pad) - 18px); border-radius: 22px; pointer-events: none;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px rgba(11, 42, 54, .08), inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 2px rgba(11, 42, 54, .04), 0 16px 40px -18px rgba(11, 42, 54, .3);
  opacity: 0; transform: scale(1.02, 1.18);
  transition: opacity .4s var(--ease-out), transform .55s var(--ease-out);
}
.nav.is-scrolled { color: var(--ink); --focus: var(--green-text); }
.nav.is-scrolled .nav__glass { opacity: 1; transform: none; }

.brand { position: relative; z-index: 2; display: grid; flex: none; min-height: 44px; align-items: center; text-decoration: none; transform-origin: 0 50%; transition: transform .55s var(--ease-out); }
.brand__img { grid-area: 1 / 1; width: auto; height: 34px; transition: opacity .35s; }
.brand__img--tinta { opacity: 0; }
.nav.is-scrolled .brand { transform: scale(.88); }
.nav.is-scrolled .brand__img--blanco { opacity: 0; }
.nav.is-scrolled .brand__img--tinta { opacity: 1; }
.logo-chip { display: block; width: 150px; height: 40px; border-radius: 10px; background: var(--white) url("assets/img/arcen-logo-v2.png") center / 88% auto no-repeat; }

.nav__menu { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative; display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: color .25s;
}
.nav__links a::before {
  content: ""; position: absolute; inset: 4px 0; border-radius: 999px; background: currentColor; opacity: 0;
  transform: scale(.92); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.nav__links a span { position: relative; }
.nav__links a.is-active::before { opacity: .09; transform: none; }
.nav__links a.is-active { font-weight: 600; }
.nav__end { display: flex; align-items: center; }
.nav__foot { display: none; }
.nav__toggle { display: none; }
@media (hover: hover) { .nav__links a:hover::before { opacity: .07; transform: none; } }
/* Escritorio angosto: «Inicio» lo cubre el logotipo */
@media (min-width: 1100px) and (max-width: 1299px) { .nav__home { display: none; } .nav__links a { padding-inline: 11px; } }

@media (max-width: 1099px) {
  .nav__glass { inset: 8px 10px; border-radius: 20px; }
  .nav__toggle {
    position: relative; z-index: 2; display: grid; place-items: center; flex: none; width: 48px; height: 48px; margin-right: -10px;
    border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
  }
  .nav__bars { position: relative; display: block; width: 24px; height: 12px; }
  .nav__bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-out); }
  .nav__bars i:first-child { top: 0; }
  .nav__bars i:last-child { bottom: 0; }
  .nav.is-open .nav__bars i:first-child { transform: translateY(5px) rotate(45deg); }
  .nav.is-open .nav__bars i:last-child { transform: translateY(-5px) rotate(-45deg); }

  .nav__menu {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 28px;
    padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 20px) var(--pad) calc(28px + var(--safe-b));
    background:
      radial-gradient(120% 70% at 100% 0%, rgba(34, 168, 85, .22), rgba(34, 168, 85, 0) 60%),
      linear-gradient(180deg, var(--ink-deep), var(--ink) 60%, var(--petrol));
    color: var(--white); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility 0s linear .4s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out), visibility 0s; }
  .nav.is-open { color: var(--white); --focus: var(--green-bright); }
  .nav.is-open .nav__glass { opacity: 0; }
  .nav.is-open .brand__img--blanco { opacity: 1; }
  .nav.is-open .brand__img--tinta { opacity: 0; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links li { border-bottom: 1px solid var(--on-ink-line); }
  .nav__links a {
    justify-content: space-between; min-height: 58px; padding: 10px 2px; border-radius: 0;
    font-family: var(--display); font-size: clamp(1.5rem, 6.6vw, 2rem); font-weight: 620; letter-spacing: -.02em; white-space: normal;
  }
  .nav__links a::before { display: none; }
  .nav__links a::after {
    content: ""; flex: none; width: 22px; height: 22px; opacity: .5;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5.5 15.5 10 11 14.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .nav__links a.is-active { color: var(--green-bright); }
  .nav__end { flex-direction: column; align-items: stretch; gap: 12px; }
  .nav__end .btn { min-height: 58px; font-size: 1.0625rem; }
  .nav__foot { display: block; margin-top: 8px; font-size: var(--fs-micro); color: var(--on-ink-soft); text-align: center; }
  html.menu-abierto { overflow: hidden; }
}

/* ---------- 8 · Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto;
  min-height: min(100vh, 940px); min-height: min(100svh, 940px); background: var(--ink-deep); color: var(--white); --focus: var(--green-bright);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 30, 39, .82) 0%, rgba(7, 30, 39, 0) 22%, rgba(7, 30, 39, 0) 62%, rgba(7, 30, 39, .96) 100%),
    linear-gradient(96deg, rgba(7, 30, 39, .95) 0%, rgba(11, 42, 54, .86) 36%, rgba(11, 42, 54, .48) 64%, rgba(11, 42, 54, .3) 100%);
}
.hero__mesh { position: absolute; inset: 0; mix-blend-mode: screen; }
.hero__mesh i { position: absolute; border-radius: 50%; will-change: transform, opacity; }
.hero__mesh i:nth-child(1) { left: -18vmax; bottom: -30vmax; width: 70vmax; height: 70vmax; background: radial-gradient(closest-side, rgba(34, 168, 85, .34), rgba(34, 168, 85, 0)); }
.hero__mesh i:nth-child(2) { right: -14vmax; top: -22vmax; width: 60vmax; height: 60vmax; background: radial-gradient(closest-side, rgba(63, 212, 122, .2), rgba(63, 212, 122, 0)); }
.hero__mesh i:nth-child(3) { left: 30%; top: 30%; width: 46vmax; height: 46vmax; background: radial-gradient(closest-side, rgba(31, 85, 102, .5), rgba(31, 85, 102, 0)); }
.hero__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(90% 70% at 30% 40%, #000 0%, transparent 78%); mask-image: radial-gradient(90% 70% at 30% 40%, #000 0%, transparent 78%);
}
.hero__arc { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.hero__arc-halo { opacity: .16; }

.hero__body {
  position: relative; display: grid; align-items: center;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(28px, 6vh, 72px)); padding-bottom: clamp(40px, 8vh, 96px);
}
.hero__copy { display: grid; justify-items: start; min-width: 0; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .78125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; color: rgba(255, 255, 255, .92);
}
.hero__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); }
.hero__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green-bright); opacity: 0; }
.hero__title {
  margin-top: clamp(20px, 3vh, 32px);
  font-size: var(--fs-h1); font-weight: 720; line-height: .96; letter-spacing: -.03em; font-stretch: 96%;
  max-width: 10.5em; word-spacing: .04em; text-wrap: balance; text-shadow: 0 2px 40px rgba(7, 30, 39, .45);
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .w__i { display: inline-block; }
.hero__title .hero__close { white-space: nowrap; }
.hero__sub { margin-top: clamp(18px, 3vh, 32px); max-width: 31em; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.5; color: rgba(255, 255, 255, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 44px); }
.hero__note { margin-top: 18px; font-size: var(--fs-micro); color: rgba(255, 255, 255, .68); }

/* Marquesina */
.marquee {
  position: relative; overflow: hidden; border-top: 1px solid var(--on-ink-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; flex: none; }
.marquee__group li {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding: 20px 0 calc(20px + var(--safe-b) * .4) clamp(20px, 3vw, 40px);
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .7);
}
.marquee__group li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.marquee:not(.is-running) .marquee__track { width: auto; }
.marquee:not(.is-running) .marquee__group { flex-wrap: wrap; justify-content: center; padding: 8px var(--pad); }
.marquee:not(.is-running) .marquee__group li { padding-block: 8px; }

@media (min-width: 1024px) { .hero__actions .btn { min-height: 64px; padding-inline: 36px; font-size: 1.125rem; } }
@media (max-width: 1023px) {
  .hero__img { object-position: 70% 50%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 30, 39, .86) 0%, rgba(11, 42, 54, .7) 30%, rgba(7, 30, 39, .9) 72%, var(--ink-deep) 100%);
  }
}
/* Celular y tableta vertical: el hero mide lo que su contenido, sin pantalla vacía */
@media (max-width: 767px) {
  .hero { min-height: 0; }
  .hero__body { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 28px); padding-bottom: 36px; }
  .marquee__group li { padding-block: 15px; }
}
/* Móvil angosto: el H1 baja apenas para caber en tres líneas («… / empresa necesita, / rápido y claro.») */
@media (max-width: 429px) {
  .hero__title { font-size: min(var(--fs-h1), calc((100vw - 56px) / 8.15)); }
}
@media (max-width: 599px) {
  .hero__actions { display: grid; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__tag { font-size: .6875rem; letter-spacing: .06em; }
  .hero__arc { opacity: .5; }
}

/* Beneficios: bloque breve de valor, justo después del hero */
.value { position: relative; padding-block: var(--value-pad); background: var(--mist); }
.value__head { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(22px, 3vw, 40px); }
.value__head h2 { font-size: clamp(1.625rem, 2.8vw, 2.625rem); line-height: 1.08; }
.value__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-lg); background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.value__item { display: grid; align-content: start; gap: 18px; min-width: 0; padding: clamp(22px, 2.4vw, 34px); }
.value__item + .value__item { border-left: 1px solid var(--line); }
.value__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--green-soft); color: var(--green-text); }
.value__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value__txt { display: grid; gap: 6px; min-width: 0; }
.value__txt h3 { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.2; }
.value__txt p { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.value__link { display: inline-block; font-weight: 600; color: var(--green-text); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; white-space: nowrap; }
@media (hover: hover) { .value__link:hover { color: var(--ink); } }
@media (max-width: 999px) {
  .value__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value__item:nth-child(odd) { border-left: 0; }
  .value__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .value__list { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  .value__item { grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 14px; padding: 16px 18px; }
  .value__item + .value__item { border-left: 0; border-top: 1px solid var(--line); }
  .value__ico { width: 40px; height: 40px; border-radius: 12px; }
  .value__ico svg { width: 22px; height: 22px; }
  .value__txt { gap: 3px; }
  .value__txt p { font-size: .875rem; }
  .value__link { padding-block: 4px; }
}

/* ---------- 9 · Categorías (bento / carrusel) ---------- */
.cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(300px, 27vw, 400px); gap: clamp(14px, 1.6vw, 22px); }
.cards > li { grid-column: span 4; min-width: 0; perspective: 1400px; }
.cards > li:nth-child(1) { grid-column: span 7; }
.cards > li:nth-child(2) { grid-column: span 5; }
.cards > li:nth-child(6) { grid-column: span 5; }
.cards > li:nth-child(7) { grid-column: span 7; }
.card {
  --rx: 0deg; --ry: 0deg;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; border-radius: var(--r-lg); background: var(--petrol); color: var(--white); --focus: var(--green-bright);
  box-shadow: var(--shadow); transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.card__media { position: absolute; inset: 0; z-index: -2; background: linear-gradient(140deg, var(--petrol-mid), var(--ink)); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 30, 39, .1) 0%, rgba(7, 30, 39, 0) 30%, rgba(7, 30, 39, .55) 62%, rgba(7, 30, 39, .94) 100%);
}
.card__ph { position: absolute; left: 50%; top: 38%; width: 84px; height: 84px; margin: -42px 0 0 -42px; color: rgba(255, 255, 255, .3); }
.card__shine {
  position: absolute; z-index: -1; left: -180px; top: -180px; width: 360px; height: 360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(63, 212, 122, .34), rgba(63, 212, 122, 0));
  mix-blend-mode: screen; opacity: 0; transform: translate3d(var(--mx, 50%), var(--my, 50%), 0); transition: opacity .5s;
}
.card__go {
  position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .4s, transform .5s var(--ease-out), box-shadow .4s;
}
.card__go svg { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.card__body { display: grid; gap: 8px; padding: clamp(20px, 2.2vw, 30px); }
.card__body h3 { font-size: clamp(1.375rem, 1.9vw, 1.75rem); letter-spacing: -.015em; }
.card__body p { max-width: 30em; font-size: var(--fs-small); line-height: 1.5; color: rgba(255, 255, 255, .78); }
.card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; min-height: 28px;
  font-size: var(--fs-small); font-weight: 600; color: var(--green-bright); text-decoration: none;
}
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--green-text); outline-offset: 3px; }
.cards__dots { display: none; }

@media (hover: hover) {
  .card:hover { box-shadow: var(--shadow-lift); }
  .card:hover .card__media img { transform: scale(1.07); }
  .card:hover .card__shine { opacity: 1; }
  .card:hover .card__go { background: var(--green); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 10px 24px -8px rgba(34, 168, 85, .8); color: var(--green-ink); transform: scale(1.06); }
  .card:hover .card__go svg { transform: translate(2px, -2px); }
  .card:hover .card__link svg { transform: translateX(5px); }
}
@media (max-width: 1023px) and (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 320px; }
  .cards > li:nth-child(n) { grid-column: span 1; }
  .cards > li:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 699px) {
  .cards {
    display: flex; gap: 12px; grid-auto-rows: auto; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad) 20px; scroll-padding-inline: var(--pad);
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .cards > li:nth-child(n) { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; perspective: none; }
  .card { height: 430px; border-radius: 24px; }
  .cards__dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
  .cards__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: transform .4s var(--ease-out), background-color .3s; }
  .cards__dots i.is-on { background: var(--green); transform: scale(1.35); }
}

/* ---------- 10 · Por qué arrendar ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.why__item {
  position: relative; display: grid; align-content: start; gap: 12px; padding: clamp(24px, 2.4vw, 34px); border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px var(--on-ink-line), inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: transform .5s var(--ease-out), background-color .4s;
}
.why__item p { font-size: var(--fs-small); line-height: 1.55; color: var(--on-ink); }
.ico { width: 48px; height: 48px; margin-bottom: clamp(20px, 3.4vw, 52px); fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ico__accent { stroke: var(--green-bright); }
.ico__fill { fill: var(--green-bright); stroke: none; }
.ico__spin, .ico__pulse { transform-box: fill-box; transform-origin: 50% 50%; }
.why__fine { margin-top: clamp(28px, 3vw, 44px); }
@media (hover: hover) { .why__item:hover { transform: translateY(-4px); background-color: rgba(255, 255, 255, .04); } }
@media (max-width: 1023px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__item { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding: 22px; border-radius: 22px; }
  .why__item .ico { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
}

/* ---------- 11 · Pasos ---------- */
.steps { --p: 1; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.steps__rail { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.steps__fill { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-bright)); transform: scaleX(var(--p)); transform-origin: 0 50%; }
.step { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 26px; min-width: 0; }
.step__num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: var(--green-ink); font-family: var(--display); font-size: 1.25rem; font-weight: 700;
  box-shadow: 0 0 0 8px var(--white), 0 12px 28px -8px rgba(34, 168, 85, .7);
  transition: background-color .5s, color .5s, box-shadow .5s;
}
.step__card {
  display: grid; align-content: start; gap: 10px; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-lg); background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.step__card p { font-size: var(--fs-small); line-height: 1.55; color: var(--muted); }
.step__ico { width: 44px; height: 44px; margin-bottom: clamp(14px, 2vw, 28px); color: var(--ink); }
.step__acc { stroke: var(--green); }
@media (hover: hover) { .step__card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); } }
@media (max-width: 899px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .steps__rail { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .steps__fill { transform: scaleY(var(--p)); transform-origin: 50% 0; }
  .step { grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto; gap: 18px; align-items: start; }
  .step__card { border-radius: 22px; }
}

/* ---------- 12 · Documento de ejemplo ---------- */
.quote { overflow: hidden; }
.quote__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.quote__head { margin-bottom: 0; }
.quote__stage { position: relative; perspective: 1400px; }
.quote__stage::before {
  content: ""; position: absolute; inset: 4% -10% -8% 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 168, 85, .24), rgba(221, 243, 229, 0) 100%);
}
.doc {
  position: relative; max-width: 560px; margin-inline: auto; padding: clamp(24px, 3vw, 40px);
  border-radius: 24px; background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 2px 4px rgba(11, 42, 54, .05), 0 24px 48px -20px rgba(11, 42, 54, .2), 0 64px 96px -40px rgba(11, 42, 54, .36);
  transform: rotateX(4deg) rotateY(-9deg) rotateZ(1.2deg);
  transform-origin: 50% 60%;
}
.doc__top { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.doc__mark { flex: none; width: 40px; height: 40px; padding: 6px; border-radius: 12px; background: var(--green-soft); }
.doc__title { font-family: var(--display); font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; }
.doc__stamp {
  margin-left: auto; padding: 6px 12px; border-radius: 8px; border: 2px solid var(--green-text); color: var(--green-text);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; text-align: center;
  transform: rotate(-5deg);
}
.doc__rows > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px; padding-block: 17px; border-bottom: 1px solid var(--line); }
.doc__rows dt { font-size: .96875rem; font-weight: 500; color: var(--petrol); }
.doc__rows dd { display: flex; justify-content: flex-end; }
.doc__foot { display: grid; gap: 10px; padding-top: 22px; }
.bar { position: relative; display: block; height: 12px; border-radius: 999px; background: #E3ECEE; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); transform: translateX(-100%); }
.bar--a { width: 88%; } .bar--b { width: 46%; } .bar--c { width: 64%; background: var(--green-soft); }
.bar--d { width: 38%; } .bar--e { width: 56%; } .bar--f { width: 76%; }
.bar--g { width: 100%; height: 8px; } .bar--h { width: 62%; height: 8px; }
@media (max-width: 899px) {
  .quote__grid { grid-template-columns: minmax(0, 1fr); }
  .doc { transform: none; }
  .doc__stamp { font-size: .6875rem; padding: 5px 9px; }
}

/* ---------- 13 · Simulador ---------- */
.sim__card { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(12px, 1.4vw, 20px); align-items: stretch; }
.sim__form {
  display: grid; align-content: start; gap: clamp(26px, 3vw, 40px); padding: clamp(22px, 3.2vw, 48px); border-radius: var(--r-xl);
  background: var(--white); color: var(--ink); --focus: var(--green-text); box-shadow: var(--shadow-deep);
}
.sfield { display: grid; gap: 4px; min-width: 0; }
.sfield__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.sfield label, .sfield legend { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.sfield--plazo legend { margin-bottom: 12px; }
.sim__money { position: relative; flex: 0 1 220px; min-width: 0; }
.sim__cur { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--muted); pointer-events: none; }
.sim__money input {
  width: 100%; min-height: 54px; padding: 10px 16px 10px 34px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--mist);
  font-family: var(--display); font-size: 1.375rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: right; color: var(--ink);
  transition: border-color .25s, box-shadow .3s, background-color .25s; -webkit-appearance: none; appearance: none;
}
.sim__money input:focus-visible { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(34, 168, 85, .2); }
.sim__money input[aria-invalid="true"] { border-color: var(--danger); background: #FEF3F2; }
.sfield__scale { display: flex; justify-content: space-between; margin-top: -4px; font-size: .75rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.sim__hint { margin-top: 8px; font-size: var(--fs-micro); line-height: 1.5; color: var(--muted); }
.sim__tasa { margin-top: 14px; font-size: .75rem; }
.field__err { font-size: .875rem; font-weight: 500; line-height: 1.45; color: var(--danger); }
.sfield .field__err { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: #FEF3F2; }
@media (hover: hover) { .sim__money input:hover { border-color: var(--line-strong); } }

.sim__out {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: start; gap: clamp(22px, 2.4vw, 30px);
  padding: clamp(22px, 3.2vw, 48px); border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(31, 85, 102, .55), rgba(14, 58, 74, .5) 45%, rgba(11, 42, 54, .4));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .16), var(--shadow-deep);
}
.sim__out::before {
  content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 168, 85, .3), rgba(34, 168, 85, 0));
}
.sim__renta { display: grid; gap: 8px; }
.sim__label { font-size: var(--fs-small); font-weight: 500; color: var(--on-ink); }
.sim__iva {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1);
  font-size: .6875rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--white); vertical-align: .1em;
}
.sim__big {
  font-family: var(--display); font-size: clamp(2.75rem, 5.6vw, 5.25rem); font-weight: 720; line-height: 1.1; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--white);
}
.sim__big.is-long { font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
.sim__big.is-xlong { font-size: clamp(1.875rem, 3.8vw, 3.5rem); }
.sim__sub { font-size: var(--fs-small); color: var(--on-ink); font-variant-numeric: tabular-nums; }
.sim__sub strong { color: var(--white); font-weight: 600; }
.sim__block { display: grid; gap: 14px; padding-top: clamp(20px, 2.2vw, 28px); border-top: 1px solid var(--on-ink-line); }
.sim__h { font-family: var(--body); font-size: .78125rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--green-bright); }
.mix { position: relative; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.mix__s { position: absolute; inset: 0; transform-origin: 0 50%; transition: transform .7s var(--ease-out); }
.mix__s--a, .key--a { background: var(--green-bright); }
.mix__s--b, .key--b { background: #8FB7C2; }
.mix__s--c, .key--c { background: var(--white); }
.key { display: inline-block; flex: none; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; }
.sim__rows { display: grid; }
.sim__rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 9px; }
.sim__rows dt { display: flex; align-items: center; font-size: var(--fs-small); color: var(--on-ink); }
.sim__rows dd { flex: none; font-size: 1rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--white); }
.sim__total { margin-top: 6px; padding-top: 14px !important; border-top: 1px dashed rgba(255, 255, 255, .18); }
.sim__total dt { color: var(--white); font-weight: 500; }
.sim__total--iva { margin-top: 0; padding-top: 9px !important; border-top: 0; }
.sim__total--iva dt, .sim__total--iva dd { font-weight: 650; }
.sim__total--iva dd { font-family: var(--display); font-size: 1.25rem; letter-spacing: -.02em; }
.sim__opcion { font-size: var(--fs-micro); line-height: 1.55; color: var(--on-ink); }
.sim__ctas { display: grid; gap: 10px; padding-top: 4px; }
.sim__legal { font-size: var(--fs-micro); line-height: 1.55; color: var(--on-ink); padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--on-ink-line); }
.sim__out.is-void .sim__rows dd, .sim__out.is-void .sim__sub { opacity: .45; }
.sim__out.is-void .mix__s { opacity: 0; }
@media (max-width: 959px) {
  .sim__card { grid-template-columns: minmax(0, 1fr); }
  .sim__form, .sim__out { border-radius: 26px; }
}
@media (max-width: 479px) {
  .sfield__top { flex-direction: column; align-items: stretch; gap: 10px; }
  .sim__money { flex: none; }
  .sim__ctas .btn { padding-inline: 14px; font-size: 1rem; }
  .sim__rows dt { font-size: .875rem; }
  .sim__rows dd { font-size: .9375rem; }
}

/* ---------- 14 · Para quién ---------- */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.who > li { perspective: 1200px; }
.who__card {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: grid; align-content: start; gap: 12px; height: 100%; padding: clamp(24px, 2.6vw, 38px); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--white), var(--mist)); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.who__ico { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: clamp(16px, 2.6vw, 40px); border-radius: 18px; background: var(--green-soft); color: var(--green-text); }
.who__ico svg { width: 32px; height: 32px; }
.who__card p { font-size: var(--fs-small); line-height: 1.55; color: var(--muted); }
.who__not { margin-top: clamp(24px, 3vw, 40px); max-width: 44em; padding: 16px 20px; border-radius: 16px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) { .who__card:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); } }
@media (max-width: 899px) { .who { grid-template-columns: minmax(0, 1fr); } .who__card { border-radius: 22px; } }

/* ---------- 15 · Requisitos ---------- */
.reqs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.reqs__head { margin-bottom: 0; position: sticky; top: 120px; }
.tabs { padding: clamp(16px, 2.2vw, 30px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.tabs__list { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 5px; border-radius: 18px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 12px; }
.tabs__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 14px; background: var(--ink); box-shadow: 0 8px 16px -6px rgba(11, 42, 54, .5); transform: translateX(calc(var(--tab, 0) * 100%)); transition: transform .55s var(--ease-spring); }
.tabs__tab {
  position: relative; min-height: 54px; padding: 10px 12px; border: 0; border-radius: 14px; background: transparent; cursor: pointer;
  font-size: .9375rem; font-weight: 600; line-height: 1.25; color: var(--muted); transition: color .3s;
}
.tabs__tab[aria-selected="true"] { color: var(--white); }
.tabs__title { padding: 14px 8px 6px; font-size: 1.25rem; }
.tabs.is-ready .tabs__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabs__panel:focus-visible { outline-offset: 6px; border-radius: 12px; }
.checks li { position: relative; padding: 16px 8px 16px 48px; border-bottom: 1px solid var(--line); font-weight: 500; }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: ""; position: absolute; left: 8px; top: 17px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%2315803D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
@media (max-width: 899px) { .reqs { grid-template-columns: minmax(0, 1fr); } .reqs__head { position: static; } }

/* ---------- 16 · Preguntas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { margin-bottom: 0; position: sticky; top: 120px; }
.faq__more a { color: var(--green-text); font-weight: 600; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 76px; padding: 20px 4px;
  border: 0; background: transparent; cursor: pointer; text-align: left;
  font-family: var(--display); font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-weight: 620; letter-spacing: -.02em; line-height: 1.25; color: var(--ink);
  transition: color .25s;
}
.faq__ico {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .55s var(--ease-out), background-color .3s, box-shadow .3s;
}
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink);
  transition: transform .55s var(--ease-out), background-color .3s;
}
.faq__ico::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__ico { transform: rotate(45deg); background: var(--green); box-shadow: 0 8px 18px -6px rgba(34, 168, 85, .7); }
.faq__q[aria-expanded="true"] .faq__ico::before, .faq__q[aria-expanded="true"] .faq__ico::after { background: var(--green-ink); }
.faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease-out); }
.faq__a-in { overflow: hidden; min-height: 0; transition: opacity .4s var(--ease-out), visibility 0s; }
.faq__a-in p { padding: 0 60px 26px 4px; max-width: 46em; color: var(--muted); }
.faq__item.is-closed .faq__a { grid-template-rows: 0fr; }
.faq__item.is-closed .faq__a-in { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .55s; }
@media (hover: hover) { .faq__q:hover { color: var(--green-text); } .faq__q:hover .faq__ico { box-shadow: inset 0 0 0 1px var(--line-strong); } }
@media (max-width: 899px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .faq__a-in p { padding-right: 8px; }
}

/* ---------- 17 · Cotización ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__copy { display: grid; gap: 22px; justify-items: start; }
.contact__copy .lead { max-width: 26em; }
.ways { display: grid; gap: 10px; width: 100%; max-width: 460px; margin-top: 10px; }
.way {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 12px 18px 12px 12px; border: 0; border-radius: 20px;
  background: linear-gradient(170deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px var(--on-ink-line);
  color: var(--white); text-align: left; text-decoration: none; cursor: pointer;
  transition: transform .45s var(--ease-out), background-color .3s, box-shadow .3s;
}
.way--static, a.way:not([href]) { cursor: default; }
.way__ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(63, 212, 122, .14); color: var(--green-bright); }
.way__ico svg { width: 24px; height: 24px; }
.way__txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.way__k { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-soft); }
.way__v { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.way__go { flex: none; width: 20px; height: 20px; color: var(--on-ink-soft); transition: transform .45s var(--ease-out), color .3s; }
.way__note { margin: 8px 0 4px 16px; font-size: var(--fs-micro); color: var(--on-ink-soft); }
.wa-listo [data-wa-pendiente] { display: none; }
@media (hover: hover) {
  button.way:hover, a.way[href]:hover { transform: translateY(-2px); background-color: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
  button.way:hover .way__go, a.way[href]:hover .way__go { transform: translate(3px, -3px); color: var(--green-bright); }
}

.form-card {
  position: relative; padding: clamp(20px, 3vw, 44px); border-radius: var(--r-xl); background: var(--white); color: var(--ink); --focus: var(--green-text);
  box-shadow: var(--shadow-deep);
}
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--mist);
  font-size: 1.0625rem; color: var(--ink); transition: border-color .25s, box-shadow .3s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 46px; cursor: pointer;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%230B2A36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
.field select:invalid { color: var(--muted); }
.field textarea { display: block; min-height: 112px; padding-block: 14px; line-height: 1.5; font-family: inherit; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--green); background-color: var(--white); box-shadow: 0 0 0 4px rgba(34, 168, 85, .2); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; background-color: #FEF3F2 !important; }
@media (hover: hover) { .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); } }

.seg legend { margin-bottom: 8px; }
.seg__opts { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 10px; }
.seg__opt { position: relative; display: block; cursor: pointer; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span {
  display: grid; place-items: center; min-height: 56px; padding: 10px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--mist);
  font-size: 1rem; font-weight: 500; text-align: center; line-height: 1.25; transition: border-color .25s, background-color .3s, color .3s, box-shadow .3s;
}
.seg__opt input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); box-shadow: 0 10px 20px -10px rgba(11, 42, 54, .6); }
.seg__opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(34, 168, 85, .3); border-color: var(--green); }
.seg.is-invalid .seg__opt span { border-color: var(--danger); }
@media (hover: hover) { .seg__opt:hover input:not(:checked) + span { border-color: var(--line-strong); } }

.check__label { position: relative; display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding-block: 8px; cursor: pointer; font-weight: 500 !important; line-height: 1.5; }
.check__label input { position: absolute; left: -8px; top: 0; width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.check__box { position: relative; flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line-strong); background: var(--white); transition: background-color .2s, border-color .2s, box-shadow .25s; }
.check__box::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid var(--green-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease-spring); }
.check__label input:checked + .check__box { background: var(--green); border-color: var(--green); }
.check__label input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check__label input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(34, 168, 85, .3); border-color: var(--green); }
.check__label input[aria-invalid="true"] + .check__box { border-color: var(--danger); }
.form__end { margin-top: 6px; }
.form__note { font-size: .875rem; line-height: 1.5; color: var(--muted); text-align: center; text-wrap: balance; }

.form__ok { display: grid; justify-items: center; gap: 14px; margin-top: 24px; padding: 24px clamp(16px, 3vw, 28px); border-radius: 20px; background: var(--mist); text-align: center; outline: none; }
.form__ok-ico { width: 52px; height: 52px; color: var(--green-text); }
.form__ok-text { font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.25; max-width: 20em; text-wrap: balance; overflow-wrap: anywhere; }
.form__ok-sub { font-size: .9375rem; line-height: 1.55; color: var(--muted); max-width: 34em; }
.form__ok-sub a { display: inline-block; padding-block: 11px; font-weight: 650; color: var(--ink); }

@media (max-width: 899px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } .form-card { border-radius: 26px; } }
@media (max-width: 559px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .seg__opts { grid-template-columns: minmax(0, 1fr); }
  .ways { max-width: none; }
}

/* ---------- 18 · Pie ---------- */
.foot { position: relative; background: var(--ink-deep); color: var(--on-ink); --focus: var(--green-bright); padding: clamp(56px, 7vw, 104px) 0 calc(100px + var(--safe-b)); font-size: var(--fs-small); }
.foot::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(63, 212, 122, .5), transparent); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, 1.2fr); gap: 40px clamp(24px, 3vw, 48px); }
.foot__brand { display: grid; gap: 22px; justify-items: start; align-content: start; max-width: 340px; }
.foot__logo img { width: auto; height: 40px; }
.foot__brand p { line-height: 1.6; }
.foot__h { margin-bottom: 16px; font-family: var(--body); font-size: .75rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--white); font-stretch: 100%; line-height: 1.4; }
.foot__col ul { display: grid; gap: 2px; }
.foot__col li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 36px; line-height: 1.4; }
.foot__col a, .foot__wa { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-ink); overflow-wrap: anywhere; transition: color .25s; }
.foot__wa { padding: 0; border: 0; background: none; font: inherit; text-align: left; }
.foot__col .u::after { bottom: 6px; }
@media (hover: none) { .foot__col .u::after { display: none; } }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px;
  border-top: 1px solid var(--on-ink-line); font-size: var(--fs-micro); color: var(--on-ink-soft);
}
@media (hover: hover) { .foot__col a[href]:hover, .foot__wa:hover { color: var(--white); } }
@media (max-width: 1023px) {
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; max-width: 440px; }
  .foot__col a, .foot__wa, .foot__col li { min-height: 44px; }
  .foot__col .u::after { bottom: 10px; }
}
@media (max-width: 559px) { .foot__col:nth-child(n+4) { grid-column: 1 / -1; } }

/* ---------- 19 · WhatsApp flotante y aviso ----------
   Abajo a la IZQUIERDA: abajo a la derecha aparece el sello «Powered by Netlify». */
.wa-fab {
  position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(18px + var(--safe-b)); z-index: 90;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--green); color: var(--green-ink);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 2px 4px rgba(7, 30, 39, .18), 0 12px 26px -8px rgba(7, 30, 39, .5);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .25s, opacity .3s, visibility 0s;
}
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab:active { transform: scale(.95); }
.wa-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 50%; }
.menu-abierto .wa-fab { opacity: 0; visibility: hidden; }
@media (hover: hover) { .wa-fab:hover { transform: translateY(-2px); background-color: #2BB660; } }
@media (min-width: 900px) { .wa-fab { left: calc(24px + env(safe-area-inset-left, 0px)); bottom: calc(24px + var(--safe-b)); width: 56px; height: 56px; } }
/* En celular, mientras se escribe en un campo (teclado abierto), el botón se retira para no tapar nada. */
@media (max-width: 899px) {
  body:has(input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, textarea:focus) .wa-fab { opacity: 0; visibility: hidden; pointer-events: none; }
}

.toast {
  position: fixed; left: 50%; bottom: calc(86px + var(--safe-b)); z-index: 120; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 16px;
  background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow-lift);
  font-size: var(--fs-small); font-weight: 600; line-height: 1.4; text-align: center; pointer-events: none;
  opacity: 0; visibility: hidden; transform: translate3d(-50%, 16px, 0);
  transition: opacity .35s, transform .5s var(--ease-out), visibility 0s linear .5s;
}
.toast::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #E0A100; vertical-align: .08em; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); transition: opacity .35s, transform .5s var(--ease-out), visibility 0s; }
@media (min-width: 900px) { .toast { bottom: 32px; } }

/* =========================================================
   20 · MOVIMIENTO · solo si el usuario no pidió reducirlo
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Revelado al hacer scroll (requiere JS; .js se retira si main.js falla) */
  .js [data-reveal] {
    opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(10px);
    transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
  @media (max-width: 699px) { .js .cards [data-reveal] { opacity: 1; transform: none; filter: none; } }

  /* Hero */
  .hero__img { animation: kenburns 36s ease-in-out infinite alternate; transform-origin: 66% 58%; will-change: transform; }
  .hero__mesh i:nth-child(1) { animation: breathe 15s ease-in-out infinite alternate; }
  .hero__mesh i:nth-child(2) { animation: breathe 19s -6s ease-in-out infinite alternate-reverse; }
  .hero__mesh i:nth-child(3) { animation: breathe 23s -11s ease-in-out infinite alternate; }
  .hero__arc-line, .hero__arc-halo { stroke-dasharray: 1 1.02; stroke-dashoffset: 1; animation: draw 2.6s .5s var(--ease) forwards; }
  .hero__dot::after { animation: ping 2.6s ease-out infinite; }
  .hero__tag { animation: rise .9s .1s var(--ease-out) both; }
  .hero__title { animation: rise 1s .2s var(--ease-out) both; }
  .hero__title.is-split { animation: none; }
  .hero__title .w__i { animation: word 1.1s var(--ease-out) both; animation-delay: calc(.18s + var(--i) * 52ms); }
  .hero__sub { animation: rise 1s .85s var(--ease-out) both; }
  .hero__actions { animation: rise 1s 1s var(--ease-out) both; }
  .hero__note { animation: rise 1s 1.12s var(--ease-out) both; }
  .marquee { animation: fade 1.2s 1.3s ease both; }
  .wa-fab { animation: fade .8s 1.2s ease both; }
  .marquee.is-running .marquee__track { animation: marquee var(--dur, 48s) linear infinite; }
  @media (hover: hover) { .marquee.is-running:hover .marquee__track { animation-play-state: paused; } }

  /* Halos e íconos */
  .glow { animation: breathe 20s ease-in-out infinite alternate; }
  .js .why__item .draw { stroke-dasharray: 1 1.02; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 1.3s var(--ease) calc(var(--d, 0ms) + .25s), opacity .2s linear calc(var(--d, 0ms) + .25s); }
  .js .why__item .draw--late { transition-delay: calc(var(--d, 0ms) + .95s); }
  .js .why__item.is-in .draw { stroke-dashoffset: 0; opacity: 1; }
  .ico__spin { animation: spin 14s linear infinite; }
  .ico__pulse { animation: pulse 2.8s ease-in-out infinite; }

  /* Pasos ligados al scroll */
  .js .steps { --p: 0; }
  .js .steps__fill { transition: transform .3s linear; }
  .js .step__num { background: var(--mist); color: var(--muted); box-shadow: 0 0 0 8px var(--white), inset 0 0 0 1.5px var(--line); }
  .js .step.is-on .step__num { background: var(--green); color: var(--green-ink); box-shadow: 0 0 0 8px var(--white), 0 12px 28px -8px rgba(34, 168, 85, .7); animation: bump .7s var(--ease-out); }

  /* Documento con entrada 3D */
  .js .doc { opacity: 0; transform: translate3d(0, 64px, 0) rotateX(28deg) rotateY(-24deg) rotateZ(3deg); transition: opacity 1s var(--ease-out), transform 1.6s var(--ease-out); }
  .js .doc.is-in { opacity: 1; transform: rotateX(4deg) rotateY(-9deg) rotateZ(1.2deg); }
  .bar::after { animation: shimmer 2.6s ease-in-out infinite; }
  .doc__rows > div:nth-child(2n) .bar::after { animation-delay: .5s; }
  @media (max-width: 899px) {
    .js .doc { transform: translate3d(0, 48px, 0) rotateX(18deg); }
    .js .doc.is-in { transform: none; }
  }

  /* Formulario, menú, ripple */
  .field__err:not([hidden]) { animation: pop .35s var(--ease-out) both; }
  .form__ok:not([hidden]) { animation: rise .8s var(--ease-out) both; }
  .form__ok-ico circle, .form__ok-ico path { stroke-dasharray: 1 1.02; stroke-dashoffset: 1; animation: draw .9s .15s var(--ease) forwards; }
  .form__ok-ico path { animation-delay: .7s; animation-duration: .5s; }
  .ripple { animation: ripple .7s var(--ease-out) forwards; }
  @media (max-width: 1099px) {
    .nav.is-open .nav__links li, .nav.is-open .nav__end > * { animation: rise .7s var(--ease-out) both; animation-delay: calc(55ms * var(--n, 0) + 90ms); }
  }
}

@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); } }
@keyframes breathe { from { transform: translate3d(0, 0, 0) scale(1); opacity: .55; } to { transform: translate3d(6vmax, 4vmax, 0) scale(1.16); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3.4); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes word { from { opacity: 0; transform: translate3d(0, 105%, 0) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .55; } }
@keyframes bump { 0% { transform: scale(.82); } 55% { transform: scale(1.1); } 100% { transform: none; } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes pop { from { opacity: 0; transform: translate3d(0, -4px, 0); } to { opacity: 1; transform: none; } }
@keyframes ripple { to { transform: scale(34); opacity: 0; } }

/* =========================================================
   21 · MOVIMIENTO REDUCIDO · todo visible, sin transformaciones ni transiciones
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal], .doc, .hero__title, .hero__title .w__i { opacity: 1 !important; filter: none !important; }
  [data-reveal], .btn, .wa-fab, .card, .who__card, .why__item, .step__card, .way, .doc__stamp, .card__media img, .btn__arrow, .card__go, .hero__img { transform: none !important; }
  .doc { transform: none !important; }
  .btn::after, .ripple, .card__shine { display: none !important; }
}
