/* =====================================================
   FOOTER.CSS
   OPTIMIZACIÓN CANARIAS V2.0
   FOOTER COMPLETO
===================================================== */


/* =====================================================
   FOOTER PRINCIPAL
===================================================== */

#footer {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;

    background: #0B2149;
    color: #ffffff;
}


/* =====================================================
   CONTENEDOR PRINCIPAL
===================================================== */

.footer-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 80px 30px 60px;

    display: grid;
    grid-template-columns:
        1.5fr
        1fr
        1.2fr
        1.2fr;

    gap: 55px;

    align-items: start;
    box-sizing: border-box;
}


/* =====================================================
   MARCA
===================================================== */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
}


.footer-logo {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;

    text-decoration: none;
}


.footer-logo img {
    display: block;

    width: auto;
    max-width: 230px;
    height: auto;

    object-fit: contain;
}


.footer-tagline {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.4;
}


.footer-description {
    max-width: 310px;

    margin: 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: 14px;
    font-weight: 400;

    line-height: 1.8;
}


/* =====================================================
   COLUMNAS DEL FOOTER
===================================================== */

.footer-column {
    min-width: 0;
}


.footer-column h3 {
    margin: 0 0 25px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.3;
}


.footer-column ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


.footer-column li {
    margin: 0 0 13px;
    padding: 0;
}


.footer-column a {
    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.6;

    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}


.footer-column a:hover {
    color: #ffffff;
    padding-left: 5px;
}


/* =====================================================
   CONTACTO
===================================================== */

.footer-contact p,
.footer-location p {
    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 14px;
    font-weight: 400;

    line-height: 1.8;
}


.footer-contact strong {
    display: inline-block;

    margin-bottom: 3px;

    color: #ffffff;

    font-weight: 700;
}


.footer-contact a {
    color: rgba(255, 255, 255, 0.80);

    text-decoration: none;

    transition: color 0.3s ease;
}


.footer-contact a:hover {
    color: #ffffff;
}


/* =====================================================
   UBICACIÓN
===================================================== */

.footer-location p {
    margin-bottom: 25px;
}


.footer-hours-title {
    margin-top: 25px !important;
}


/* =====================================================
   REDES SOCIALES
===================================================== */

.footer-social {
    width: 100%;

    padding: 45px 30px;

    text-align: center;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);

    box-sizing: border-box;
}


.footer-social-title h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.4;
}


.footer-social-title p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 14px;

    line-height: 1.6;
}


/* =====================================================
   CONTENEDOR ICONOS SOCIALES
===================================================== */

.social-links {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-top: 25px;
}


/* =====================================================
   BOTONES SOCIALES
===================================================== */

.social-icon {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    border:
        2px solid rgba(255, 255, 255, 0.30);

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.social-icon svg {
    width: 27px;
    height: 27px;

    display: block;

    fill: #0B2149;
    stroke: #0B2149;

    transition:
        fill 0.3s ease,
        stroke 0.3s ease;
}


/* =====================================================
   HOVER ICONOS SOCIALES
===================================================== */

.social-icon:hover {
    transform: translateY(-5px);

    background: #ffffff;

    border-color: #ffffff;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.25);
}


.social-icon:hover svg {
    fill: #0B2149;
    stroke: #0B2149;
}


/* =====================================================
   INSTAGRAM
===================================================== */

.social-icon.instagram svg {
    fill: none;

    stroke: #0B2149;

    stroke-width: 1.8;
}


/* =====================================================
   FACEBOOK
===================================================== */

.social-icon.facebook svg {
    fill: #0B2149;

    stroke: none;
}


/* =====================================================
   LINKEDIN
===================================================== */

.social-icon.linkedin svg {
    fill: #0B2149;

    stroke: none;
}


/* =====================================================
   ÁREA INSTITUCIONAL
===================================================== */

.footer-institutional {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 45px 30px;

    text-align: center;

    box-sizing: border-box;
}


.footer-institutional-title h3 {
    margin: 0 0 25px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 15px;
    font-weight: 600;

    line-height: 1.5;
}


.institutional-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 25px;
    gap: 30px;
}

.institutional-logos img {
    display: block;
    width: 450px;
    max-width: 90%;
    height: auto;
    max-height: none;
    object-fit: contain;
}


/* =====================================================
   PARTE LEGAL / COPYRIGHT
===================================================== */

.footer-bottom {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 25px 30px 30px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    box-sizing: border-box;
}


.footer-copyright p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;

    line-height: 1.5;
}


.footer-legal {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 20px;
}


.footer-legal a {
    color: rgba(255, 255, 255, 0.60);

    text-decoration: none;

    font-size: 12px;

    line-height: 1.5;

    transition: color 0.3s ease;
}


.footer-legal a:hover {
    color: #ffffff;
}


/* =====================================================
   WHATSAPP FLOTANTE
===================================================== */

.whatsapp-float {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #25D366;

    border-radius: 50%;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25);

    z-index: 9999;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.whatsapp-float:hover {
    transform: scale(1.08);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.30);
}


.whatsapp-float svg {
    width: 34px;
    height: 34px;

    display: block;

    fill: #ffffff;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .footer-container {
        grid-template-columns:
            1fr
            1fr;

        gap: 45px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-description {
        max-width: 500px;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }


    .footer-legal {
        justify-content: center;
    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 650px) {

    .footer-container {
        grid-template-columns: 1fr;

        padding:
            55px 22px
            40px;

        gap: 40px;

        text-align: center;
    }


    .footer-brand {
        align-items: center;
    }


    .footer-description {
        max-width: 100%;
    }


    .footer-column h3 {
        margin-bottom: 18px;
    }


    .footer-column li {
        margin-bottom: 10px;
    }


    .footer-social {
        padding:
            40px 20px;
    }


    .social-links {
        gap: 14px;
    }


    .social-icon {
        width: 50px;
        height: 50px;
    }


    .social-icon svg {
        width: 25px;
        height: 25px;
    }


    .footer-institutional {
        padding:
            35px 20px;
    }


    .footer-bottom {
        padding:
            25px 20px 30px;
    }


    .footer-legal {
        flex-direction: column;

        gap: 12px;
    }


    .whatsapp-float {
        width: 56px;
        height: 56px;

        right: 18px;
        bottom: 18px;
    }


    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }

}


/* =====================================================
   MÓVIL PEQUEÑO
===================================================== */

@media (max-width: 400px) {

    .footer-container {
        padding:
            45px 16px
            35px;

        gap: 35px;
    }


    .footer-logo img {
        max-width: 200px;
    }


    .footer-tagline {
        font-size: 17px;
    }


    .footer-description {
        font-size: 13px;
    }


    .footer-social {
        padding:
            35px 16px;
    }


    .footer-social-title h3 {
        font-size: 18px;
    }


    .footer-social-title p {
        font-size: 13px;
    }


    .social-links {
        gap: 12px;
    }


    .social-icon {
        width: 48px;
        height: 48px;
    }


    .social-icon svg {
        width: 23px;
        height: 23px;
    }


    .footer-institutional {
        padding:
            30px 16px;
    }


    .institutional-logos {
        flex-direction: column;

        gap: 20px;
    }


    .institutional-logos img {
        max-width: 160px;
        max-height: 60px;
    }


    .footer-bottom {
        padding:
            20px 16px
            25px;
    }

}