/* ========================================
   FOOTER
======================================== */

.site-footer {
    position: relative;
    overflow: hidden;
    min-height: 769px;
    color: #fff;
    background: #10120f;
}


/* ========================================
   FONDO
======================================== */

.site-footer__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================
   CONTENEDOR
======================================== */

.site-footer__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 180px, 1440px);
    min-height: 769px;
    margin: 0 auto;
    padding-top: 90px;
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
}


/* ========================================
   LOGO
======================================== */

.site-footer__brand {
    display: block;
    width: fit-content;
    margin-bottom: 100px;
}

.site-footer__brand img {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
}


/* ========================================
   3 COLUMNAS
======================================== */

.site-footer__columns {
    display: grid;
    grid-template-columns:
        minmax(260px, 1fr) minmax(140px, 0.45fr) minmax(380px, 1.3fr);
    column-gap: 70px;
    flex: 1;
}


/* ========================================
   COLUMNA CONTACTO
======================================== */

.site-footer__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__main>.button--accent {
    margin-top: 20px;
}


/* CONTACTO */

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 14px;
}

.site-footer__contact a,
.site-footer__contact strong {
    color: #fff;
}

.site-footer__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* TEXTO */

.site-footer__tagline {
    width: 300px;
    margin: 65px 0 0;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
}


/* BOTÓN */

.site-footer__join {
    margin-top: 50px;
    padding: 15px 25px;
    background: var(--color-accent);
}

.site-footer__join a {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

/* ICONOS */

.site-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.site-footer__icon img,
.site-footer__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   EXPLORAR
======================================== */

.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    line-height: 28px;
}

.site-footer__nav a,
.site-footer__nav strong {
    color: #fff;
}


/* ========================================
   SEDES
======================================== */

.site-footer__locations {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.site-footer__location {
    font-size: 15px;
    line-height: 1.35;
}

.site-footer__location strong {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.site-footer__location p {
    margin: 0;
    font-size: 14px;
}


.site-footer__locations-title,
.site-footer__explorar-title,
.site-footer__contact-title {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
    padding-bottom: 2px;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    border-bottom: 2px solid var(--color-accent);
}

.site-footer__locations {
    display: block;
}

.site-footer__locations-title {
    display: block;
    width: fit-content;
    margin: 0 0 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    border-bottom: 2px solid var(--color-accent);
}

.site-footer__locations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 20px;
}

.site-footer__location {
    font-size: 15px;
    line-height: 1.35;
}

.site-footer__location strong {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.site-footer__location p {
    margin: 0;
}

/* ========================================
   LEGAL
======================================== */

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
    margin-top: auto;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 14px;
}

.site-footer__legal span {
    margin-right: auto;
}

.site-footer__legal a,
.site-footer__legal span {
    color: #fff;
}



.site-footer__contact a>span.link-underline-target {
    position: relative;
    display: inline;
    text-decoration: none !important;
}

.site-footer__contact a>span.link-underline-target::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.site-footer__contact a:hover>span.link-underline-target::after {
    transform: scaleX(1);
}

/* ========================================
   TAMAÑO TEXTO
======================================== */
.site-footer a {
    font-size: 14px;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1199px) {

    .site-footer {
        min-height: auto;
    }

    .site-footer__inner {
        width: calc(100% - 100px);
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 50px;
    }


    /* LOGO */

    .site-footer__brand {
        margin-bottom: 70px;
    }


    /* PRIMERA FILA:
       CONTACTO + EXPLORAR
    */

    .site-footer__columns {
        column-gap: 70px;
        flex: none;
    }


    /* CONTACTO */

    .site-footer__tagline {
        width: 300px;
        margin-top: 40px;
    }


    /* ====================================
       SEDES SIEMPRE VISIBLES
    ==================================== */

    .site-footer__locations {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 80px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 50px;
    }


    /* ====================================
       LEGAL
    ==================================== */

    .site-footer__legal {
        flex-wrap: wrap;
        gap: 15px 30px;
        margin-top: 80px;
        padding-top: 30px;
    }

    .site-footer__legal span {
        width: 100%;
        margin-right: 0;
    }

}


/* ========================================
   MÓVIL
======================================== */

@media (max-width: 767px) {

    .site-footer__inner {
        width: calc(100% - 50px);
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .site-footer__main {
        width: 60%;
    }

    /* LOGO */

    .site-footer__brand {
        margin-bottom: 55px;
    }

    .site-footer__brand img {
        max-width: 150px;
    }


    /* TODO UNA COLUMNA */

    .site-footer__columns {
        display: flex;
        flex-direction: column;
        gap: 0;
    }


    /* CONTACTO */

    .site-footer__contact {
        gap: 18px;
    }


    /* TEXTO */

    .site-footer__tagline {
        width: 100%;
        margin-top: 35px;
    }


    /* BOTÓN */

    .site-footer__join {
        margin-top: 30px;
    }


    /* EXPLORAR */

    .site-footer__nav {
        margin-top: 60px;
    }


    /* ====================================
       SEDES
       UNA DEBAJO DE OTRA
    ==================================== */

    .site-footer__locations {
        display: flex;
        flex-direction: column;
        gap: 35px;
        margin-top: 65px;
    }


    /* ====================================
       LEGAL
       UNO DEBAJO DE OTRO
    ==================================== */

    .site-footer__legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 65px;
        padding-top: 25px;
    }

    .site-footer__legal span {
        width: auto;
    }

}