/* =========================================================
   FOOTER COMERCIAL
   CUPOTECH SOLUTIONS
========================================================= */

.commercial-footer {
    padding-top: 60px;

    color: #d9e4ec;

    background:
            linear-gradient(
                    135deg,
                    #052d50,
                    #063d69
            );

    border-top: 5px solid #08a8d8;

    font-family: "Inter", sans-serif;

    /*
     * El footer queda fuera del sistema de aumento
     * de tamaño de texto de accesibilidad.
     */
}


/* =========================================================
   CONTENIDO PRINCIPAL
========================================================= */

.commercial-footer-content {
    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr 1fr;

    gap: 55px;

    padding-bottom: 50px;
}


/* =========================================================
   EMPRESA / LOGO
========================================================= */

.commercial-footer-brand {
    max-width: 320px;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;
}


.commercial-footer-logo-link {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    text-decoration: none;
}


.commercial-footer-logo {
    width: 105px;

    margin: 0 auto;

    object-fit: contain;
}


.commercial-footer-brand h3 {
    margin: 15px 0 8px;

    color: white;

    font-size: 19px;
    font-weight: 800;
}


.commercial-footer-brand p {
    max-width: 285px;

    margin: 0 auto;

    color: #b8ccda;

    font-size: 13px;

    line-height: 1.65;

    text-align: center;
}


/* =========================================================
   COLUMNAS
========================================================= */

.commercial-footer-col h3 {
    margin: 0 0 22px;

    position: relative;

    color: white;

    font-size: 15px;
    font-weight: 750;
}


.commercial-footer-col h3::after {
    content: "";

    width: 38px;
    height: 3px;

    position: absolute;

    left: 0;
    bottom: -9px;

    border-radius: 20px;

    background:
            linear-gradient(
                    90deg,
                    #f28c28,
                    #08a8d8
            );
}


.commercial-footer-col ul {
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    gap: 13px;

    list-style: none;
}


.commercial-footer-col a {
    color: #bfd1dd;

    font-size: 13px;

    text-decoration: none;

    transition:
            color 0.2s ease,
            transform 0.2s ease;
}


.commercial-footer-col a:hover {
    color: white;

    transform: translateX(3px);
}


/* =========================================================
   REDES SOCIALES
========================================================= */

.commercial-social-list a {
    display: inline-flex;

    align-items: center;

    gap: 9px;
}


.commercial-social-list i {
    width: 19px;

    color: #38b9df;

    text-align: center;
}


/* =========================================================
   PARTE INFERIOR
========================================================= */

.commercial-footer-bottom {
    padding: 20px 0;

    background: #042641;

    border-top:
            1px solid rgba(255, 255, 255, 0.08);
}


.commercial-footer-bottom-content {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 4px;

    text-align: center;
}


.commercial-footer-bottom p {
    margin: 0;

    color: #9cb2c2;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   PROTECCIÓN DE ACCESIBILIDAD
   El tamaño del footer no debe modificarse cuando
   el usuario aumente o reduzca el texto del sistema.
========================================================= */

.commercial-footer,
.commercial-footer *,
.commercial-footer-bottom,
.commercial-footer-bottom * {
    --accessibility-text-scale: 1;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .commercial-footer-content {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .commercial-footer-brand {
        max-width: none;
    }

}


/* =========================================================
   RESPONSIVE - MÓVIL
========================================================= */

@media (max-width: 600px) {

    .commercial-footer {
        padding-top: 45px;
    }


    .commercial-footer-content {
        grid-template-columns: 1fr;

        gap: 38px;

        text-align: center;
    }


    .commercial-footer-brand {
        max-width: none;

        align-items: center;
    }


    .commercial-footer-logo {
        margin: 0 auto;
    }


    .commercial-footer-col h3::after {
        left: 50%;

        transform: translateX(-50%);
    }


    .commercial-footer-col ul {
        align-items: center;
    }


    .commercial-footer-col a {
        justify-content: center;
    }


    .commercial-footer-bottom-content {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }

}