/* =========================================================
   EMSETUR HEADER — croquis: logo sin fondo | diagonal | menús con fondo
   ========================================================= */

:root {
    --h-height: 72px;
    --h-navy: #0b1a33;
    --h-navy-2: #142a4d;
    --h-steel: #3d4f6f;
    --h-muted: #64748b;
    --h-soft: #9aa8c0;
    --h-ice: #eef2f8;
    --h-surface: #f4f6fa;
    --h-white: #ffffff;
    --h-border: rgba(11, 26, 51, 0.1);
    --h-green: #25d366;
    --h-green-hover: #1ebe5d;
    --h-blue: #2563eb;
    --h-active: #ffffff;
    --h-menu-bg: linear-gradient(100deg, #0f2444 0%, #0b1a33 48%, #091528 100%);
    --h-item-hover: linear-gradient(145deg, #0b1a33 0%, #142a4d 100%);
    --h-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --h-font: 'Poppins', sans-serif;
    --h-slash: 36px;
}

/* —— Header base —— */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--h-height);
    z-index: 1000;
    font-family: var(--h-font);
    font-size: 12px;
    background: #ffffff;
    border-bottom: none;
    box-shadow: 0 4px 18px rgba(11, 26, 51, 0.08);
    transition: box-shadow 0.3s var(--h-ease);
    overflow: visible;
}

.header.scroll-header {
    box-shadow: 0 8px 26px rgba(11, 26, 51, 0.12);
}

/* Línea azul bajo el header */
.header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 3px;
    z-index: 0;
    background: linear-gradient(90deg, #1a4fa8 0%, #2563eb 55%, #5b8def 100%);
    pointer-events: none;
}

.header__bg,
.header__aurora,
.header__blob,
.header__noise,
.header__edge,
.header__orb,
.header__mesh,
.header__shine,
.header__top {
    display: none !important;
}

.header__inner {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    box-sizing: border-box;
}

/* —— Logo SIN fondo —— */
.nav__logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    margin: 0;
    padding: 0 16px 0 28px;
    height: 100%;
    min-width: 140px;
    box-sizing: border-box;
    clip-path: none;
    z-index: 7;
    transition: opacity 0.2s ease;
}

.nav__logo::after {
    display: none !important;
}

.nav__logo:hover {
    opacity: 0.9;
    filter: none;
    box-shadow: none !important;
    transform: none;
}

.nav__logo-img {
    height: 50px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    background: transparent !important;
    mix-blend-mode: normal;
}

.nav__logo-text,
.logo-text-main,
.logo-text-sub {
    display: none !important;
}

/* —— Zona MENÚS CON FONDO (paralelogramo / /) —— */
.header__menus {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    margin-left: calc(var(--h-slash) * -0.25);
    margin-right: calc(var(--h-slash) * -0.25);
    padding: 0 calc(var(--h-slash) + 20px) 0 calc(var(--h-slash) + 20px);
    box-sizing: border-box;
    background: transparent;
    z-index: 4;
    overflow: visible;
}

/* Fondo navy con ambos cortes diagonales (logo // menús // wasap) */
.header__menus::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(100deg, #0f2444 0%, #0b1a33 48%, #091528 100%);
    clip-path: polygon(
        var(--h-slash) 0,
        100% 0,
        calc(100% - var(--h-slash)) 100%,
        0 100%
    );
    pointer-events: none;
}

/* Línea diagonal izquierda */
.header__menus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--h-slash);
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        115deg,
        transparent 46%,
        rgba(255, 255, 255, 0.5) 48%,
        rgba(255, 255, 255, 0.1) 52%,
        transparent 54%
    );
    pointer-events: none;
}

/* Menú: hijo directo de .header (fuera de .header__inner) para z-index correcto */
.header > .nav__menu {
    z-index: 6;
}

@media (min-width: 1101px) {
    .header > .nav__menu {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--h-height);
        margin: 0;
        padding: 0 clamp(90px, 11vw, 150px) 0 clamp(140px, 16vw, 200px);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        overflow: visible;
        transform: none !important;
        visibility: visible !important;
        pointer-events: none;
        width: auto;
        max-width: none;
    }

    .header > .nav__menu .nav__list,
    .header > .nav__menu .nav__item,
    .header > .nav__menu .nav__link,
    .header > .nav__menu .nav__dropdown {
        pointer-events: auto;
    }
}

/* —— WhatsApp SIN fondo + zona diagonal —— */
.nav__actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: stretch;
    gap: 8px;
    margin: 0;
    padding: 0 22px 0 18px;
    min-width: 72px;
    box-sizing: border-box;
    background: transparent !important;
    z-index: 7;
}


/* Menú desktop */
.nav__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
    z-index: 2;
}

.nav__menu-head {
    display: none;
}

.nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nav__item {
    position: relative;
    list-style: none;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    font-family: var(--h-font);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav__link i {
    font-size: 8px;
    opacity: 0.55;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s var(--h-ease), opacity 0.2s ease, color 0.2s ease;
}

.nav__link::before,
.nav__link::after {
    display: none !important;
}

/* Hover / open — pill blanca */
.nav__item:hover > .nav__link,
.nav__item.open > .nav__link {
    color: var(--h-navy);
    background: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav__item:hover > .nav__link i,
.nav__item.open > .nav__link i {
    opacity: 1;
    color: var(--h-navy);
    transform: rotate(180deg);
}

/* Activo — pill blanca */
.nav__link.is-active {
    color: var(--h-navy) !important;
    font-weight: 600;
    background: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

.nav__link.is-active i {
    color: var(--h-navy) !important;
    opacity: 0.9;
}

.nav__item:hover > .nav__link.is-active,
.nav__item.open > .nav__link.is-active {
    color: var(--h-navy) !important;
    background: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

.nav__link--cta:not(.is-active) {
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* —— Submenús: puente sin hueco + clic OK —— */
.nav__item {
    z-index: 1;
}

.nav__item:hover,
.nav__item.open {
    z-index: 40;
}

.nav__dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    /* puente: el mouse no pierde el hover al bajar al panel */
    padding-top: 12px;
    min-width: 230px;
    width: max-content;
    max-width: 290px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s;
    z-index: 200;
}

.nav__item:hover > .nav__dropdown,
.nav__item.open > .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav__dropdown-panel {
    background: var(--h-white);
    border: 1px solid rgba(11, 26, 51, 0.08);
    border-radius: 14px;
    padding: 6px;
    box-shadow:
        0 16px 40px rgba(6, 12, 24, 0.22),
        0 4px 12px rgba(6, 12, 24, 0.1);
    position: relative;
    overflow: visible;
    pointer-events: auto;
}

.nav__dropdown-panel::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--h-white);
    border-left: 1px solid rgba(11, 26, 51, 0.08);
    border-top: 1px solid rgba(11, 26, 51, 0.08);
    transform: translateX(-50%) rotate(45deg);
    z-index: 1;
}

.nav__dropdown-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, #1a4fa8 0%, #2563eb 55%, #5b8def 100%);
    pointer-events: none;
}

.nav__dropdown--end {
    left: auto;
    right: 0;
    transform: none;
}

.nav__item:hover > .nav__dropdown--end,
.nav__item.open > .nav__dropdown--end {
    transform: none;
}

.nav__dropdown--end .nav__dropdown-panel::before {
    left: auto;
    right: 22px;
    transform: rotate(45deg);
}

header.header .nav__dropdown-panel a,
.nav__dropdown-panel a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 8px 10px !important;
    min-height: 36px !important;
    height: auto !important;
    border-radius: 8px;
    font-family: var(--h-font);
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.25 !important;
    color: var(--h-navy);
    text-decoration: none;
    background: transparent;
    border: none;
    white-space: nowrap;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.15s ease, color 0.15s ease;
}

header.header .nav__dropdown-panel a + a,
.nav__dropdown-panel a + a {
    margin-top: 2px !important;
}

header.header .nav__dropdown-panel a i,
.nav__dropdown-panel a i {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--h-ice);
    color: var(--h-navy-2);
    font-size: 10px !important;
    line-height: 1 !important;
    flex-shrink: 0;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

/* Fondo hover = mismo azul de la línea del header */
header.header .nav__dropdown-panel a:hover,
header.header .nav__dropdown-panel a:focus-visible,
.nav__dropdown-panel a:hover,
.nav__dropdown-panel a:focus-visible {
    color: #fff !important;
    background: linear-gradient(90deg, #1a4fa8 0%, #2563eb 55%, #5b8def 100%) !important;
    box-shadow: none !important;
    transform: none !important;
    outline: none;
    padding: 8px 10px !important;
}

header.header .nav__dropdown-panel a:hover i,
header.header .nav__dropdown-panel a:focus-visible i,
.nav__dropdown-panel a:hover i,
.nav__dropdown-panel a:focus-visible i {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    transform: none !important;
}

/* Botón WhatsApp */
.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 40px;
    min-width: 40px;
    padding: 0 11px;
    background: var(--h-green);
    color: #fff !important;
    font-family: var(--h-font);
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
    overflow: hidden;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s var(--h-ease), box-shadow 0.25s ease,
        padding 0.35s var(--h-ease), gap 0.3s ease, min-width 0.35s var(--h-ease);
}

.btn-wa__num {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(4px);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    transition: max-width 0.35s var(--h-ease), opacity 0.25s ease, transform 0.3s var(--h-ease);
}

.btn-wa:hover,
.btn-wa:focus-visible {
    background: var(--h-green-hover);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
    padding: 0 14px 0 12px;
    gap: 8px;
    min-width: auto;
    outline: none;
}

.btn-wa:hover .btn-wa__num,
.btn-wa:focus-visible .btn-wa__num {
    max-width: 140px;
    opacity: 1;
    transform: translateX(0);
}

.btn-wa i {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

/* Toggle hamburguesa — izquierda en móvil, oculto en desktop */
.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--h-border);
    border-radius: 10px;
    background: var(--h-ice);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
    margin-left: 10px;
}

.nav__toggle span {
    width: 16px;
    height: 2px;
    background: var(--h-navy);
    border-radius: 2px;
    transition: transform 0.3s var(--h-ease), opacity 0.2s ease;
}

.nav__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav__overlay {
    display: none;
}

.nav__menu-foot {
    display: none;
}

/* Tablet ancha */
@media (max-width: 1280px) {
    :root {
        --h-slash: 28px;
    }

    .nav__link {
        padding: 7px 8px;
        font-size: 11px;
    }

    .nav__logo {
        min-width: 120px;
        padding: 0 10px 0 18px;
        clip-path: none;
    }

    .nav__logo-img {
        height: 42px;
        max-width: 130px;
    }

    .header__menus {
        padding-left: calc(var(--h-slash) + 14px);
        padding-right: calc(var(--h-slash) + 14px);
    }

    .nav__actions {
        padding: 0 16px 0 12px;
        min-width: 64px;
    }
}

/* —— Mobile / tablet drawer IZQUIERDO —— */
@media (max-width: 1100px) {
    :root {
        --h-height: 60px;
        --h-slash: 0px;
    }

    .header {
        height: var(--h-height);
        background: #ffffff;
        overflow: visible;
    }

    .header__inner {
        width: 100%;
        max-width: 100%;
        padding: 0;
        gap: 0;
        align-items: center;
    }

    .nav__toggle {
        display: flex;
        order: 1;
        z-index: 10060;
        position: relative;
    }

    .nav__logo {
        order: 2;
        flex: 1 1 auto;
        height: 100%;
        min-width: 0;
        padding: 0 8px 0 6px;
        border-radius: 0;
        clip-path: none;
        background: transparent !important;
        box-shadow: none !important;
        justify-content: flex-start;
    }

    .nav__logo-img {
        height: 36px;
        max-width: 108px;
    }

    .header__menus {
        order: 3;
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .header__menus::after,
    .header__menus::before {
        display: none;
    }

    .nav__actions {
        order: 4;
        padding: 0 12px 0 8px;
        padding-right: max(12px, env(safe-area-inset-right));
        min-width: auto;
        background: transparent !important;
        margin-left: 0;
    }

    .nav__actions .btn-wa {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0;
        border-radius: 50%;
        gap: 0;
    }

    .nav__actions .btn-wa:hover,
    .nav__actions .btn-wa:focus-visible {
        width: 40px;
        min-width: 40px;
        padding: 0;
        gap: 0;
        border-radius: 50%;
        transform: translateY(-1px);
    }

    .nav__actions .btn-wa .btn-wa__num {
        display: none;
    }

    .nav__overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(11, 26, 51, 0.55);
        z-index: 10040;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .nav__overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header > .nav__menu,
    .nav__menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        width: min(320px, 88vw) !important;
        max-width: 320px !important;
        height: 100% !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        background: #ffffff !important;
        box-shadow: 8px 0 40px rgba(11, 26, 51, 0.28) !important;
        border: none !important;
        z-index: 10050 !important;
        overflow: hidden !important;
        transform: translateX(-105%) !important;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s var(--h-ease), visibility 0.35s;
    }

    .header > .nav__menu.active,
    .nav__menu.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.nav-open .nav__toggle {
        opacity: 0;
        pointer-events: none;
    }

    body.nav-open main {
        pointer-events: none;
    }

    .nav__menu-head {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        padding: 14px 16px;
        padding-top: max(14px, env(safe-area-inset-top));
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        background: linear-gradient(100deg, #0f2444 0%, #0b1a33 48%, #091528 100%);
    }

    .nav__menu-head-logo {
        height: 32px;
        width: auto;
        flex-shrink: 0;
        mix-blend-mode: normal;
        filter: brightness(0) invert(1);
    }

    .nav__menu-head-title {
        flex: 1;
        font-family: var(--h-font);
        font-size: 14px;
        font-weight: 600;
        color: #ffffff;
    }

    .nav__close {
        width: 36px;
        height: 36px;
        border: none;
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav__close:hover,
    .nav__close:focus-visible {
        background: rgba(255, 255, 255, 0.22);
        color: #fff;
        outline: none;
    }

    .nav__list {
        flex: 1 1 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 10px;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background: #ffffff;
    }

    .nav__item {
        width: 100%;
    }

    .nav__link {
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 10px;
        justify-content: space-between;
        color: var(--h-navy);
        white-space: normal;
        box-sizing: border-box;
    }

    .nav__item:hover > .nav__link {
        background: var(--h-ice);
        box-shadow: none;
        border-color: transparent;
        color: var(--h-navy);
    }

    .nav__link i {
        font-size: 10px;
        opacity: 0.7;
        color: var(--h-muted);
        padding: 6px;
        margin: -6px -4px -6px 0;
        border-radius: 6px;
        flex-shrink: 0;
        transition: transform 0.3s var(--h-ease), background 0.2s ease;
    }

    .nav__link i:active {
        background: var(--h-ice);
    }

    .nav__item.open > .nav__link:not(.is-active) {
        background: var(--h-ice);
        color: var(--h-navy);
        border-color: var(--h-border);
        box-shadow: none;
        font-weight: 600;
    }

    .nav__item.open > .nav__link:not(.is-active) i {
        color: var(--h-navy);
        opacity: 1;
        transform: rotate(180deg);
    }

    .nav__link.is-active {
        color: #fff !important;
        background: var(--h-item-hover) !important;
    }

    .nav__link.is-active i {
        color: #fff !important;
    }

    /* Acordeón compacto */
    .nav__dropdown,
    .nav__dropdown--end {
        position: static;
        left: auto;
        right: auto;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 0;
        margin: 0;
        min-width: 0;
        max-width: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s var(--h-ease);
        z-index: 1;
    }

    .nav__item.open > .nav__dropdown {
        max-height: 520px;
        padding: 2px 0 4px;
    }

    .nav__dropdown-panel {
        box-shadow: none !important;
        border: 1px solid var(--h-border) !important;
        background: var(--h-surface) !important;
        border-radius: 10px;
        padding: 3px !important;
    }

    .nav__dropdown-panel::before,
    .nav__dropdown-panel::after {
        display: none !important;
    }

    header.header .nav__dropdown-panel a,
    .nav__dropdown-panel a {
        min-height: 0 !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
        white-space: normal;
        color: var(--h-navy);
    }

    header.header .nav__dropdown-panel a i,
    .nav__dropdown-panel a i {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        font-size: 10px !important;
        border-radius: 6px;
    }

    .nav__menu-foot {
        display: block;
        flex-shrink: 0;
        padding: 10px 12px 14px;
        border-top: 1px solid var(--h-border);
        background: var(--h-surface);
    }

    .btn-wa--drawer {
        width: 100%;
        height: auto;
        min-height: 44px;
        min-width: 0;
        padding: 10px 14px;
        border-radius: 11px;
        justify-content: center;
        gap: 8px;
        font-size: 13px;
    }

    .btn-wa--drawer .btn-wa__num {
        max-width: 180px;
        opacity: 1;
        transform: none;
        display: inline-block;
    }

    .btn-wa--drawer:hover,
    .btn-wa--drawer:focus-visible {
        min-width: 0;
        padding: 10px 14px;
        gap: 8px;
        transform: none;
    }

    body.nav-open {
        overflow: hidden;
        touch-action: none;
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
    }
}

@media (max-width: 520px) {
    :root {
        --h-height: 56px;
    }

    .nav__toggle {
        width: 38px;
        height: 38px;
        margin-left: 8px;
    }

    .nav__logo {
        min-width: 0;
        padding: 0 6px 0 4px;
    }

    .nav__logo-img {
        height: 32px;
        max-width: 96px;
    }

    .nav__actions {
        padding: 0 10px 0 6px;
        padding-right: max(10px, env(safe-area-inset-right));
    }

    .nav__actions .btn-wa {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .nav__menu {
        width: min(300px, 90vw);
        max-width: 300px;
    }
}

@media (min-width: 1101px) {
    .nav__toggle {
        display: none !important;
    }

    .nav__menu-head,
    .nav__menu-foot {
        display: none !important;
    }

    .header > .nav__menu,
    .nav__menu {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: var(--h-height) !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 clamp(90px, 11vw, 150px) 0 clamp(140px, 16vw, 200px) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
        visibility: visible !important;
        pointer-events: none;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        z-index: 6 !important;
    }

    .header > .nav__menu .nav__list,
    .header > .nav__menu .nav__item,
    .header > .nav__menu .nav__link,
    .header > .nav__menu .nav__dropdown {
        pointer-events: auto;
    }

    .nav__overlay {
        display: none !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .header,
    .nav__menu,
    .nav__link,
    .nav__link i,
    .nav__dropdown,
    .nav__dropdown-panel,
    .nav__dropdown-panel a,
    .btn-wa,
    .nav__overlay,
    .nav__toggle span {
        transition-duration: 0.01ms !important;
        animation: none !important;
    }
}
