
/* ======================================================
   HEADER COMÚN PARA PÁGINAS INTERIORES
====================================================== */

.navbar-wrapper2,
.header_alt_interior,
.header_alt_interior .navbar-inverse {
    background: #0f0a06;
}

.navbar-wrapper2 {
    position: relative;
    z-index: 1000;
    min-height: 150px;
}

.header_alt_interior {
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header_alt_interior .navbar-inverse {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100px;
    margin: 0;
    padding: 0 34px;
    border: 0;
    border-radius: 0;
}

.header_alt_interior .link_logotipo {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 34px;
    display: block;
    line-height: 0;
    transform: translateY(-50%);
}

.header_alt_interior .logotipo_interior {
    display: block;
    width: 145px;
    height: auto;
    margin: 0;
}

.header_alt_interior .link_logotipo_mobile,
.header_alt_interior .logotipo_mobile {
    display: none;
}

.header_alt_interior .navbar-collapse {
    position: static;
    width: 100%;
    padding: 0 0 0 180px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.header_alt_interior .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.header_alt_interior .navbar-nav > li {
    float: none;
}

.header_alt_interior .navbar-nav > li > a,
.header_alt_interior .navbar-nav > li > a:hover,
.header_alt_interior .navbar-nav > li > a:focus,
.header_alt_interior .navbar-nav > .active > a,
.header_alt_interior .navbar-nav > .active > a:hover,
.header_alt_interior .navbar-nav > .active > a:focus {
    position: relative;
    margin: 0;
    padding: 39px 10px 37px !important;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
}

/*
 * Neutraliza el desplazamiento heredado de hover.css y controla aquí
 * la línea para que quede cerca del texto, no al pie del header.
 */
.header_alt_interior .navbar-nav > li > a.hvr-underline-from-center {
    display: block;
    overflow: visible;
    vertical-align: middle;
    transform: none !important;
}

.header_alt_interior .navbar-nav > li > a.hvr-underline-from-center::before {
    position: absolute;
    right: 10px;
    bottom: 26px;
    left: 10px;
    height: 2px;
    background: #CDB991;
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease-out;
}

.header_alt_interior .navbar-nav > li > a.hvr-underline-from-center:hover::before,
.header_alt_interior .navbar-nav > li > a.hvr-underline-from-center:focus::before,
.header_alt_interior .navbar-nav > .active > a.hvr-underline-from-center::before {
    transform: scaleX(1);
}

.header_alt_interior .navbar-nav > li > a:hover,
.header_alt_interior .navbar-nav > li > a:focus,
.header_alt_interior .navbar-nav > .active > a {
    color: #67bbb5;
}

.header_alt_interior .navbar-nav > .active > a::after {
    display: none;
    content: none;
}

/* ======================================================
   FOOTER COMÚN PARA PÁGINAS INTERIORES
====================================================== */

.site-footer {
    position: relative;
    color: #fff;
    font-family: "Inter", Arial, sans-serif;
}

.site-footer__principal {
    padding: 58px 0 52px;
    background: linear-gradient(115deg, #142522 0%, #0f1d1b 52%, #111b1a 100%);
}

.site-footer__contenido {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1180px;
}

/*
 * Bootstrap agrega ::before y ::after a .container como clearfix.
 * Al usar CSS Grid, esos elementos se convierten en celdas invisibles
 * y desplazan las tres columnas reales del footer.
 */
.site-footer__contenido::before,
.site-footer__contenido::after {
    display: none;
    content: none;
}

.site-footer__marca img {
    display: block;
    width: 185px;
    max-width: 100%;
}

.site-footer__contacto {
    padding-left: 45px;
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.site-footer__rotulo {
    display: block;
    margin-bottom: 12px;
    color: #61b7b1;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.7px;
}

.site-footer__contacto address {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.65;
}

.site-footer__telefono {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.site-footer__telefono:hover,
.site-footer__telefono:focus {
    color: #67bbb5;
    text-decoration: none;
}

.site-footer__accion {
    justify-self: end;
}

.site-footer__accion p {
    margin: 0 0 18px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.site-footer__boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 44px;
    padding: 11px 18px;
    background: #3ea59e;
    border-radius: 3px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.55px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.site-footer__boton span {
    margin-left: 14px;
    font-size: 17px;
}

.site-footer__boton:hover,
.site-footer__boton:focus {
    background: #328b85;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.site-footer__inferior {
    padding: 22px 0 18px;
    background: #090706;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    align-items: center;
    justify-content: center;
}

.site-footer__nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.62);
    font-family: "Fira Sans Extra Condensed", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__nav a:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    width: 2px;
    height: 2px;
    background: #CDB991;
    border-radius: 50%;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus,
.site-footer__nav a[aria-current="page"] {
    color: #67bbb5;
}

.site-footer__legal {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.33);
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.4px;
    text-align: center;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1399px) {
    .header_alt_interior .navbar-inverse {
        padding-right: 22px;
        padding-left: 22px;
    }

    .header_alt_interior .link_logotipo {
        left: 22px;
    }

    .header_alt_interior .logotipo_interior {
        width: 125px;
    }

    .header_alt_interior .navbar-collapse {
        padding-left: 145px;
    }

    .header_alt_interior .navbar-nav > li > a,
    .header_alt_interior .navbar-nav > li > a:hover,
    .header_alt_interior .navbar-nav > li > a:focus,
    .header_alt_interior .navbar-nav > .active > a,
    .header_alt_interior .navbar-nav > .active > a:hover,
    .header_alt_interior .navbar-nav > .active > a:focus {
        padding-right: 7px !important;
        padding-left: 7px !important;
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .header_alt_interior .logotipo_interior {
        width: 110px;
    }

    .header_alt_interior .navbar-collapse {
        padding-left: 122px;
    }

    .header_alt_interior .navbar-nav > li > a,
    .header_alt_interior .navbar-nav > li > a:hover,
    .header_alt_interior .navbar-nav > li > a:focus,
    .header_alt_interior .navbar-nav > .active > a,
    .header_alt_interior .navbar-nav > .active > a:hover,
    .header_alt_interior .navbar-nav > .active > a:focus {
        padding-right: 5px !important;
        padding-left: 5px !important;
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .site-footer__contenido {
        width: 90%;
        grid-template-columns: 0.75fr 1.25fr;
        gap: 45px;
    }

    .site-footer__accion {
        grid-column: 1 / -1;
        justify-self: center;
        text-align: center;
    }
}
@media (max-width: 991px) {
    .navbar-wrapper2 {
        min-height: 96px;
    }}
@media (max-width: 767px) {
    .navbar-wrapper2,
    .header_alt_interior .navbar-inverse {
        min-height: 96px;
    }

    .header_alt_interior .navbar-inverse {
        display: block;
        height: auto;
        padding: 0;
    }

    .header_alt_interior .link_logotipo {
        display: none;
    }

    .header_alt_interior .link_logotipo_mobile {
        display: table;
        margin: 0 auto;
        padding: 12px 0 10px;
        line-height: 0;
    }

    .header_alt_interior .logotipo_mobile {
        display: block;
        width: 145px;
        height: auto;
        margin: 0;
    }

    .header_alt_interior .navbar-header {
        position: absolute;
        z-index: 3;
        top: 0;
        left: 0;
        width: 70px;
        height: 96px;
        background: transparent;
    }

    .header_alt_interior .navbar-toggle,
    .header_alt_interior .navbar-toggle:hover,
    .header_alt_interior .navbar-toggle:focus {
        position: absolute;
        top: 28px;
        left: 18px;
        display: block;
        float: none;
        margin: 0;
        padding: 10px;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 0;
    }

    .header_alt_interior .navbar-toggle:hover,
    .header_alt_interior .navbar-toggle:focus {
        border-color: rgba(255, 255, 255, 0.35);
    }

    .header_alt_interior .navbar-toggle .icon-bar {
        width: 23px;
        height: 2px;
        background: #fff;
    }

    .header_alt_interior .navbar-collapse {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #0f0a06;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header_alt_interior .navbar-nav {
        display: block;
        width: 100%;
        margin: 0;
        padding: 12px 0 18px;
    }

    .header_alt_interior .navbar-nav > li > a,
    .header_alt_interior .navbar-nav > li > a:hover,
    .header_alt_interior .navbar-nav > li > a:focus,
    .header_alt_interior .navbar-nav > .active > a,
    .header_alt_interior .navbar-nav > .active > a:hover,
    .header_alt_interior .navbar-nav > .active > a:focus {
        padding: 11px 25px !important;
        color: rgba(255, 255, 255, 0.84);
        font-size: 17px;
        text-align: center;
    }

    .header_alt_interior .navbar-nav > li > a:hover,
    .header_alt_interior .navbar-nav > li > a:focus,
    .header_alt_interior .navbar-nav > .active > a {
        color: #67bbb5;
    }

    .header_alt_interior .navbar-nav > li > a.hvr-underline-from-center::before {
        right: calc(50% - 30px);
        bottom: 5px;
        left: calc(50% - 30px);
    }

    .site-footer__principal {
        padding: 48px 0 42px;
    }

    .site-footer__contenido {
        display: block;
        width: 100%;
        padding-right: 25px;
        padding-left: 25px;
        text-align: center;
    }

    .site-footer__marca img {
        width: 165px;
        margin: 0 auto 30px;
    }

    .site-footer__contacto {
        padding: 28px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.13);
        border-left: 0;
    }

    .site-footer__accion {
        margin-top: 32px;
    }

    .site-footer__nav {
        gap: 10px 16px;
    }

    .site-footer__nav a {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .header_alt_interior .logotipo_mobile {
        width: 135px;
    }

    .site-footer__nav {
        display: block;
    }

    .site-footer__nav a {
        display: block;
        padding: 5px 0;
    }

    .site-footer__nav a::after {
        display: none;
    }
}
