/* === Estilos base === */
 body, html {
            height: 100dvh;
            margin: 0;
            font-family: 'Montserrat', sans-serif;
            color: white;
            overflow: hidden;
        }
        
        .bg-container {
            position: relative;
            height: 100dvh;
            width: 100%;
        }
        
        .bg-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            z-index: 1;
        }
        
        .bg-slide.active {
            opacity: 1;
        }
        
        .content-layer {
            position: relative;
            z-index: 2;
            height: 100dvh;
            display: flex;
            flex-direction: column;
        }
        
        .top-nav {
            padding: 10px;
            border-bottom: 2px solid rgba(248, 248, 255, 0.4);
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }
        
        .nav-button {
            background: transparent;
            border: 1px solid white;
            color: white;
            padding: 8px 20px;
            border-radius: 4px;
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .nav-button:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .logo-nav {
            max-height: 60px;          
        }
        
        /* .center-content { EN PRODUCCION
            position: absolute;
            top: 40%;
            left: 25%;
            transform: translate(-50%, -50%);
           min-width: 500px;
           max-width: 500px;
        } */


        /* Version img IDR abajo  */               
        .center-content { 
            position: absolute;
            top: 35%;
            left: 30%;
            transform: translate(-50%, -50%);
            min-width: 40rem;
        }

        .footer-content-img {
            position: absolute;
            bottom: 10%;
            left: 25%;
            transform: translate(-50%, 0);
        }
        
        .logo-image {
            max-width: 500px; 
            margin-bottom: 10px;
        }
        
        .text-slide {
            position: absolute;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            width: 100%;
        }
        
        .text-slide.active {
            opacity: 1;
        }
        
        /* Version img IDR abajo  */
        .line2 {
            font-size: 2rem;
            font-weight: 600;
        }

        .line3, .line4 {
            font-size: 1.5rem;
            line-height: 1.5;
        }

        /* === Responsividad === */

        /* Tablets y móviles grandes */
        @media (max-width: 992px) {
            .center-content {
                left: 50%;
                min-width: 90%;
                text-align: center;
            }
            
            .footer-content-img {
                left: 50%;
            }

            .logo-image {
                max-width: 400px;
            }

            .line2 {
                font-size: 1.8rem;
            }

            .line3, .line4 {
                font-size: 1.3rem;
            }
        }

        /* Móviles */
        @media (max-width: 768px) {
            .content-layer {
                height: 100dvh;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            .top-nav {
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 8px 10px !important;
                flex-shrink: 0;
            }

            .logo-nav {
                max-height: 35px;
            }

            .right-nav {
                margin-top: 8px;
                flex-direction: column !important;
                align-items: center !important;
            }

            .top-nav p {
                margin-right: 0 !important;
                margin-bottom: 5px !important;
                font-size: 0.7rem;
                letter-spacing: 0.5px;
            }

            .nav-button {
                padding: 4px 12px;
                font-size: 11px;
            }

            .center-content {
                position: relative;
                top: auto;
                left: auto;
                transform: none;
                min-width: 100%;
                flex-grow: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                padding: 10px 20px;
                overflow: hidden; /* Evitar desbordes internos de slides */
            }

            .tagline {
                padding-left: 0 !important;
                width: 100%;
                position: relative;
                flex-grow: 1;
                display: flex;
                justify-content: center;
                align-items: center;
                min-height: 150px; /* Asegurar espacio suficiente para el texto */
            }

            .text-slide {
                text-align: center;
                width: 100%;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                position: absolute;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

            .line2 {
                font-size: 1.15rem;
                font-weight: 600;
                margin-bottom: 5px;
            }

            .line3, .line4 {
                font-size: 0.85rem;
                line-height: 1.35;
                margin-bottom: 2px;
            }

            .footer-content-img {
                position: relative;
                bottom: auto;
                left: auto;
                transform: none;
                padding-bottom: 20px;
                display: flex;
                justify-content: center;
                flex-shrink: 0;
            }

            .logo-image {
                max-width: 160px;
                height: auto;
            }
        }

        /* Móviles muy pequeños o pantallas bajas */
        @media (max-height: 600px) {
            .center-content {
                top: 45%;
            }
            .footer-content-img {
                bottom: 2%;
            }
            .logo-image {
                max-width: 200px;
            }
        }