@media (max-width: 900px) {
    .hero {
        min-height: 100vh;
        height: auto;
        justify-content: flex-start;
        position: relative;
        overflow: visible;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .hero > div[style*='background-image'] {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    header {
        order: 1;
        padding: 24px 32px 0;
        align-items: flex-start;
        position: relative;
        z-index: 2147483645;
    }

    .logo img {
        max-width: 145px;
    }

    .hamburger_btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(0, 0, 0, 0.52);
        backdrop-filter: blur(4px);
        border-radius: 10px;
        color: #fff;
        font-size: 30px;
        line-height: 1;
        position: fixed;
        top: 24px;
        right: 32px;
        z-index: 2147483644;
        cursor: pointer;
    }

    body.menu-open .hamburger_btn {
        opacity: 0;
        pointer-events: none;
    }

    .menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 340px);
        height: 100vh;
        background: rgba(13, 15, 23, 0.97);
        backdrop-filter: blur(6px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 94px 20px 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 2147483646 !important;
        overflow-y: auto;
    }

    .menu_close_btn {
        position: absolute;
        top: 16px;
        right: 12px;
        width: 36px;
        height: 36px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 23px;
        line-height: 1;
        cursor: pointer;
    }

    .menu.is-open {
        transform: translateX(0);
    }

    .menu > a,
    .menu_item > a {
        font-size: 19px;
    }

    .menu .btn-admin {
        margin-left: 0 !important;
    }

    .menu_item {
        width: 100%;
    }

    .submenu_trigger {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        gap: 6px;
    }

    .submenu_trigger::after {
        content: '▾';
        font-size: 14px;
        line-height: 1;
        opacity: 0.9;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .has-submenu.submenu-open .submenu_trigger::after {
        transform: rotate(180deg);
        opacity: 1;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: auto;
        width: 100%;
        display: none;
        padding: 8px 0 0 10px;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .has-submenu.submenu-open .submenu {
        display: flex;
    }

    .submenu a + a {
        border-top: 0;
    }

    .contenedor_titulo {
        order: 2;
        justify-content: flex-start;
        padding: 44px 32px 0;
        position: relative;
        z-index: 1;
    }

    .titulo_hero {
        width: 100%;
        gap: 10px;
        transform: translateX(-30px);
        opacity: 0;
        transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.72s ease;
    }

    .titulo_hero.titulo-hero-activo {
        transform: translateX(0);
        opacity: 1;
    }

    .titulo_hero h1 {
        display: none;
    }

    .titulo_hero p {
        font-size: 26px;
        line-height: 1.08;
        max-width: 94%;
    }

    .panel_lateral {
        order: 3;
        position: relative;
        width: auto;
        height: auto;
        background: transparent;
        padding: 24px 32px 20px;
        gap: 14px;
        z-index: 1;
        transform: translateX(-48px);
        opacity: 0;
        transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
    }

    .panel_lateral.panel-lateral-activo {
        transform: translateX(0);
        opacity: 1;
    }

    .panel_lateral h4 {
        padding-top: 0;
        font-size: 24px;
        line-height: 1.08;
    }

    .panel_lateral h2 {
        padding-top: 0;
        width: 100%;
        font-size: 28px;
        line-height: 1.08;
    }

    .panel_lateral p {
        width: 100%;
        font-size: 18px;
        line-height: 1.28;
    }

    .panel_lateral button {
        font-size: 14px;
        padding: 8px 16px;
        background-color: var(--color-verde-pastel);
        color: #fff;
        border-color: var(--color-verde-pastel);
    }

    .quienes_somos {
        padding: 54px 32px;
        gap: 20px;
    }

    .quienes_somos h2 {
        font-size: 30px;
        line-height: 1.08;
    }

    .quienes_somos p {
        font-size: 17px;
        line-height: 1.35;
    }

    .contacto {
        grid-template-columns: 1fr;
        padding: 0 32px 54px;
        gap: 20px;
        width: auto;
        box-sizing: border-box;
        overflow-x: clip;
    }

    .col1_contacto {
        width: 100%;
        padding-right: 0;
        box-sizing: border-box;
    }

    .col1_contacto form {
        width: 100%;
        box-sizing: border-box;
    }

    .col1_contacto form div,
    .col2_form > div {
        width: 100%;
        box-sizing: border-box;
    }

    .col1_contacto form input {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }

    .col2_contacto {
        justify-content: center;
    }

    .col2_contacto img {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: cover;
    }

    .col2_form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .call_to_action {
        height: auto;
        margin-bottom: 56px;
        flex-direction: column;
    }

    .call_to_action_col1,
    .call_to_action_col2 {
        width: 100%;
    }

    .call_to_action_col1 {
        padding: 44px 0;
    }

    .info_calltoaction {
        padding: 0 32px;
        text-align: left;
        gap: 16px;
    }

    .info_calltoaction .parrafo_1,
    .info_calltoaction .parrafo_2 {
        font-size: 25px;
        line-height: 1.12;
    }

    .info_calltoaction .parrafo_3 {
        font-size: 17px;
        line-height: 1.35;
    }

    .info_calltoaction button {
        font-size: 15px;
        padding: 10px 18px;
    }

    .call_to_action_col2 {
        height: 230px;
    }

    footer {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 44px 32px;
    }

    .logo_footer img {
        max-width: 160px;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (min-width: 901px) {
    .hamburger_btn {
        display: none;
    }

    .menu_close_btn {
        display: none;
    }
}
