/* CLIMB — landing SaaS. Autocontenida, no comparte con las páginas públicas. */
:root {
  --tint: #8B5CF6;
  --tint-2: #7C5CF6;
  --turq: #37C2D6;
  --bg: #07080C;
  --bg-2: #0E0F16;
  --card: rgba(255, 255, 255, 0.045);
  --card-brd: rgba(255, 255, 255, 0.09);
  --text: #F4F5FA;
  --muted: rgba(238, 240, 248, 0.58);
  --radius: 18px;
  --maxw: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", Inter, system-ui, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
.muted { color: var(--muted); }

/* glow de fondo */
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5;
}
.bg-glow::before { width: 620px; height: 620px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(139,92,246,0.55), transparent 70%); }
.bg-glow::after { width: 560px; height: 560px; top: 240px; right: -160px;
  background: radial-gradient(circle, rgba(55,194,214,0.40), transparent 70%); }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(180deg, var(--tint), var(--tint-2)); color: #fff;
  box-shadow: 0 8px 30px rgba(124,92,246,0.45); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(124,92,246,0.6); }
.btn-ghost { background: rgba(255,255,255,0.06); border-color: var(--card-brd); color: var(--text); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; justify-content: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px;
  margin-top: 14px; padding: 0 18px; border-radius: 999px;
  background: rgba(14,15,22,0.6); border: 1px solid var(--card-brd); backdrop-filter: blur(18px) saturate(160%); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(160deg, var(--turq), var(--tint-2));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 4px 14px rgba(124,92,246,0.5); }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; }
.nav-links a { color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }

/* Hero */
.hero { padding: 84px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.pill-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  padding: 6px 13px; border-radius: 999px; background: rgba(139,92,246,0.14); color: #cbb6ff;
  border: 1px solid rgba(139,92,246,0.3); margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; }
.hero h1 .grad { background: linear-gradient(110deg, var(--turq), var(--tint)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); margin: 22px 0 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Mockup iPhone */
.phone { width: 300px; max-width: 80vw; margin: 0 auto; aspect-ratio: 300/620; position: relative;
  border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #20222c, #0c0d12);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset; }
.phone-screen { position: absolute; inset: 12px; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #0f1118, #0a0b10); display: flex; flex-direction: column; }
.notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px;
  background: #000; border-radius: 999px; z-index: 4; }
.scr-pad { padding: 44px 16px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; overflow: hidden; }
.scr-h { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.glass-card { background: var(--card); border: 1px solid var(--card-brd); border-radius: 16px;
  backdrop-filter: blur(8px); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.kpi { padding: 11px; }
.kpi .v { font-size: 19px; font-weight: 800; }
.kpi .l { font-size: 10px; color: var(--muted); margin-top: 2px; }
.kpi .ic { width: 24px; height: 24px; border-radius: 7px; margin-bottom: 7px; display: grid; place-items: center; font-size: 12px; }
.row-card { padding: 11px 12px; display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.row-card .t { font-size: 12.5px; font-weight: 600; }
.row-card .s { font-size: 10.5px; color: var(--muted); }
.tabbar { margin: auto 10px 12px; height: 56px; border-radius: 22px; background: rgba(30,30,40,0.6);
  border: 1px solid var(--card-brd); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: space-around; }
.tabbar .ti { font-size: 16px; opacity: 0.5; }
.tabbar .ti.on { opacity: 1; color: var(--tint); }

/* Trust bar */
.trust { padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 14px 26px; flex-wrap: wrap; }
.chip { font-size: 13px; font-weight: 600; color: var(--muted); padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--card-brd); }

/* Secciones */
section { padding: 80px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.sec-head .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--turq); }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 12px 0 14px; }
.sec-head p { color: var(--muted); font-size: 17px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 34px 0; }
.feature.rev .f-text { order: 2; }
.feature .f-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.feature h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 16px; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.feature li { font-size: 14.5px; color: var(--muted); display: flex; gap: 9px; }
.feature li::before { content: "✓"; color: var(--turq); font-weight: 800; }

/* mockups varios */
.mock { border-radius: var(--radius); border: 1px solid var(--card-brd); padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.mock h4 { font-size: 14px; margin: 0 0 12px; color: var(--muted); font-weight: 600; }
.mini { padding: 12px 14px; border-radius: 13px; background: rgba(255,255,255,0.045); border: 1px solid var(--card-brd);
  display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.mini .badge { font: 700 9px ui-monospace, monospace; color: var(--turq); }
.tag-ok { font-size: 11px; font-weight: 700; color: #34C759; }
.sig { height: 70px; border-radius: 12px; background: #fff; position: relative; overflow: hidden; }
.sig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.swatches { display: flex; gap: 9px; margin-top: 12px; }
.sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); }
.map-mock { height: 150px; border-radius: 13px; position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 30% 20%, #1a2433, #0c1018); }
.pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%,-50%);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08); }
.route { position: absolute; inset: 0; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-brd); }
.step .n { width: 36px; height: 36px; border-radius: 10px; background: rgba(139,92,246,0.18); color: #cbb6ff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Multiplataforma */
.platforms { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 10px; }
.plat { text-align: center; color: var(--muted); }
.plat .ic { font-size: 34px; margin-bottom: 8px; }

/* Testimonios */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-brd); }
.quote p { font-size: 15.5px; margin: 0 0 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.quote .who .n { font-weight: 700; font-size: 14px; }
.quote .who .r { font-size: 12.5px; color: var(--muted); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--card-brd); border-radius: 14px; background: var(--card); margin-bottom: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--turq); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* CTA final */
.cta-final { text-align: center; }
.cta-card { max-width: 720px; margin: 0 auto; padding: 56px 32px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(139,92,246,0.18), rgba(55,194,214,0.1));
  border: 1px solid rgba(139,92,246,0.3); position: relative; overflow: hidden; }
.cta-card h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta-card p { color: var(--muted); margin: 14px 0 28px; font-size: 17px; }
.waitform { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.waitform input { flex: 1; padding: 14px 16px; border-radius: 999px; border: 1px solid var(--card-brd);
  background: rgba(0,0,0,0.3); color: var(--text); font-size: 15px; outline: none; }
.waitform input:focus { border-color: var(--tint); }
.wait-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.wait-msg.ok { color: #34C759; } .wait-msg.err { color: #FF6B6B; }

/* Footer */
footer.site { padding: 50px 0 40px; border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 22px; font-size: 14px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero .phone-col { margin-top: 36px; }
  .feature, .feature.rev .f-text { grid-template-columns: 1fr; order: 0; }
  .feature .f-img { order: 2; }
  .steps, .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .waitform { flex-direction: column; }
  .nav-cta .btn-ghost { display: none; }
}
