/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #111;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

.split-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.video-intro {
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}

.fade-out {
    opacity: 0 !important;
    pointer-events: none !important;
}

.audio-control {
    position: absolute;
    top: 0;
}

.logo-container {
    z-index: 100;
    position: fixed;
    text-align: center;
    pointer-events: none;
    background-color: #000;
    width: 100%;
    padding: .35rem 0 0.15rem;

    & img {
        width: 5rem !important;
    }
}

.solar-container {
    padding: 3rem 0 0 0;
}

.logo-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0084ff;
    /* Azul GNG */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    color: #ccc;
    text-transform: uppercase;
    margin-top: 5px;
}

@media (min-width: 768px) {
    .logo-title {
        font-size: 4rem;
    }
}

/* Paneles Divisorios */
.split-panel {
    flex: 1;
    /* Ocupan exactamente 50% cada uno y no cambian de tamaño */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-decoration: none;
    color: white;
    overflow: hidden;
}

/* Imagen de fondo */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* Oscurecimiento sobre la imagen (Gradiente) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    transition: background 0.5s ease;
}

/* Contenido de texto y botones */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    transition: transform 0.5s ease;
}

.content h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.content p {
    font-size: 1rem;
    color: #ddd;
    max-width: 250px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

/* Cajas de Íconos */
.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: all 0.5s ease;
}

.icon-solar {
    color: #0084ff;
    border-color: #0084ff;
}

.icon-construction {
    color: #ff9900;
    border-color: #ff9900;
}

.icon-fiberglass {
    color: #ff1801;
    border-color: #ff1801;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}

.btn-solar {
    background-color: #0084ff;
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
}

.btn-construction {
    background-color: #ff9900;
    color: #111;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.btn-fiberglass {
    background-color: #ff1801;
    color: #111;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

/* --- EFECTOS HOVER (Solo afectan al panel donde tienes el cursor) --- */

.split-panel:hover .bg-image {
    transform: scale(1.08);
}

.split-panel:hover .overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.split-panel:hover .icon-solar {
    background-color: rgba(0, 132, 255, 0.2);
    transform: translateY(-5px);
}

.split-panel:hover .icon-construction {
    background-color: rgba(255, 153, 0, 0.2);
    transform: translateY(-5px);
}

.split-panel:hover .icon-fiberglass {
    background-color: rgba(0, 224, 164, 0.15);
    transform: translateY(-5px);
}

.split-panel:hover .btn {
    transform: scale(1.05);
}

.split-panel:hover .btn-solar {
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.6);
}

.split-panel:hover .btn-construction {
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.6);
}

.split-panel:hover .btn-fiberglass {
    box-shadow: 0 6px 20px rgba(255, 24, 1, 0.6);
}

.divider {
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 20;
    width: 100%;
    height: 1px;
}

.hidden-element {
    display: none !important;
}

@media (min-width: 768px) {
    .divider {
        width: 1px;
        height: 100vh;
    }

    .split-container {
        flex-direction: row;
    }

    .logo-container {
        background-color: transparent;
        position: absolute;
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);

        & img {
            width: 10rem !important;
        }
    }

    .solar-container {
        padding: 0;
    }
}