/* ============================================================================
   IMAGINA FINANCIERA — styles.css
   Sistema visual: fintech confiable · minimalista premium · editorial
   Paleta base del logo: navy #0F2F4A · dorado #DCB240 · blanco #FFFFFF
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. TOKENS / SISTEMA DE DISEÑO
---------------------------------------------------------------------------- */
:root {
  /* Marca */
  --navy:        #0F2F4A;   /* principal (texto, fondos oscuros) */
  --navy-900:    #0A2033;   /* más profundo */
  --navy-800:    #123a5c;
  --navy-700:    #1c4a70;
  --gold:        #DCB240;   /* acento */
  --gold-600:    #C79A2E;   /* dorado oscuro (contraste sobre blanco) */
  --gold-300:    #ECD48A;
  --gold-100:    #F7ECCB;
  --white:       #FFFFFF;
  --cream:       #FBF8F1;   /* fondo suave de secciones */
  --cream-2:     #F4EEE1;

  /* Neutrales derivados */
  --ink:         #0F2F4A;
  --muted:       #56697A;   /* texto secundario */
  --muted-soft:  #7f8d99;
  --line:        rgba(15, 47, 74, 0.12);
  --line-strong: rgba(15, 47, 74, 0.22);

  /* Tipografía */
  --font-ui:      "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;

  /* Escala / ritmo */
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(15, 47, 74, 0.06);
  --shadow-md: 0 18px 44px -22px rgba(15, 47, 74, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(15, 47, 74, 0.45);
  --shadow-gold: 0 18px 40px -18px rgba(220, 178, 64, 0.55);

  /* Easing / tiempos */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* WhatsApp */
  --wa: #25D366;
  --wa-dark: #128C7E;
}

/* ----------------------------------------------------------------------------
   2. RESET / BASE
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  overflow-x: clip;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }

/* ----------------------------------------------------------------------------
   3. TIPOGRAFÍA / HELPERS
---------------------------------------------------------------------------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.3rem + 3.3vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--navy);
}
.h-display.light { color: var(--white); }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}
.kicker.light { color: var(--gold-300); }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.65;
}
.lead.center { margin-inline: auto; }

.u-gold { color: var(--gold-600); }
.h-display.light .u-gold,
.finalcta .u-gold { color: var(--gold); }

.check {
  color: var(--gold-600);
  font-weight: 800;
  margin-right: 0.35rem;
}

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Defensive: elementos que tienen .reveal + data-split nunca deben quedar invisibles */
.reveal[data-split] { opacity: 1; transform: none; }

/* ----------------------------------------------------------------------------
   4. BOTONES
---------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  line-height: 1;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--wa {
  --btn-bg: var(--wa);
  --btn-fg: #06331f;
  box-shadow: 0 14px 30px -14px rgba(37, 211, 102, 0.7);
}
.btn--wa:hover { --btn-bg: #1fc65d; box-shadow: 0 20px 40px -16px rgba(37, 211, 102, 0.8); }

.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--navy-800); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); }

.ico-wa { width: 1.25em; height: 1.25em; flex: none; }

/* ----------------------------------------------------------------------------
   5. LOGO / BRAND
---------------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  color: var(--navy);
}
.brand__sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--gold-600);
  margin-top: 2px;
}

/* ----------------------------------------------------------------------------
   6. SPLASH
---------------------------------------------------------------------------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 50% 12%, var(--navy-800) 0%, var(--navy) 46%, var(--navy-900) 100%);
  /* Safety net: se oculta solo a los 4.5s aunque falle el JS */
  animation: splashSafety 0.01s 4.5s forwards;
}
.splash__inner { display: grid; justify-items: center; gap: 1.1rem; text-align: center; }
.splash__mark { animation: splashPop 0.9s var(--ease-out) both; }
.splash .logo-mark { filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35)); }
.splash__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 8vw, 3rem);
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  color: #fff;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s var(--ease-out) forwards;
}
.splash__tag {
  font-size: 0.7rem;
  letter-spacing: 0.55em;
  padding-left: 0.55em;
  color: var(--gold-300);
  font-weight: 700;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s var(--ease-out) forwards;
}
.splash__bar {
  width: min(240px, 60vw);
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  margin-top: 0.4rem;
}
.splash__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-600), var(--gold), var(--gold-300));
  animation: splashLoad 1.8s 0.15s var(--ease-out) forwards;
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out), clip-path 0.7s var(--ease-out);
  clip-path: inset(0 0 100% 0);
}
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
@keyframes splashPop { from { opacity: 0; transform: scale(0.7) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes splashLoad { from { width: 0; } to { width: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ----------------------------------------------------------------------------
   7. NAV
---------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              backdrop-filter 0.4s;
}
.nav__wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(15, 47, 74, 0.5);
}
/* En el hero (nav no fija fondo) el texto va claro */
.nav .brand__name { transition: color 0.35s; }
.nav:not(.is-stuck) .brand__name { color: #fff; }
.nav:not(.is-stuck) .nav__links a { color: rgba(255, 255, 255, 0.9); }

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding-block: 0.3rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.nav:not(.is-stuck) .nav__cta { box-shadow: 0 14px 30px -14px rgba(37, 211, 102, 0.6); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
  margin-left: auto;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.nav:not(.is-stuck) .nav__burger span { background: #fff; }
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding-inline: var(--gutter);
  padding-block: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid transparent;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s var(--ease-out),
              padding 0.4s var(--ease-out), visibility 0s linear 0.45s;
}
.nav.menu-open .nav__mobile {
  max-height: 460px;
  opacity: 1;
  visibility: visible;
  padding-block: 0.5rem 1.4rem;
  border-top-color: var(--line);
  transition: max-height 0.45s var(--ease-out), opacity 0.35s var(--ease-out),
              padding 0.4s var(--ease-out), visibility 0s;
}
.nav__mobile a {
  padding: 0.75rem 0.4rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.nav__mobile .btn { margin-top: 0.8rem; border-bottom: 0; justify-content: center; }

/* ----------------------------------------------------------------------------
   8. HERO
---------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero__media { position: absolute; inset: -8% 0 0 0; z-index: -3; }
.hero__img { width: 100%; height: 108%; object-fit: cover; }

/* Arte de respaldo (si no hay foto): abanico navy + destello dorado */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -4;
  background:
    radial-gradient(80% 60% at 78% 18%, rgba(220, 178, 64, 0.22), transparent 60%),
    radial-gradient(90% 80% at 12% 90%, rgba(28, 74, 112, 0.55), transparent 65%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-800) 100%);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    /* refuerzo suave abajo e izquierda para legibilidad del texto */
    linear-gradient(180deg, transparent 42%, rgba(10, 32, 51, 0.55) 100%),
    linear-gradient(90deg, rgba(15, 47, 74, 0.28) 0%, transparent 60%),
    /* capa azul Imagina al 50% */
    rgba(15, 47, 74, 0.50);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero__content { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 4rem; max-width: 900px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.5rem 1rem; border-radius: 999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(220,178,64,0.25); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
  max-width: 18ch;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
  margin-bottom: 2.2rem;
}
.hero__sub strong { color: #fff; font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3rem; }

.hero__proof {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.5rem;
}
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 600; color: var(--gold);
  line-height: 1;
}
.hero__proof span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); margin-top: 0.3rem; }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; }
.hero__scroll-line {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--gold);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}
@keyframes scrollPulse { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ----------------------------------------------------------------------------
   9. MARQUEE
---------------------------------------------------------------------------- */
.marquee {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 1.15rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.marquee__track .dot { color: var(--gold); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------------------
   10. ART FALLBACKS (si una foto no carga, el hueco luce diseñado)
---------------------------------------------------------------------------- */
[data-art] {
  position: relative;
  background-color: var(--navy);
  background-repeat: no-repeat;
  isolation: isolate;
}
[data-art]::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(70% 55% at 78% 20%, rgba(220, 178, 64, 0.28), transparent 62%),
    radial-gradient(90% 80% at 10% 100%, rgba(28, 74, 112, 0.7), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-800));
}
[data-art]::after {
  content: "";
  position: absolute; inset: 0; z-index: 0; opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Capa de ilustración de marca (se ve cuando aún no cargas tu foto real) */
.art-ill {
  position: absolute; inset: 0; z-index: 1;
  background-repeat: no-repeat;
  background-position: center 54%;
  background-size: min(66%, 260px) auto;
  opacity: 0.95;
  pointer-events: none;
}
[data-art] > img { position: relative; z-index: 2; }
/* Cuando la foto carga, se apoya encima (z-index 2) y tapa la ilustración */

/* --- Iconos ilustrados por tipo de activo (SVG dorado original, sin copyright) --- */
[data-art="oro"] .art-ill {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 180'%3E%3Cg fill='none' stroke='%23ECD48A' stroke-width='4' stroke-linejoin='round' stroke-opacity='.5'%3E%3Cpath d='M150 40c22 3 40 12 40 22s-20 20-46 20-46-9-46-20c0-7 9-13 22-17'/%3E%3Cpath d='M120 66c-24 0-44-9-44-20s20-20 44-20 44 9 44 20-20 20-44 20z'/%3E%3C/g%3E%3Cg stroke='%230F2F4A' stroke-width='2'%3E%3Cellipse cx='132' cy='142' rx='58' ry='18' fill='%23C79A2E'/%3E%3Cellipse cx='132' cy='129' rx='58' ry='18' fill='%23DCB240'/%3E%3Cellipse cx='132' cy='116' rx='58' ry='18' fill='%23ECD48A'/%3E%3C/g%3E%3Ctext x='132' y='124' font-family='Georgia,serif' font-size='24' font-weight='700' text-anchor='middle' fill='%230F2F4A'%3E%24%3C/text%3E%3C/svg%3E");
}
[data-art="vehiculo"] .art-ill {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 170'%3E%3Cpath d='M36 120 L36 98 L64 92 L98 66 L120 58 L184 58 L206 82 L226 98 L232 100 L232 120 L214 120 A24 24 0 0 0 166 120 L112 120 A24 24 0 0 0 64 120 Z' fill='%23DCB240' stroke='%23ECD48A' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M112 64 L150 64 L150 86 L96 86 Z M158 64 L182 64 L200 86 L158 86 Z' fill='%230F2F4A' opacity='.85'/%3E%3Cg stroke='%230F2F4A' stroke-width='2'%3E%3Ccircle cx='88' cy='120' r='19' fill='%230F2F4A'/%3E%3Ccircle cx='88' cy='120' r='8' fill='%23ECD48A'/%3E%3Ccircle cx='190' cy='120' r='19' fill='%230F2F4A'/%3E%3Ccircle cx='190' cy='120' r='8' fill='%23ECD48A'/%3E%3C/g%3E%3C/svg%3E");
}
[data-art="maquinaria"] .art-ill {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 180'%3E%3Cg stroke='%230F2F4A' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='34' y='138' width='150' height='24' rx='12' fill='%23C79A2E'/%3E%3Cg fill='%230F2F4A'%3E%3Ccircle cx='52' cy='150' r='4'/%3E%3Ccircle cx='80' cy='150' r='4'/%3E%3Ccircle cx='108' cy='150' r='4'/%3E%3Ccircle cx='136' cy='150' r='4'/%3E%3Ccircle cx='164' cy='150' r='4'/%3E%3C/g%3E%3Cpath d='M70 138 L70 108 a8 8 0 0 1 8-8 h58 a8 8 0 0 1 8 8 v30 Z' fill='%23DCB240'/%3E%3Crect x='84' y='82' width='42' height='26' rx='5' fill='%23DCB240'/%3E%3Crect x='92' y='88' width='26' height='16' rx='2' fill='%230F2F4A' opacity='.85'/%3E%3C/g%3E%3Cg fill='none' stroke='%23ECD48A' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M142 116 L186 80'/%3E%3Cpath d='M186 80 L214 104'/%3E%3C/g%3E%3Cpath d='M214 104 l16 6 -3 20 -22 -8 z' fill='%23DCB240' stroke='%23ECD48A' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
}


[data-art="problema"] .art-ill {
  background-size: min(48%, 190px) auto;
  background-position: center 42%;
  opacity: .85;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 210'%3E%3Cg stroke='%23ECD48A' stroke-width='5' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='48' y='30' width='104' height='12' rx='6' fill='%23DCB240'/%3E%3Crect x='48' y='168' width='104' height='12' rx='6' fill='%23DCB240'/%3E%3Cpath d='M60 42 L140 42 L100 105 Z' fill='none'/%3E%3Cpath d='M100 105 L60 168 L140 168 Z' fill='none'/%3E%3C/g%3E%3Cpath d='M74 60 L126 60 L100 100 Z' fill='%23DCB240'/%3E%3Crect x='96' y='100' width='8' height='34' fill='%23ECD48A'/%3E%3Cpath d='M78 168 L122 168 L100 138 Z' fill='%23DCB240'/%3E%3C/svg%3E");
}
[data-art="solucion"] .art-ill {
  background-size: min(50%, 200px) auto;
  background-position: center 44%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 210'%3E%3Cpath d='M100 26 L162 50 V100 C162 146 133 176 100 190 C67 176 38 146 38 100 V50 Z' fill='%23DCB240' stroke='%23ECD48A' stroke-width='5' stroke-linejoin='round'/%3E%3Cpath d='M72 104 L92 126 L132 78' fill='none' stroke='%230F2F4A' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------------------------
   11. SECCIÓN PROBLEMA
---------------------------------------------------------------------------- */
.problem { background: var(--cream); }
.problem__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.problem__text .lead { margin-bottom: 2rem; }
.problem__list { display: grid; gap: 1rem; }
.problem__list li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.problem__x {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(203, 60, 60, 0.1);
  color: #c0392b;
  font-weight: 800; font-size: 0.85rem;
}
.problem__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-lg);
}
.problem__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.problem__media figcaption {
  position: absolute; z-index: 3; left: 1rem; right: 1rem; bottom: 1rem;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E6EDF3;
  font-family: var(--font-display);
  font-size: 1.05rem; line-height: 1.35;
  box-shadow: var(--shadow-md);
}

/* ----------------------------------------------------------------------------
   12. SECCIÓN SOLUCIÓN
---------------------------------------------------------------------------- */
.solution { background: #fff; }
.solution__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.solution__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow-lg);
}
.solution__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.solution__badge {
  position: absolute; z-index: 3; left: 1.1rem; bottom: 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: grid; gap: 2px;
  max-width: 240px;
}
.solution__badge strong { color: var(--navy); font-size: 1.05rem; }
.solution__badge span { color: var(--muted); font-size: 0.85rem; }

.solution__reassure { display: grid; gap: 0.7rem; margin: 1.8rem 0 2rem; }
.solution__reassure div {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--navy);
}

/* ----------------------------------------------------------------------------
   13. CÓMO FUNCIONA
---------------------------------------------------------------------------- */
.steps { background: var(--cream); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step:hover::after { transform: scaleX(1); }
.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.9rem;
  -webkit-text-stroke: 0;
}
.step h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.5rem; font-weight: 700; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ----------------------------------------------------------------------------
   14. TIPOS DE GARANTÍA
---------------------------------------------------------------------------- */
.guarantees { background: #fff; }
.guarantees__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gcard {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.gcard:hover { box-shadow: var(--shadow-lg); }
.gcard__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}
.gcard__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.gcard:hover .gcard__media img { transform: scale(1.07); }
.gcard__tag {
  position: absolute; z-index: 3; top: 0.9rem; left: 0.9rem;
  background: rgba(220, 178, 64, 0.95);
  color: var(--navy-900);
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  text-transform: uppercase;
}
.gcard__body { padding: 1.5rem 1.4rem 1.6rem; }
.gcard__body h3 { font-size: 1.25rem; color: var(--navy); font-weight: 700; margin-bottom: 0.5rem; }
.gcard__body p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1rem; }
.gcard__body ul { display: grid; gap: 0.4rem; margin-bottom: 1.2rem; }
.gcard__body ul li {
  position: relative; padding-left: 1.4rem;
  font-size: 0.92rem; color: var(--navy);
}
.gcard__body ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gold-600); font-weight: 800;
}
.gcard__link {
  font-weight: 700; color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s, gap 0.3s;
}
.gcard__link:hover { color: var(--gold-600); }

/* ----------------------------------------------------------------------------
   15. BENEFICIOS
---------------------------------------------------------------------------- */
.benefits {
  background:
    radial-gradient(90% 60% at 85% 0%, rgba(28, 74, 112, 0.55), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy) 55%, var(--navy-800));
  color: #fff;
}
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.bcard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.4s var(--ease-out), background 0.4s, border-color 0.4s;
}
.bcard:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(220, 178, 64, 0.4);
}
.bcard__ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(220, 178, 64, 0.14);
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.bcard__ico svg { width: 26px; height: 26px; }
.bcard h3 { font-size: 1.15rem; margin-bottom: 0.45rem; font-weight: 700; }
.bcard p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }

/* ----------------------------------------------------------------------------
   16. SIMULADOR
---------------------------------------------------------------------------- */
.sim { background: var(--cream); }
.sim__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.sim__notes { display: grid; gap: 0.55rem; margin-top: 1.6rem; }
.sim__notes li { font-weight: 500; color: var(--navy); }

.sim__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 1.5rem; }
.field > label {
  display: block;
  font-weight: 700; font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: "▾"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--gold-600); pointer-events: none; font-size: 0.9rem;
}
.sim__card select {
  width: 100%;
  appearance: none;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-weight: 600; color: var(--navy);
  transition: border-color 0.25s;
}
.sim__card select:focus { outline: none; border-color: var(--gold); }

.range-row { display: flex; align-items: center; gap: 1rem; }
.sim__card input[type="range"] {
  flex: 1;
  -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) var(--pct, 30%), var(--line-strong) var(--pct, 30%));
  cursor: pointer;
}
.sim__card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold);
  box-shadow: 0 2px 8px rgba(15, 47, 74, 0.35);
}
.sim__card input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold);
}
.range-out {
  min-width: 108px; text-align: right;
  font-weight: 800; color: var(--navy);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.sim__result {
  margin: 1.6rem 0;
  background: linear-gradient(160deg, var(--navy), var(--navy-800));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
/* Etiqueta arriba y monto en su propia línea: los números grandes no se salen del cuadro */
.sim__result-row { display: flex; flex-direction: column; gap: 0.15rem; }
.sim__result-row span { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.sim__amount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  font-weight: 600; color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.sim__result-sub {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 0.2rem 1rem;
  margin-top: 0.85rem; padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
}
.sim__result-sub b { white-space: nowrap; }
.sim__result-sub span { color: rgba(255, 255, 255, 0.8); }
.sim__result-sub b { color: #fff; font-variant-numeric: tabular-nums; }
.sim__disclaimer { margin-top: 0.9rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); line-height: 1.45; }

/* ----------------------------------------------------------------------------
   17. CASOS DE ÉXITO
---------------------------------------------------------------------------- */
.cases { background: #fff; }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  background: linear-gradient(180deg, #fff, var(--cream));
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case__tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 0.3rem 0.7rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.case h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--navy); margin-bottom: 1.1rem; line-height: 1.2; }
.case__ba {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem; align-items: center;
  margin-bottom: 1.1rem;
}
.case__before, .case__after {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.85rem;
}
.case__after { border-color: rgba(220, 178, 64, 0.5); background: var(--gold-100); }
.case__before span, .case__after span {
  display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-soft); margin-bottom: 0.3rem;
}
.case__after span { color: var(--gold-600); }
.case__before p, .case__after p { font-size: 0.88rem; color: var(--navy); line-height: 1.45; }
.case__arrow { color: var(--gold-600); font-size: 1.4rem; font-weight: 700; }
.case__who { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* ----------------------------------------------------------------------------
   18. TESTIMONIOS
---------------------------------------------------------------------------- */
.testi {
  background:
    radial-gradient(80% 60% at 15% 10%, rgba(28, 74, 112, 0.5), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-900));
  color: #fff;
}
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tcard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.tcard:hover { transform: translateY(-6px); border-color: rgba(220, 178, 64, 0.4); }
.tcard__stars { color: var(--gold); letter-spacing: 0.15em; font-size: 1rem; }
.tcard blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem; line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}
.tcard figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.tcard__ini {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold); color: var(--navy-900);
  font-weight: 800;
}
.tcard figcaption strong { display: block; font-size: 0.98rem; }
.tcard figcaption small { color: rgba(255, 255, 255, 0.6); font-size: 0.82rem; }

/* ----------------------------------------------------------------------------
   19. FAQ
---------------------------------------------------------------------------- */
.faq { background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__head { position: sticky; top: 100px; }
.faq__head .lead { margin: 1.2rem 0 1.6rem; }
.faq__list { display: grid; gap: 0.8rem; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq__item[open] { box-shadow: var(--shadow-md); border-color: rgba(220, 178, 64, 0.4); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.3rem;
  font-weight: 700; color: var(--navy);
  position: relative;
  font-size: 1.03rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold-100); color: var(--gold-600);
  font-size: 1.2rem; font-weight: 700;
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
.faq__item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); background: var(--gold); color: var(--navy-900); }
.faq__answer { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq__answer p { max-width: 62ch; }
.faq__answer a { color: var(--gold-600); font-weight: 600; border-bottom: 1px solid var(--gold); }

/* ----------------------------------------------------------------------------
   20. CTA FINAL
---------------------------------------------------------------------------- */
.finalcta {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  isolation: isolate;
}
.finalcta__art { position: absolute; inset: 0; z-index: -1; }
.finalcta::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 90% at 80% 10%, rgba(220, 178, 64, 0.3), transparent 55%),
    radial-gradient(80% 90% at 10% 100%, rgba(28, 74, 112, 0.6), transparent 55%),
    linear-gradient(150deg, var(--navy-900), var(--navy) 55%, var(--navy-800));
}
.finalcta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.finalcta__inner { text-align: center; max-width: 760px; }
.finalcta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.4rem + 3.6vw, 4rem);
  line-height: 1.05; letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.2rem;
}
.finalcta__sub { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: rgba(255, 255, 255, 0.85); margin-bottom: 2.2rem; max-width: 52ch; margin-inline: auto; }
.finalcta__btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-bottom: 1.8rem; }
.finalcta__phones { font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); }
.finalcta__phones a { color: var(--gold-300); font-weight: 700; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.finalcta__phones a:hover { border-color: var(--gold-300); }

/* ----------------------------------------------------------------------------
   21. FOOTER
---------------------------------------------------------------------------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.8); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.brand--footer .brand__name { color: #fff; }
.footer__slogan { font-family: var(--font-display); font-size: 1.15rem; color: #fff; margin: 1.1rem 0 0.6rem; max-width: 30ch; }
.footer__mini { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); max-width: 34ch; }
.footer__col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a { font-size: 0.95rem; transition: color 0.25s; }
.footer__col a:hover { color: var(--gold-300); }
.footer__hr { color: rgba(255, 255, 255, 0.55); font-size: 0.88rem; padding-top: 0.4rem; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bar-in {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  padding-block: 1.3rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55);
}
.footer__trust { color: var(--gold-300); }

/* ----------------------------------------------------------------------------
   22. WHATSAPP FLOTANTE
---------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 800;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #06331f;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.35s var(--ease-out);
  animation: waPulse 2.6s var(--ease-in-out) infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ----------------------------------------------------------------------------
   23. SCROLL REVEAL
---------------------------------------------------------------------------- */
.reveal:not([data-split]) {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Stagger dentro de grillas */
.problem__list li, .solution__reassure div, .sim__notes li { transition-delay: calc(var(--i, 0) * 60ms); }

/* Split text (hero title) */
[data-split] .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.7em);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 45ms);
}
[data-split].is-visible .split-word { opacity: 1; transform: none; }

/* ----------------------------------------------------------------------------
   24. RESPONSIVE
---------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }

  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .guarantees__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .cases__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .testi__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .problem__grid, .solution__grid, .sim__grid, .faq__grid { grid-template-columns: 1fr; }
  .solution__grid .solution__media { order: -1; }
  .faq__head { position: static; }
}

@media (max-width: 620px) {
  .steps__grid, .benefits__grid { grid-template-columns: 1fr; }
  .hero__proof { gap: 1.5rem 2rem; }
  .hero__cta .btn { width: 100%; }
  .case__ba { grid-template-columns: 1fr; }
  .case__arrow { transform: rotate(90deg); justify-self: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .range-out { min-width: 92px; font-size: 0.92rem; }
}

/* ----------------------------------------------------------------------------
   25. REDUCED MOTION — solo lo intrusivo
---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .wa-float { animation: none; }
  .hero__scroll-line::after { animation: none; }
  .splash__fill { animation-duration: 0.6s; }
}
