.h-732 {
    min-height: 732px;
}

.h-542 {
    min-height: 542px;
}

.custom-header-wrapper {
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    margin: auto;
    max-width: 1920px;
    width: 100%;
    height: 100%;
    display: grid;
}
.custom-header-wrapper.h-542{
    margin-top: 25px;
}
.custom-header-wrapper.h-542 .custom-header-top{
    padding-top: 5px;
}

.custom-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.custom-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.custom-header-logo img {
    max-width: 260px;
    width: 100%;
}
nav.custom-header-menu{
    width: 100%;
    max-width: 540px;
    align-content: center;
    margin-right: 35px;
}

nav.menu-header_menu-container ul#menu-header_menu{
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    
}

.custom-header-menu .menu-list li a {
    text-decoration: none;
    font-weight: 500;
    font-family: 'BloggerSans-Medium';
    color: var(--primary);
    font-size: 18px;
    text-transform: uppercase;
}

.custom-header-content {
    text-align: center;
    margin-top: 20px;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.custom-header-wrapper.h-542 .custom-header-content{
    margin-top: 0px;
}
.custom-header-text{
    max-width: 436px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    margin-top: 40px;
}
.custom-header-text p{
    font-size: 50px;
    font-weight: 500;
    font-family: 'BloggerSans-LightItalic';
    color: var(--white);
    margin-bottom: 0px;
    filter: drop-shadow(black 0rem 0rem 10px);

}

.custom-header-icons{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
    
}

.custom-header-icon-item {
    background: var(--white);
    border-radius: 67px;
    padding: 20px;
    width: 190px;
    height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.custom-header-icon-item a {
    text-decoration: none;
}

.custom-header-icon-item img {
    max-width: 136px;
    margin-bottom: 0px;
}

.custom-header-icon-item p {
    color: var(--primary);
    margin: 0;
    font-size: 27px;
    font-family: 'BloggerSans';

}

.custom-header-page-text h1{
    font-family: 'BloggerSans-LightItalic';
    font-size: 50px;
    color: var(--white);
    filter: drop-shadow(var(--black) 0rem 0rem 10px);
}
.custom-header-page-text hr.custom-divider{
    max-width: 450px;
    margin: 1em auto;
}
.custom-header-page-text p{
    font-size: 35.34px;
    font-family: 'BloggerSans-LightItalic';
    max-width: 339px;
    color: var(--white);
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
    filter: drop-shadow(var(--black) 0rem 0rem 10px);
}


/* Envoltorio general para la home */
.responsive-header-mobile-layout {
    display: flex;
    flex-direction: column;
}



/* Botón hamburguesa */
.custom-header-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    margin-left: auto;
    
}


/* Menú móvil oculto por defecto */
.custom-header-mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    padding: 20px;
}

.custom-header-mobile-menu.active {
    display: flex;
}

/* Ítems del menú móvil */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 10px;
}

button#mobile-menu-toggle{
    background-color: unset;
}
.hamburger-button .icon-close {
    display: none;
}

.hamburger-button.open .icon-hamburger {
    display: none;
}

.hamburger-button.open .icon-close {
    display: inline;
}

.hamburger-button img {
    width: 20px;
    height: 19px;
}
#menu-header_menu-1 li a{
    font-size: 22px;
    font-family: 'BloggerSans-Medium';
    color: var(--secundary);
    filter: drop-shadow(var(--white) 0rem 0rem 10px);

}
button#mobile-menu-toggle{display: none;}
@media (max-width: 1440px){
    .custom-header-top{
        padding-left: 15px;
        padding-right: 15px;
    }
    
}
@media (max-width: 1160px){
    .custom-header-icons{
        gap: 20px;
    }
}
@media (max-width: 1080px){
    button#mobile-menu-toggle{
        display: flex;
        margin-left: auto;

    }
    nav.custom-header-menu{
        display: none;
    }
    .custom-header-mobile-toggle {
        display: flex;
    }

    .custom-header-menu {
        display: none;
    }

    .custom-header-mobile-menu {
        display: none;
    }
    .custom-header-top{
        padding-left: 15px;
        padding-right: 15px;
        justify-content: center;
    }

    .custom-header-mobile-menu.active {
        display: flex;
    }
    .contacto-section .container .contacto-content{
        padding: 0 15px;
    }
    
    .custom-header-logo{
        margin-left: auto;
    }
    
    .responsive-header-mobile-layout {
        flex-direction: column;
    }
    
    .responsive-header-banner {
        padding: 40px 15px;
        background-size: cover;
        background-position: center;
        color: white;
    }
    .responsive-header-banner {
        background-image: var(--mobile-bg);
        padding: 60px 15px;
        height: 674px;
        align-content:center;
    }
    .custom-header-icons.responsive-header-icons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        justify-items: center;
        padding-bottom: 15px;
        
    }
    
    .custom-header-wrapper{
        background-image: none !important;
    }
    
}


@media (max-width: 650px){
    .custom-header-icons.responsive-header-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}