
/* === FOOTER ===
   Medidas del XD (artboard "Web 1920 – 1", últimos 496px): fondo #29384B ·
   mitad izquierda con el logo arriba y tres filas de contacto debajo ·
   mitad derecha con dos botones redondos · línea vertical al 50% ·
   línea horizontal y fila de menú ocupando el ancho completo abajo.
   Sin fondo, el texto blanco quedaba invisible sobre el blanco de la página.  */

#footer-outer {
    position: relative;
    background-color: #29384B !important;
    color: #ffffff !important;
    padding-bottom: 116px;
}

#footer-outer #footer-widgets {
    background-color: transparent !important;
    padding: 64px 0 60px !important;
    border: 0 !important;
}

/* línea vertical al medio: va sobre el footer entero, no sobre una columna */
#footer-outer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 116px;
    width: 1px;
    background: rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

/* el logo va arriba a la izquierda y el contacto justo debajo; los botones
   ocupan toda la mitad derecha */
#footer-outer #footer-widgets .row {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-areas:
        "logo social"
        "contacto social";
    align-items: start;
}

#footer-outer #footer-widgets .row > .col:nth-child(1) { grid-area: logo; }
#footer-outer #footer-widgets .row > .col:nth-child(2) { grid-area: contacto; }
#footer-outer #footer-widgets .row > .col:nth-child(3) { grid-area: social; padding-left: 70px; }

#footer-outer #footer-widgets .col {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

#footer-outer .widget,
#footer-outer .widget p,
#footer-outer .widget li,
#footer-outer .widget a,
#footer-outer .widget span {
    color: #ffffff !important;
}

#footer-outer .widget {
    margin-bottom: 0 !important;
}

/* logo con la línea fina encima, como en el diseño */
#footer-outer .widget_media_image {
    padding-top: 24px;
    position: relative;
    margin-bottom: 34px !important;
}

#footer-outer .widget_media_image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 205px;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
}

#footer-outer .widget_media_image img {
    width: 205px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- filas de contacto ---- */
.dfyc-footer__contacto {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dfyc-footer__contacto li {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 26px;
    font-family: 'TT Norms', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #ffffff;
}

.dfyc-footer__contacto li:last-child {
    margin-bottom: 0;
}

.dfyc-footer__contacto i {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 15px;
}

.dfyc-footer__contacto a {
    color: #ffffff;
    text-decoration: none;
    border: 0;
}

.dfyc-footer__contacto a:hover {
    color: #C9B48F;
}

/* ---- botones redondos (WhatsApp y LinkedIn) ---- */
.dfyc-footer__social {
    display: flex;
    gap: 18px;
    margin: 0;
    padding-top: 24px;
}

.dfyc-footer__btn {
    width: 44px;
    height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1B2735;
    color: #ffffff !important;
    font-size: 20px;
    text-decoration: none;
    border: 0;
    transition: background .25s ease;
}

.dfyc-footer__btn:hover {
    background: #967E58;
}

/* ---- fila de menú al pie, a lo ancho del footer ---- */
.dfyc-footer__menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 116px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.dfyc-footer__menu a {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 46px;
    font-family: 'TT Hoves', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: #ffffff !important;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.dfyc-footer__menu a:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.dfyc-footer__menu a:hover {
    color: #C9B48F !important;
}

/* Salient repite el copyright ("© 2026 ... © 2025 ...") y el XD no lo lleva:
   la fila inferior del diseño es el menú. */
#footer-outer #copyright {
    display: none !important;
}

@media (max-width: 990px) {
    #footer-outer {
        padding-bottom: 0;
    }
    #footer-outer::before {
        display: none;
    }
    #footer-outer #footer-widgets {
        padding: 44px 0 30px !important;
    }
    #footer-outer #footer-widgets .row {
        display: block;
    }
    #footer-outer #footer-widgets .row > .col:nth-child(3) {
        padding-left: 0;
    }
    .dfyc-footer__social {
        padding-top: 34px;
    }
    .dfyc-footer__menu {
        position: static;
        height: auto;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-top: 36px;
        border-top: 0;
    }
    .dfyc-footer__menu a {
        padding: 10px 22px 10px 0;
        border-right: 0;
    }
    .dfyc-footer__menu a:first-child {
        border-left: 0;
    }
}

/* El menú se posiciona respecto del footer completo, no de la columna que lo
   contiene: Salient deja .container/.col en position:relative y lo capturaban. */
#footer-outer #footer-widgets .container,
#footer-outer #footer-widgets .row,
#footer-outer #footer-widgets .col,
#footer-outer .widget,
#footer-outer .widget_text,
#footer-outer .textwidget {
    position: static !important;
}

#footer-outer .widget_media_image {
    position: relative !important;
}

/* el SVG del logo se cortaba en el borde derecho */
#footer-outer .widget_media_image img {
    width: auto;
    height: 26px;
}

#footer-outer .widget_media_image::before {
    width: 232px;
}

/* El XD deja el footer en 496px de alto; sin este ajuste quedaba ~150px más largo. */
#footer-outer #footer-widgets {
    padding: 64px 0 24px !important;
}

#footer-outer #footer-widgets .row > .col:nth-child(2) .widget {
    padding-bottom: 0;
}
