/* ============ Bettel · sitio corporativo ============ */
:root {
  --navy: #1f3a73;
  --navy-900: #0f1f45;
  --navy-700: #2a4a8c;
  --teal: #12afc0;
  --teal-600: #0e93a3;
  --ink: #16213a;
  --muted: #5b6680;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 31, 69, .08);
  --shadow-lg: 0 24px 60px rgba(15, 31, 69, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { width: min(820px, 92%); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.25em; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(31, 58, 115, .28); }
.btn--primary:hover { background: var(--navy-700); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { color: var(--navy); }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--light { background: #fff; color: var(--navy); }
.btn--lg { padding: .9em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); margin-bottom: .9rem; }
.eyebrow--light { color: var(--teal); }
.hl { background: linear-gradient(90deg, var(--navy), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 31, 69, .06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.35rem; color: var(--navy); letter-spacing: -.02em; }
.brand--light { color: #fff; }
.brand--light img { background: #fff; border-radius: 8px; padding: 3px; }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { font-size: .95rem; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--navy); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav__links .nav__mobile-only { display: none; }
@media (max-width: 900px) { .nav__links .nav__mobile-only { display: block; color: var(--navy); font-weight: 600; } }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(18, 175, 192, .14), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(31, 58, 115, .10), transparent 60%), #fff; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.hero__checks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); }
.hero__checks li::before, .ticks li::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: .45rem; vertical-align: -4px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero__visual { position: relative; min-height: 440px; }
.mock { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; width: 92%; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dde9; }
.mock__bar span { margin-left: 10px; }
.mock__body { padding: 18px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock__kpis small { display: block; font-size: .68rem; color: var(--muted); }
.mock__kpis b { display: block; font-size: 1.05rem; color: var(--navy); }
.mock__kpis em { font-style: normal; font-size: .68rem; color: var(--muted); }
.mock__kpis em.up { color: var(--teal-600); font-weight: 600; }
.mock__chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin: 16px 0; padding: 0 4px; border-bottom: 1px solid var(--line); }
.mock__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--teal), var(--navy)); opacity: .85; }
.mock__rows div { display: flex; align-items: center; gap: 8px; font-size: .78rem; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.mock__rows b { margin-left: auto; font-weight: 600; font-size: .72rem; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--ok { background: var(--teal); }
.dot--warn { background: #f2b33d; }

.phone { position: absolute; right: 0; bottom: -20px; width: 190px; background: var(--navy-900); border-radius: 28px; padding: 10px; box-shadow: var(--shadow-lg); }
.phone__notch { width: 60px; height: 6px; background: #2c3c63; border-radius: 6px; margin: 4px auto 8px; }
.phone__screen { background: #fff; border-radius: 20px; padding: 14px; min-height: 280px; }
.phone__screen small { display: block; font-size: .66rem; color: var(--muted); }
.phone__screen b { display: block; color: var(--navy); font-size: .95rem; }
.phone__screen p { font-size: .72rem; margin: 4px 0 8px; }
.phone__card { margin-top: 10px; padding: 10px; border-radius: 12px; background: var(--bg-alt); }
.chip { display: inline-block; margin-top: 6px; font-size: .64rem; font-weight: 600; padding: 4px 8px; border-radius: 99px; background: var(--navy); color: #fff; }
.chip--teal { background: var(--teal); }
.phone--lg { position: relative; right: auto; bottom: auto; width: 270px; margin: 0 auto; }
.phone--lg .phone__screen { min-height: 470px; padding: 18px; }
.phone--lg .phone__screen b { font-size: 1.05rem; }
.phone__brand { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.phone__brand img { width: 24px; }

/* ---------- Franja ---------- */
.strip { background: var(--navy); color: #fff; padding: 32px 0; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip b { display: block; font-size: 1rem; }
.strip span { font-size: .87rem; color: #c3cee6; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #fff; }
.section--dark h2 { color: #fff; }
.section--dark p { color: #c3cee6; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split--center { align-items: center; }

/* Comparación */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col { border-radius: var(--radius); padding: 24px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; }
.compare__col li { padding: 8px 0 8px 26px; position: relative; font-size: .92rem; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.compare__col li:last-child { border: 0; }
.compare__col--before { background: #fbf3f2; }
.compare__col--before h3 { color: #a2463c; }
.compare__col--before li::before { content: "✕"; position: absolute; left: 0; color: #c9665a; font-weight: 700; }
.compare__col--after { background: #e8f8fa; }
.compare__col--after h3 { color: var(--teal-600); }
.compare__col--after li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 800; }

/* Tarjetas de servicios */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { font-size: .92rem; margin: 0; }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(31, 58, 115, .1), rgba(18, 175, 192, .18)); margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Flujo */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: f; }
.flow li { position: relative; padding: 28px 22px; border-radius: var(--radius); background: var(--bg-alt); }
.flow li span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 36px; color: var(--teal); font-size: 1.3rem; font-weight: 700; }
.flow p { margin: 0; font-size: .92rem; }

/* Seguridad */
.secure { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.secure li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 18px; font-size: .88rem; color: #c3cee6; }
.secure b { display: block; color: #fff; font-size: .98rem; margin-bottom: 4px; }

/* App */
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { padding: 6px 0; }
.store { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.gplay { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; padding: 10px 20px; border-radius: 12px; transition: transform .15s; }
.gplay:hover { transform: translateY(-1px); }
.gplay svg { width: 28px; height: 28px; }
.gplay small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; opacity: .85; line-height: 1.1; }
.gplay b { font-size: 1.2rem; line-height: 1.1; }
.gplay.is-soon { opacity: .75; cursor: default; }
.store__note { font-size: .85rem; margin: 0; }

/* Plan de prueba */
.trial { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 auto 40px; padding: 28px 32px; border-radius: 18px; border: 2px dashed var(--teal); background: linear-gradient(120deg, #e8f8fa, #f5f8fc); }
.trial h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: .3em; }
.trial p { margin: 0; max-width: 680px; }
.trial__badge { display: inline-block; background: var(--teal); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; margin-bottom: 8px; }
.trial .btn { flex-shrink: 0; }
@media (max-width: 900px) { .trial { flex-direction: column; text-align: center; } }

/* Precios */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.plan--featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 14px; border-radius: 99px; }
.plan__for { font-size: .9rem; }
.plan__price { margin: 8px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan__price b { font-size: 2rem; color: var(--navy); font-weight: 800; }
.plan__price span { font-size: .9rem; color: var(--muted); margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: .93rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 800; }
.pricing__note { text-align: center; font-size: .85rem; margin-top: 32px; }

/* Venta consultiva */
.steps { list-style: none; padding: 0; margin: 28px 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; color: var(--muted); font-size: .94rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--teal); color: var(--navy); font-weight: 700; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; width: 2px; background: var(--line); }
.steps b { display: block; color: var(--ink); font-size: 1rem; }
.direct { display: flex; flex-wrap: wrap; gap: 10px; }
.direct a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--navy); }

.form { background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form__sub { font-size: .92rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: .72em .85em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 175, 192, .18); }
.form .is-invalid { border-color: #d9534f; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .consent input { width: auto; margin-top: 4px; }
.form textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; }
.form__msg.ok { color: var(--teal-600); font-weight: 600; }
.form__msg.err { color: #c0392b; }

/* Acceso */
.access { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; border-radius: 22px; background:
  radial-gradient(600px 300px at 100% 0%, rgba(18, 175, 192, .18), transparent 60%), var(--bg-alt); border: 1px solid var(--line); }
.access p { max-width: 560px; margin: 0; }
.access__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
.access__link { font-size: .88rem; color: var(--navy); text-decoration: underline; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--teal-600); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 18px; margin: 0; }

/* CTA final */
.cta { background: linear-gradient(120deg, var(--navy), var(--teal-600)); color: #fff; padding: 80px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #dbe7f7; margin-bottom: 1.6em; }

/* Pie */
.footer { background: var(--navy-900); color: #c3cee6; padding: 56px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer p { color: #94a3c4; font-size: .9rem; margin-top: 12px; }
.footer h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer__grid a:not(.brand) { display: block; font-size: .9rem; padding: 4px 0; color: #94a3c4; }
.footer__grid a:hover { color: #fff; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #7d8bab; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav__links { gap: 1.1rem; }
}
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 4%; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: block; }
  .nav__actions .btn--ghost { display: none; }
  .hero { padding: 48px 0 72px; }
  .hero__grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { min-height: 380px; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li::after { display: none; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--featured { transform: none; }
  .access { flex-direction: column; text-align: center; padding: 36px 24px; }
  .access p { margin: 0 auto; }
  .app__visual { order: 2; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .nav__actions .btn--primary { padding: .55em .9em; font-size: .85rem; }
  .cards, .compare, .secure, .flow, .strip__grid, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .mock { width: 100%; }
  .mock__kpis { grid-template-columns: 1fr 1fr; }
  .mock__kpis div:last-child { display: none; }
  .phone { width: 150px; right: -6px; }
  .phone__screen { min-height: 220px; }
  .form { padding: 24px; }
}
