/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 40%; }
@property --angle      { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  /* base */
  --bg:        #08090c;
  --bg-2:      #131418;
  --bg-3:      #1a1c22;
  --line:      #232530;
  --line-soft: rgba(199, 203, 214, 0.1);

  /* identity */
  --silver:    #c7cbd6;
  --gold:      #f0b429;
  --brand-gradient: linear-gradient(135deg, var(--silver) 0%, var(--gold) 100%);

  /* interaction — azul y celeste de la bandera */
  --azul:      #2563eb;
  --azul-2:    #5b8df8;
  --celeste:   #7cc2f0;   /* celeste bandera, avivado para fondo oscuro */
  --green:     #22c55e;
  --red:       #f43f5e;

  /* text */
  --ink:       #f5f6f8;
  --ink-soft:  #c7cbd6;
  --ink-mute:  #9aa0ae;
  --ink-dim:   #5b606e;

  /* secciones claras — blanco + celeste (bandera) */
  --paper:      #f8fbfe;
  --paper-2:    #e9f2fa;
  --gold-deep:  #b07708;  /* Sol de Mayo legible sobre blanco */

  /* type */
  --display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1240px;
  --radius: 18px;
  --radius-sm: 10px;
}

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

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

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

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 720px) { .container { padding-inline: 2.5rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px 2px rgba(240,180,41,.6);
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-block: .9rem .8rem; }
.section-head p { color: var(--ink-mute); font-size: 1.08rem; max-width: 40rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .96rem; white-space: nowrap;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s var(--ease-out), border-color .3s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--azul), var(--azul-2));
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(37, 99, 235, .65);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -8px rgba(37, 99, 235, .8); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--ink-mute); transform: translateY(-3px); background: rgba(255,255,255,.05); }
.btn-gold {
  background: var(--brand-gradient);
  color: #14100a;
  box-shadow: 0 8px 30px -8px rgba(240, 180, 41, .5);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -8px rgba(240, 180, 41, .65); }
.btn-sm { padding: .6rem 1.15rem; font-size: .85rem; }

/* glass */
.glass {
  background: rgba(19, 20, 24, 0.55);
  border: 1px solid var(--line-soft);
}
@supports (backdrop-filter: blur(20px)) {
  .glass {
    background: rgba(19, 20, 24, 0.42);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
  }
}

/* =============================================================
   4. Reveal / motion primitives
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

[data-reveal-scale] { opacity: 0; transform: scale(.94); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
[data-reveal-scale].is-revealed { opacity: 1; transform: scale(1); }

.split-word, .split-char { display: inline-block; will-change: transform, opacity; }

/* =============================================================
   4b. Scroll progress bar
   ============================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 600; background: rgba(255,255,255,0.04); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--silver), var(--gold));
  transform-origin: 0 0; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(240,180,41,.5);
}

/* =============================================================
   4b2. Mouse spotlight (whole page, fine-pointer only)
   ============================================================= */
.spotlight {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  mix-blend-mode: screen; display: none;
  background: radial-gradient(640px circle at var(--mx, 50%) var(--my, 50%),
              rgba(199, 203, 214, 0.06), transparent 70%);
}
@media (hover: hover) and (pointer: fine) { .spotlight { display: block; } }

/* =============================================================
   4c. Parallax orbs (decorative, scroll-linked)
   ============================================================= */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(70px); opacity: .5; z-index: 0;
  will-change: transform;
}
.orb-azul { background: radial-gradient(circle, rgba(37, 99, 235,.55), transparent 70%); }
.orb-gold   { background: radial-gradient(circle, rgba(240,180,41,.4), transparent 70%); }
.orb-cyan   { background: radial-gradient(circle, rgba(124, 194, 240,.35), transparent 70%); }
@keyframes orbFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -26px; }
}
.orb { animation: orbFloat 9s ease-in-out infinite; }
.orb:nth-child(2) { animation-duration: 12s; animation-delay: -4s; }

/* =============================================================
   5. Cursor
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  display: none; mix-blend-mode: difference; opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px; background: var(--ink); border-radius: 50%; }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px; border: 1px solid var(--ink); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 54px; height: 54px; margin: -27px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  padding-block: 1.15rem;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), border-color .4s var(--ease-out), padding .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-block: .8rem;
  background: rgba(8, 9, 12, 0.75);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(16px)) {
  .nav.is-scrolled { backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: none; }
@media (max-width: 539px) {
  .brand { font-size: .92rem; gap: .45rem; }
  .brand-mark { width: 24px; height: 24px; }
  .nav-actions { gap: .5rem; }
}
.nav-links { display: none; align-items: center; gap: 1.9rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link { position: relative; padding: .3rem 0; font-size: .92rem; color: var(--ink-soft); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--gold); }
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-actions .btn-ghost { display: none; }
@media (min-width: 640px) { .nav-actions .btn-ghost { display: inline-flex; } }

.nav-burger {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line);
}
@media (min-width: 1024px) { .nav-burger { display: none; } }
.nav-burger span { position: relative; width: 16px; height: 1px; background: var(--ink); display: block; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--ink); transition: transform .3s;
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

.nav-mobile {
  position: fixed; inset: 0; z-index: 490;
  background: var(--bg); display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile-list { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.nav-mobile-list a { font-family: var(--display); font-size: 1.7rem; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 6rem;
  overflow: clip;
  isolation: isolate;
}
.hero-gradient {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(circle 620px at var(--mx, 30%) var(--my, 30%), rgba(37, 99, 235,.35) 0%, transparent 60%),
    radial-gradient(circle 720px at calc(var(--mx, 30%) + 30%) calc(var(--my, 30%) + 20%), rgba(124, 194, 240,.16) 0%, transparent 60%),
    radial-gradient(circle 640px at calc(var(--mx, 30%) - 10%) calc(var(--my, 30%) + 45%), rgba(240,180,41,.16) 0%, transparent 55%),
    var(--bg);
  filter: blur(70px) saturate(140%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 80%);
}
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; mix-blend-mode: screen; }

.hero-inner { position: relative; z-index: 2; will-change: transform, opacity; }
.hero .orb { will-change: transform; }

/* Aurora — conic beam girando lento detrás del hero */
.hero-aurora {
  position: absolute; inset: -25% -12%; z-index: -1;
  pointer-events: none; opacity: .55;
  background: conic-gradient(from var(--mesh-angle) at 62% 38%,
    transparent 0deg,
    rgba(37, 99, 235, .28) 55deg,
    rgba(124, 194, 240, .16) 120deg,
    transparent 190deg,
    rgba(240, 180, 41, .14) 290deg,
    transparent 360deg);
  filter: blur(80px) saturate(135%);
  animation: auroraSpin 26s linear infinite;
}
@keyframes auroraSpin { to { --mesh-angle: 360deg; } }

.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  max-width: 20ch; margin: 1.1rem 0 1.4rem;
}
.hero-title em { font-style: normal; }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-mute);
  max-width: 38rem;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }

.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.4rem, 4vw, 3.4rem); }
.hero-stat-num { font-family: var(--mono); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--ink); font-weight: 500; }
.hero-stat-num .unit { font-size: .55em; color: var(--ink-mute); margin-left: .15em; }
.hero-stat-label { font-size: .8rem; color: var(--ink-mute); margin-top: .3rem; }

.scroll-cue {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--ink-dim); font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-cue-line { width: 1px; height: 34px; background: linear-gradient(var(--ink-dim), transparent); overflow: hidden; position: relative; }
.scroll-cue-line::after {
  content: ""; position: absolute; top: -34px; left: 0; width: 100%; height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop { to { top: 34px; } }

/* =============================================================
   8. Problema — scroll storytelling
   ============================================================= */
.problem { background: var(--bg-2); border-block: 1px solid var(--line); overflow: clip; }
.problem-flow { display: flex; flex-direction: column; gap: 1.6rem; margin-bottom: 3rem; position: relative; }
.problem-line {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  font-family: var(--display); font-size: clamp(1.35rem, 3vw, 2.1rem); font-weight: 500; color: var(--ink-soft);
  will-change: transform, opacity;
}
/* when GSAP storytelling takes over, it drives these itself */
.has-storyfx .problem-line[data-reveal] { transition: none; }
.problem-line strong { color: var(--red); font-weight: 700; }
.problem-line .arrow { color: var(--ink-dim); font-family: var(--mono); font-size: 1.1rem; }

.problem-panel {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 720px) { .problem-panel { grid-template-columns: repeat(3, 1fr); } }
.problem-cell {
  background: var(--bg-2); padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: .5rem;
}
.problem-cell .k { font-family: var(--mono); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--red); font-weight: 500; }
.problem-cell .k.positive { color: var(--gold); }
.problem-cell .l { color: var(--ink-mute); font-size: .92rem; }
.problem-note { margin-top: 1.4rem; font-size: .82rem; color: var(--ink-dim); }

/* =============================================================
   9. Soluciones
   ============================================================= */
/* Las tarjetas viven dentro de un carrusel: ancho fijo, no se achican */
.solutions-track > .sol-card { flex: 0 0 min(88vw, 380px); }

.sol-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: var(--radius);
  padding: 1.9rem; background: var(--bg-2); border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-soft), border-color .4s, background .4s;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
}
.sol-card:hover { border-color: rgba(240,180,41,.35); transition-duration: .15s; }
.sol-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240,180,41,.14), transparent 65%);
  transition: opacity .4s;
}
.sol-card:hover::before { opacity: 1; }
.sol-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235,.22), rgba(124, 194, 240,.14));
  border: 1px solid var(--line-soft);
  margin-bottom: 1.1rem;
  color: var(--celeste);
}
.sol-icon svg { width: 22px; height: 22px; }
.sol-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.sol-card h3 { font-size: 1.22rem; margin: .55rem 0 .6rem; }
.sol-card p.desc { color: var(--ink-mute); font-size: .93rem; margin-bottom: 1.3rem; }

.sol-flow { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.3rem; }
.sol-flow-col { display: flex; flex-direction: column; gap: .35rem; }
.sol-flow-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .25rem; }
.sol-flow-col.before .sol-flow-label { color: var(--red); }
.sol-flow-col.after .sol-flow-label { color: var(--green); }
.sol-flow-step {
  font-size: .74rem; line-height: 1.35; color: var(--ink-mute);
  padding-left: .7rem; border-left: 2px solid var(--line);
}
.sol-flow-col.after .sol-flow-step { border-left-color: rgba(34,197,94,.4); }

.sol-time {
  display: flex; align-items: center; justify-content: space-between; gap: .7rem;
  padding-top: 1rem; border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: .82rem;
}
.sol-time .before { color: var(--red); text-decoration: line-through; opacity: .7; }
.sol-time .after { color: var(--green); font-weight: 600; }
.sol-savings { margin-top: .6rem; font-size: .78rem; color: var(--ink-mute); }

/* =============================================================
   11. Calculadora
   ============================================================= */
.calc-panel {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
@media (min-width: 960px) { .calc-panel { grid-template-columns: 1fr 1fr; } }
.calc-form { padding: clamp(1.3rem, 2.6vw, 2rem); background: var(--bg-2); }
.calc-field { margin-bottom: 1.05rem; }
.calc-field label { display: flex; justify-content: space-between; font-size: .86rem; color: var(--ink-mute); margin-bottom: .6rem; }
.calc-field label .val { font-family: var(--mono); color: var(--gold); }
.calc-field input[type="range"] {
  width: 100%; appearance: none; height: 4px; border-radius: 999px;
  background: var(--bg-3); outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-gradient); cursor: pointer; border: 3px solid var(--bg-2);
  box-shadow: 0 0 0 1px var(--line);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--bg-2);
  background: var(--brand-gradient); cursor: pointer;
}
.calc-note { font-size: .74rem; color: var(--ink-dim); margin-top: 1rem; }

.calc-results {
  padding: clamp(1.3rem, 2.6vw, 2rem);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(37, 99, 235,.18), transparent 60%),
    var(--bg-3);
  display: flex; flex-direction: column; gap: .8rem;
}
/* Dos columnas de resultados en pantallas anchas: la mitad de alto */
.calc-rows { display: grid; grid-template-columns: 1fr; gap: 0 1.6rem; }
@media (min-width: 620px) { .calc-rows { grid-template-columns: 1fr 1fr; } }
.calc-result-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: .45rem; border-bottom: 1px solid var(--line); }
.calc-result-label { color: var(--ink-mute); font-size: .82rem; }
.calc-result-val { font-family: var(--mono); font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 500; }
.calc-result-val.money { color: var(--gold); }
.calc-result-val.hours { color: var(--celeste); }
.calc-result-val.roi { color: var(--green); }
.calc-hero-num {
  font-family: var(--mono); font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--gold); font-weight: 600; line-height: 1;
}
.calc-hero-num.flash { animation: valFlash .7s var(--ease-out); }
@keyframes valFlash {
  0% { text-shadow: 0 0 26px rgba(240, 180, 41, .9); }
  100% { text-shadow: 0 0 0 rgba(240, 180, 41, 0); }
}
.calc-hero-label { color: var(--ink-mute); font-size: .9rem; margin-top: .5rem; }

/* =============================================================
   12. Carrusel horizontal (soluciones)
   ============================================================= */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 1.1rem; overflow-x: auto; overflow-y: visible;
  padding-block: .4rem 1.1rem; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-controls { display: flex; align-items: center; gap: .7rem; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-soft);
  cursor: pointer; font-size: 1.05rem; transition: all .25s var(--ease-out);
}
.carousel-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-hint { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-dim); margin-left: .3rem; }
@media (min-width: 900px) { .carousel-hint { display: none; } }

/* =============================================================
   13. Proceso — timeline con línea que se dibuja al scrollear
   ============================================================= */
.process-wrap { position: relative; padding-left: 1.6rem; }
.process-rail {
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--line); border-radius: 999px; overflow: hidden;
}
.process-rail span {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--silver), var(--gold));
  transform-origin: 0 0; transform: scaleY(0);
  box-shadow: 0 0 14px rgba(240,180,41,.45);
}
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.6rem;
  padding-block: 1.7rem; border-top: 1px solid var(--line);
  transition: opacity .5s var(--ease-out);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-num { font-family: var(--mono); font-size: 1.5rem; color: var(--ink-dim); transition: color .4s, text-shadow .4s; }
.process-item.is-active .process-num, .process-item:hover .process-num {
  color: var(--gold); text-shadow: 0 0 18px rgba(240,180,41,.5);
}
.process-item h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.process-item p { color: var(--ink-mute); font-size: .92rem; max-width: 44rem; }

/* =============================================================
   14. Tecnología
   ============================================================= */
.tech { border-block: 1px solid var(--line); background: var(--bg-2); }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee-track { display: inline-flex; gap: 2.6rem; white-space: nowrap; will-change: transform; padding-block: .5rem; }
.tech-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .95rem; color: var(--ink-mute);
  padding: .7rem 1.3rem; border: 1px solid var(--line); border-radius: 999px;
  transition: color .3s, border-color .3s;
}
.tech-badge:hover { color: var(--ink); border-color: var(--celeste); }
.tech-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--celeste); }

/* =============================================================
   15. FAQ
   ============================================================= */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.35rem; text-align: left; font-size: 1.02rem; font-weight: 500;
}
.faq-q:hover { color: var(--gold); }
.faq-plus { flex: none; width: 20px; height: 20px; position: relative; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: currentColor; top: 50%; left: 50%;
  transform: translate(-50%, -50%); transition: transform .35s var(--ease-out), opacity .35s;
}
.faq-plus::before { width: 14px; height: 1.4px; }
.faq-plus::after { width: 1.4px; height: 14px; }
.faq-item.is-open .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-soft);
}
.faq-a-inner { padding-bottom: 1.4rem; color: var(--ink-mute); font-size: .95rem; max-width: 46rem; }

/* =============================================================
   16. CTA final
   ============================================================= */
.cta-final {
  position: relative; overflow: clip; isolation: isolate;
  padding-block: clamp(5.5rem, 12vw, 10rem);
  text-align: center;
}
.cta-final::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1;
  background:
    radial-gradient(50% 60% at 30% 30%, rgba(37, 99, 235,.35), transparent 65%),
    radial-gradient(45% 50% at 75% 70%, rgba(240,180,41,.22), transparent 65%);
  filter: blur(90px) saturate(140%);
  animation: meshShift 26s linear infinite;
}
@keyframes meshShift {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.12); }
  100% { transform: rotate(360deg) scale(1); }
}
.cta-final h2 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1.4rem;
}
.cta-final .lead { color: var(--ink-mute); font-size: 1.1rem; max-width: 34rem; margin: 0 auto 2.6rem; }
.cta-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.cta-final-tag {
  font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700;
  background: linear-gradient(110deg, var(--silver) 20%, var(--gold) 50%, var(--silver) 80%);
  background-size: 220% 100%;
  background-position: var(--sweep, 100%) 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* =============================================================
   17. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 3.4rem 2.4rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.6rem; margin-bottom: 2.6rem; }
.footer-brand p { color: var(--ink-mute); font-size: .9rem; max-width: 24rem; margin-top: .8rem; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 3rem; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); font-family: var(--mono); margin-bottom: 1rem; font-weight: 500; }
.footer-col a, .footer-col span { display: block; font-size: .92rem; color: var(--ink-soft); margin-bottom: .65rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.8rem; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--ink-dim);
}
.footer-wordmark {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.2rem, 12.5vw, 11rem);
  line-height: .95; letter-spacing: -.04em; white-space: nowrap;
  text-align: center; user-select: none; pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  margin-top: 3rem; margin-bottom: -0.12em;
  overflow: hidden; will-change: transform;
}
.footer-socials { display: flex; gap: 1rem; }

/* =============================================================
   17b. Secciones elevadas — oscuras, apenas más claras que el fondo
   Mantienen el ritmo visual de la página sin cortar con blanco.
   ============================================================= */
.section-light {
  /* base oscura, un escalón por encima del fondo general */
  --bg:        #0e1016;
  --bg-2:      #151821;
  --bg-3:      #1d212c;
  --line:      rgba(199, 203, 214, 0.14);
  --line-soft: rgba(199, 203, 214, 0.08);
  /* texto claro */
  --ink:       #f5f6f8;
  --ink-soft:  #c7cbd6;
  --ink-mute:  #9aa0ae;
  --ink-dim:   #5b606e;
  /* Sol de Mayo pleno: sobre oscuro no necesita apagarse */
  --gold:      #f0b429;
  --silver:    #c7cbd6;

  background:
    radial-gradient(55% 45% at 88% 0%, rgba(240, 180, 41, 0.10), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(124, 194, 240, 0.12), transparent 70%),
    linear-gradient(180deg, #0e1016 0%, #16191f 100%);
  color: var(--ink);
  border-block: 1px solid var(--line);
}
.section-light .gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
}
.section-light .glass {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(199, 203, 214, 0.12);
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.65);
}
@supports (backdrop-filter: blur(20px)) {
  .section-light .glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
  }
}
.section-light .eyebrow::before { box-shadow: 0 0 12px 2px rgba(240, 180, 41, .45); }
.section-light .sol-icon { color: var(--celeste); }
.section-light ::selection { background: var(--azul); color: #fff; }

/* =============================================================
   18. Responsive helpers
   ============================================================= */
@media (max-width: 719px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .sol-flow { grid-template-columns: 1fr; }
}

/* =============================================================
   19. Reduced motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .particles { display: none; }
  .scroll-cue-line::after { animation: none; }
  .cta-final::before { animation: none; }
  .orb { animation: none; }
  .hero-aurora { animation: none; opacity: .35; }
  html { scroll-behavior: auto; }
}
