/* =============================================================================
   LOCONSIGO — LANDING PAGE
   Diseño profesional, mobile-first
============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=DM+Mono:wght@500&display=swap');

:root {
    --azul: #2563eb;
    --azul-dark: #1d4ed8;
    --azul-suave: #eff6ff;
    --oscuro: #0f172a;
    --rojo: #ef4444;
    --verde: #22c55e;
    --fondo: #f8fafc;
    --borde: #e2e8f0;
    --texto: #0f172a;
    --texto-mid: #475569;
    --texto-light: #94a3b8;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--texto);
    background: white;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 0 24px;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    font-size: 22px;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
}

.nav-logo span {
    color: var(--rojo);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    background: var(--azul);
    color: white !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700 !important;
    font-size: 13px !important;
    transition: all 0.2s !important;
}

.nav-cta:hover {
    background: var(--azul-dark) !important;
    transform: translateY(-1px);
}

.nav-portal-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s !important;
}

.nav-portal-link:hover {
    color: white !important;
}

.nav-admin-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-admin-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* ── ELEMENTOS SOLO ADMIN (ocultos por defecto) ── */
.admin-only {
    display: none !important;
}

/* Botón de Admin — siempre visible en el navbar */
.nav-admin-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 800 !important;
    font-size: 14px !important;
    border: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Botón Admin FIJO — visible en TODOS los breakpoints (desktop + móvil) */
.nav-admin-link-fixed {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white !important;
    padding: 9px 16px;
    border-radius: 10px;
    font-weight: 800 !important;
    font-size: 13px !important;
    border: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 8px;
}

.nav-admin-link-fixed:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
    color: white !important;
}

.nav-admin-link:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.nav-admin-link-mobile {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
    margin: 10px 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    border: none;
}

.nav-admin-link-mobile:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.nav-client-btn {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.nav-client-btn:hover {
    background: rgba(245, 158, 11, 0.25);
    color: white;
    border-color: rgba(245, 158, 11, 0.5);
}

.nav-client-btn-mobile {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
}

.nav-client-btn-mobile:hover {
    background: rgba(245, 158, 11, 0.2);
    color: white;
}

.nav-admin-btn-mobile {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    margin-top: 8px;
    transition: all 0.2s;
}

.nav-admin-btn-mobile:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: var(--oscuro);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile.activo {
    display: flex;
}

.nav-mobile a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-cta-mobile {
    background: var(--azul) !important;
    color: white !important;
    text-align: center;
    border-radius: 10px;
    padding: 14px !important;
    margin-top: 8px;
    border: none !important;
    font-weight: 800 !important;
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.4);
    color: #93c5fd;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-titulo {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-accent {
    color: var(--azul);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-desc strong {
    color: white;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-primario {
    background: var(--azul);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.2s;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-hero-primario:hover {
    background: var(--azul-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

.btn-hero-secundario {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
}

.btn-hero-secundario:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.hero-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-div {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero card flotante */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    animation: flotar 3s ease-in-out infinite;
}

@keyframes flotar {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hc-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--texto-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.hc-monto {
    font-family: 'DM Mono', monospace;
    font-size: 42px;
    font-weight: 700;
    color: var(--azul);
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hc-detalle {
    border-top: 1px solid var(--borde);
    padding-top: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hc-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.hc-item span {
    color: var(--texto-mid);
}

.hc-item strong {
    color: var(--texto);
    font-weight: 700;
}

.hc-btn {
    background: var(--azul);
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.hc-btn:hover {
    background: var(--azul-dark);
}

/* ── SECCIONES ── */
.seccion {
    padding: 80px 24px;
}

.seccion-gris {
    background: var(--fondo);
}

.seccion-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.seccion-badge {
    display: inline-block;
    background: var(--azul-suave);
    color: var(--azul);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.seccion-titulo {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    color: var(--oscuro);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.seccion-desc {
    font-size: 16px;
    color: var(--texto-mid);
    margin-bottom: 48px;
}

/* Botón de sección */
.btn-seccion {
    display: inline-block;
    background: var(--azul);
    color: white;
    padding: 15px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-seccion:hover {
    background: var(--azul-dark);
    transform: translateY(-2px);
}

/* ── PASOS ── */
.pasos-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.paso-card {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    background: white;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1.5px solid var(--borde);
    transition: all 0.25s;
    position: relative;
}

.paso-card:hover {
    border-color: var(--azul);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.paso-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--azul);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paso-icono {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
    margin-top: 8px;
}

.paso-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--oscuro);
    margin-bottom: 8px;
}

.paso-card p {
    font-size: 13px;
    color: var(--texto-mid);
    line-height: 1.5;
}

.paso-flecha {
    font-size: 24px;
    color: var(--texto-light);
    padding: 60px 12px 0;
    align-self: flex-start;
}

/* ── BENEFICIOS ── */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.beneficio-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1.5px solid var(--borde);
    transition: all 0.25s;
}

.beneficio-card:hover {
    border-color: var(--azul);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.beneficio-icono {
    font-size: 32px;
    margin-bottom: 14px;
    display: block;
}

.beneficio-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--oscuro);
    margin-bottom: 8px;
}

.beneficio-card p {
    font-size: 13px;
    color: var(--texto-mid);
    line-height: 1.6;
}

/* ── CALCULADORA ── */
.calc-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    border: 1.5px solid var(--borde);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-top: 16px;
}

.calc-campo label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--texto-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(to right, var(--azul) 50%, var(--borde) 50%);
    -webkit-appearance: none;
    appearance: none;
    border: none;
    padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--azul);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.calc-valor {
    font-family: 'DM Mono', monospace;
    font-size: 42px;
    font-weight: 700;
    color: var(--azul);
    text-align: center;
    margin: 16px 0 28px;
}

.calc-resultado {
    background: var(--fondo);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.calc-item span {
    color: var(--texto-mid);
}

.calc-item strong {
    font-weight: 800;
    color: var(--oscuro);
    font-family: 'DM Mono', monospace;
}

.btn-calc {
    display: block;
    text-align: center;
    background: var(--azul);
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-calc:hover {
    background: var(--azul-dark);
    transform: translateY(-2px);
}

/* ── REQUISITOS ── */
.requisitos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.requisito-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: white;
    border-radius: 14px;
    padding: 20px;
    border: 1.5px solid var(--borde);
    transition: all 0.2s;
}

.requisito-item:hover {
    border-color: var(--azul);
}

.req-icono {
    font-size: 28px;
    flex-shrink: 0;
}

.requisito-item strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--oscuro);
    margin-bottom: 4px;
}

.requisito-item p {
    font-size: 12px;
    color: var(--texto-mid);
    margin: 0;
}

/* ── CTA FINAL ── */
.cta-final {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    padding: 80px 24px;
    text-align: center;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-final h2 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.cta-final p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.btn-cta-final {
    display: inline-block;
    background: var(--azul);
    color: white;
    padding: 18px 36px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 16px;
    transition: all 0.2s;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.5);
    margin-bottom: 20px;
}

.btn-cta-final:hover {
    background: var(--azul-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.6);
}

.cta-nota {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ── FOOTER ── */
.footer {
    background: #0a0f1a;
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--rojo);
}

.footer-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
    font-weight: 600;
    display: inline-block;
    padding: 6px 4px;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: block;
        padding: 8px 10px;
        line-height: 1;
    }

    .hero {
        padding: 90px 20px 48px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .pasos-grid {
        flex-direction: column;
        align-items: center;
    }

    .paso-flecha {
        display: none;
    }

    .paso-card {
        max-width: 100%;
        width: 100%;
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .requisitos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .requisitos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════
   NUEVAS SECCIONES (agregadas en v2.0)
═══════════════════════════════════════════════════════ */

/* ── TESTIMONIOS ── */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.testimonio-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1.5px solid var(--borde);
    transition: all 0.25s;
}

.testimonio-card:hover {
    border-color: var(--azul);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.testimonio-stars {
    font-size: 18px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonio-texto {
    font-size: 14px;
    color: var(--texto-mid);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonio-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azul), var(--azul-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}

.testimonio-autor strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--oscuro);
}

.testimonio-autor span {
    font-size: 12px;
    color: var(--texto-light);
}

/* ── CONFIANZA / SEGURIDAD ── */
.confianza-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.confianza-item {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1.5px solid var(--borde);
    text-align: center;
    transition: all 0.25s;
}

.confianza-item:hover {
    border-color: var(--azul);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.confianza-icono {
    font-size: 42px;
    margin-bottom: 14px;
    display: block;
}

.confianza-item h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--oscuro);
    margin-bottom: 8px;
}

.confianza-item p {
    font-size: 13px;
    color: var(--texto-mid);
    line-height: 1.6;
}

/* ── FAQ (PREGUNTAS FRECUENTES) ── */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.faq-item {
    background: white;
    border-radius: 14px;
    border: 1.5px solid var(--borde);
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: var(--azul);
}

.faq-item[open] {
    border-color: var(--azul);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.faq-pregunta {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 700;
    color: var(--oscuro);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background 0.2s;
}

.faq-pregunta::-webkit-details-marker {
    display: none;
}

.faq-pregunta::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--azul);
    transition: transform 0.2s;
}

.faq-item[open] .faq-pregunta::after {
    content: '−';
}

.faq-pregunta:hover {
    background: var(--azul-suave);
}

.faq-respuesta {
    padding: 0 24px 20px;
    border-top: 1px solid var(--borde);
}

.faq-respuesta p {
    font-size: 14px;
    color: var(--texto-mid);
    line-height: 1.7;
    margin-top: 16px;
}

.faq-respuesta strong {
    color: var(--oscuro);
}

/* ── FOOTER MEJORADO ── */
.footer {
    background: #0a0f1a;
    padding: 60px 24px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    transition: color 0.2s;
    line-height: 1.6;
}

.footer-col a {
    padding: 6px 0;
}

.footer-col a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
    margin-bottom: 0;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

.footer-legal-small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
}

/* ── BOTÓN FLOTANTE DE WHATSAPP ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #25d366;
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    font-size: 22px;
}

.whatsapp-text {
    white-space: nowrap;
}

/* ── RESPONSIVE PARA NUEVAS SECCIONES ── */
@media (max-width: 768px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .confianza-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .confianza-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── ANIMACIONES DE SCROLL (IntersectionObserver) ── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── ACCESIBILIDAD ── */
*:focus-visible {
    outline: 3px solid var(--azul);
    outline-offset: 2px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--azul);
    color: white;
    padding: 8px 16px;
    z-index: 99999;
    transition: top 0.2s;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

    color: #f1f5f9 !important;
}

/* ── RESPONSIVE VISOR ── */
@media(max-width:768px) {
    .visor-balance-card b {
        font-size: 14px !important;
    }

    #panelPagos .grid-meses {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   MEJORAS v3.0 — Diseño y UX mejorados
══════════════════════════════════════════════════════════════════ */

/* ── Variables adicionales ── */
:root {
    --grad-hero: linear-gradient(135deg, #080f1e 0%, #0f172a 40%, #162544 70%, #0f172a 100%);
    --azul-glow: rgba(37, 99, 235, 0.25);
    --verde-glow: rgba(34, 197, 94, 0.25);
    --sombra-card: 0 2px 12px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.04);
    --sombra-hover: 0 8px 28px rgba(37,99,235,0.14), 0 2px 8px rgba(0,0,0,0.06);
    --radio: 18px;
}

/* ── Hero mejorado ── */
.hero {
    background: var(--grad-hero) !important;
    min-height: 100svh;
}

/* Partículas animadas en el hero (CSS puro) */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(37,99,235,0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(124,58,237,0.07) 0%, transparent 40%),
        radial-gradient(circle at 60% 10%, rgba(14,165,233,0.06) 0%, transparent 30%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0%   { opacity: 0.6; }
    100% { opacity: 1; }
}

/* ── Badge hero animado ── */
.hero-badge {
    background: rgba(37, 99, 235, 0.15) !important;
    border: 1px solid rgba(37, 99, 235, 0.35) !important;
    color: #93c5fd !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    animation: badgePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 3s ease-in-out infinite;
    transform: translateY(-50%) skewX(-10deg);
}

@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
    50%       { box-shadow: 0 0 0 6px rgba(37,99,235,0.08); }
}

/* ── Título hero con degradado ── */
.hero-titulo {
    background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2.5px !important;
}

.hero-accent {
    background: linear-gradient(135deg, #3b82f6, #60a5fa) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ── Stats hero con glow ── */
.hero-stat-num {
    font-size: 32px !important;
    background: linear-gradient(135deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Botones hero mejorados ── */
.btn-hero-primario {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255,255,255,0.1) !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    letter-spacing: -0.3px;
    position: relative;
    overflow: hidden;
}

.btn-hero-primario::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}

.btn-hero-primario:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.55) !important;
}

.btn-hero-primario:active {
    transform: translateY(0) !important;
}

/* ── Hero card flotante mejorada ── */
.hero-card {
    box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08) !important;
    border-radius: 24px !important;
    padding: 32px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px);
    max-width: 300px !important;
}

.hc-label {
    font-size: 12px !important;
    color: #94a3b8 !important;
    letter-spacing: 1px !important;
}

.hc-monto {
    font-size: 48px !important;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px !important;
}

.hc-btn {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
    transition: all 0.2s !important;
}

.hc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.45) !important;
}

/* ── Secciones mejoradas ── */
.seccion {
    padding: 96px 24px;
}

.seccion-badge {
    background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    padding: 6px 16px !important;
    box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}

.seccion-titulo {
    letter-spacing: -1.5px !important;
    line-height: 1.1 !important;
}

/* ── Cards mejoradas (pasos, beneficios, etc.) ── */
.paso-card, .beneficio-card, .requisito-item, .confianza-item {
    border: 1px solid #f0f4ff !important;
    box-shadow: var(--sombra-card) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #ffffff !important;
}

.paso-card:hover, .beneficio-card:hover, .confianza-item:hover {
    border-color: #bfdbfe !important;
    box-shadow: var(--sombra-hover) !important;
    transform: translateY(-6px) !important;
}

.requisito-item:hover {
    border-color: #bfdbfe !important;
    box-shadow: var(--sombra-hover) !important;
    transform: translateX(4px) !important;
}

/* Número de paso con gradiente */
.paso-num {
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.4) !important;
}

/* ── Testimonios mejorados ── */
.testimonio-card {
    border: 1px solid #f0f4ff !important;
    box-shadow: var(--sombra-card) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.testimonio-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 120px;
    font-weight: 900;
    color: #eff6ff;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.testimonio-card > * {
    position: relative;
    z-index: 1;
}

.testimonio-card:hover {
    border-color: #bfdbfe !important;
    box-shadow: var(--sombra-hover) !important;
    transform: translateY(-5px) !important;
}

.testimonio-stars {
    font-size: 16px !important;
    letter-spacing: 1px !important;
}

.testimonio-avatar {
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    width: 46px !important;
    height: 46px !important;
    font-size: 14px !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3) !important;
}

/* ── Calculadora mejorada ── */
.calc-card {
    border: 1px solid #f0f4ff !important;
    box-shadow: var(--sombra-card) !important;
    border-radius: 24px !important;
}

.calc-valor {
    font-size: 52px !important;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px !important;
}

.calc-resultado {
    background: linear-gradient(135deg, #f8faff, #eff6ff) !important;
    border: 1px solid #e0ecff !important;
    border-radius: 14px !important;
}

.btn-calc {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
    border-radius: 14px !important;
    font-size: 16px !important;
}

/* ── FAQ mejorado ── */
.faq-item {
    border: 1px solid #f0f4ff !important;
    box-shadow: var(--sombra-card) !important;
    transition: all 0.25s !important;
}

.faq-item[open] {
    box-shadow: 0 4px 20px rgba(37,99,235,0.12) !important;
}

.faq-pregunta {
    font-size: 16px !important;
}

/* ── CTA final mejorado ── */
.cta-final {
    background: linear-gradient(135deg, #080f1e 0%, #0f172a 40%, #1a2a4a 70%, #0f172a 100%) !important;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(37,99,235,0.12) 0%, transparent 60%);
    animation: ctaGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes ctaGlow {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(10%, 5%); }
}

.btn-cta-final {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 36px rgba(37,99,235,0.5) !important;
    font-size: 17px !important;
    padding: 20px 40px !important;
    position: relative;
    overflow: hidden;
}

.btn-cta-final::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
}

.btn-cta-final:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 48px rgba(37,99,235,0.6) !important;
}

/* ── Footer mejorado ── */
.footer {
    background: linear-gradient(180deg, #06090f 0%, #0a0f1a 100%) !important;
}

.footer-col a:hover {
    color: #93c5fd !important;
}

/* ── Botón WhatsApp flotante mejorado ── */
.whatsapp-float {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45) !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55) !important;
}

/* ── Botón de sección mejorado ── */
.btn-seccion {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
    border-radius: 14px !important;
    padding: 16px 32px !important;
    font-size: 15px !important;
    letter-spacing: -0.2px;
}

.btn-seccion:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45) !important;
}

/* ── Scroll suave ── */
html {
    scroll-padding-top: 80px;
}

/* ── Fade-in más suave ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mejoras mobile landing ── */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 56px !important;
        min-height: 100svh;
    }

    .hero-titulo {
        font-size: clamp(34px, 9vw, 48px) !important;
        letter-spacing: -1.5px !important;
    }

    .hero-desc {
        font-size: 16px !important;
    }

    .btn-hero-primario, .btn-hero-secundario {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px !important;
    }

    .hero-stat-num {
        font-size: 26px !important;
    }

    .hero-stats {
        gap: 16px !important;
    }

    .seccion {
        padding: 64px 20px !important;
    }

    .seccion-titulo {
        font-size: clamp(24px, 6vw, 32px) !important;
        letter-spacing: -1px !important;
    }

    .calc-card {
        padding: 24px 20px !important;
    }

    .calc-valor {
        font-size: 40px !important;
    }

    .btn-cta-final {
        padding: 16px 28px !important;
        font-size: 15px !important;
    }

    .testimonio-card::before {
        font-size: 80px;
    }
}

/* ── Barra de navegación glassmorphism más pulida ── */
.navbar.scrolled {
    background: rgba(8, 15, 30, 0.92) !important;
    backdrop-filter: blur(20px) saturate(1.8) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 24px rgba(0,0,0,0.3) !important;
}

/* ── Cursor personalizado en botones ── */
.btn-hero-primario, .btn-hero-secundario, .btn-seccion, .btn-calc, .btn-cta-final, .nav-cta {
    cursor: pointer;
}

/* ── Selección de texto con color de marca ── */
::selection {
    background: rgba(37, 99, 235, 0.25);
    color: #0f172a;
}

/* ── Animación de aparición para hero content ── */
.hero-badge   { animation: slideUp 0.6s cubic-bezier(0.4,0,0.2,1) both; animation-delay: 0.1s; }
.hero-titulo  { animation: slideUp 0.6s cubic-bezier(0.4,0,0.2,1) both; animation-delay: 0.2s; }
.hero-desc    { animation: slideUp 0.6s cubic-bezier(0.4,0,0.2,1) both; animation-delay: 0.3s; }
.hero-btns    { animation: slideUp 0.6s cubic-bezier(0.4,0,0.2,1) both; animation-delay: 0.4s; }
.hero-stats   { animation: slideUp 0.6s cubic-bezier(0.4,0,0.2,1) both; animation-delay: 0.5s; }
.hero-visual  { animation: slideIn 0.7s cubic-bezier(0.4,0,0.2,1) both; animation-delay: 0.4s; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Input range mejorado ── */
input[type="range"]::-webkit-slider-thumb {
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.5) !important;
    width: 24px !important;
    height: 24px !important;
}

input[type="range"]:focus {
    outline: none;
}

/* ── Sección gris mejorada ── */
.seccion-gris {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}