
/* ===========================================
   FOOTER
   =========================================== */

.site-footer {
    background-color: #ffffff;
}

/* ===========================================
   SECCIÓN SUPERIOR - Contacto + Barra
   =========================================== */
.footer-contact {
    position: relative;
    padding: 0;
    background-color: #ffffff;
    overflow: hidden;
}

    .footer-contact .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
        position: relative;
    }

.footer-contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    min-height: 200px;
}

/* --- CAJA IZQUIERDA: Contacto --- */
.footer-contact-box {
    background-color: #0d1b38;
    border-radius: 0 50px 50px 0;
    padding: 40px 80px 40px 40px;
    position: relative;
    z-index: 2;
}

    /* Extensión hacia la izquierda fuera del container */
    .footer-contact-box::before {
        content: '';
        position: absolute;
        top: 0;
        right: 100%;
        width: 100vw;
        height: 100%;
        background-color: #0d1b38;
    }

    /* Título verde itálica */
    .footer-contact-box h3 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 22px;
        font-style: italic;
        color: #9BB643;
        margin: 0 0 25px 0;
    }

/* Lista de contacto */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .contact-list li {
        display: flex;
        align-items: center;
        gap: 15px;
    }

        .contact-list li a {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 16px;
            color: #ffffff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .contact-list li a:hover {
                color: #9BB643;
            }

/* Iconos de contacto - círculos verde lima */
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #9BB643;
    border-radius: 50%;
    font-size: 15px;
    color: #0d1b38;
    flex-shrink: 0;
}

/* --- BARRA DERECHA: Vertical azul --- */
.footer-right-bar {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background-color: #0d1b38;
    z-index: 1;
}

    /* Extensión hacia la derecha fuera del container */
    .footer-right-bar::after {
        content: '';
        position: absolute;
        top: 0;
        left: 100%;
        width: 100vw;
        height: 100%;
        background-color: #0d1b38;
    }

/* --- REDES SOCIALES --- */
.footer-social-top {
    position: absolute;
    right: 80px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

    .footer-social-top a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background-color: #0d1b38;
        border-radius: 8px;
        color: #ffffff;
        font-size: 18px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .footer-social-top a:hover {
            background-color: #9BB643;
        }

/* ===========================================
   SECCIÓN INFERIOR - Copyright
   =========================================== */
.footer-bottom {
    background-color: #ffffff;
    padding: 25px 0;
}

    .footer-bottom .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

/* Copyright centrado */
.footer-copyright {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #4a5568;
    margin: 0;
    text-align: center;
}

    .footer-copyright strong {
        font-weight: 600;
        color: #2C3D85;
    }

/* ===========================================
   RESPONSIVE - TABLET
   =========================================== */
@media (max-width: 992px) {
    .footer-contact-box {
        padding: 35px 60px 35px 35px;
    }

        .footer-contact-box h3 {
            font-size: 20px;
        }

    .contact-list li a {
        font-size: 15px;
    }

    .footer-right-bar {
        width: 50px;
    }

    .footer-social-top {
        right: 70px;
        bottom: 25px;
    }

        .footer-social-top a {
            width: 38px;
            height: 38px;
            font-size: 16px;
        }
}

/* ===========================================
   RESPONSIVE - MOBILE (como imagen 3)
   =========================================== */
@media (max-width: 768px) {
    .footer-contact-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .footer-contact-box {
        border-radius: 0;
        padding: 35px 20px;
        width: 100%;
    }

        .footer-contact-box::before {
            display: none;
        }

        .footer-contact-box h3 {
            font-size: 18px;
            margin-bottom: 20px;
        }

    .contact-list {
        gap: 12px;
    }

        .contact-list li a {
            font-size: 14px;
        }

    .contact-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    /* Ocultar barra vertical en mobile */
    .footer-right-bar {
        display: none;
    }

    /* Redes sociales debajo del copyright en mobile */
    .footer-social-top {
        display: none;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-copyright {
        font-size: 12px;
        margin-bottom: 20px;
    }

    /* Mostrar redes en footer-bottom en mobile */
    .footer-social-mobile {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

        .footer-social-mobile a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #0d1b38;
            border-radius: 8px;
            color: #ffffff;
            font-size: 17px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

            .footer-social-mobile a:hover {
                background-color: #9BB643;
            }
}

/* Ocultar redes mobile en desktop */
@media (min-width: 769px) {
    .footer-social-mobile {
        display: none;
    }
}

/* ===========================================
   RESPONSIVE - MOBILE PEQUEÑO
   =========================================== */
@media (max-width: 480px) {
    .footer-contact-box {
        padding: 30px 15px;
    }

        .footer-contact-box h3 {
            font-size: 16px;
        }

    .contact-list li a {
        font-size: 13px;
    }

    .contact-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .footer-social-mobile a {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
}

/* La barra social flotante vive en su propio archivo
   (wwwroot/css/components/social-floating-bar.css). Aquí solo quedan los estilos
   del pie de página. */