/* ========== 1. RESET Y VARIABLES GLOBALES ========== */
:root {
    --primary: #e50914;
    --primary-dark: #b2070f;
    --secondary: #564d4d;
    --dark: #221f1f;
    --light: #f5f5f1;
    --white: #ffffff;
    --gray: #7f7f7f;
    --max-width: 1200px;
    --header-height: 70px;
}

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

.label-mobile { display: none; }
.label-desktop { display: inline; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* ========== 2. UTILIDADES Y COMPONENTES REUTILIZABLES ========== */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--light);
}

/* ========== 3. NAVBAR / MENÚ DE NAVEGACIÓN ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: var(--header-height);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

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

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

/* ========== 4. HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 50%, #764ba2 100%);
    color: var(--white);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem 2rem 0;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #E50914;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ========== 5. QUIÉNES SOMOS SECTION ========== */
.quienes-somos {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.quienes-somos-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.85) 100%);
}

.quienes-somos-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.section-header.light .section-title {
    color: white;
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.highlight-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
}

.highlight-text strong {
    color: var(--primary);
    font-weight: 700;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 50%, #764ba2 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #3a5f9e 0%, #5580b8 50%, #9b7ec8 100%);
}

.feature-item i {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    color: #e50914;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-text-fill-color: #e50914;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

.stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quienes-somos .section-footer {
    text-align: center;
    margin-top: 2rem;
}

.quienes-somos .btn-primary {
    background: var(--primary);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

.quienes-somos .btn-primary i {
    transition: transform 0.3s;
}

.quienes-somos .btn-primary:hover i {
    transform: translateX(5px);
}

/* ========== 6. FEATURES / CARACTERÍSTICAS ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

/* ========== 7. PROMO BANNER ========== */
.promo-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 3rem;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.promo-content {
    flex: 1;
    min-width: 300px;
}

.promo-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

.promo-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.promo-image {
    font-size: 4rem;
    animation: pulse 2s infinite;
}

/* ========== 8. CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 50%, #764ba2 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ========== 9. FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.footer-section a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.social-links i {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray);
}

/* Dots carrusel - ocultos en desktop */
.carousel-dots {
    display: none;
}

/* ========== 10. BOTONES Y COMPONENTES INTERACTIVOS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ========== 11. ANIMACIONES ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ========== 12. MEDIA QUERIES - RESPONSIVE ========== */

/* Tablet (768px y menores) */
@media (max-width: 768px) {

    .hero-stats .stat-number {
        color: white;
    }

    .hero-stats .stat-label {
        color: rgba(255, 255, 255, 0.8);
    }
    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Navbar responsive */
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }

    .nav-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Hero responsive */
        .hero-stats {
            gap: 1.5rem;
        }

        .stat-number {
            font-size: 1.5rem;
        }

        .hero-inner {
                    overflow: hidden;
                }

                .hero-carrusel {
                    width: 100% !important;
                    max-width: 100% !important;
                    margin: 0.75rem auto 0.25rem;
                    border-radius: 8px;
                }

    /* Quiénes somos responsive */
    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .highlight-text {
        font-size: 1.3rem;
    }

    /* Features responsive */
    .features-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Promo banner responsive */
    .promo-banner {
        padding: 2rem;
        text-align: center;
        justify-content: center;
    }

    .promo-image {
        display: none;
    }
}

/* Móvil (480px y menores) */
@media (max-width: 480px) {

.planes-dots {
        display: flex !important;
        justify-content: center;
        gap: 6px;
        margin-top: 0.5rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo span {
        display: none;
    }

    /* Hero móvil */
        .hero-title {
            font-size: 1.3rem;
            white-space: nowrap;
        }

        .hero-subtitle {
            font-size: 0.9rem;
        }

        .hero-buttons {
            flex-direction: column;
        }

        .hero-buttons .btn {
                    width: auto;
                    max-width: 200px;
                    margin: 0 auto;
                    padding: 0.6rem 1rem;
                    font-size: 0.85rem;
                }

                .hero-stats {
                    flex-direction: row;
                    justify-content: center;
                    gap: 0.75rem;
                    flex-wrap: nowrap;
                    margin-top: 0.2rem;
                }

        .stat-item {
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0.5rem 0.75rem;
            background: rgba(255,255,255,0.1);
            border-radius: 14px;
            flex: 1;
        }

        .stat-icon {
            font-size: 1.3rem;
            line-height: 1;
        }

        .stat-number {
            font-size: 1rem;
            font-weight: bold;
            color: white;
        }

        .stat-label {
            font-size: 0.6rem;
            text-align: center;
            color: rgba(255,255,255,0.8);
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

    /* Quiénes somos móvil */
        .quienes-somos {
            min-height: auto;
        }

        .quienes-somos-content {
            padding: 0.5rem 0 1.5rem;
        }

        .section-header {
            margin-bottom: 1rem;
        }

        .highlight-text {
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }

        .features-list {
                display: flex;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                gap: 0;
                padding: 0.5rem 1rem 1rem;
                margin: 0.5rem -1rem;
                scrollbar-width: none;
            }

            .features-list::-webkit-scrollbar {
                display: none;
            }

            .feature-item {
                min-width: calc(100vw - 3rem);
                max-width: calc(100vw - 3rem);
                scroll-snap-align: center;
                flex-shrink: 0;
                margin-right: 1rem;
            }

            .feature-item:last-child {
                margin-right: 0;
            }

    .feature-item {
        padding: 1.5rem;
    }

    .feature-item i {
        font-size: 2rem;
    }

    .stats-banner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .highlight-text {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .quienes-somos .btn-primary {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    /* Footer móvil */
    /* --- Footer mobile --- */

    .footer {
        padding: 0 0 1rem;
    }

    /* Grid base: 1 columna, todo ocupa ancho completo */
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
        text-align: left;
    }

    /* Brand: ancho completo, centrado */
    .footer .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        padding: 0.9rem 1rem 0.75rem;
        border-bottom: 0.5px solid rgba(255,255,255,0.08);
    }

    .footer .footer-section:first-child h3 {
        font-size: 0.95rem;
        letter-spacing: -0.2px;
        margin-bottom: 0.15rem;
    }

    .footer .footer-section:first-child p {
        font-size: 0.72rem;
        color: rgba(255,255,255,0.4);
        margin-bottom: 0.6rem;
    }

    .social-links {
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        border: 0.5px solid rgba(255,255,255,0.15);
        background: transparent;
    }

    /* Secciones 2 y 3: fila horizontal unificada */
    .footer .footer-section:nth-child(2) {
        grid-column: 1 / -1;
        padding: 0.6rem 1rem;
        border-bottom: 0.5px solid rgba(255,255,255,0.08);
    }

    .footer .footer-section:nth-child(3) {
        grid-column: 1 / -1;
        padding: 0.4rem 1rem 0.6rem;
        border-bottom: 0.5px solid rgba(255,255,255,0.08);
        border-left: none;
        text-align: center;
    }

    /* Ocultar títulos h3 en mobile */
    .footer .footer-section:nth-child(2) h3,
    .footer .footer-section:nth-child(3) h3 {
        display: none;
    }

    /* Links de navegación en fila horizontal con separadores */
    .footer .footer-section:nth-child(2) ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
        justify-content: center;
    }

    .footer .footer-section:nth-child(2) li {
        font-size: 0.72rem;
    }

    .footer .footer-section:nth-child(2) li + li::before {
        content: "|";
        color: rgba(255,255,255,0.2);
        margin: 0 0.5rem;
    }

    /* Email centrado en su propia fila */
    .footer .footer-section:nth-child(3) ul {
        display: flex;
        justify-content: center;
    }

    .footer .footer-section:nth-child(3) li {
        font-size: 0.72rem;
        justify-content: center;
    }

    .footer .footer-section:nth-child(3) li i {
        font-size: 0.65rem;
        opacity: 0.4;
        flex-shrink: 0;
    }

    /* Horarios: fila horizontal compacta, ancho completo */
    .footer .footer-section:nth-child(4) {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 0.9rem;
        border-bottom: 0.5px solid rgba(255,255,255,0.08);
    }

    .footer .footer-section:nth-child(4) h3 {
        font-size: 0.68rem;
        font-weight: 400;
        color: rgba(255,255,255,0.3);
        margin-bottom: 0;
    }

    .footer .footer-section:nth-child(4) ul {
        margin: 0;
    }

    .footer .footer-section:nth-child(4) li {
        font-size: 0.72rem;
        color: rgba(255,255,255,0.5);
    }

    /* Footer bottom */
    .footer-bottom {
        padding-top: 0.6rem;
        border-top: 0.5px solid rgba(255,255,255,0.06);
    }

    .footer-legal-links {
        gap: 0.25rem 0.75rem;
        margin-bottom: 0.4rem;
    }

    .footer-legal-links button {
        font-size: 0.68rem;
    }

    .footer-bottom p {
        font-size: 0.65rem;
        color: rgba(255,255,255,0.2);
    }

    /* Como funciona - carrusel horizontal mobile */
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 0.5rem 1.25rem 1rem;
        margin: 0 -1rem;
        scrollbar-width: none;
    }

    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        min-width: calc(100vw - 2.5rem);
        max-width: calc(100vw - 2.5rem);
        scroll-snap-align: center;
        flex-shrink: 0;
        margin-right: 1.25rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .feature-card:last-child {
        margin-right: 0;
    }

    .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin-top: 0.75rem;
        }

        .quienes-dots {
            display: flex !important;
            justify-content: center;
            gap: 6px;
            margin-top: 0.5rem;
        }

    .carousel-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #d0cec8;
        transition: all 0.25s;
        border: none;
        padding: 0;
        cursor: default;
    }

    .carousel-dot.active {
        background: var(--primary);
        width: 18px;
        border-radius: 3px;
    }
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-bottom: 0.75rem;
}
.footer-legal-links button {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 0.82rem;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.footer-legal-links button:hover { color: #fff; }

/* Landscape en móviles */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-stats {
        display: none;
    }

    /* Quiénes somos landscape */
    .feature-item {
        padding: 1rem;
    }

    .feature-item i {
        font-size: 1.5rem;
    }
}

/* ========== IMÁGENES DECORATIVAS HERO ========== */
.hero-deco {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: clamp(160px, 16vw, 280px);
    height: auto;
    z-index: 3;
    pointer-events: none;
}

.hero-deco-left {
    left: 0;
}

.hero-deco-right {
    right: 0;
}

/* Ocultar en móvil */
@media (max-width: 768px) {
    .hero-deco {
        display: none;
    }
}

@media (min-width: 769px) {
    .hero .stat-label {
        color: #324C89;
        opacity: 1;
    }
}

/* ==============================================
   MODAL LEGAL (para footer.js)
   ============================================== */

.footer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.footer-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.footer-modal-container {
    background: white;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.footer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.footer-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.footer-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
}

.footer-modal-close:hover {
    opacity: 0.8;
}

.footer-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
}

/* Tablas dentro del modal */
.footer-modal-body .legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.footer-modal-body .legal-table th,
.footer-modal-body .legal-table td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}

.footer-modal-body .legal-table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* Responsive modal */
@media (max-width: 768px) {
    .footer-modal-container {
        width: 95%;
        max-height: 90vh;
    }

    .footer-modal-header {
        padding: 0.75rem 1rem;
    }

    .footer-modal-body {
        padding: 1rem;
    }
}
/* ========== CUADRO COMPARATIVO FREE VS PREMIUM ========== */
.planes-comparativo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: #242424;
    border-radius: 12px;
    overflow: hidden;
    border: 0.5px solid rgba(255,255,255,0.1);
}

.plan-card-premium {
    border: 2px solid #e50914;
}

.plan-head {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.plan-badge {
    display: inline-block;
    background: #e50914;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.plan-badge-free {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.plan-nombre {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.plan-precio {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.plan-precio span {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
}

.plan-precio-free {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
}

.plan-rows {
    list-style: none;
    padding: 0.75rem 1.25rem;
    margin: 0;
}

.plan-rows li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.plan-rows li:last-child {
    border-bottom: none;
}

.plan-row-label {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
}

.plan-row-val {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.plan-highlight { color: #e50914; }
.plan-muted { color: #fff; }
.plan-check { color: #4caf50; font-size: 15px; }
.plan-cross { color: rgba(255,255,255,0.25); font-size: 15px; }

.plan-btn {
    display: block;
    margin: 0 1.25rem 1.25rem;
    padding: 0.7rem;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.plan-btn-free {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
}

.plan-btn-free:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.plan-btn-premium {
    background: #e50914;
    color: #fff;
}

.plan-btn-premium:hover {
    background: #b2070f;
}

@media (max-width: 600px) {

.plan-row-val {
        text-align: right;
        white-space: nowrap;
    }

.label-mobile { display: inline; }
    .label-desktop { display: none; }

    .planes-comparativo {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding-bottom: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .planes-comparativo::-webkit-scrollbar {
        display: none;
    }

    .plan-card {
        min-width: 100%;
        max-width: 100%;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 2.5rem;
    }
}

/* ========== HERO CARRUSEL TMDB ========== */
.hero-carrusel {
    position: relative;
    width: 60%;
    max-width: 900px;
    margin: 0rem auto 1rem;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    background: #111;
}

.hero-carrusel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease;
}

.hero-carrusel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-carrusel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
}

.hero-carrusel-tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    background: rgba(229, 9, 20, 0.85);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.hero-carrusel-dots {
    position: absolute;
    bottom: 10px;
    right: 12px;
    display: flex;
    gap: 5px;
}

.hero-carrusel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.hero-carrusel-dot.active {
    background: white;
    transform: scale(1.3);
}

.hero-carrusel-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 58, 107, 0.6);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    gap: 0.5rem;
}