header {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

header .header--container {
    background-color: rgba(var(--snaaf-color-primary-rgb), 0.9);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 35px 50px;
    align-items: center;
}

header .header--body,
header .header--titles {
    width: 100%;
    max-width: 1512px;
}

header .header--body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

header .header--body > * {
    flex: 1;
}

.header--menu-burger {
    display: flex;
}

header .header--menu-burger--container {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: .5rem;
    transform: translateX(-.5rem);
}
header .header--menu-burger--lines {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    width: 40px;
}
header .header--menu-burger--line {
    height: 6px;
    background-color: #fff;
    border-radius: 99px;
    transition: width 0.15s ease-out;
}
header .header--menu-burger--line:nth-child(1) {
    width: 30px;
}
header .header--menu-burger--line:nth-child(2) {
    width: 100%;
}
header .header--menu-burger--line:nth-child(3) {
    width: 34px;
}
header .header--menu-burger:hover .header--menu-burger--line:nth-child(1) {
    width: 36px;
}
header .header--menu-burger:hover .header--menu-burger--line:nth-child(2) {
    width: 30px;
}
header .header--menu-burger:hover .header--menu-burger--line:nth-child(3) {
    width: 100%;
}

header .header--menu-burger--container > span {
    color: #FFF;
    font-weight: 700;
    text-transform: uppercase;
}

header .header--logo {
    max-width: 328px;
    width: 100%;
    text-align: center;
}
header .header--logo img {
    height: 90px;
}

header .header--btns {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}

header .header--titles {
    padding: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

header .header--titles h1 {
    color: #FFF;
}
header .header--titles h1 b,
header .header--titles h1 strong {
    color: var(--snaaf-color-secondary);
    font-weight: 900;
}
header .header--titles > p {
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%; /* 25.6px */
}

/* --- */

.header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--snaaf-color-primary-rgb), 0.5);
    z-index: 99;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease-out;
}
.header-menu--show {
    opacity: 1;
}

.header-menu--sidebar {
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 100%;
    background-color: var(--snaaf-color-primary);
    padding: 50px 40px;
    gap: 25px;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(.77,0,.175,1) 0s;
}
.header-menu--show .header-menu--sidebar {
    transform: translateX(0);
    transition-timing-function: cubic-bezier(.165,.84,.44,1);
    transition-delay: .3s;
}

.header-menu--sidebar--close {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}
.header-menu--sidebar--close > span {
    color: #FFF;
    font-weight: 700;
    text-transform: uppercase;
}

.header-menu--sidebar > hr {
    width: 100%;
    outline: none;
    border: none;
    border-top: 1px solid #fff;
}

.header-menu--sidebar .menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header-menu--sidebar .menu > .menu-item > a {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}
.header-menu--sidebar .menu > .menu-item > a img {
    width: 24px;
    height: 16px;
    object-fit: contain;
}
.header-menu--sidebar .menu > .menu-item:has(.sub-menu) > a::after {
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABISURBVHgBrY3JCQAwCAQtxf6bSCkpZQPBRwgeKyj4cmYUmRgA21YJVo1dfwBV5JEvGx68SMlkAPMgBGk5ifByEOnJTqQvd+YA7RzgP1LwxLgAAAAASUVORK5CYII=);
    width: 16px;
    height: 16px;
    margin-left: auto;
}

.header-menu--sidebar .menu > .menu-item .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 0 10px;
    padding-left: 22px;
    overflow: hidden;
    max-height: 0;
    border-left: 1px dashed var(--snaaf-color-secondary);
    transition: max-height 0.25s ease-out, margin 0.25s ease-out;
}
.header-menu--sidebar .menu > .menu-item.menu-item--opened .sub-menu {
    max-height: 100px;
    margin: 10px;
}

.header-menu--sidebar .menu > .menu-item .sub-menu > li > a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: padding-left 0.25s ease-out;
}
.header-menu--sidebar .menu > .menu-item .sub-menu > li > a:hover {
    padding-left: 3px;
}

.header-menu--mobile {
    display: none !important;
}

.header-menu--desktop {
    display: flex !important;
}

@media (max-width: 767px) {
    header .header--container {
        padding: 30px;
    }

    header .header--logo {
        text-align: right;
    }

    header .header--logo img {
        height: 50px;
    }

    .header-menu--sidebar .header--btns {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .header-menu--mobile {
        display: flex !important;
    }
    .header-menu--desktop {
        display: none !important;
    }
}