:root {
    --site-navy: #061629;
    --site-gold: #ffc631;
    --site-glass: rgba(4, 20, 35, .72);
    --site-glass-border: rgba(255, 255, 255, .13);
}

header.header {
    padding: 0 !important;
    background: transparent !important;
    transition: background-color .25s ease, padding .25s ease;
}

header.header.sticky,
header.header.opened {
    background: transparent !important;
}

header.header .container {
    width: min(1320px, calc(100% - 32px));
    min-height: 68px;
    margin: 12px auto;
    padding: 8px 18px !important;
    border: 1px solid var(--site-glass-border);
    border-radius: 19px;
    background: var(--site-glass);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .14);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    transition: min-height .25s ease, background-color .25s ease, box-shadow .25s ease;
}

header.header.sticky .container,
header.header.opened .container {
    min-height: 62px;
    background: rgba(3, 17, 31, .94);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .23);
}

header.header .brand {
    display: inline-flex;
    width: auto !important;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

header.header .brand_logo {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain;
}

header.header .brand_name {
    display: flex !important;
    align-items: center;
    color: #fff;
    font-family: Archivo, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

header.header .brand_name .highlight {
    color: #16ad80;
}

header.header .header_nav-list {
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
}

header.header .header_nav-list_item {
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .055em;
    white-space: nowrap;
}

header.header .header_nav-list_item .nav-link {
    transition: color .2s ease;
}

header.header .header_nav-list_item .nav-link:hover,
header.header .header_nav-list_item .nav-link:focus-visible,
header.header .header_nav-list_item .nav-link.active,
header.header .header_nav-list_item .nav-link[aria-expanded="true"] {
    color: var(--site-gold);
}

header.header .header_nav-list .dropdown-list {
    overflow: hidden;
    border: 1px solid var(--site-glass-border);
    border-radius: 14px;
    background: rgba(3, 17, 31, .97);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .25);
}

header.header .header_nav-list .dropdown-item {
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    transition: color .2s ease, background-color .2s ease;
}

header.header .header_nav-list .dropdown-item:hover,
header.header .header_nav-list .dropdown-item:focus-visible {
    color: var(--site-gold);
    background: rgba(255, 255, 255, .07);
}

header.header .header_trigger {
    width: 42px;
    height: 42px;
    padding: 11px 9px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
}

header.header .header_trigger .line {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

header.header .header_trigger .line:nth-child(4) {
    display: none;
}

header.header .header_trigger.active {
    border-color: rgba(255, 198, 49, .5);
    background: rgba(255, 198, 49, .1);
}

header.header .header_trigger.active .line {
    background: var(--site-gold);
}

@media screen and (min-width: 1023.98px) {
    header.header .container {
        min-height: 74px;
        padding: 9px 22px !important;
    }

    header.header.sticky .container {
        min-height: 64px;
    }

    header.header .header_nav {
        display: flex !important;
        width: auto;
    }

    header.header .header_nav-list {
        display: flex;
        flex-direction: row;
        margin: 0;
        overflow: visible;
    }

    header.header .header_nav .nav-link::after {
        bottom: -8px;
        border-radius: 2px;
    }

    header.header .header_nav-list .dropdown-list {
        margin-top: 12px;
        padding: 10px;
    }
}

@media screen and (max-width: 1023.98px) {
    header.header .container {
        width: calc(100% - 24px);
        min-height: 58px;
        margin: 10px 12px;
        padding: 7px 10px !important;
        border-radius: 16px;
    }

    header.header.sticky .container,
    header.header.opened .container {
        min-height: 58px;
    }

    header.header.opened .container {
        background: rgba(3, 17, 31, .97);
    }

    header.header .brand_logo {
        width: 40px !important;
        height: 40px !important;
    }

    header.header .brand_name {
        font-size: 18px;
    }

    header.header .header_nav.active {
        margin-top: 4px;
    }

    header.header .header_nav-list {
        max-height: calc(100svh - 100px);
        margin-top: 14px;
        padding: 16px 6px 20px;
        gap: 0;
    }

    header.header .header_nav-list_item {
        width: 100%;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        font-size: 13px;
    }

    header.header .header_nav-list_item:last-child {
        border-bottom: 0;
    }

    header.header .header_nav-list_item .nav-link {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    header.header .header_nav-list_item .dropdown-list {
        margin: 12px 0 0;
        padding: 8px;
        background: rgba(255, 255, 255, .045);
    }

    header.header .header_nav-list .dropdown-item {
        display: block;
        padding: 12px;
    }
}

.site-contact-fab {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: 20px;
    z-index: 1000001;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.site-contact-fab__link {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 5px 17px rgba(0, 0, 0, .27);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.site-contact-fab__link:hover,
.site-contact-fab__link:focus-visible {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .32);
}

.site-contact-fab__link--phone {
    background: #0da574;
}

.site-contact-fab__link--whatsapp {
    background: #25b962;
}

.site-contact-fab__link svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.site-contact-fab__link--whatsapp svg {
    width: 25px;
    height: 25px;
}

body #scrollTrigger.active {
    right: 22px !important;
    bottom: calc(94px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1000000;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 16px;
    background: rgba(4, 20, 35, .86);
    opacity: .92;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .26);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

body #scrollTrigger.active:hover,
body #scrollTrigger.active:focus-visible {
    opacity: 1;
    background: var(--site-gold);
}

body #scrollTrigger.active .icon {
    color: var(--site-gold);
}

body #scrollTrigger.active:hover .icon,
body #scrollTrigger.active:focus-visible .icon {
    color: var(--site-navy);
}

@media screen and (max-width: 767.98px) {
    .site-contact-fab {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        left: 14px;
        gap: 8px;
    }

    .site-contact-fab__link {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .site-contact-fab__link svg {
        width: 21px;
        height: 21px;
    }

    .site-contact-fab__link--whatsapp svg {
        width: 23px;
        height: 23px;
    }

    body #scrollTrigger.active {
        right: 14px !important;
        bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-contact-fab__link,
    header.header,
    header.header .container {
        transition: none;
    }
}
