/* =================================================================
   EA · Ecosistema de Networking Financiero
   Design system — mobile-first, premium dark, gold + azul turquí
   ================================================================= */

/* ---------- Tokens ---------- */
:root{
  /* structure */
  --bg:        #07080B;
  --bg-2:      #0A0C11;
  --bg-3:      #0E1016;
  --surface:   #12141B;
  --surface-2: #171A22;
  --line:      rgba(255,255,255,.07);
  --line-2:    rgba(255,255,255,.12);

  /* text */
  --txt:    #F3F5F9;
  --txt-2:  #AEB4C0;
  --txt-3:  #767D8C;

  /* gold (brand identity) */
  --gold-1:  #F7E9BC;
  --gold-2:  #E4C374;
  --gold:    #C9A24B;
  --gold-d:  #9A7430;
  --gold-grad: linear-gradient(135deg,#F7E9BC 0%,#E4C374 38%,#B98A38 72%,#EBCE84 100%);

  /* azul turquí (action / interactivity) */
  --blue-1:  #16224F;
  --blue:    #2A45C9;
  --blue-2:  #3D5BE6;
  --blue-glow: #5C7BFF;
  --blue-soft: rgba(92,123,255,.14);
  --blue-grad: linear-gradient(135deg,#3D5BE6 0%,#2A45C9 60%,#1B2C82 100%);

  --ok: #34d399;

  /* shape */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 32px;

  --shadow:   0 18px 50px -22px rgba(0,0,0,.85);
  --shadow-blue: 0 18px 60px -18px rgba(42,69,201,.55);
  --shadow-gold: 0 14px 44px -18px rgba(201,162,75,.4);

  --maxw: 1140px;
  --pad: clamp(16px, 5vw, 28px);

  --ff-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  font-family:var(--ff-body);
  background:var(--bg);
  color:var(--txt);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
ul{ list-style:none; }
::selection{ background:var(--blue); color:#fff; }

/* gradient text helpers */
.grad-gold{
  background:var(--gold-grad);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

/* ---------- Typography (compact mobile-first) ---------- */
h1,h2,h3{ font-family:var(--ff-display); font-weight:700; line-height:1.12; letter-spacing:-.02em; }
h2{ font-size:clamp(1.45rem, 5.4vw, 2.35rem); }
h3{ font-size:1.02rem; letter-spacing:-.01em; }

.section-head{ max-width:680px; margin:0 auto clamp(20px,5vw,34px); text-align:center; }
.section-lead{ color:var(--txt-2); font-size:.95rem; margin-top:10px; }
.kicker{
  display:inline-block; font-family:var(--ff-display); font-weight:600;
  font-size:.7rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold-2); margin-bottom:12px;
}
.kicker--blue{ color:var(--blue-glow); }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; font-weight:600;
  color:var(--txt-2);
  padding:7px 14px; border-radius:999px;
  border:1px solid var(--line-2); background:rgba(255,255,255,.03);
  backdrop-filter:blur(6px);
}
.eyebrow__dot{ width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px rgba(201,162,75,.18); animation:pulse 2.4s ease-in-out infinite; }
@keyframes pulse{ 50%{ box-shadow:0 0 0 7px rgba(201,162,75,0); } }

/* ---------- Layout ---------- */
section{ position:relative; padding:clamp(52px,12vw,104px) var(--pad); }
section[id]{ scroll-margin-top:72px; }
#inicio{ scroll-margin-top:0; }
.metrics,.model,.sim,.trust,.contact,.faq{ overflow:hidden; }

/* ---------- Buttons ---------- */
.btn{
  --bd:transparent;
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--ff-display); font-weight:600; font-size:.92rem;
  padding:13px 22px; border-radius:999px; cursor:pointer; border:1px solid var(--bd);
  transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color:transparent; white-space:nowrap;
}
.btn .ico{ width:18px; height:18px; }
.btn:active{ transform:scale(.97); }

.btn--blue{ background:var(--blue-grad); color:#fff; box-shadow:var(--shadow-blue); }
.btn--blue:hover{ transform:translateY(-2px); box-shadow:0 22px 70px -16px rgba(61,91,230,.7); }
.btn--blue .ico path{ stroke:#fff; }

.btn--gold{ background:var(--gold-grad); color:#1a1407; box-shadow:var(--shadow-gold); }
.btn--gold:hover{ transform:translateY(-2px); box-shadow:0 20px 56px -16px rgba(201,162,75,.6); }
.btn--gold .ico path{ stroke:#1a1407; }

.btn--ghost{ background:rgba(255,255,255,.04); color:var(--txt); --bd:var(--line-2); backdrop-filter:blur(8px); }
.btn--ghost:hover{ background:rgba(255,255,255,.09); transform:translateY(-2px); border-color:rgba(255,255,255,.25); }

.btn--lg{ padding:15px 26px; font-size:1rem; }
.btn--block{ width:100%; }

.ico{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }

/* ---------- Scroll progress ---------- */
.scroll-progress{ position:fixed; top:0; left:0; right:0; height:2px; z-index:120; background:transparent; pointer-events:none; }
.scroll-progress span{ display:block; height:100%; width:0; background:var(--gold-grad); box-shadow:0 0 12px rgba(201,162,75,.6); }

/* ---------- NAV ---------- */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:100;
  display:flex; align-items:center; gap:14px;
  padding:12px var(--pad);
  transition:background .35s, backdrop-filter .35s, border-color .35s, padding .35s;
  border-bottom:1px solid transparent;
}
.nav.is-stuck{
  background:rgba(8,9,13,.72); backdrop-filter:blur(16px) saturate(140%);
  border-bottom-color:var(--line); padding-top:9px; padding-bottom:9px;
}
.nav__brand{ display:flex; align-items:center; }
.nav__logo{ height:48px; width:auto; filter:drop-shadow(0 2px 12px rgba(201,162,75,.35)); transition:height .35s; }
.nav.is-stuck .nav__logo{ height:42px; }
.nav__links{ display:none; gap:28px; margin-inline:auto; }
.nav__links a{ font-size:.9rem; color:var(--txt-2); position:relative; transition:color .25s; }
.nav__links a::after{ content:""; position:absolute; left:0; right:100%; bottom:-6px; height:2px; background:var(--gold-grad); transition:right .3s; }
.nav__links a:hover{ color:var(--txt); }
.nav__links a:hover::after{ right:0; }
.nav__cta{ display:none; }

.nav__burger{ margin-left:auto; width:42px; height:42px; display:grid; place-content:center; gap:5px; background:rgba(255,255,255,.04); border:1px solid var(--line-2); border-radius:12px; cursor:pointer; }
.nav__burger span{ display:block; width:18px; height:2px; background:var(--txt); border-radius:2px; transition:transform .3s, opacity .3s; }
.nav__burger.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity:0; }
.nav__burger.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobilemenu{
  position:fixed; inset:0; z-index:99;
  background:rgba(7,8,11,.97); backdrop-filter:blur(18px);
  display:flex; flex-direction:column; justify-content:center; gap:8px;
  padding:0 var(--pad);
  opacity:0; visibility:hidden; transform:translateY(-8px);
  transition:opacity .35s, transform .35s, visibility .35s;
}
.mobilemenu.is-open{ opacity:1; visibility:visible; transform:none; }
.mobilemenu a{ font-family:var(--ff-display); font-weight:600; font-size:1.4rem; padding:14px 4px; border-bottom:1px solid var(--line); color:var(--txt); }
.mobilemenu a.btn{ margin-top:18px; font-size:1rem; justify-content:center; border-bottom:none; }

/* =================================================================
   HERO
   ================================================================= */
.hero{
  position:relative; min-height:100svh;
  display:flex; flex-direction:column; justify-content:center;
  padding-top:96px; padding-bottom:64px;
  isolation:isolate;
}
.hero__bg{ position:absolute; inset:0; z-index:-1; overflow:hidden; background:
  radial-gradient(120% 90% at 50% -10%, #0d1018 0%, var(--bg) 55%);
}
.hero__grid{
  position:absolute; inset:-2px;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:46px 46px;
  -webkit-mask-image:radial-gradient(120% 80% at 50% 18%, #000 30%, transparent 75%);
          mask-image:radial-gradient(120% 80% at 50% 18%, #000 30%, transparent 75%);
  animation:gridDrift 28s linear infinite;
}
@keyframes gridDrift{ to{ background-position:46px 46px; } }
.hero__glow{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.5; }
.hero__glow--gold{ width:50vw; height:50vw; max-width:520px; max-height:520px; top:-10%; right:-12%; background:radial-gradient(circle,rgba(201,162,75,.4),transparent 70%); animation:float1 14s ease-in-out infinite; }
.hero__glow--blue{ width:55vw; height:55vw; max-width:560px; max-height:560px; bottom:-18%; left:-16%; background:radial-gradient(circle,rgba(61,91,230,.5),transparent 70%); animation:float2 18s ease-in-out infinite; }
@keyframes float1{ 50%{ transform:translate(-24px,26px); } }
@keyframes float2{ 50%{ transform:translate(26px,-22px); } }

.hero__bars{ position:absolute; right:6%; bottom:0; display:flex; align-items:flex-end; gap:7px; height:34vh; max-height:280px; opacity:.34; }
.hero__bars i{ display:block; width:clamp(7px,2.4vw,16px); border-radius:6px 6px 0 0; background:linear-gradient(to top,rgba(201,162,75,.05),var(--gold) 90%); }

.hero__watermark{
  position:absolute; left:50%; top:54%; transform:translate(-50%,-50%);
  font-family:var(--ff-display); font-weight:700; font-size:46vw; line-height:1;
  color:rgba(255,255,255,.018); letter-spacing:-.04em; z-index:-1; user-select:none; pointer-events:none;
}

.hero__inner{ width:100%; max-width:var(--maxw); margin-inline:auto; }
.hero__title{ font-size:clamp(2rem, 8.6vw, 4.4rem); margin:18px 0 16px; max-width:14ch; }
.hero__sub{ color:var(--txt-2); font-size:clamp(.98rem,3.6vw,1.18rem); max-width:46ch; }
.hero__sub strong{ color:var(--txt); font-weight:600; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.hero__chips{ display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:26px; }
.hero__chips li{ display:inline-flex; align-items:center; gap:8px; font-size:.82rem; color:var(--txt-2); }
.hero__chips .ico{ width:17px; height:17px; stroke:var(--gold-2); }

.hero__scroll{ position:absolute; left:50%; bottom:18px; transform:translateX(-50%); width:26px; height:42px; border:2px solid var(--line-2); border-radius:14px; display:grid; place-items:start center; padding-top:7px; }
.hero__scroll span{ width:4px; height:8px; border-radius:2px; background:var(--gold-2); animation:scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot{ 0%,100%{ transform:translateY(0); opacity:1; } 60%{ transform:translateY(11px); opacity:.2; } }

/* hero · logo presence */
.hero__logo{ height:clamp(56px,13vw,94px); width:auto; margin-bottom:18px; filter:drop-shadow(0 10px 30px rgba(201,162,75,.42)); }

/* hero · animated investment chart */
.hero__chart{ position:absolute; left:0; right:5%; bottom:0; height:clamp(190px,42%,360px); opacity:.6; }
.hero__chart-line{ stroke-dasharray:1500; stroke-dashoffset:1500; filter:drop-shadow(0 0 7px rgba(92,123,255,.55)); animation:eaDraw 2.6s cubic-bezier(.4,0,.2,1) .25s forwards; }
.hero__chart-area{ opacity:0; animation:eaArea 1.6s ease 1.1s forwards; }
.hero__chart-dot{ opacity:0; transform-box:fill-box; transform-origin:center; filter:drop-shadow(0 0 6px var(--gold-1)); animation:eaDotIn .5s ease 2.5s forwards, eaDotPulse 2.6s ease-in-out 2.8s infinite; }
@keyframes eaDraw{ to{ stroke-dashoffset:0; } }
@keyframes eaArea{ to{ opacity:1; } }
@keyframes eaDotIn{ to{ opacity:1; } }
@keyframes eaDotPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.7); } }

/* hero · floating particles */
.hero__particles{ position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.hero__particles i{ position:absolute; bottom:-12px; border-radius:50%; opacity:0; animation:eaFloat linear infinite; }
@keyframes eaFloat{ 0%{ transform:translateY(0) scale(1); opacity:0; } 14%{ opacity:.55; } 86%{ opacity:.45; } 100%{ transform:translateY(-190px) scale(.35); opacity:0; } }

/* hero · live badge (tablet/desktop) */
.hero__badge{ display:none; }
@media (min-width:1024px){
  .hero__badge{
    position:absolute; right:6%; top:15%;
    display:flex; align-items:center; gap:11px;
    padding:13px 18px; border-radius:18px;
    background:linear-gradient(160deg,rgba(20,22,30,.82),rgba(12,14,20,.9));
    border:1px solid var(--line-2); box-shadow:var(--shadow);
    animation:eaBadgeFloat 7s ease-in-out infinite;
  }
}
@media (min-width:1280px){ .hero__badge{ right:8%; top:17%; } }
.hero__badge-dot{ width:10px; height:10px; border-radius:50%; background:var(--ok); flex:0 0 auto; animation:eaLive 2.2s ease-out infinite; }
.hero__badge-num{ font-family:var(--ff-display); font-weight:700; font-size:1.55rem; line-height:1; color:var(--gold-2); font-variant-numeric:tabular-nums; }
.hero__badge-label{ font-size:.7rem; line-height:1.15; color:var(--txt-2); letter-spacing:.02em; }
@keyframes eaBadgeFloat{ 50%{ transform:translateY(-12px); } }
@keyframes eaLive{ 0%{ box-shadow:0 0 0 0 rgba(52,211,153,.5); } 70%{ box-shadow:0 0 0 9px rgba(52,211,153,0); } 100%{ box-shadow:0 0 0 0 rgba(52,211,153,0); } }

/* =================================================================
   METRICS
   ================================================================= */
.metrics{ background:linear-gradient(180deg,var(--bg) 0%,var(--bg-3) 100%); }
.metrics__map{ position:absolute; inset:0; z-index:0; display:grid; place-items:center; pointer-events:none; }
.metrics__map img{ width:min(58vw,420px); color:var(--blue-glow); opacity:.07; }
.metrics__nodes{ position:absolute; inset:0; }
.metrics__nodes b{ position:absolute; width:8px; height:8px; border-radius:50%; background:var(--blue-glow); box-shadow:0 0 14px var(--blue-glow); animation:nodepulse 3s ease-in-out infinite; }
@keyframes nodepulse{ 0%,100%{ transform:scale(.7); opacity:.5; } 50%{ transform:scale(1.15); opacity:1; } }

.metrics .section-head,.metrics__grid{ position:relative; z-index:1; }
.metrics__grid{ max-width:var(--maxw); margin-inline:auto; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.stat{
  background:linear-gradient(160deg,var(--surface),var(--bg-3));
  border:1px solid var(--line); border-radius:var(--r);
  padding:18px 16px; position:relative; overflow:hidden;
  transition:transform .35s, border-color .35s, box-shadow .35s;
}
.stat::before{ content:""; position:absolute; inset:0 0 auto 0; height:2px; background:var(--gold-grad); opacity:.4; transform:scaleX(.4); transform-origin:left; transition:transform .4s,opacity .4s; }
.stat:hover{ transform:translateY(-4px); border-color:var(--line-2); box-shadow:var(--shadow); }
.stat:hover::before{ transform:scaleX(1); opacity:1; }
.stat__ico{ width:40px; height:40px; border-radius:12px; display:grid; place-items:center; margin-bottom:12px; }
.stat__ico svg{ width:20px; height:20px; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.stat__ico--gold{ background:rgba(201,162,75,.12); }
.stat__ico--gold svg{ stroke:var(--gold-2); }
.stat__ico--blue{ background:var(--blue-soft); }
.stat__ico--blue svg{ stroke:var(--blue-glow); }
.stat__num{ font-family:var(--ff-display); font-weight:700; font-size:clamp(1.9rem,8vw,2.8rem); line-height:1; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
.stat__label{ color:var(--txt-2); font-size:.82rem; margin-top:6px; }
.stat__label--lg{ font-family:var(--ff-display); font-weight:600; font-size:1rem; color:var(--txt); }
.stat--wide{ grid-column:1 / -1; display:flex; align-items:center; gap:14px; }
.stat--wide .stat__ico{ margin-bottom:0; flex:0 0 auto; }
.stat__hint{ color:var(--txt-3); font-size:.76rem; margin-top:3px; }

/* =================================================================
   MODELO (swipe track)
   ================================================================= */
.model{ background:var(--bg); }
.model__track{
  display:flex; gap:14px; max-width:var(--maxw); margin-inline:auto;
  overflow-x:auto; scroll-snap-type:x mandatory; padding:4px 4px 14px;
  -webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.model__track::-webkit-scrollbar{ display:none; }
.mcard{
  scroll-snap-align:center; flex:0 0 78%; max-width:300px;
  background:linear-gradient(165deg,var(--surface),var(--bg-3));
  border:1px solid var(--line); border-radius:var(--r-lg);
  padding:22px 20px; position:relative; overflow:hidden;
  transition:transform .35s, border-color .35s;
}
.mcard::after{ content:""; position:absolute; right:-30px; top:-30px; width:120px; height:120px; background:radial-gradient(circle,var(--blue-soft),transparent 70%); }
.mcard:hover{ border-color:var(--line-2); }
.mcard__step{ font-family:var(--ff-display); font-weight:700; font-size:.78rem; color:var(--gold-2); letter-spacing:.1em; }
.mcard__ico{ width:48px; height:48px; border-radius:14px; display:grid; place-items:center; margin:12px 0 14px; background:var(--blue-soft); }
.mcard__ico svg{ width:24px; height:24px; fill:none; stroke:var(--blue-glow); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mcard h3{ margin-bottom:7px; }
.mcard p{ color:var(--txt-2); font-size:.88rem; }
.mcard p strong{ color:var(--txt); }
.model__dots{ display:flex; justify-content:center; gap:7px; margin-top:18px; }
.model__dots b{ width:7px; height:7px; border-radius:50%; background:var(--line-2); transition:width .3s, background .3s; cursor:pointer; }
.model__dots b.is-active{ width:22px; border-radius:4px; background:var(--gold-grad); }

/* =================================================================
   SIMULATOR
   ================================================================= */
.sim{ background:linear-gradient(180deg,var(--bg-3),var(--bg) 70%); }
.sim__bg{ position:absolute; inset:0; z-index:0; background:radial-gradient(80% 50% at 50% 0%, rgba(42,69,201,.16), transparent 70%); }
.sim .section-head,.sim__card{ position:relative; z-index:1; }
.sim__card{
  max-width:620px; margin-inline:auto;
  background:linear-gradient(165deg,rgba(23,26,34,.9),rgba(12,14,20,.95));
  border:1px solid var(--line-2); border-radius:var(--r-xl);
  padding:clamp(20px,5vw,32px);
  box-shadow:var(--shadow); backdrop-filter:blur(10px);
}
.sim__input-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
.sim__label{ font-family:var(--ff-display); font-weight:600; font-size:.9rem; color:var(--txt-2); }
.sim__amount{ display:inline-flex; align-items:baseline; gap:6px; background:var(--bg); border:1px solid var(--line-2); border-radius:14px; padding:10px 14px; transition:border-color .3s, box-shadow .3s; }
.sim__amount:focus-within{ border-color:var(--blue-2); box-shadow:0 0 0 4px var(--blue-soft); }
.sim__currency{ color:var(--gold-2); font-weight:700; font-family:var(--ff-display); }
.sim__amount input{ width:9ch; background:transparent; border:none; outline:none; font-family:var(--ff-display); font-weight:700; font-size:1.3rem; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.sim__cop{ color:var(--txt-3); font-size:.72rem; font-weight:600; letter-spacing:.08em; }

/* range slider */
.sim__slider{ -webkit-appearance:none; appearance:none; width:100%; height:6px; border-radius:999px; background:var(--surface-2); outline:none; margin-top:6px; cursor:pointer; }
.sim__slider::-webkit-slider-runnable-track{ height:6px; border-radius:999px; background:linear-gradient(90deg,var(--blue-2) var(--p,10%),var(--surface-2) var(--p,10%)); }
.sim__slider::-moz-range-track{ height:6px; border-radius:999px; background:var(--surface-2); }
.sim__slider::-moz-range-progress{ height:6px; border-radius:999px; background:var(--blue-2); }
.sim__slider::-webkit-slider-thumb{ -webkit-appearance:none; appearance:none; width:22px; height:22px; margin-top:-8px; border-radius:50%; background:#fff; border:4px solid var(--blue-2); box-shadow:0 4px 14px rgba(42,69,201,.6); transition:transform .15s; }
.sim__slider::-moz-range-thumb{ width:22px; height:22px; border-radius:50%; background:#fff; border:4px solid var(--blue-2); box-shadow:0 4px 14px rgba(42,69,201,.6); }
.sim__slider:active::-webkit-slider-thumb{ transform:scale(1.15); }
.sim__scale{ display:flex; justify-content:space-between; margin-top:8px; color:var(--txt-3); font-size:.7rem; }

.sim__quick{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.sim__quick button{ flex:1; min-width:54px; padding:9px 6px; border-radius:11px; background:var(--surface-2); border:1px solid var(--line); color:var(--txt-2); font-family:var(--ff-display); font-weight:600; font-size:.82rem; cursor:pointer; transition:.25s; }
.sim__quick button:hover{ border-color:var(--line-2); color:var(--txt); }
.sim__quick button.is-active{ background:var(--blue-soft); border-color:var(--blue-2); color:#fff; }

.sim__result{ margin-top:22px; padding-top:22px; border-top:1px dashed var(--line-2); }
.sim__result-head{ text-align:center; color:var(--txt-2); font-size:.82rem; margin-bottom:16px; }
.sim__range{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:10px; }
.sim__range-val{ text-align:left; }
.sim__range-val--max{ text-align:right; }
.sim__range-tag{ display:block; font-size:.66rem; letter-spacing:.08em; text-transform:uppercase; color:var(--txt-3); margin-bottom:3px; }
.sim__range-val strong{ font-family:var(--ff-display); font-weight:700; font-size:clamp(1.1rem,4.6vw,1.5rem); font-variant-numeric:tabular-nums; letter-spacing:-.02em; }
.sim__range-val--max strong{ color:var(--gold-2); }
.sim__range-bar{ position:relative; height:8px; border-radius:999px; background:var(--surface-2); overflow:hidden; min-width:40px; }
.sim__range-bar span{ position:absolute; inset:0; width:0; border-radius:999px; background:linear-gradient(90deg,var(--blue-2),var(--gold-2)); transition:width .6s cubic-bezier(.2,.8,.2,1); }
.sim__sentence{ text-align:center; color:var(--txt-2); font-size:.9rem; margin-top:18px; line-height:1.5; }
.sim__sentence b{ color:var(--txt); font-weight:600; }
.sim__total{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:16px; padding:13px 16px; border-radius:14px; background:var(--blue-soft); border:1px solid rgba(92,123,255,.25); }
.sim__total span{ font-size:.82rem; color:var(--txt-2); }
.sim__total strong{ font-family:var(--ff-display); font-weight:700; font-variant-numeric:tabular-nums; color:#fff; font-size:.98rem; }
#simCta{ margin-top:18px; }
.sim__legal{ margin-top:16px; font-size:8pt; line-height:1.5; color:var(--txt-3); text-align:center; }

/* =================================================================
   TRUST / RESPALDO
   ================================================================= */
.trust{ background:var(--bg-2); }
.trust__grid{ max-width:var(--maxw); margin-inline:auto; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.tcard{
  background:linear-gradient(165deg,var(--surface),var(--bg-3));
  border:1px solid var(--line); border-radius:var(--r);
  padding:18px 16px; transition:transform .35s, border-color .35s, box-shadow .35s;
}
.tcard:hover{ transform:translateY(-4px); border-color:rgba(201,162,75,.3); box-shadow:var(--shadow); }
.tcard__ico{ width:42px; height:42px; border-radius:12px; display:grid; place-items:center; margin-bottom:12px; background:linear-gradient(140deg,rgba(201,162,75,.16),rgba(201,162,75,.04)); }
.tcard__ico svg{ width:21px; height:21px; fill:none; stroke:var(--gold-2); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.tcard h3{ margin-bottom:6px; }
.tcard p{ color:var(--txt-2); font-size:.84rem; }
.trust__note{
  max-width:var(--maxw); margin:18px auto 0; display:flex; gap:12px; align-items:flex-start;
  padding:16px 18px; border-radius:var(--r); font-size:.86rem; color:var(--txt-2);
  background:rgba(92,123,255,.07); border:1px solid rgba(92,123,255,.2);
}
.trust__note strong{ color:var(--txt); }
.trust__note .ico{ flex:0 0 auto; width:22px; height:22px; stroke:var(--blue-glow); margin-top:1px; }

/* =================================================================
   CONTACT / DOBLE EMBUDO
   ================================================================= */
.contact{ background:linear-gradient(180deg,var(--bg-2),var(--bg)); }
.contact__card{
  max-width:580px; margin-inline:auto;
  background:linear-gradient(165deg,var(--surface),var(--bg-3));
  border:1px solid var(--line-2); border-radius:var(--r-xl);
  padding:clamp(18px,4.5vw,28px); box-shadow:var(--shadow);
}
.tabs{ position:relative; display:flex; gap:6px; padding:5px; background:var(--bg); border:1px solid var(--line); border-radius:14px; margin-bottom:20px; }
.tab{ flex:1; z-index:1; display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:11px 8px; border-radius:10px; background:transparent; border:none; cursor:pointer; font-family:var(--ff-display); font-weight:600; font-size:.85rem; color:var(--txt-2); transition:color .3s; }
.tab .ico{ width:16px; height:16px; }
.tab.is-active{ color:#fff; }
.tabs__ind{ position:absolute; top:5px; bottom:5px; left:5px; width:calc(50% - 5px); border-radius:10px; background:var(--blue-grad); box-shadow:var(--shadow-blue); transition:transform .35s cubic-bezier(.2,.8,.2,1); z-index:0; }
.tabs__ind.right{ transform:translateX(calc(100% + 0px)); }

.panel{ display:none; animation:fadeUp .4s ease; }
.panel.is-active{ display:block; }
.panel__intro{ color:var(--txt-2); font-size:.86rem; margin-bottom:16px; }
.field{ margin-bottom:14px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.field label{ display:block; font-size:.78rem; font-weight:600; color:var(--txt-2); margin-bottom:7px; }
.field input,.field select{ width:100%; padding:12px 14px; background:var(--bg); border:1px solid var(--line-2); border-radius:12px; outline:none; transition:border-color .25s, box-shadow .25s; font-size:.92rem; }
.field input::placeholder{ color:var(--txt-3); }
.field input:focus,.field select:focus{ border-color:var(--blue-2); box-shadow:0 0 0 4px var(--blue-soft); }
.field select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C7BFF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; background-size:18px; padding-right:38px; }
.field__hint{ font-size:.72rem; color:var(--txt-3); margin-top:6px; }
.field.invalid input,.field.invalid select{ border-color:#e0556b; box-shadow:0 0 0 4px rgba(224,85,107,.15); }

.upload{ display:flex; align-items:center; gap:12px; padding:16px 14px; border:1.5px dashed var(--line-2); border-radius:14px; cursor:pointer; color:var(--txt-2); font-size:.84rem; transition:border-color .3s, background .3s; }
.upload:hover{ border-color:var(--blue-2); background:var(--blue-soft); }
.upload .ico{ width:24px; height:24px; stroke:var(--blue-glow); flex:0 0 auto; }
.upload.has-file{ border-color:var(--ok); border-style:solid; color:var(--txt); }
.upload.has-file .ico{ stroke:var(--ok); }

.check{ display:flex; gap:10px; align-items:flex-start; margin:6px 0 18px; font-size:.78rem; color:var(--txt-2); cursor:pointer; }
.check input{ flex:0 0 auto; width:20px; height:20px; margin-top:1px; accent-color:var(--blue-2); cursor:pointer; }
.check strong{ color:var(--txt); }
.check.invalid span{ color:#e0859a; }

.contact__amount{ margin-top:16px; text-align:center; font-size:.82rem; color:var(--txt-2); min-height:1px; }
.contact__amount b{ color:var(--gold-2); font-family:var(--ff-display); }

/* =================================================================
   FAQ
   ================================================================= */
.faq{ background:var(--bg); }
.faq__list{ max-width:780px; margin-inline:auto; display:flex; flex-direction:column; gap:10px; }
.acc{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; transition:border-color .3s, background .3s; }
.acc[open]{ border-color:var(--line-2); background:var(--surface-2); }
.acc summary{ list-style:none; cursor:pointer; padding:16px 18px; display:flex; align-items:center; justify-content:space-between; gap:14px; font-family:var(--ff-display); font-weight:600; font-size:.93rem; }
.acc summary::-webkit-details-marker{ display:none; }
.acc summary i{ position:relative; flex:0 0 auto; width:18px; height:18px; }
.acc summary i::before,.acc summary i::after{ content:""; position:absolute; background:var(--gold-2); border-radius:2px; transition:transform .3s, opacity .3s; }
.acc summary i::before{ top:8px; left:0; width:18px; height:2px; }
.acc summary i::after{ top:0; left:8px; width:2px; height:18px; }
.acc[open] summary i::after{ transform:scaleY(0); opacity:0; }
.acc[open] summary i::before{ background:var(--blue-glow); }
.acc__body{ max-height:0; overflow:hidden; transition:max-height .42s cubic-bezier(.2,.8,.2,1); }
.acc__body p{ padding:2px 18px 18px; color:var(--txt-2); font-size:.88rem; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer{ background:var(--bg-3); border-top:1px solid var(--line); padding:clamp(36px,8vw,56px) var(--pad) 28px; }
.footer__top{ max-width:var(--maxw); margin:0 auto 24px; display:flex; flex-wrap:wrap; gap:24px; justify-content:space-between; align-items:flex-start; }
.footer__brand img{ height:46px; width:auto; margin-bottom:12px; }
.footer__brand p{ color:var(--txt-2); font-size:.85rem; max-width:34ch; }
.footer__contact{ display:flex; flex-direction:column; gap:6px; }
.footer__wa{ display:inline-flex; align-items:center; gap:9px; font-family:var(--ff-display); font-weight:600; color:var(--txt); padding:11px 18px; border-radius:999px; border:1px solid var(--line-2); background:rgba(255,255,255,.03); transition:.3s; }
.footer__wa:hover{ border-color:var(--ok); color:var(--ok); }
.footer__wa .ico{ width:18px; height:18px; stroke:var(--ok); }
.footer__tag{ color:var(--txt-3); font-size:.74rem; text-align:right; }
.footer__legal{ max-width:var(--maxw); margin:0 auto; font-size:.72rem; color:var(--txt-3); line-height:1.6; padding-top:20px; border-top:1px solid var(--line); }
.footer__bottom{ max-width:var(--maxw); margin:18px auto 0; display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; font-size:.74rem; color:var(--txt-3); letter-spacing:.04em; }

/* =================================================================
   FAB + toast
   ================================================================= */
.fab{
  position:fixed; right:16px; bottom:16px; z-index:90;
  width:54px; height:54px; border-radius:50%;
  display:grid; place-items:center;
  background:linear-gradient(145deg,#25d366,#128c4b); color:#fff;
  box-shadow:0 12px 30px -8px rgba(37,211,102,.6);
  transition:transform .3s, box-shadow .3s; opacity:0; transform:translateY(20px) scale(.8);
}
.fab.is-visible{ opacity:1; transform:none; }
.fab:hover{ transform:translateY(-3px) scale(1.05); }
.fab svg{ width:30px; height:30px; }
.fab::after{ content:""; position:absolute; inset:0; border-radius:50%; border:2px solid rgba(37,211,102,.6); animation:ring 2.4s ease-out infinite; }
@keyframes ring{ 0%{ transform:scale(1); opacity:.7; } 100%{ transform:scale(1.6); opacity:0; } }

.toast{
  position:fixed; left:50%; bottom:84px; transform:translate(-50%,20px);
  z-index:130; background:var(--surface-2); border:1px solid var(--line-2);
  color:var(--txt); padding:13px 20px; border-radius:14px; font-size:.86rem; font-weight:500;
  box-shadow:var(--shadow); opacity:0; visibility:hidden; transition:opacity .35s, transform .35s, visibility .35s;
  max-width:90vw; text-align:center;
}
.toast.is-show{ opacity:1; visibility:visible; transform:translate(-50%,0); }
.toast--ok{ border-color:rgba(52,211,153,.5); }
.toast--err{ border-color:rgba(224,85,107,.5); }

/* =================================================================
   Reveal animations
   ================================================================= */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in{ opacity:1; transform:none; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (min-width:560px){
  .metrics__grid{ grid-template-columns:repeat(3,1fr); }
  .stat--wide{ grid-column:1 / -1; }
  .sim__quick button{ font-size:.88rem; }
}

@media (min-width:768px){
  .nav__links{ display:flex; }
  .nav__cta{ display:inline-flex; }
  .nav__burger{ display:none; }
  .hero__title{ margin-top:22px; }
  .trust__grid{ grid-template-columns:repeat(4,1fr); }
  .model__track{ overflow:visible; display:grid; grid-template-columns:repeat(4,1fr); }
  .mcard{ flex:initial; max-width:none; }
  .model__dots{ display:none; }
  .metrics__grid{ grid-template-columns:repeat(4,1fr); }
  .stat--wide{ grid-column:1 / -1; }
}

@media (min-width:1024px){
  .hero__inner{ max-width:var(--maxw); }
  .hero__title{ max-width:16ch; }
  .footer__top{ flex-wrap:nowrap; }
}

/* large screens: keep content elegant, not stretched */
@media (min-width:1440px){
  :root{ --maxw:1200px; }
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  .reveal{ opacity:1; transform:none; }
  /* show the investment chart fully drawn (no draw-in) when motion is reduced */
  .hero__chart-line{ stroke-dashoffset:0 !important; }
  .hero__chart-area,.hero__chart-dot{ opacity:1 !important; }
}
