.header .informacion-contacto {
    max-width: max-content;
    margin: unset;
    gap: 0;
    place-self: end;
}

.logo-header-top{
    max-width: 146px;
    
}

.header-container {
    /* max-width: 1280px; */
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 10fr;
    /* padding: 1em 0 0; */
}

.header_menu {
    display: flex;
    justify-content: space-around;
    /* gap: 1em; */
    gap: 3em;
    align-items: center;
}

div.menu-container>div:first-of-type {
    display: grid;
}

div.menu-container>div:first-of-type img {
    height: 150px;
    place-self: center;
}
.header-container > a:first-child {
    margin-top: 1em;
}
.social-menu-container {
    display: grid;
    gap: 2em;
    grid-template-columns: 1fr;
    place-content: start center;
}

section.header {
    height: 800px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 1em 0 0;
    display: grid;
    place-content: start center;
    place-items: start center;
    gap: 7em;
    position:relative;
}
section.default-header{
    height: 400px;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 1em 0 0;
    display: grid;
    place-content: start center;
    place-items: start center;
    gap: 2em;
}

.header_menu a {
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    /* font-size: 16px; */
    font-size: 18px;
    font-weight: 900;
    font-family: 'Lato', sans-serif;
    filter: drop-shadow(black 0rem 0rem 10px);
    /* letter-spacing: 0.2rem; */

}

.header .socials.mb-1 {
    margin: 0px -56px 0;
    align-items: center;
}

/* .header_menu li:last-of-type {
    background-color: var(--yellow);
    border-radius: 2em;
    padding: 10px 15px;
}

.header_menu li:last-of-type a {
    color: var(--black) !important;
} */

/* .header_menu li:nth-last-child(2) {
    background-color: var(--white);
    border-radius: 2em;
    padding: 10px 15px;
} */

/* .header_menu li:nth-last-child(2) a {
    color: var(--black) !important;
} */

.mobile-nav-wrapper ul li a:before, .header_menu li:last-of-type a:before {
    content: "";
}

.mobile-nav-wrapper ul li a:before, .header_menu li:nth-last-child(2) a:before {
    content: "";
}

.mobile-nav-wrapper ul li a:before, .header_menu li a:before {
    content: ".";
    height: 10px;
    width: 10px;
    color: transparent;
    font-size: xxx-large;
    background-color: var(--yellow);
    margin-right: 7px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    border-radius: 2em;
}

.mobile-nav-wrapper ul li a {
    text-transform: uppercase;
}

.header_menu li:last-of-type a:before, .header_menu li:nth-last-child(2) a:before {
    margin-right: 7px;
}

.header-content-container {
    display: grid;
    place-content: center;
    place-items: center;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.header-content-container h1 {
    color: var(--white);
    font-weight: 800;
    font-size: 42.03px;
    max-width: 770px;
    margin-bottom: 0px;
    text-transform: uppercase;
    filter: drop-shadow(black 0rem 0rem 10px);
    display: flex;
    flex-flow: column nowrap;

}
.header-content-container h1 span:first-child {
    margin-bottom: 10px;
}
.socials .white-btn{
    color: var(--black);
    background-color: var(--white);
    margin-right: 10px;
}
.socials .yellow-btn{
    color: var(--black);
    background-color: var(--yellow);
}
.header-content-container h2 {
    color: var(--yellow);
    filter: drop-shadow(black 0rem 0rem 10px);
    font-size: 25px;
    font-weight: bold;
}

.header-content-container {
    display: grid;
}

.header-button-container {
    background-color: var(--white);
    padding: 5px 25px;
    border-radius: 2em;
    font-weight: 800;
}

.header-button-container a {
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
}

.header-button-bg {
    margin-top: 2em;
    height: 130px;
    display: grid;
    place-content: end;
    background-position: center;
    background-repeat: no-repeat;
}

.socials.mb-1.header img {
    height: 33px;
}


.socials.mb-1.header .custom-btn img{
    width: 27px;
    height: 22px;
}


.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
    text-transform: uppercase;
}
.socials.mb-1.header > a:last-of-type img {
    width: 41px;
    height: 49px;
    margin-right: -10px;
    margin-left: 10px;
}

.custom-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 18px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
.header-buttons .custom-btn span{
    font-size: 16px;
}

.custom-btn img {
    width: 20px;
    height: 20px;
}

.custom-btn .yellow-btn {
    background-color: var(--yellow); /* amarillo similar */
    color: var(--black);
    margin-right: 10px;
}


.language-selector select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    font-weight: bold;
    padding: 6px 12px 6px 28px;
    border-radius: 999px;
    background-image: url('https://crokis-sites.fra1.cdn.digitaloceanspaces.com/cbcanarias-fundacion/wp-content/uploads/2025/04/24113942/svg.svg');
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 19px;
    font-size: 14px;
    cursor: pointer;
    text-align: right;
    filter: drop-shadow(var(--black) 0rem 0rem 10px);
}
.language-selector {
    display: inline-block;
}
.language-selector option{
    color: var(--white);
    background-color: #333333bf;
}


.mobile-menu-toggle:hover, .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background-color: unset !important;
}

.header_menu-1 li a {
    text-transform: uppercase;
}

.mobile-header-menu, .mobile-menu-toggle, .canarias-mobile {
    display: none;
}
.socials.mb-1.header .redes-sociales a:last-of-type img{
    width: 41px;
    height: 49px;
}
.header-container > a:has(img.logo-header-top){
    position: relative;
    top: 2.5em;
    right: 2em;
}
.solo-responsive{
    display: none;
}
@media (max-width: 1360px) {
    .header .socials.mb-1{
        margin: 0px 0px 0;
    }
}

@media (max-width: 1280px) {
    .header_menu{
        gap: 2em;
    }
}
@media (max-width: 1140px) {
    .mobile-header-menu.opened .redes-sociales img{
        width: 38px;
        height: 38px;
    }
    .solo-responsive{
        display: block;
    }
    .mobile-header-menu.opened, .mobile-menu-toggle {
        display: block;
    }

    .mobile-header-menu.opened .socials.mb-1 {
        display: flex;
        gap: 1em;
        flex-flow: column;
    }
    .mobile-header-menu.opened .socials.mb-1 .redes-sociales {
        margin-top: 1em;
        gap: 1em;
        flex-flow: row wrap;
    }
    
    .header .informacion-contacto {
        max-width: 100%;
        margin: 0 auto;
        place-self: center;
    }

    .informacion-contacto .socials.mb-1.header {
        display: flex;
        flex-flow: column wrap;
    }

    .informacion-contacto .socials.mb-1.header .header-buttons {
        margin: 0;
    }
    .mobile-header-menu {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background-color: #140602;
        z-index: 10000;
        transition: height 0.3s ease;
    }

    .mobile-header-menu.opened {
        height: 100%;
        
    }

    .mobile-menu-toggle {
        position: absolute;
        top: 20px;
        left: 40px;
        background: none;
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 15px;
        border: none;
        font-size: 32px;
        color: var(--yellow) !important;
        z-index: 10001;
    }
    .canarias-mobile{
        display: block;
        position: absolute;
        padding-top: 20px;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        z-index: 10001;
    }
    .canarias-mobile img{
        width: 34px;
    }

    .mobile-header-inner {
        /* padding: 20px 20px 30px; */
        padding: 30px 20px ;
    }

    .mobile-header-logo {
        /* max-width: 88px; */
        max-width: 100px;
        margin: 0 auto 1.5em;
        display: block;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        display: grid;
        place-content: center;
        place-items: center;
        text-align: left;
    }

    .mobile-menu-list li {
        margin-bottom: 13px;
        width: 100%
    }

    .mobile-menu-list li a {
        color: white;
        text-decoration: none;
        font-size: 17px;
        font-weight: 900;
    }

    .header-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .language-selector {
        justify-content: center;
        display: flex;
        
        width: 100%;
        text-align-last: center;
    }

    .socials.header {
        justify-content: center;
        margin-top: 2em;
    }

    .social-menu-container {
        display: none !important;
    }

    .header_menu-1 li a:before {
        content: ".";
        height: 10px;
        width: 10px;
        color: transparent;
        font-size: xxx-large;
        background-color: var(--yellow);
        margin-right: 16px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        vertical-align: middle;
        border-radius: 2em;
        margin-bottom: 5px;
    }
    .language-selector select {
        padding: 8px 12px;        
    }
    .custom-btn{
        width: 100%;
    }
    .socials .white-btn{
        margin-right: 0px;
    }
}
@media (max-width: 500px) {
    .header-button-bg {
        margin-top: 1em;
    }
}