section.header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

section.header > a {
    display: flex;
    justify-content: center;
}

section.header > a > img {
    max-height: 113px;
    max-width: 271px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.header nav {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.header-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row;
    width: 100%;
    gap: 130px;
    padding-bottom: 12px;
}

.header-menu li a {
    color: var(--black);
    text-transform: uppercase;
    text-decoration: none;
}


/* SWIPPER SLIDER HEADER */
.rayuela-slider-container {
    width: 100%;
    max-width: 1920px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.slider-header-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-header-content {
    max-width: 520px;
    padding: 0 15px;
    color: var(--white);
    text-align: center;
}

.slider-header-content.texto-secundario-swipper {
    color:var(--gris-2);
}

.slider-header-content.disabled {
    pointer-events: none;
}

.slider-header-content {
    text-decoration: none;
}

.slider-header-texto-uno {
    font-size: 35px;
    font-weight: 300;
    margin-bottom: 16px;
    font-family: 'Lato', sans-serif;
    line-height: 45px;
    text-wrap: balance;
    filter: drop-shadow(black 0rem 0rem 0px);
}

.slider-header-texto-dos {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 34px;
    font-family: 'Lato', sans-serif;
    filter: drop-shadow(black 0rem 0rem 0px);
}

.slider-header-boton {
    display: inline-block;
    background: var(--white);
    color: var(--gris-1);
    /* padding: 10px 30px; */
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    width: 188px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 20px auto;
}

.slider-header-icono img {
    width: 37px;
    height: 23px;
}


.pagina-header-interna {
    width: 100%;
    max-width: 1920px;
    height: 300px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.pagina-header-titulo {
    font-size: 40px;
    color: var(--white);
    margin: 0;
    padding: 0 20px;
    font-weight: 300;
    font-family: 'Lato', sans-serif;
    filter: drop-shadow(black 0rem 0rem 0px);
}

#menu-toggle {
    display: none;
}

@media (max-width: 1320px) {
    .header-menu {
        gap: 65px;
    }
}

@media (max-width: 1060px) {
    .header-menu {
        gap: 20px;
    }
}

@media (max-width: 920px) {

    body.open {
        overflow: hidden;
    }

    body:not(.open) .header-menu {
        display: none;
    }

    body.open .header-menu {
        display: flex;
        flex-flow: column;
        gap: 2em;
        padding: 8em 0 0 0;
    }

    body.open #menu-toggle {
        right: 51px;
    }

    body.open section.header > a {
        padding-right: 15px;
    }

    #menu-toggle {
        display: flex;
        flex-flow: column;
        gap: 4px;
        position: absolute;
        right: 2em;
        top: 2.5em;
        z-index: 99999;
    }

    .menu-bar {
        width: 30px;
        height: 3px;
        background: var(--black);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    body.open .menu-icon .menu-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.open .menu-icon .menu-bar:nth-child(2) {
        opacity: 0;
    }

    body.open .menu-icon .menu-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    section.header {
        position: sticky;
        top: 0;
        background-color: var(--white);
        z-index: 2;
    }

    body.open section.header a {
        z-index: 100;
    }

    body.open nav.header-container {
        position: absolute;
        z-index: 99;
        height: 100vh;
        background-color: var(--white);
        inset: 0;
    }
}

@media (max-width: 460px) {
    section.header {
        display: grid;
        grid-template-columns: 8fr 2fr;
    }

    section.header a {
        justify-content: start;
        padding: 0 1em;
    }
}

@media (max-width: 390px) {
    #menu-toggle {
        position: relative;
        right: unset;
        top: unset;
        align-items: center;
    }
}