
        :root {
            /* Paleta basada en futboltech.org */
            --primary: #01A63E;
            --primary-dark: #019C39;
            --primary-light: #E8F8EE;
            --accent: #FDD216;
            --accent-dark: #E5BC00;
            --dark: #0D0D0D;
            --dark-800: #1A1A1A;
            --dark-700: #2D2D2Dg            --gray-600: #4A4A4A;
            --gray-500: #6B6B6B;
            --gray-400: #9A9A9A;
            --gray-300: #CCCCCC;
            --gray-200: #E5E5E5;
            --gray-100: #F5F5F5;
            --white: #FFFFFF;
            --danger: #E53935;
            --success: #01A63E;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        /* === CORRECCIÓN DE INTERLINEADO EN TÍTULOS === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2 !important; /* Estándar para títulos (antes tenían 1.7) */
}

/* Ajuste específico ultra-compacto para el título de la imagen (Features) */
.features-header h2 {
    line-height: 1.1 !important; 
    max-width: 800px; /* Evita que se estire demasiado a los lados */
    margin-left: auto;
    margin-right: auto;
}

/* Ajuste para el H1 del Hero (El título principal) */
.hero h1 {
    line-height: 1.15 !important;
}

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--white);
            color: var(--dark);
            line-height: 1.7;
        }


        
        /* === UTILITIES === */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .section {
            padding: 100px 0;
        }

        .section-dark {
            background: var(--dark);
            color: var(--white);
        }

        .section-light {
            background: var(--gray-100);
        }

        .section-green {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--white);
        }

        .text-center {
            text-align: center;
        }

        .text-primary {
            color: var(--primary);
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            background: var(--primary-light);
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--primary);
        }

        .badge-dark {
            background: rgba(255, 255, 255, 0.15);
            color: var(--white);
        }

        .badge-accent {
            background: rgba(253, 210, 22, 0.2);
            color: var(--accent-dark);
        }

        .btn {
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 16px 36px;
            border-radius: 100px;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--white);
            box-shadow: 0 4px 20px rgba(1, 166, 62, 0.35);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 28px rgba(1, 166, 62, 0.45);
        }

        .btn-accent {
            background: var(--accent);
            color: var(--dark);
            box-shadow: 0 4px 20px rgba(253, 210, 22, 0.35);
        }

        .btn-accent:hover {
            background: var(--accent-dark);
            transform: translateY(-2px);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--gray-300);
            color: var(--dark);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--primary-light);
        }

        .btn-outline-white {
            background: transparent;
            border: 2px solid rgba(255, 255, 255, 0.4);
            color: var(--white);
        }

        .btn-outline-white:hover {
            border-color: var(--white);
            background: rgba(255, 255, 255, 0.1);
        }

        .btn-sm {
            padding: 12px 24px;
            font-size: 0.875rem;
        }

        /* === NAVBAR === */
       /* === NAVBAR FIXED & ROBUSTO === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Altura fija para evitar saltos */
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* LOGO */
.logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* MENÚ DESKTOP (Por defecto) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--gray-600);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    white-space: nowrap; /* CLAVE: Evita que el texto se parta en dos líneas */
}

.nav-link:hover {
    color: var(--primary);
}

/* BOTONES */
.desktop-actions {
    display: flex;
    gap: 12px;
}

.mobile-actions {
    display: none; /* Oculto en escritorio */
}

/* HAMBURGUESA (Oculta en escritorio) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === RESPONSIVE (Móvil y Tablet < 1024px) === */
@media (max-width: 1024px) {
    /* 1. Ocultar botones de escritorio para limpiar la barra */
    .desktop-actions {
        display: none;
    }

    /* 2. Mostrar hamburguesa */
    .hamburger {
        display: flex;
    }

    /* 3. Transformar el menú en un panel lateral (Off-canvas) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Oculto a la derecha */
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center; /* Centrado vertical */
        align-items: center;
        padding: 40px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        right: 0; /* Aparece */
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
        width: 100%;
    }

    .nav-link {
        font-size: 1.25rem; /* Texto más grande en móvil */
        font-weight: 600;
    }

    /* 4. Mostrar botones móviles grandes */
    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .btn-block {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }

    /* Animación Hamburguesa */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
        /* === HERO === */
        .hero {
            padding: 160px 0 100px;
            background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -20%;
            right: -10%;
            width: 50%;
            height: 140%;
            background: radial-gradient(ellipse at center, rgba(1, 166, 62, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero-badge {
            margin-bottom: 24px;
        }

        .hero h1 {
            font-size: 3rem;
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 24px;
            color: var(--dark);
        }

        .hero h1 .highlight {
            color: var(--primary);
            position: relative;
        }

        .hero h1 .underline {
            position: relative;
            display: inline-block;
        }

        .hero h1 .underline::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 0;
            width: 100%;
            height: 8px;
            background: var(--accent);
            z-index: -1;
            border-radius: 4px;
        }

        

        .hero-subtitle {
            font-size: 1.15rem;
            color: var(--gray-600);
            margin-bottom: 36px;
            max-width: 520px;
        }

        .hero-cta {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-bottom: 48px;
        }

        .hero-proof {
            display: flex;
            align-items: center;
            gap: 20px;
            padding-top: 32px;
            border-top: 1px solid var(--gray-200);
        }

        .proof-avatars {
            display: flex;
        }

        .proof-avatars span {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 3px solid var(--white);
            margin-left: -12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            background: var(--gray-100);
            box-shadow: var(--shadow-sm);
        }

        .proof-avatars span:first-child {
            margin-left: 0;
        }

        .proof-text {
            font-size: 0.9rem;
            color: var(--gray-500);
        }

        .proof-text strong {
            color: var(--dark);
            display: block;
            font-weight: 600;
        }

        .hero-visual {
            position: relative;
        }

        .hero-image-wrapper {
            background: var(--white);
            border-radius: var(--radius-xl);
            padding: 20px;
            box-shadow: var(--shadow-lg);
            position: relative;
        }

        .hero-mockup {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: var(--radius-lg);
            padding: 32px;
            min-height: 400px;
            display: flex;
            flex-direction: column;
        }

        .mockup-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        .mockup-dots {
            display: flex;
            gap: 6px;
        }

        .mockup-dots span {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
        }

        .mockup-title {
            color: var(--white);
            font-size: 0.85rem;
            font-weight: 500;
            opacity: 0.9;
        }

        .mockup-content {
            flex: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .mockup-card {
            background: rgba(255, 255, 255, 0.15);
            border-radius: var(--radius-md);
            padding: 20px;
            backdrop-filter: blur(10px);
        }

        .mockup-card h4 {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 8px;
        }

        .mockup-card .value {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--white);
        }

        .mockup-card.full {
            grid-column: span 2;
        }

        .hero-float-badge {
            position: absolute;
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 16px 20px;
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .hero-float-badge.top-right {
            top: -20px;
            right: -20px;
        }

        .hero-float-badge.bottom-left {
            bottom: -20px;
            left: -20px;
        }

        .float-icon {
            width: 44px;
            height: 44px;
            background: var(--primary-light);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
        }

        .float-text {
            font-size: 0.85rem;
        }

        .float-text strong {
            display: block;
            font-weight: 600;
            color: var(--dark);
        }

        .float-text span {
            color: var(--gray-500);
        }

        /* === VILLAIN SECTION === */
        .villain-section {
            background: var(--dark);
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .villain-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--danger), var(--accent), var(--primary));
        }

        .villain-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .villain-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-top: 16px;
        }

        .villain-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-bottom: 60px;
        }

        .villain-card {
            background: var(--dark-800);
            border-radius: var(--radius-lg);
            padding: 32px;
            border-left: 4px solid var(--danger);
            transition: transform 0.3s ease;
        }

        .villain-card:hover {
            transform: translateY(-4px);
        }

        .villain-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            display: block;
        }

        .villain-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--white);
        }

        .villain-card p {
            color: var(--gray-400);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        .villain-quote {
            background: var(--dark-700);
            border-radius: var(--radius-xl);
            padding: 48px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .villain-quote blockquote {
            font-size: 1.35rem;
            font-weight: 500;
            font-style: italic;
            color: var(--gray-300);
            margin-bottom: 16px;
            line-height: 1.6;
        }

        .villain-quote cite {
            color: var(--gray-500);
            font-size: 0.9rem;
        }

        /* === TRANSFORMATION === */
        .transform-section {
            background: var(--white);
        }

        .transform-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .transform-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-top: 16px;
            margin-bottom: 16px;
        }

        .transform-header p {
            color: var(--gray-600);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .comparison-wrapper {
            display: grid;
            grid-template-columns: 1fr 80px 1fr;
            gap: 24px;
            align-items: stretch;
        }

        .comparison-card {
            background: var(--white);
            border-radius: var(--radius-xl);
            padding: 40px;
            box-shadow: var(--shadow-md);
        }

        .comparison-card.before {
            border: 2px solid var(--gray-200);
        }

        .comparison-card.after {
            border: 2px solid var(--primary);
            background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
        }

        .comparison-card h3 {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 700;
        }

        .comparison-card.before h3 {
            color: var(--danger);
        }

        .comparison-card.after h3 {
            color: var(--primary);
        }

        .comparison-list {
            list-style: none;
        }

        .comparison-list li {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 14px 0;
            border-bottom: 1px solid var(--gray-200);
            font-size: 0.95rem;
            color: var(--gray-600);
        }

        .comparison-list li:last-child {
            border-bottom: none;
        }

        .comparison-list li span {
            flex-shrink: 0;
            font-size: 1.1rem;
        }

        .comparison-arrow {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .arrow-circle {
            width: 64px;
            height: 64px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.5rem;
            box-shadow: 0 4px 20px rgba(1, 166, 62, 0.35);
        }

        /* === FEATURES === */
        .features-section {
            background: var(--gray-100);
        }

        .features-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .features-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-top: 16px;
            margin-bottom: 16px;
        }

        .features-header p {
            color: var(--gray-600);
            font-size: 1.1rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .feature-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 32px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .feature-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--primary-light);
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        .feature-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .feature-card p {
            color: var(--gray-500);
            font-size: 0.9rem;
            line-height: 1.6;
        }

        /* === EDUCATION === */
        /* ========================================= */


/* ========================================= */
/* === EDUCATION SECTION (BALANCEADO & RESPONSIVE) === */
/* ========================================= */

.education-section {
    background: var(--white);
    padding: 80px 0;
}

.education-grid {
    display: grid;
    /* 50% Texto | 50% Visual - Balance perfecto */
    grid-template-columns: 1fr 1fr; 
    gap: 60px;
    align-items: flex-start; /* Alineación superior para evitar huecos abajo */
}

/* === COLUMNA IZQUIERDA === */
.education-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.education-text > p {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.education-features {
    display: grid;
    /* Grid 2x2 para las características */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
}

.edu-feature {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.edu-feature:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.edu-feature-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
}

.edu-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
    line-height: 1.3;
}

.edu-feature p {
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* === COLUMNA DERECHA (STACK: FOTO + CELULAR) === */
.education-visual {
    display: flex;
    flex-direction: column; /* Apila los elementos verticalmente */
    gap: 30px; /* Espacio entre la foto y el celular */
    max-width: 550px; /* Controla el ancho máximo */
    margin: 0 auto;
}

/* Imagen de Niños (Ahora arriba del celular) */
.education-support-img {
    width: 100%;
    height: 220px; /* Altura controlada */
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    /* Alineación visual con el celular */
    border: 1px solid var(--gray-200);
}

.edu-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.edu-mockup-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.mockup-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
}

.mockup-info h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 0;}
.mockup-info p { color: var(--gray-500); font-size: 0.8rem; margin: 0; }

.edu-progress-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.progress-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 15px;
}

.progress-card h5 { font-size: 0.7rem; font-weight: 700; color: var(--gray-500); margin-bottom: 8px; text-transform: uppercase;}
.progress-value { font-size: 1.8rem; font-weight: 800; line-height: 1; margin-bottom: 8px;}
.progress-value.english { color: var(--primary); }
.progress-value.finance { color: var(--accent-dark); }
.progress-bar { height: 6px; background: var(--gray-200); border-radius: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 10px; }
.progress-bar-fill.english { width: 72%; background: var(--primary); }
.progress-bar-fill.finance { width: 45%; background: var(--accent); }

/* Gamification */
.gamification-section {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(253, 210, 22, 0.1) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(1, 166, 62, 0.2);
}

.gamification-section h5 { font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.achievement-badge {
    padding: 5px 12px;
    font-size: 0.75rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    font-weight: 600;
}

.points-display {
    padding: 10px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--accent);
    display: flex; align-items: center; gap: 10px;
}

.points-value { font-size: 1.3rem; font-weight: 800; }
.points-label { font-size: 0.8rem; font-weight: 500; color: var(--gray-500); }


/* === RESPONSIVE (TABLET Y MÓVIL) === */
@media (max-width: 1024px) {
    .education-grid {
        grid-template-columns: 1fr; /* Una columna */
        gap: 40px;
    }
    
    .education-text {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .education-features {
        text-align: left; /* Mantiene las cajas con texto alineado izq */
    }
    
    /* En móvil, la foto queda encima del celular naturalmente */
    .education-visual {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 600px) {
    .education-features {
        grid-template-columns: 1fr; /* 1 columna de features en móviles pequeños */
    }
    
    .edu-feature {
        flex-direction: row;
        align-items: center;
    }
}

        /* === PRICING === */
        .pricing-section {
            background: var(--gray-100);
        }

        .pricing-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .pricing-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-top: 16px;
            margin-bottom: 16px;
        }

        .pricing-header p {
            color: var(--gray-600);
            font-size: 1.1rem;
        }

        .pricing-urgency {
            text-align: center;
            margin-bottom: 60px;
        }

        .urgency-banner {
            display: inline-flex;
            align-items: center;
            gap: 20px;
            background: var(--white);
            border: 2px solid var(--accent);
            border-radius: var(--radius-xl);
            padding: 16px 32px;
            box-shadow: var(--shadow-sm);
        }

        .urgency-banner span {
            font-size: 1.75rem;
        }

        .urgency-text {
            text-align: left;
        }

        .urgency-text strong {
            color: var(--dark);
            display: block;
            font-size: 1rem;
            font-weight: 700;
        }

        .urgency-text small {
            color: var(--gray-500);
            font-size: 0.85rem;
        }

        .countdown {
            font-family: 'Poppins', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--white);
            background: var(--primary);
            padding: 10px 20px;
            border-radius: var(--radius-md);
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            margin-bottom: 48px;
        }

        .price-card {
            background: var(--white);
            border-radius: var(--radius-xl);
            padding: 36px;
            border: 2px solid var(--gray-200);
            display: flex;
            flex-direction: column;
            position: relative;
            transition: all 0.3s ease;
        }

        .price-card:hover {
            border-color: var(--gray-300);
            box-shadow: var(--shadow-md);
        }

        .price-card.featured {
            border: 2px solid var(--primary);
            box-shadow: var(--shadow-lg);
            transform: scale(1.03);
            z-index: 2;
        }

        .price-card.featured:hover {
            transform: scale(1.03);
        }

        .featured-badge {
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: var(--white);
            padding: 8px 24px;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            white-space: nowrap;
        }

        .plan-name {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--gray-500);
            margin-bottom: 8px;
            font-weight: 600;
        }

        .plan-price {
            display: flex;
            align-items: baseline;
            gap: 4px;
            margin-bottom: 4px;
        }

        .plan-price .currency {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--gray-500);
        }

        .plan-price .amount {
            font-size: 3rem;
            font-weight: 800;
            color: var(--dark);
            line-height: 1;
        }

        .plan-period {
            color: var(--gray-500);
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        .plan-desc {
            color: var(--gray-500);
            font-size: 0.9rem;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--gray-200);
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .plan-features {
            list-style: none;
            flex-grow: 1;
            margin-bottom: 24px;
        }

        .plan-features li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 10px 0;
            font-size: 0.9rem;
            color: var(--gray-600);
        }

        .plan-features li span {
            color: var(--primary);
            font-size: 1rem;
            font-weight: 700;
        }

        .plan-features li.locked {
            color: var(--gray-400);
        }

        .plan-features li.locked span {
            color: var(--danger);
        }

        .plan-features li strong {
            color: var(--dark);
            font-weight: 600;
        }

        .price-card .btn {
            width: 100%;
        }

        .watermark-notice {
            margin-top: 16px;
            padding: 14px;
            background: rgba(253, 210, 22, 0.15);
            border-radius: var(--radius-sm);
            font-size: 0.75rem;
            color: var(--gray-600);
            text-align: center;
            border: 1px solid rgba(253, 210, 22, 0.3);
        }

        .pricing-enterprise {
            text-align: center;
            padding: 48px;
            background: var(--white);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--gray-200);
        }

        .pricing-enterprise h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--dark);
        }

        .pricing-enterprise p {
            color: var(--gray-500);
            margin-bottom: 24px;
        }

        /* === TESTIMONIALS === */
        .testimonials-section {
            background: var(--white);
        }

        .testimonials-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .testimonials-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-top: 16px;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-bottom: 60px;
        }

        .testimonial-card {
            background: var(--gray-100);
            border-radius: var(--radius-xl);
            padding: 36px;
            transition: all 0.3s ease;
        }

        .testimonial-card:hover {
            box-shadow: var(--shadow-md);
        }

        .testimonial-card blockquote {
            font-size: 1rem;
            line-height: 1.8;
            color: var(--gray-600);
            margin-bottom: 24px;
            font-style: italic;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .testimonial-avatar {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            background: var(--primary);
            color: var(--white);
        }

        .testimonial-info h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark);
        }

        .testimonial-info p {
            font-size: 0.85rem;
            color: var(--gray-500);
        }

        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .metric-card {
            text-align: center;
            padding: 36px;
            background: var(--primary-light);
            border-radius: var(--radius-lg);
        }

        .metric-value {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 8px;
            color: var(--primary);
        }

        .metric-label {
            color: var(--gray-600);
            font-size: 0.95rem;
        }

        /* === CTA === */
       .cta-section {
    /* Fondo con imagen de estadio + capa verde encima para que se lea el texto */
    background: 
        linear-gradient(135deg, rgba(1, 166, 62, 0.95) 0%, rgba(1, 156, 57, 0.9) 100%),
        url('https://images.unsplash.com/photo-1522778119026-d647f0565c6a?q=80&w=2000&auto=format&fit=crop'); 
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax elegante */
    
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Mantenemos el "brillo" anterior pero más sutil */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

        .cta-content {
            text-align: center;
            max-width: 850px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .cta-content h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .cta-content p {
            font-size: 1.15rem;
            opacity: 0.9;
            margin-bottom: 40px;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin-bottom: 32px;
        }

        .cta-guarantee {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            font-size: 0.95rem;
            opacity: 0.9;
        }

        .cta-guarantee span {
            font-size: 1.25rem;
        }

        /* === FOOTER === */
        footer {
            background: var(--dark);
            color: var(--white);
            padding: 60px 0 30px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
        }

        .footer-logo-img {
            height: 36px;
            width: auto;
            filter: brightness(0) invert(1);
        }

        .footer-links {
            display: flex;
            gap: 36px;
        }

        .footer-links a {
            color: var(--gray-400);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--white);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid var(--dark-700);
        }

        .footer-bottom p {
            color: var(--gray-500);
            font-size: 0.85rem;
        }

        /* === RESPONSIVE === */
        @media (max-width: 1024px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hero-visual {
                max-width: 500px;
                margin: 0 auto;
            }

            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .pricing-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .price-card.featured {
                transform: scale(1);
            }

            .testimonials-grid {
                grid-template-columns: 1fr;
            }

            .metrics-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .education-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .villain-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .section {
                padding: 80px 0;
            }

            .cta-guarantee {
        flex-direction: column !important; /* Fuerza que se apilen verticalmente */
        gap: 8px !important; /* Reduce un poco el espacio vertical */
        text-align: center; /* Asegura que el texto quede centrado */
    }

            .hero {
                padding: 120px 0 80px;
            }

            .hero h1 {
                font-size: 2.25rem;
            }

            .comparison-wrapper {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .comparison-arrow {
                padding: 16px 0;
            }

            .arrow-circle {
                transform: rotate(90deg);
            }

            .features-grid,
            .pricing-grid,
            .metrics-grid {
                grid-template-columns: 1fr;
            }

            .hero-cta {
                flex-direction: column;
            }

            .hero-cta .btn {
                width: 100%;
            }

            .cta-buttons {
                flex-direction: column;
            }

            .cta-buttons .btn {
                width: 100%;
            }

            .footer-content {
                flex-direction: column;
                gap: 24px;
                text-align: center;
            }

            .footer-links {
                flex-wrap: wrap;
                justify-content: center;
                gap: 20px;
            }

            .urgency-banner {
                flex-direction: column;
                text-align: center;
                gap: 16px;
            }

            .hero-float-badge {
                display: none;
            }
        }

        @keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.logos-container {
    overflow: hidden;
    padding: 10px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

/* Sutil degradado a los lados para efecto de desvanecimiento */
.logos-container::before,
.logos-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logos-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logos-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.logos-slide {
    display: inline-block;
    animation: slide 35s infinite linear;
}

.logos-slide img {
    height: 55px; /* Altura uniforme para todos los logos */
    width: auto;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.logos-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Estilos para el Acordeón de FAQ */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
    list-style: none; /* Oculta el triángulo por defecto */
}

.faq-question::-webkit-details-marker {
    display: none; /* Oculta en Safari/Chrome */
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg); /* Convierte el + en x al abrir */
    color: var(--danger);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Estilos para el Texto Rotativo (Versión Verde Luminiscente) */
.rotating-text-wrapper {
    position: relative;
    display: inline-block;
    min-width: 220px;
}

.rotating-text {
    display: inline-block;
    position: relative;
    /* Nuevo Verde Neón para máximo contraste sobre negro */
    color: #03a137; 
    /* Brillo sutil para efecto luminiscente */
    text-shadow: 0 0 15px rgba(0, 255, 85, 0.25);
    font-style: italic;
    padding: 0 8px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Subrayado animado a juego */
.rotating-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* Degradado del verde neón al verde corporativo */
    background: linear-gradient(90deg, #03a137 0%, var(--primary) 100%);
    border-radius: 2px;
    animation: underlinePulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 255, 85, 0.4);
}

@keyframes underlinePulse {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(0.95); opacity: 0.8; }
}

/* (El resto de estilos de villain-card-compact se mantienen igual) */
.villain-stack { display: flex; flex-direction: column; gap: 20px; }
.villain-card-compact {
    background: var(--dark-800);
    border-radius: var(--radius-md);
    padding: 24px;
    border-left: 4px solid var(--danger);
    display: flex; align-items: center; gap: 24px;
    transition: transform 0.3s ease;
}
.villain-card-compact:hover { transform: translateX(-10px); background: rgba(255,255,255,0.05); }
.villain-icon-sm { font-size: 2rem; flex-shrink: 0; }
.villain-card-compact h3 { color: var(--white); font-size: 1.1rem; font-weight: 700; margin: 0 0 4px 0; }
.villain-card-compact p { color: var(--gray-400); font-size: 0.9rem; margin: 0; line-height: 1.4; }

@media (max-width: 768px) {
    .villain-card-compact { padding: 16px; gap: 16px; }
    .rotating-text-wrapper { display: block; margin-top: 5px; }
}

/* === PRICING TABLE STYLES (CORREGIDO) === */

.pricing-table-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
    overflow-x: auto; /* Scroll necesario */
    padding-top: 0;   /* Ya no necesitamos espacio extra arriba */
}

.pricing-grid {
    display: grid;
    grid-template-columns: 280px repeat(4, minmax(140px, 1fr)); 
    min-width: 800px;
    
    /* CORRECCIÓN 3: Eliminar los espacios blancos gruesos entre celdas */
    gap: 0; 
}

/* HEADERS */
.grid-header {
    padding: 30px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--gray-200);
    
    /* CORRECCIÓN 4: Agregar líneas divisorias verticales */
    border-right: 1px solid var(--gray-200);
}

/* Quitar borde derecho al último elemento para limpieza visual */
.grid-header:last-child {
    border-right: none;
}

/* Esquinas redondeadas superiores manuales (ya que quitamos overflow:hidden) */
.grid-header:first-child { border-top-left-radius: var(--radius-xl); }
.grid-header:last-child { border-top-right-radius: var(--radius-xl); }


.feature-col {
    background: var(--white);
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.plan-col h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.plan-col .subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Colores de Headers */
.plan-semillero { background: var(--gray-100); color: var(--gray-600); }
.plan-starter { background: #E8F8EE; color: var(--primary-dark); }
.plan-pro { 
    background: var(--primary); 
    color: var(--white); 
    position: relative;
    z-index: 2;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
    
    /* NUEVO: Usamos Flexbox para apilar la etiqueta y el título */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px; /* Un poco menos de padding arriba para compensar */
}
.plan-elite { background: var(--dark); color: var(--white); }

/* Etiqueta "Recomendado" flotante - AJUSTADA */
.pop-tag {
    /* CAMBIO CLAVE: Ya no es absolute, ahora es parte del flujo */
    position: static; 
    transform: none;
    background: var(--accent); /* Amarillo */
    color: var(--dark);        /* Texto negro */
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 8px; /* Espacio entre la etiqueta y la palabra "Pro" */
    /* Sombra suave */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    /* Aseguramos que se comporte como bloque */
    display: inline-block;
    line-height: 1.2;
}

/* ROWS Y CELDAS */
.grid-row {
    display: contents; 
}

.cell {
    padding: 20px 15px;
    border-bottom: 1px solid var(--gray-200); /* Borde un poco más visible */
    
    /* CORRECCIÓN 5: Bordes verticales en las celdas también */
    border-right: 1px solid var(--gray-200); 
    
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* Quitar borde derecho a la última celda de cada fila */
.grid-row .cell:last-child {
    border-right: none;
}

.center-text {
    justify-content: center;
}

.feature-name {
    font-weight: 600;
    color: var(--dark);
    padding-left: 30px;
}

/* Zebra Striping */
.grid-row:nth-child(even) .cell {
    background-color: #FAFAFA; 
}

/* Columna Pro Destacada */
.popular-bg {
    background-color: rgba(1, 166, 62, 0.04) !important;
    font-weight: 600;
    color: var(--dark);
    /* Borde específico para resaltar la columna sin gaps */
    border-right: 1px solid rgba(1, 166, 62, 0.2); 
}
/* Borde izquierdo de la celda pro (necesita selector específico) */
.cell:nth-child(4) { /* La columna 4 es la PRO */
     border-left: 1px solid rgba(1, 166, 62, 0.2);
}


/* Estilos de Iconos y Precios */
.price-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
}

.check {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
}

.cross {
    color: var(--danger);
    font-size: 1.2rem;
}

/* Botones al final */
.btn-row .cell {
    padding-top: 30px;
    padding-bottom: 30px;
    background: transparent !important;
    border: none !important; 
    box-shadow: none !important;
}

/* === OPTIMIZACIÓN MÓVIL (Mantenemos esto igual) === */
@media (max-width: 1024px) {
    .grid-header:first-child,
    .cell:first-child {
        position: sticky;
        left: 0;
        z-index: 10;
        /* Sombra más fuerte para separar la columna fija */
        box-shadow: 2px 0 10px rgba(0,0,0,0.05);
        border-right: 1px solid var(--gray-300);
    }

    .grid-header:first-child {
        background: var(--white);
    }
    
    .grid-row:nth-child(odd) .cell:first-child {
        background: var(--white);
    }
    
    .grid-row:nth-child(even) .cell:first-child {
        background: #FAFAFA;
    }

    .pricing-table-wrapper {
        padding-top: 0; 
        margin-top: 50px; /* Más espacio en móvil para el badge */
    }
    
    .pricing-table-wrapper::after {
        content: '→ Desliza para ver más planes';
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--gray-400);
        margin-top: 10px;
        font-weight: 500;
    }
}



/* 2. Estilos para móviles (Añadir o reemplazar en tu CSS) */
@media (max-width: 768px) {
    /* Ocultamos los botones de la barra superior en móvil */
    .nav-cta {
        display: none !important; 
    }

    /* Ajustamos el menú desplegable para que incluya los botones */
    .nav-links {
        /* ... tus estilos de menu movil ... */
        gap: 20px; /* Espacio entre enlaces */
    }

    /* Aseguramos que los botones DENTRO del menú se vean bien */
    .mobile-only-btn {
        display: flex !important; /* Se muestran solo en móvil */
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

/* ========================================= */
/* === LÓGICA DE VISIBILIDAD INTELIGENTE === */
/* ========================================= */

/* Por defecto (Escritorio > 1024px): Mostramos Tabla, Ocultamos Tarjetas */
.desktop-view { display: block; }
.mobile-view { display: none; }

/* En Pantallas Pequeñas (Móvil/Tablet < 1024px) */
@media (max-width: 1024px) {
    .desktop-view { display: none !important; } /* Adiós Tabla Gigante */
    .mobile-view { display: grid !important; }  /* Hola Tarjetas Compactas */
    
    /* Ajuste para que el contenedor de tarjetas tenga margen superior */
    .pricing-cards-container {
        margin-top: 30px;
    }
}


/* ========================================= */
/* === ESTILOS TARJETAS MÓVILES COMPACTAS === */
/* ========================================= */

/* Grid Móvil: Una tarjeta debajo de otra */
.pricing-cards-container {
    grid-template-columns: 1fr;
    gap: 16px; 
}

/* Tarjeta Base Compacta */
.pricing-card.compact {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.pricing-card.compact:active {
    transform: scale(0.98); /* Efecto de "click" sutil en móvil */
}

/* Header Compacto (Flexbox) */
.card-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #FAFAFA;
    border-bottom: 1px solid var(--gray-200);
}

.plan-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    color: var(--dark);
}

.amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.period {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Badges pequeños (Etiquetas de colores) */
.plan-badge-gray, .plan-badge-blue, .plan-badge-dark {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 4px;
    display: inline-block;
}
.plan-badge-gray { background: var(--gray-200); color: var(--gray-600); }
.plan-badge-blue { background: #E8F8EE; color: var(--primary); }
.plan-badge-dark { background: var(--dark); color: var(--white); }

/* Cuerpo Compacto */
.card-body-compact {
    padding: 16px 20px;
}

.plan-desc-sm {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.separator {
    height: 1px;
    background: var(--gray-100);
    margin: 16px 0;
}

/* Lista Compacta (Menos espacio en blanco = Más comercial) */
.feature-list-compact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-compact li {
    display: flex;
    align-items: flex-start; 
    gap: 8px;
    margin-bottom: 8px; 
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.feature-list-compact li:last-child {
    margin-bottom: 0;
}

/* === TARJETA PRO DESTACADA (Diseño Premium) === */
.pricing-card.compact.featured-pro {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 24px rgba(1, 166, 62, 0.2);
    position: relative;
    transform: scale(1.02); 
    z-index: 10;
    margin: 10px 0; /* Un poco de aire arriba y abajo para resaltarla */
}

.best-value-ribbon {
    left: 0 !important;       /* Pegar a la izquierda */
    right: auto !important;   /* Soltar la derecha */
    border-bottom-right-radius: 8px; /* Redondear la esquina interna */
    border-bottom-left-radius: 0;    /* Cuadrar la esquina externa */

    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 12px;
    border-bottom-left-radius: 8px;
    z-index: 2;
    box-shadow: -2px 2px 4px rgba(0,0,0,0.1);
}

/* 2. Forzar color Blanco en el Precio ($99) y el Periodo (/mes) */
.card-header-pro .amount, 
.card-header-pro .period,
.card-header-pro .plan-title {
    color: #FFFFFF !important;
}

/* Opcional: Asegurar que el texto descriptivo pequeño también se lea bien */
.card-header-pro .text-white-50 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.card-header-pro {
    background: var(--primary); /* Header verde sólido */
    padding: 20px;
    text-align: center;
}

.pro-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.text-white { color: white !important; }
.text-white-50 { color: rgba(255,255,255,0.8) !important; }

.btn-shadow {
    box-shadow: 0 4px 12px rgba(1, 166, 62, 0.4);
}

.highlight-feature {
    background: #E8F8EE;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: -8px; /* Compensar padding */
    width: calc(100% + 16px);
    font-weight: 600;
    color: var(--dark);
}

/* En escritorio, ocultamos los botones duplicados del menú */
@media (min-width: 769px) {
    .mobile-only-btn {
        display: none !important;
    }
}

/* === CORRECCIÓN FINAL DE VISIBILIDAD === */
@media (max-width: 1024px) {
    /* Reiniciamos el hijo para que no se esconda */
    .nav-links {
        position: static !important; /* Ya no es fixed */
        right: auto !important;
        transform: none !important;
        background: transparent !important;
        width: 100% !important;
        height: auto !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Aseguramos que el contenedor padre controle la visibilidad */
    .nav-menu {
        display: flex !important;
        visibility: visible;
    }
}


/* ================================================= */
/* === VIDEO RESPONSIVO (SOLUCIÓN DEFINITIVA) === */
/* ================================================= */

/* 1. Contenedor del Video (El marco) */
.hero-mockup.video-trigger {
    /* Reset total de propiedades heredadas */
    min-height: 0 !important;   /* Mata la altura fija de 400px */
    height: auto !important;    /* Deja que el aspect-ratio decida la altura */
    padding: 0 !important;      /* Sin relleno interno */
    
    /* Geometría Perfecta */
    width: 100%;
    aspect-ratio: 16 / 9;       /* Mantiene siempre formato Cine/YouTube */
    
    /* Estética */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-lg);
    border: 4px solid var(--white);
    background: #000;           /* Fondo negro de carga */
    box-shadow: var(--shadow-md);
    
    /* Centrado del Botón Play */
    display: flex;
    align-items: center;
    justify-content: center;
    
    transform: translateZ(0);   /* Mejora rendimiento en iPhone */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-mockup.video-trigger:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(1, 166, 62, 0.25);
}

/* 2. La Imagen de Fondo (Miniatura) */
.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover; /* CLAVE: Recorta la imagen para llenar sin deformar */
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.5s ease;
}

.hero-mockup.video-trigger:hover .video-thumbnail {
    transform: scale(1.05);
}

/* 3. Capa Oscura (Overlay) */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Sombra ligera para contraste */
    z-index: 2;
    transition: background 0.3s;
}

.hero-mockup.video-trigger:hover .video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

/* 4. Botón de Play (Responsive) */
.play-btn-wrapper {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none; /* Permite hacer clic "a través" del botón */
}

.play-btn-circle {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 0 0 0 rgba(1, 166, 62, 0.7);
    animation: pulse-green 2s infinite;
    transition: transform 0.3s ease;
}

.play-icon {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.play-text {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    letter-spacing: 0.5px;
}

/* ================================================= */
/* === MEDIA QUERIES (AJUSTES POR DISPOSITIVO) === */
/* ================================================= */

/* TABLETS (Entre 768px y 1024px) */
@media (max-width: 1024px) {
    .hero-visual {
        max-width: 700px; /* Permitimos que el video sea más grande en tablets */
        width: 100%;
        margin: 0 auto;
    }
}

/* MÓVILES (Menos de 768px) */
@media (max-width: 768px) {
    .hero-image-wrapper {
        padding: 10px; /* Reducimos el marco blanco para ganar espacio */
    }
    
    .play-btn-circle {
        width: 60px; /* Botón un poco más pequeño */
        height: 60px;
    }
    
    /* Opcional: Ocultar las tarjetas flotantes en móvil si tapan el video */
    .hero-float-badge {
        display: none !important;
    }
}

/* MÓVILES PEQUEÑOS (Menos de 480px) */
@media (max-width: 480px) {
    .hero-mockup.video-trigger {
        border-width: 2px; /* Marco más fino */
    }

    .play-btn-circle {
        width: 50px;
        height: 50px;
    }
    
    .play-icon {
        width: 20px;
        height: 20px;
    }
    
    .play-text {
        font-size: 0.85rem;
    }
}



@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(1, 166, 62, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(1, 166, 62, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(1, 166, 62, 0); }
}

/* === ESTILOS DEL MODAL === */
/* === ESTILOS DEL MODAL (CORREGIDO: CENTRADO PERMANENTE) === */
.modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    backdrop-filter: blur(5px);
    
    /* TRANSICIONES */
    opacity: 0;
    transition: opacity 0.3s ease;
    
    /* ✅ CORRECCIÓN: El centrado debe estar AQUÍ, no en .active */
    /* Esto asegura que al cerrar no salte a la izquierda */
    align-items: center;     
    justify-content: center; 
}

.modal-overlay.active {
    /* Al activarse, solo manejamos la opacidad */
    /* El display:flex lo pone el JS, y el centrado ya lo heredamos de arriba */
    opacity: 1;
}

/* El resto de estilos se mantienen igual */
.modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .contact-modal-content {
        max-width: 800px; /* Hacemos el modal más ancho */
        padding: 40px;
    }

    /* Convertimos el formulario en una cuadrícula */
    .contact-modal-content form {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
        column-gap: 25px; /* Espacio lateral entre campos */
        row-gap: 15px;    /* Espacio vertical entre filas */
    }

    /* Reglas para que ciertos elementos ocupen todo el ancho */
    .contact-modal-content .form-group.full-width {
        grid-column: span 2;
    }

    /* El botón y el texto legal siempre van a lo ancho */
    .contact-modal-content button[type="submit"], 
    .contact-modal-content p {
        grid-column: span 2;
        margin-top: 10px;
    }
    
    /* Aseguramos que el input oculto no rompa la cuadrícula */
    input[type="hidden"] {
        display: none;
    }
}

/* === NUEVO ESTILO FEATURES TIPO LEAGUEAPPS === */

.features-grid-clean {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* CLAVE: Esto centra los elementos sobrantes */
    gap: 20px;
}

.feature-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.2s ease;
    
    /* LÓGICA DE TAMAÑO */
    flex-grow: 1;      /* Permite crecer si hay espacio */
    max-width: 350px;  /* Pero no deja que se estiren demasiado y se vean feos */
}

.feature-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.f-icon {
    font-size: 1.5rem;
    background: var(--primary-light);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.f-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
    line-height: 1.2;
}

.f-content p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.4;
    margin: 0;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .features-grid-clean {
        flex-direction: column; /* En móvil, uno debajo de otro */
    }
    .feature-item {
        max-width: 100%; /* Ocupar todo el ancho en celular */
    }
}

/* === CORRECCIÓN DE CENTRADO HERO (< 1050px) === */
/* === FIN DEL MEDIA QUERY DE 1050PX === */
@media (max-width: 1050px) {
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; width: 100%; }
    
    .hero-proof {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .proof-avatars { justify-content: center; margin-left: 12px; }

    .hero-visual {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }
} /* <--- ESTA LLAVE CIERRA EL MODO TABLET. LO SIGUIENTE DEBE IR FUERA */


/* ========================================== */
/* ESTILOS GLOBALES (DEBEN IR FUERA DEL MEDIA QUERY) */
/* ========================================== */

/* 1. Imagen en Educación */
.education-support-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.education-support-img:hover {
    transform: scale(1.02);
}

/* 2. Sección Métricas con Fondo (Estilo Estadio) */
.metrics-section-bg {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1431324155629-1a6deb1dec8d?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}

.metrics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(2px);
}

.metric-card {
    background: rgba(232, 248, 238, 0.9) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(1, 166, 62, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Ajuste del Parallax para móviles */
@media (max-width: 768px) {
    .metrics-section-bg {
        background-attachment: scroll;
        padding: 60px 0;
    }
}


/* ========================================= */
/* === FORMULARIO DE CONTACTO (MODAL) === */
/* ========================================= */

.contact-modal-content {
    background: var(--white);
    padding: 35px; /* Reduje un poco el padding */
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.3s ease-out;
    
    /* --- CORRECCIÓN DE SCROLL --- */
    max-height: 90vh; /* Nunca ocupará más del 90% de la altura de la pantalla */
    overflow-y: auto; /* Activa el scroll vertical si el contenido es muy largo */
    display: flex;
    flex-direction: column;
}

/* Estilo para la barra de scroll (opcional, para que se vea bonita) */
.contact-modal-content::-webkit-scrollbar {
    width: 6px;
}
.contact-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
.contact-modal-content::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}
.contact-modal-content::-webkit-scrollbar-thumb:hover {
    background: #bbb; 
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-header {
    text-align: center;
    margin-bottom: 20px;
    flex-shrink: 0; /* Evita que el título se aplaste */
}

.contact-header h3 {
    font-size: 1.5rem; /* Un poco más pequeño para ahorrar espacio */
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.2;
}

.contact-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 16px; /* Reduje el margen entre campos */
    flex-shrink: 0;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 14px; /* Inputs un poco más compactos */
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    transition: all 0.2s ease;
    background: var(--gray-100);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-textarea {
    resize: vertical;
    min-height: 80px; /* Altura mínima reducida */
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    flex-shrink: 0;
}

.close-contact {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.05); /* Fondo sutil para que se vea mejor */
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.close-contact:hover {
    background: var(--danger);
    color: white;
}

/* === AJUSTE PARA MÓVILES === */
@media (max-width: 600px) {
    .contact-modal-content {
        padding: 20px; /* Padding más pequeño en celular */
        width: 90%;
        max-height: 85vh; /* Un poco menos de altura para dejar margen */
    }
    
    .contact-header h3 {
        font-size: 1.3rem;
    }
}


/* ========================================= */
/* === TOP BAR PREMIUM (PROFESIONAL) === */
/* ========================================= */

.top-bar {
    background: var(--dark); /* Fondo oscuro corporativo */
    height: 36px; /* Altura delgada y elegante (menos tosco que 40px) */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Línea divisoria sutil */
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    /* Asegura que el contenido se alinee con el resto de la web */
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. REDES SOCIALES (Sutiles y minimalistas) */
.top-socials {
    display: flex;
    gap: 18px; /* Espacio aireado */
    align-items: center;
}

.top-socials a {
    color: var(--gray-500); /* Gris apagado por defecto */
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.top-socials a:hover {
    color: var(--white); /* Blanco brillante al pasar mouse */
    opacity: 1;
    transform: translateY(-1px); /* Pequeña elevación */
}

.top-socials svg {
    width: 14px; /* Iconos pequeños y finos */
    height: 14px;
}

/* 2. ESLOGAN (Texto técnico y elegante) */
.top-slogan {
    font-size: 0.7rem; /* Texto pequeño */
    font-weight: 600;
    text-transform: uppercase; /* Mayúsculas dan autoridad */
    letter-spacing: 1px; /* Espaciado entre letras (Clave del diseño premium) */
    color: var(--gray-400);
}

/* 3. IDIOMAS (Sin barras feas, solo texto limpio) */
.top-languages {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-link {
    text-decoration: none;
    color: var(--gray-500);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.lang-link:hover {
    color: var(--white);
}

/* El idioma activo se resalta con el color de la marca */
.lang-link.active {
    color: var(--accent); 
    font-weight: 700;
}

/* Pequeño punto indicador debajo del idioma activo */
.lang-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

/* === AJUSTE NECESARIO AL NAVBAR ESTRUCTURAL === */
.navbar {
    top: 36px !important; /* Baja exactamente la altura de la Top Bar */
    height: 80px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Sombra suave */
}

/* Ajuste del Hero para que no se corte */
.hero {
    padding-top: 160px !important;
}

/* === RESPONSIVE (Móviles) === */
@media (max-width: 768px) {
    .top-slogan {
        display: none; /* Ocultamos el eslogan en móvil para no saturar */
    }
    
    .top-bar-content {
        justify-content: space-between; /* Redes a un lado, idiomas al otro */
        padding: 0 20px;
    }

    .navbar {
        top: 36px !important;
    }
    
    /* Ajuste del menú lateral móvil */
    .nav-menu {
        top: 36px;
        height: calc(100vh - 36px);
    }
}