/* =========================================================
   CONTAMATIC — Sistema de diseño
   Fintech refinado · amarillo de marca · ultraligero
   ========================================================= */

:root {
  /* Color */
  --bg:        #FAFBFE;
  --surface:   #FFFFFF;
  --ink:       #16172B;
  --ink-2:     #353753;
  --ink-soft:  #686B82;
  --line:      #E7E9F3;
  --line-2:    #D8DBEC;

  --brand:      #252566;   /* azul marino de marca */
  --brand-deep: #1A1A4D;   /* hover */
  --brand-dark: #252566;   /* texto sobre claro */
  --brand-tint: #ECECF4;   /* fondo suave */
  --brand-tint2:#D9D9E8;

  --accent:      #FFC629;  /* amarillo secundario */
  --accent-deep: #E5A800;
  --accent-dark: #9A7400;
  --accent-tint: #FFF6DB;
  --accent-tint2:#FFEFC0;

  --night:     #14152B;    /* secciones oscuras (navy índigo) */
  --night-2:   #1E2042;
  --night-line:#2F3260;

  --wa:        #25D366;    /* WhatsApp */
  --wa-deep:   #1EAE54;

  --ok:        #1E9E5A;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(22,21,15,.05), 0 2px 8px rgba(22,21,15,.04);
  --sh-md: 0 4px 14px rgba(22,21,15,.06), 0 16px 40px rgba(22,21,15,.07);
  --sh-lg: 0 12px 30px rgba(22,21,15,.10), 0 40px 80px rgba(22,21,15,.12);
  --sh-brand: 0 10px 30px rgba(37,37,102,.28);

  /* Type */
  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  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 { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow.on-dark { color: var(--accent); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.04; letter-spacing: -.02em; }
.h-sec { font-size: clamp(30px, 4.4vw, 50px); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head p { color: var(--ink-soft); font-size: 18px; margin-top: 16px; max-width: 56ch; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head.center .eyebrow { justify-content: center; }

.text-mute { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-brand:hover { transform: translateY(-2px); background: var(--brand-deep); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { transform: translateY(-2px); background: var(--wa-deep); box-shadow: 0 10px 26px rgba(37,211,102,.32); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: var(--night-line); }
.btn-ghost.on-dark:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 17px 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--night);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  border-bottom: 1px solid var(--night-line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.topbar a { transition: color .18s; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--brand); }
.topbar-left { display: flex; gap: 22px; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(37,211,102,.2); }
@media (max-width: 720px){ .topbar-left .t-hide { display: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,245,.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--sh-sm); }
.nav .wrap { display: flex; align-items: center; gap: 30px; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.logo-img { height: 36px; width: auto; display: block; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(87,99,222,.4);
  position: relative;
}
.logo .mark::after {
  content: ""; width: 13px; height: 8px;
  border-left: 3px solid #fff; border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translate(1px,-2px);
  border-radius: 1px;
}
.logo b { color: var(--brand-dark); }
.logo .tag { font-family: var(--f-body); font-weight: 600; font-size: 9.5px; letter-spacing: .02em; color: var(--accent-dark); display: block; margin-top: -3px; }

.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-weight: 500; font-size: 15px; color: var(--ink-2);
  padding: 9px 14px; border-radius: var(--r-pill); transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--brand-tint); color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-login { font-weight: 600; font-size: 15px; padding: 9px 8px; }
.nav-login:hover { color: var(--brand-dark); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav.open .burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2){ opacity: 0; }
.nav.open .burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px){
  .nav-links, .nav-cta .desk { display: none; }
  .burger { display: flex; }
  .nav-cta { margin-left: auto; }
  .nav-links.mobile {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px; box-shadow: var(--sh-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s;
  }
  .nav.open .nav-links.mobile { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links.mobile a { font-size: 17px; padding: 12px 14px; }
  .nav-links.mobile .btn { margin-top: 8px; }
}
@media (min-width: 941px){ .nav-links.mobile { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(50px, 7vw, 84px); padding-bottom: clamp(60px, 8vw, 100px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(37,37,102,.09), transparent 70%),
    radial-gradient(40% 40% at 6% 90%, rgba(255,198,41,.13), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--brand-dark); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 30%;
  background: var(--accent); opacity: .55; z-index: -1; border-radius: 3px;
}
.hero .lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-soft); margin-top: 22px; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-cta-row .btn { min-width: 172px; }
.hero-links { display: flex; align-items: center; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.hero-links a { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; transition: color .18s, gap .18s; }
.hl-wa { color: var(--wa-deep); }
.hl-wa:hover { color: var(--wa); }
.hl-wa .hl-ic { width: 28px; height: 28px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(37,211,102,.35); }
.hl-wa .hl-ic svg { width: 16px; height: 16px; }
.hl-plain { color: var(--ink-2); }
.hl-plain:hover { color: var(--brand-dark); gap: 13px; }
.hl-sep { width: 1px; height: 22px; background: var(--line-2); }
@media (max-width: 420px){ .hl-sep { display: none; } .hero-links { gap: 14px; } }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 38px; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }
.trust-item .ico { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-tint); display: grid; place-items: center; color: var(--brand-dark); }
.trust-item .ico.sri { background: #fff; box-shadow: inset 0 0 0 1px var(--line); width: auto; height: 30px; min-width: 44px; padding: 0 8px; display: flex; align-items: center; justify-content: center; }
.trust-item .ico.sri img { max-height: 17px; width: auto; object-fit: contain; display: block; }
.trust-item .ico svg { width: 16px; height: 16px; }
.trust-item b { color: var(--ink); font-family: var(--f-display); }

@media (max-width: 880px){
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* ---------- Dashboard mockup ---------- */
.mock {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 16px; position: relative;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-bar i:nth-child(1){ background: #FF6058; }
.mock-bar i:nth-child(2){ background: #FFC130; }
.mock-bar i:nth-child(3){ background: #28C840; }
.mock-bar .url { margin-left: 12px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); background: var(--bg); padding: 4px 12px; border-radius: var(--r-pill); flex: 1; }
.mock-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.mock-img { width: 100%; display: block; border-radius: var(--r-md); border: 1px solid var(--line); }
.mock-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.mock-card.span { grid-column: 1 / -1; }
.mc-label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.mc-big { font-family: var(--f-display); font-weight: 600; font-size: 27px; margin-top: 6px; letter-spacing: -.02em; }
.mc-up { font-size: 12px; color: var(--ok); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 12px; }
.bars span { flex: 1; background: var(--line-2); border-radius: 5px 5px 0 0; transition: height .9s cubic-bezier(.2,.8,.2,1); }
.bars span.hi { background: var(--brand); }
.donut {
  width: 70px; height: 70px; border-radius: 50%; margin: 8px auto 0;
  background: conic-gradient(var(--brand) 0 68%, var(--accent) 68% 86%, var(--line-2) 86% 100%);
  display: grid; place-items: center;
}
.donut::after { content: "68%"; width: 46px; height: 46px; background: var(--bg); border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.mock-row:last-child { border-bottom: none; }
.mock-row .pill { font-family: var(--f-mono); font-size: 10px; padding: 3px 9px; border-radius: var(--r-pill); background: rgba(30,158,90,.12); color: var(--ok); font-weight: 700; }
.mock-row .pill.warn { background: var(--accent-tint2); color: var(--accent-dark); }

.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-md); padding: 12px 15px;
  display: flex; align-items: center; gap: 11px;
}
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.float-card .fc-ico.sri { background: #fff; box-shadow: inset 0 0 0 1px var(--line); width: auto; height: 38px; min-width: 52px; padding: 0 11px; display: flex; align-items: center; justify-content: center; }
.float-card .fc-ico.sri img { max-height: 22px; width: auto; object-fit: contain; display: block; }
.float-card .fc-ico svg { width: 19px; height: 19px; }
.float-card .fc-t { font-family: var(--f-display); font-weight: 600; font-size: 14px; line-height: 1.1; }
.float-card .fc-check { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--wa); color: #fff; vertical-align: middle; margin-left: 3px; box-shadow: 0 2px 6px rgba(37,211,102,.4); }
.float-card .fc-check svg { width: 10px; height: 10px; }
.float-card .fc-s { font-size: 11px; color: var(--ink-soft); }
.float-a { top: -22px; left: -26px; }
.float-b { bottom: -24px; right: -22px; }
@media (max-width: 520px){ .float-a, .float-b { display: none; } }

/* ============================================================
   LOGO / TRUST STRIP
   ============================================================ */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-block: 26px; }
.strip .lbl { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.strip-items { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.strip-items .it { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.strip-items .it svg { width: 20px; height: 20px; color: var(--brand-dark); }

/* ============================================================
   PORTALES
   ============================================================ */
.portals { background: var(--night); color: #fff; }
.portals .sec-head p { color: rgba(255,255,255,.62); }
.portals h2 { color: #fff; }
.portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.portal {
  background: var(--night-2); border: 1px solid var(--night-line);
  border-radius: var(--r-md); padding: 24px; transition: transform .2s, border-color .2s, background .2s;
  display: flex; flex-direction: column; gap: 14px; min-height: 188px;
}
.portal:hover { transform: translateY(-4px); border-color: var(--accent); background: #242747; }
.portal .p-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.portal .p-ico svg { width: 23px; height: 23px; }
.portal h3 { font-size: 18px; color: #fff; }
.portal p { font-size: 13.5px; color: rgba(255,255,255,.6); flex: 1; }
.portal .go { font-family: var(--f-mono); font-size: 12px; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; letter-spacing: .04em; }
.portal:hover .go { gap: 11px; }
@media (max-width: 920px){ .portal-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .portal-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SOLUCIONES (features)
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; transition: transform .2s, box-shadow .25s, border-color .2s;
  position: relative; overflow: hidden;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-tint2); }
.feat .f-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 18px; transition: background .2s, color .2s; }
.feat:hover .f-ico { background: var(--brand); color: #fff; }
.feat .f-ico svg { width: 25px; height: 25px; }
.feat h3 { font-size: 19px; margin-bottom: 9px; }
.feat p { font-size: 14.5px; color: var(--ink-soft); }
.feat .f-num { position: absolute; top: 18px; right: 22px; font-family: var(--f-mono); font-size: 12px; color: var(--line-2); }
@media (max-width: 860px){ .feat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .feat-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SHOWCASE (dark)
   ============================================================ */
.showcase { background: var(--night); color: #fff; overflow: hidden; }
.showcase .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.showcase h2 { color: #fff; font-size: clamp(30px,4vw,46px); }
.showcase .lead { color: rgba(255,255,255,.66); font-size: 18px; margin-top: 18px; }
.check-list { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.check-list .ck svg { width: 14px; height: 14px; }
.check-list b { font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.check-list span { color: rgba(255,255,255,.6); font-size: 14px; display: block; }

.showcase-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.stat {
  background: linear-gradient(160deg, var(--night-2), #1b1912);
  border: 1px solid var(--night-line); border-radius: var(--r-md); padding: 26px 24px;
}
.stat .n { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px,5vw,48px); letter-spacing: -.03em; color: #fff; }
.stat .t { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 4px; }
.stat.feature { background: var(--accent); border-color: var(--accent); }
.stat.feature .n, .stat.feature .t { color: var(--ink); }
.stat.feature .t { opacity: .85; }
@media (max-width: 820px){ .showcase .grid { grid-template-columns: 1fr; } }

/* ============================================================
   PLANES (pricing)
   ============================================================ */
.tabs { display: inline-flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); padding: 6px; border-radius: var(--r-pill); margin: 0 auto clamp(36px,5vw,52px); }
.tabs button { padding: 11px 22px; border-radius: var(--r-pill); font-weight: 600; font-size: 14.5px; color: var(--ink-soft); transition: .2s; white-space: nowrap; }
.tabs button.active { background: var(--ink); color: #fff; }
.tabs-wrap { display: flex; justify-content: center; }
@media (max-width: 620px){ .tabs { display: flex; width: 100%; overflow-x: auto; }  .tabs button { flex: 1; padding: 11px 12px; font-size: 13px; } }

.plan-panel { display: none; }
.plan-panel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: stretch; }
.price {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .25s;
}
.price:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.price.pop { border-color: var(--brand); box-shadow: var(--sh-brand); }
.price.pop::before {
  content: "Más popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--ink); font-family: var(--f-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 16px; border-radius: var(--r-pill);
}
.price .p-name { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.price .p-price { font-family: var(--f-display); font-weight: 700; font-size: 46px; letter-spacing: -.03em; margin-top: 14px; line-height: 1; }
.price .p-price span { font-size: 16px; font-weight: 500; color: var(--ink-soft); font-family: var(--f-body); }
.price .p-desc { font-size: 14px; color: var(--ink-soft); margin-top: 12px; min-height: 40px; }
.price .p-note { font-size: 12px; color: var(--brand-dark); margin-top: 4px; font-weight: 600; }
.price hr { border: none; border-top: 1px solid var(--line); margin: 22px 0; }
.price ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.price li svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }
.price li.hl { font-weight: 700; }
@media (max-width: 860px){ .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

/* ============================================================
   FIRMAS
   ============================================================ */
.firmas .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.fcard h3 { font-size: 20px; margin-bottom: 8px; }
.fcard > p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.providers { display: flex; gap: 12px; flex-wrap: wrap; }
.prov { flex: 1; min-width: 130px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; text-align: center; background: var(--bg); }
.prov .pv-mark { width: 40px; height: 40px; border-radius: 11px; margin: 0 auto 10px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: #fff; }
.prov b { font-size: 15px; }
.prov small { display: block; color: var(--ink-soft); font-size: 12px; margin-top: 3px; }

.firma-prices { display: flex; flex-direction: column; gap: 0; }
.fseg { display: inline-flex; gap: 6px; background: var(--bg); border: 1px solid var(--line); padding: 5px; border-radius: var(--r-pill); margin-bottom: 18px; }
.fseg button { padding: 9px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 13.5px; color: var(--ink-soft); transition: .2s; }
.fseg button.active { background: var(--brand); color: #fff; }
.fpanel { display: none; }
.fpanel.active { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.fp {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 8px; text-align: center;
  transition: .2s; background: var(--surface);
}
.fp:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.fp .yr { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-soft); letter-spacing: .04em; }
.fp .amt { font-family: var(--f-display); font-weight: 700; font-size: 22px; margin: 6px 0 10px; letter-spacing: -.02em; }
.fp a { display: block; font-size: 11px; font-weight: 700; color: var(--brand-dark); }
@media (max-width: 920px){ .firmas .grid { grid-template-columns: 1fr; } }
@media (max-width: 560px){ .fpanel.active { grid-template-columns: repeat(2,1fr); } }

.requisitos { margin-top: 24px; }
.req-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.req-tabs button { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink-soft); transition: .2s; }
.req-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.req-list { display: none; }
.req-list.active { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 24px; }
.req-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.req-list li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); margin-top: 7px; flex-shrink: 0; }
@media (max-width: 560px){ .req-list.active { grid-template-columns: 1fr; } }

/* ============================================================
   BENEFICIOS
   ============================================================ */
.ben-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ben { background: var(--surface); padding: 30px; transition: background .2s; }
.ben:hover { background: var(--brand-tint); }
.ben .b-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.ben .b-ico svg { width: 21px; height: 21px; }
.ben h3 { font-size: 17px; margin-bottom: 7px; }
.ben p { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 820px){ .ben-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px){ .ben-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ECOSISTEMA
   ============================================================ */
.eco-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.eco {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px;
  display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .25s, border-color .2s;
}
.eco:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-tint2); }
.eco .e-top { display: flex; align-items: center; gap: 13px; }
.eco .e-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-tint); color: var(--brand-dark); }
.eco .e-ico svg { width: 23px; height: 23px; }
.eco h3 { font-size: 18px; }
.eco p { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.eco .ask { font-size: 13px; font-weight: 700; color: var(--brand-dark); display: inline-flex; align-items: center; gap: 7px; }
.eco:hover .ask { gap: 11px; }
.eco.feature { background: var(--ink); border-color: var(--ink); }
.eco.feature h3 { color: #fff; }
.eco.feature p { color: rgba(255,255,255,.6); }
.eco.feature .e-ico { background: var(--accent); color: var(--ink); }
.eco.feature .ask { color: var(--accent); }
@media (max-width: 860px){ .eco-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .eco-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SUPERCIAS (steps)
   ============================================================ */
.tool { background: var(--brand-tint); }
.tool .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,5vw,64px); align-items: center; }
.steps { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.step { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; align-items: flex-start; }
.step .num { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; flex-shrink: 0; }
.step b { font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.step p { font-size: 14px; color: var(--ink-soft); margin-top: 3px; }
.tool-visual { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 24px; }
.upload-zone { border: 2px dashed var(--line-2); border-radius: var(--r-md); padding: 34px 20px; text-align: center; background: var(--bg); }
.upload-zone .uz-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; margin: 0 auto 14px; }
.upload-zone .uz-ico svg { width: 27px; height: 27px; }
.upload-zone b { font-family: var(--f-display); font-size: 16px; }
.upload-zone p { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.flow { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 8px; }
.flow .fbox { flex: 1; text-align: center; font-family: var(--f-mono); font-size: 11px; padding: 12px 6px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.flow .fbox.out { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.flow .arr { color: var(--brand-dark); font-weight: 700; }
@media (max-width: 820px){ .tool .grid { grid-template-columns: 1fr; } }

/* ============================================================
   APP
   ============================================================ */
.app-sec { background: var(--night); color: #fff; overflow: hidden; }
.app-sec .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,60px); align-items: center; }
.app-sec h2 { color: #fff; font-size: clamp(30px,4vw,46px); }
.app-sec .lead { color: rgba(255,255,255,.66); font-size: 17.5px; margin-top: 18px; }
.store-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--ink);
  padding: 12px 22px 12px 18px; border-radius: var(--r-md); transition: transform .2s;
}
.store:hover { transform: translateY(-3px); }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 10.5px; color: var(--ink-soft); font-family: var(--f-mono); letter-spacing: .04em; }
.store b { font-family: var(--f-display); font-size: 16px; line-height: 1; }
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone {
  width: 270px; aspect-ratio: 9/19; background: #0c0b07; border-radius: 38px; padding: 11px;
  box-shadow: var(--sh-lg), 0 0 0 1px var(--night-line); position: relative;
}
.phone::before { content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 74px; height: 17px; background: #0c0b07; border-radius: var(--r-pill); z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 28px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.ph-status { height: 30px; flex: none; background: #fff; }
.ph-img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top center; display: block; }
.ph-top { background: var(--brand); padding: 36px 18px 18px; color: #fff; }
.ph-top .pt-l { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.ph-top .pt-n { font-family: var(--f-display); font-weight: 700; font-size: 26px; margin-top: 3px; }
.ph-body { padding: 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ph-mini { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; display: flex; align-items: center; gap: 10px; }
.ph-mini .m-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; flex-shrink: 0; }
.ph-mini .m-ic svg { width: 15px; height: 15px; }
.ph-mini .m-t { font-family: var(--f-display); font-weight: 600; font-size: 12px; }
.ph-mini .m-s { font-size: 10px; color: var(--ink-soft); }
.ph-mini .m-amt { margin-left: auto; font-family: var(--f-display); font-weight: 700; font-size: 13px; }
.ph-fab { position: absolute; bottom: 20px; right: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; box-shadow: var(--sh-md); }
@media (max-width: 820px){ .app-sec .grid { grid-template-columns: 1fr; } .phone-wrap { order: -1; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px,5vw,60px); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--brand); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: 16.5px; }
.faq-q .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; flex-shrink: 0; transition: .25s; }
.faq-item.open .faq-q .ic { background: var(--brand); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 800px){ .faq-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final { padding-block: clamp(60px,8vw,100px); }
.cta-box {
  background: var(--brand); border-radius: var(--r-xl); padding: clamp(40px,6vw,72px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-box h2 { font-size: clamp(30px,4.5vw,50px); color: #fff; position: relative; }
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-box p { color: rgba(255,255,255,.82); font-size: 18px; margin: 18px auto 32px; max-width: 50ch; position: relative; }
.cta-box .hero-actions { justify-content: center; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--night); color: rgba(255,255,255,.6); padding-block: clamp(50px,6vw,72px) 30px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--night-line); }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .blurb { font-size: 14px; max-width: 30ch; }
.footer .contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer .contact a, .footer .contact span { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.footer h4 { font-family: var(--f-display); font-size: 13px; letter-spacing: .04em; color: #fff; margin-bottom: 16px; text-transform: uppercase; }
.footer .col a { display: block; font-size: 14px; padding: 5px 0; transition: color .18s; }
.footer .col a:hover { color: var(--brand); }
.footer .news p { font-size: 13.5px; margin-bottom: 14px; }
.footer .news form { display: flex; gap: 8px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-pill); padding: 5px 5px 5px 16px; }
.footer .news input { flex: 1; background: none; border: none; color: #fff; font-size: 14px; outline: none; }
.footer .news input::placeholder { color: rgba(255,255,255,.4); }
.footer .news button { background: var(--accent); color: var(--ink); border-radius: var(--r-pill); padding: 10px 16px; font-weight: 700; }
.footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.footer .socials { display: flex; gap: 10px; }
.footer .socials a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--night-line); display: grid; place-items: center; transition: .2s; }
.footer .socials a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.footer .socials svg { width: 16px; height: 16px; }
@media (max-width: 820px){ .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer .top { grid-template-columns: 1fr; } }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 11px; background: var(--wa); color: #fff;
  padding: 13px 20px 13px 16px; border-radius: var(--r-pill); box-shadow: 0 10px 30px rgba(37,211,102,.4);
  font-weight: 700; font-size: 15px; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float .wa-pulse { position: absolute; inset: 0; border-radius: var(--r-pill); box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wapulse 2.4s infinite; }
@keyframes wapulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45);} 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
@media (max-width: 560px){ .wa-float span.lbl { display: none; } .wa-float { padding: 14px; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
