/* =========================================================
   OSGRAP — FOOTER PREMIUM
   FULL WIDTH + FIRMA WILLEX TR
========================================================= */


/* =========================================================
   RESET LOCAL
========================================================= */

.osgrap-footer,
.osgrap-footer *,
.osgrap-footer *::before,
.osgrap-footer *::after {
    box-sizing: border-box;
}


/* =========================================================
   FOOTER PRINCIPAL
   ANCHO COMPLETO DE PANTALLA
========================================================= */

.osgrap-footer {
    width: 100vw;
    max-width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 0;

    background: var(--osgrap-gold);

    position: relative;
    overflow: hidden;

    isolation: isolate;
}


/* =========================================================
   LÍNEA SUPERIOR ROJA
========================================================= */

.footer-top-line {
    width: 100%;
    height: 4px;

    background: var(--osgrap-red);
}


/* =========================================================
   CONTENEDOR PRINCIPAL
========================================================= */

.osgrap-footer-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 68px 30px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 60px;

    align-items: center;
}


/* =========================================================
   COLUMNAS
========================================================= */

.footer-left,
.footer-links,
.footer-right {
    min-width: 0;
    position: relative;
}


/* =========================================================
   IZQUIERDA — OSLO
========================================================= */

.footer-left {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    text-align: left;
}

.footer-left img {
    display: block;

    width: auto;
    max-width: 95px;
    height: auto;

    margin: 0 0 15px;
}

.footer-desc {
    max-width: 315px;

    margin: 0;

    color: #222;

    font-size: 14px;

    line-height: 1.65;

    font-weight: 400;
}


/* =========================================================
   CENTRO — NAVEGACIÓN
========================================================= */

.footer-links {
    text-align: center;
}

.footer-links h4 {
    margin: 0 0 19px;

    color: var(--osgrap-red);

    font-size: 23px;

    line-height: 1.2;

    font-weight: 500;
}

.footer-links ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li {
    margin: 0 0 11px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    display: inline-block;

    position: relative;

    color: #222;

    font-size: 15px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-links a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -5px;

    width: 0;
    height: 2px;

    background: var(--osgrap-red);

    transform: translateX(-50%);

    transition:
        width 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-links a:hover {
    color: var(--osgrap-red);

    text-decoration: none;

    transform: translateY(-1px);
}

.footer-links a:hover::after {
    width: 70%;

    box-shadow:
        0 0 7px rgba(186, 0, 33, 0.35);
}


/* =========================================================
   DERECHA — LOGO OSGRAP
========================================================= */

.footer-right {
    display: flex;

    align-items: center;

    justify-content: flex-end;
}

.footer-right img {
    display: block;

    width: auto;
    max-width: 125px;
    height: auto;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.footer-right img:hover {
    transform:
        translateY(-4px)
        scale(1.04);

    filter:
        drop-shadow(
            0 9px 18px
            rgba(186, 0, 33, 0.28)
        );
}


/* =========================================================
   CTA PRINCIPAL
========================================================= */

.footer-cta {
    width: 100%;

    padding: 40px 20px;

    background:
        rgba(0, 0, 0, 0.045);

    text-align: center;
}

.footer-cta p {
    margin: 0 0 18px;

    color: #222;

    font-size: 15px;

    line-height: 1.5;

    font-weight: 400;
}


/* =========================================================
   BOTÓN CTA
========================================================= */

.footer-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 238px;

    padding: 15px 32px;

    border-radius: 40px;

    background:
        linear-gradient(
            135deg,
            var(--osgrap-red),
            var(--osgrap-red-dark)
        );

    color: #fff;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;

    line-height: 1;

    position: relative;

    overflow: hidden;

    box-shadow:
        0 9px 23px
        rgba(186, 0, 33, 0.24);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255, 255, 255, 0.38),
            transparent
        );

    transform: skewX(-20deg);

    transition: left 0.6s ease;
}

.footer-btn:hover {
    color: #fff;

    text-decoration: none;

    transform: translateY(-3px);

    box-shadow:
        0 13px 30px
        rgba(186, 0, 33, 0.32);
}

.footer-btn:hover::before {
    left: 130%;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-bottom {
    width: 100%;

    padding: 14px 20px;

    background: var(--osgrap-red);

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: #fff;

    font-size: 13px;

    line-height: 1.5;

    font-weight: 400;
}


/* =========================================================
   WILLEX TR
   ACREDITACIÓN PROFESIONAL
========================================================= */

.willex-footer-area {
    width: 100%;

    padding: 13px 20px 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(0, 0, 0, 0.025);

    border-top:
        1px solid
        rgba(0, 0, 0, 0.06);
}


/* =========================================================
   TARJETA PEQUEÑA
========================================================= */

.willex-footer-card {
    width: auto;
    max-width: 520px;

    min-height: 58px;

    padding: 7px 14px;

    display: inline-flex;

    align-items: center;

    background: rgba(255, 255, 255, 0.94);

    border:
        1px solid
        rgba(18, 103, 154, 0.42);

    border-radius: 11px;

    text-decoration: none;

    box-shadow:
        0 2px 9px
        rgba(0, 0, 0, 0.07);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.willex-footer-card:hover {
    text-decoration: none;

    transform: translateY(-1px);

    border-color:
        rgba(18, 103, 154, 0.70);

    box-shadow:
        0 4px 13px
        rgba(0, 0, 0, 0.11);
}


/* =========================================================
   W — LOGOTIPO DISCRETO
========================================================= */

.willex-footer-logo {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #12679a;

    border-radius: 8px;

    color: #fff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 22px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: -1px;

    transition:
        background 0.25s ease;
}


/* =========================================================
   INFORMACIÓN
========================================================= */

.willex-footer-info {
    margin-left: 11px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    text-align: left;
}


/* SITIO WEB ELABORADO POR */

.willex-footer-label {
    display: block;

    margin: 0 0 1px;

    color: #858585;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 6px;

    font-weight: 600;

    line-height: 1.25;

    letter-spacing: 0.13em;
}


/* WILLEX TR */

.willex-footer-name {
    display: block;

    color: #12679a;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: 0.08em;

    transition:
        color 0.25s ease;
}


/* DISEÑO */

.willex-footer-services {
    display: block;

    margin-top: 2px;

    color: #999;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 5.5px;

    font-weight: 500;

    line-height: 1.25;

    letter-spacing: 0.10em;
}


/* =========================================================
   CONTACTO
   MUY DISCRETO
========================================================= */

.willex-footer-contact {
    margin-left: 18px;

    padding-left: 15px;

    border-left:
        1px solid
        rgba(0, 0, 0, 0.10);

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    text-align: left;
}

.willex-footer-whatsapp-label {
    color: #999;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 6px;

    font-weight: 600;

    line-height: 1.25;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.willex-footer-phone {
    margin-top: 2px;

    color: #a90020;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;

    font-weight: 700;

    line-height: 1.25;

    letter-spacing: 0.03em;
}


/* =========================================================
   HOVER DE LA ACREDITACIÓN
========================================================= */

.willex-footer-card:hover .willex-footer-logo {
    background: #a90020;
}

.willex-footer-card:hover .willex-footer-name {
    color: #a90020;
}

.willex-footer-card:hover .willex-footer-phone {
    color: #12679a;
}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

.footer-links a:focus-visible,
.footer-btn:focus-visible,
.willex-footer-card:focus-visible {
    outline: 2px solid var(--osgrap-red);

    outline-offset: 3px;

    border-radius: 4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .osgrap-footer-container {
        grid-template-columns:
            1fr
            1fr;

        gap: 45px;

        padding: 55px 30px;
    }

    .footer-right {
        grid-column: 1 / -1;

        justify-content: center;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .osgrap-footer-container {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px 20px;
    }


    /* OSLO */

    .footer-left {
        align-items: center;

        text-align: center;
    }

    .footer-left img {
        max-width: 88px;
    }

    .footer-desc {
        max-width: 320px;

        font-size: 13px;
    }


    /* NAVEGACIÓN */

    .footer-links {
        text-align: center;
    }

    .footer-links h4 {
        font-size: 21px;

        margin-bottom: 16px;
    }

    .footer-links a {
        font-size: 14px;
    }


    /* OSGRAP */

    .footer-right {
        grid-column: auto;

        justify-content: center;
    }

    .footer-right img {
        max-width: 108px;
    }


    /* CTA */

    .footer-cta {
        padding: 32px 18px;
    }

    .footer-cta p {
        font-size: 14px;

        margin-bottom: 17px;
    }

    .footer-btn {
        min-width: 215px;

        padding: 14px 27px;

        font-size: 14px;
    }


    /* COPYRIGHT */

    .footer-bottom {
        padding: 12px 15px;
    }

    .footer-bottom p {
        font-size: 12px;
    }


    /* WILLEX */

    .willex-footer-area {
        padding: 10px 12px 11px;
    }

    .willex-footer-card {
        min-height: 52px;

        padding: 6px 10px;

        border-radius: 9px;
    }

    .willex-footer-logo {
        width: 34px;
        height: 34px;

        flex-basis: 34px;

        border-radius: 7px;

        font-size: 19px;
    }

    .willex-footer-info {
        margin-left: 9px;
    }

    .willex-footer-label {
        font-size: 5.5px;
    }

    .willex-footer-name {
        font-size: 14px;
    }

    .willex-footer-services {
        font-size: 5px;
    }

    .willex-footer-contact {
        margin-left: 12px;

        padding-left: 10px;
    }

    .willex-footer-whatsapp-label {
        font-size: 5.5px;
    }

    .willex-footer-phone {
        font-size: 8px;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 480px) {

    .osgrap-footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-btn {
        min-width: 205px;
    }

    .willex-footer-area {
        padding: 9px 8px 10px;
    }

    .willex-footer-card {
        width: auto;

        max-width: 100%;

        padding: 6px 9px;
    }

    .willex-footer-logo {
        width: 32px;
        height: 32px;

        flex-basis: 32px;

        font-size: 18px;
    }

    .willex-footer-info {
        margin-left: 8px;
    }

    .willex-footer-name {
        font-size: 13px;
    }

    .willex-footer-contact {
        margin-left: 9px;

        padding-left: 8px;
    }

    .willex-footer-phone {
        font-size: 7.5px;
    }

}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================= */

@media (max-width: 380px) {

    .willex-footer-contact {
        display: none;
    }

}