:root {
  --navy: #061844;
  --navy-2: #0b245d;
  --navy-3: #102e73;
  --blue: #04b9f3;
  --blue-2: #1e76ff;
  --orange: #ff8a00;
  --gold: #ffc21c;
  --ink: #0b1635;
  --text: #34415f;
  --muted: #72809e;
  --white: #ffffff;
  --soft: #f5f8ff;
  --line: #dce6fb;
  --shadow: 0 24px 60px rgba(4, 22, 69, 0.15);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 22, 62, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 900; letter-spacing: .06em; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 22px rgba(4,185,243,.25); }
.brand span { font-size: 1.1rem; }
.nav-menu { display: flex; align-items: center; gap: 22px; }
.nav-menu a { color: #dfe9ff; text-decoration: none; font-weight: 650; font-size: .93rem; transition: .2s ease; }
.nav-menu a:hover { color: #fff; }
.nav-cta { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,194,28,.6); background: linear-gradient(135deg, rgba(255,138,0,.2), rgba(255,194,28,.1)); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: 12px; padding: 9px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 18% 20%, rgba(0,190,255,.12), transparent 34%),
    radial-gradient(circle at 85% 78%, rgba(255,136,0,.12), transparent 38%),
    linear-gradient(145deg, #03102e 0%, #071a47 46%, #0b245d 100%);
  color: white;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 58px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #87e8ff; font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content:""; width: 28px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.eyebrow.dark { color: var(--navy-2); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(2.9rem, 5.2vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #8fe9ff 0%, #fff 35%, #ffc21c 72%, #ff8a00 100%); background-clip: text; -webkit-background-clip: text; }
.hero-text { max-width: 700px; margin: 28px 0 32px; color: #cdd9f2; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, #0879ff, #04b9f3 55%, #008fe9); box-shadow: 0 13px 30px rgba(0, 153, 255, .26); }
.btn-secondary { color: white; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.btn-outline-dark { color: var(--navy); border: 1px solid #b9c8e8; background: white; }
.btn-white { color: var(--navy); background: white; box-shadow: 0 15px 35px rgba(0,0,0,.12); white-space: nowrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #b8c9ec; font-size: .92rem; font-weight: 650; }
.hero-visual { display: grid; place-items: center; }
.logo-orbit { position: relative; width: min(500px, 92vw); aspect-ratio: 1; display: grid; place-items: center; }
.logo-orbit img { width: 78%; border-radius: 50%; position: relative; z-index: 2; filter: drop-shadow(0 35px 45px rgba(0,0,0,.35)); }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.orbit-one { width: 92%; height: 92%; box-shadow: 0 0 70px rgba(0,181,255,.14); animation: spin 18s linear infinite; }
.orbit-one::before, .orbit-two::before { content:""; position:absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px var(--blue); top: 7%; left: 25%; }
.orbit-two { width: 108%; height: 108%; border-style: dashed; border-color: rgba(255,194,28,.18); animation: spinReverse 25s linear infinite; }
.orbit-two::before { background: var(--orange); box-shadow: 0 0 18px var(--orange); top: 70%; left: 92%; }
@keyframes spin { to { transform: rotate(360deg);} }
@keyframes spinReverse { to { transform: rotate(-360deg);} }

.section { padding: 100px 0; }
.section-light { background: #fff; }
.section-dark { background: linear-gradient(145deg, #061844, #0b245d); color: #fff; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.section-heading h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; }
.section-heading.centered { max-width: 820px; margin: 0 auto 52px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered p { color: #aebee1; margin: 20px auto 0; max-width: 720px; }
.section-light .section-heading.centered p { color: var(--text); }
.copy-card { background: var(--soft); border: 1px solid var(--line); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); }
.copy-card p { margin: 0 0 16px; font-size: 1.05rem; }
.copy-card strong { color: var(--ink); }
.quote { margin-top: 26px; padding: 20px 22px; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; background: #fff; color: var(--navy); font-weight: 800; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { min-height: 245px; padding: 30px; border-radius: 22px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.benefit-card:hover { border-color: rgba(4,185,243,.45); transform: translateY(-4px); transition: .25s ease; }
.icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; font-size: 1.55rem; background: linear-gradient(145deg, rgba(4,185,243,.2), rgba(255,138,0,.13)); border: 1px solid rgba(255,255,255,.1); }
.benefit-card h3 { margin: 20px 0 10px; font-size: 1.18rem; }
.benefit-card p { margin: 0; color: #b8c8e8; }

.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; }
.step { position: relative; padding: 28px 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--soft); min-height: 260px; }
.step-number { color: #9db0d7; font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.step-icon { width: 58px; height: 58px; margin: 24px 0 18px; display: grid; place-items: center; border-radius: 18px; color: #fff; font-size: 1.5rem; font-weight: 900; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 12px 25px rgba(0, 142, 235, .2); }
.step:nth-of-type(7) .step-icon { background: linear-gradient(135deg, var(--orange), var(--gold)); }
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--text); font-size: .95rem; }
.step-arrow { display: grid; place-items: center; color: var(--orange); font-size: 1.6rem; font-weight: 900; }

.solution { color: #fff; background: radial-gradient(circle at 76% 35%, rgba(255,138,0,.12), transparent 28%), linear-gradient(135deg, #071a47, #0d2b6a); }
.solution-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: center; }
.solution h2 { margin: 0; max-width: 760px; font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.04em; }
.solution .lead { color: #c7d5ef; max-width: 780px; font-size: 1.07rem; }
.check-grid { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-grid span { padding: 14px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; color: #e9f1ff; font-size: .94rem; }
.solution-callout { padding: 34px; border-radius: 28px; background: linear-gradient(155deg, #fff, #eef6ff); color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.28); border: 2px solid rgba(255,194,28,.6); }
.mini-label { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #fff0d2; color: #a65300; font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.solution-callout h3 { font-size: 2rem; line-height: 1.05; margin: 22px 0 12px; }
.solution-callout p { color: var(--text); font-size: 1.05rem; }
.solution-callout .btn { margin-top: 10px; width: 100%; }

.case-card { display: grid; grid-template-columns: 1.02fr .98fr; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.case-image { min-height: 520px; background: #071a47; }
.case-image img { width: 100%; height: 100%; object-fit: cover; }
.case-copy { padding: 48px; align-self: center; }
.case-badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #eaf8ff; color: #0874a6; font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.case-copy h3 { margin: 16px 0 12px; font-size: 2.5rem; line-height: 1; }
.case-copy p { color: var(--text); }
.case-copy ul { padding-left: 20px; color: var(--text); }
.case-copy li { margin: 8px 0; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.cta-section { padding: 72px 0; background: linear-gradient(120deg, #077ff5, #03b8ef 55%, #ff9500 150%); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-inner h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.04; max-width: 760px; }
.cta-inner p { margin: 14px 0 0; max-width: 700px; color: rgba(255,255,255,.9); }
.cta-section .eyebrow { color: #fff; }

footer { background: #03102e; color: #c3d2ed; padding: 52px 0 26px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; }
.footer-brand div { display: grid; }
.footer-brand strong { color: white; font-size: 1.05rem; }
.footer-brand span { color: #8ea3ca; font-size: .9rem; }
.footer-contact { display: grid; text-align: right; }
.footer-contact span { color: #8096be; font-size: .8rem; }
.footer-contact a { color: white; font-weight: 850; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 30px; padding-top: 22px; color: #7187ae; font-size: .84rem; }

.whatsapp-float { position: fixed; z-index: 80; right: 20px; bottom: 20px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: white; text-decoration: none; font-size: .78rem; font-weight: 950; background: #20c76a; box-shadow: 0 16px 35px rgba(10, 75, 42, .28); border: 3px solid rgba(255,255,255,.75); }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav-menu { position: absolute; top: 76px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; padding: 18px; border-radius: 18px; background: #071a47; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 8px 4px; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; }
  .hero-grid, .two-col, .solution-grid, .case-card { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { margin-top: 10px; }
  .logo-orbit { width: min(430px, 86vw); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-arrow { display: none; }
  .case-image { min-height: 420px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .site-header .brand span { display: none; }
  .nav-wrap { min-height: 68px; }
  .nav-menu { top: 68px; left: 14px; right: 14px; }
  .hero { padding: 122px 0 64px; }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .section { padding: 76px 0; }
  .benefit-grid, .steps, .check-grid { grid-template-columns: 1fr; }
  .copy-card, .solution-callout, .case-copy { padding: 26px; }
  .case-image { min-height: 300px; }
  .case-copy h3 { font-size: 2.05rem; }
  .case-actions { flex-direction: column; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
}


/* Demo pública de fidelización: solo visual, sin acciones reales */
.demo-modal { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; }
.demo-modal.open { display: grid; }
.demo-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 11, 37, .78); backdrop-filter: blur(5px); }
.demo-modal-card { position: relative; z-index: 1; width: min(520px, 100%); border-radius: 28px; padding: 34px; background: linear-gradient(160deg, #071a47, #0c2d67); color: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.14); }
.demo-modal-card h3 { margin: 15px 0 10px; font-size: 2rem; }
.demo-modal-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; cursor: pointer; }
.demo-note { margin: 0 0 22px; color: #cfddf8; line-height: 1.55; }
.demo-stars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 12px 0 8px; font-size: 1.8rem; color: #ffb130; text-align: center; }
.demo-counter { text-align: center; font-weight: 900; margin-bottom: 22px; }
.demo-fields { display: grid; gap: 12px; }
.demo-field { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: #d8e4fb; }
.demo-lock { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: rgba(33,199,106,.12); border: 1px solid rgba(33,199,106,.35); color: #d7ffe8; font-size: .92rem; line-height: 1.45; }
body.modal-open { overflow: hidden; }
@media (max-width: 640px) { .demo-modal-card { padding: 26px 20px; } .demo-stars { font-size: 1.45rem; gap: 2px; } }
