/* =========================
   HEADER
========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 100;

    background: transparent;
    border-bottom: 0;
}

.site-header::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 66%;
    height: 100%;

    background: #ffffff;
    box-shadow: 6px 4px 18px rgba(0, 0, 0, 0.10);

    opacity: 0.95;

   border-radius: 0 0 100px 0;

    z-index: -1;

    transition: width 2s ease, clip-path 2s ease;
}

.site-header--scrolled::before {
    width: 100%;
    opacity: 1;
    border-radius: 0px;
    

    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        0 100%
    );
}

.site-header__inner {
    width: 100%;
    max-width: none;

    min-height: 94px;

    padding-left: clamp(40px, 6vw, 100px);
    padding-right: clamp(40px, 6vw, 100px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* =========================
   LOGO
========================= */

.site-header__logo {
    display: inline-flex;
    align-items: center;
}

.site-header__logo img {
    display: block;
    width: auto;
    height: 74px;
}

/* =========================
   NAVIGATION
========================= */

.site-header__nav-list {
    display: flex;
    align-items: center;

    gap: 36px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-header__nav-list li {
    margin: 0;
    padding: 0;
}

.site-header__nav-list a {
    position: relative;

    display: inline-block;

    font-size: 15px;
    font-weight: 400;

    text-transform: uppercase;

    color: #162540;

    transition: color 0.2s ease;
    font-family: 'Nunito', sans-serif;
}

.site-header__nav-list a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #e52d35;

    transition: width 0.2s ease;
}

.site-header__nav-list a:hover {
    color: #171717;
}

.site-header__nav-list a:hover::after {
    width: 100%;
}

/* =========================
   HEADER BUTTON
========================= */

.site-header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 58px;
    padding: 0 28px;

    background: #E20115;
    color: #fff;

    font-family: 'Nunito', sans-serif;

    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;

    border-radius: 999px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.site-header__button img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-header__button:hover {
    background: #c9232b;
    transform: translateY(-2px);
}


/* =========================================================
   MOBILE HEADER
========================================================= */

.site-header__toggle {
    display: none;
}

/* =========================================================
   DESKTOP — 1440px
========================================================= */

@media (min-width: 1400px) and (max-width: 1599px) {

    .site-header::before {
    width: 100%;

}

}

/* =========================================================
   DESKTOP — 1240px
========================================================= */

@media (min-width: 1200px) and (max-width: 1399px) {

    .site-header::before {
    width: 100%;
    }

}

/* =========================================================
   HEADER — TABLET / SMALL LAPTOP
   768px — 1100px
========================================================= */

@media (min-width: 768px) and (max-width: 1100px) {

    .site-header__inner {
        min-height: 88px;

        padding-left: 40px;
        padding-right: 40px;

        gap: 24px;
        background: #fff;
    }

    .site-header::before {
    display: none;
    }


    /* LOGO */

    .site-header__logo img {
        height: 62px;
    }


    /* MENU */

    .site-header__nav-list {
        gap: 22px;
    }

    .site-header__nav-list a {
        font-size: 13px;
    }


    /* TELEFON */

    .site-header__button {
        min-height: 52px;

        padding: 0 18px;

        gap: 8px;

        font-size: 13px;

        white-space: nowrap;
    }

    .site-header__button img {
        width: 22px;
        height: 22px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .site-header {
        z-index: 200;
    }

    .site-header::before {
        width: 100%;
        height: 76px;

        opacity: 0.96;

        border-radius: 0 0 40px 0;

        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    }

    .site-header__inner {
        min-height: 76px;

        padding-left: 24px;
        padding-right: 24px;

        gap: 0;
    }

    .site-header__logo img {
        height: 48px;
        width: auto;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__button {
        display: none;
    }

    .site-header__toggle {
        position: relative;

        display: flex;

        width: 42px;
        height: 42px;

        padding: 0;

        border: 0;
        border-radius: 50%;

        background: #162540;

        align-items: center;
        justify-content: center;

        flex-direction: column;

        gap: 5px;

        cursor: pointer;
    }

    .site-header__toggle span {
        display: block;

        width: 17px;
        height: 2px;

        background: #ffffff;

        border-radius: 999px;

        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }

    .site-header__inner {
    position: relative;
}

.site-header__nav.is-open {
    position: absolute;

    top: 76px;
    left: 0;

    display: block;

    width: 100%;

    padding: 24px;

    background: #ffffff;

    border-radius: 0 0 28px 28px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.site-header__nav.is-open .site-header__nav-list {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-header__nav.is-open .site-header__nav-list a {
    display: block;

    color: #162540;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;
}

.site-header__nav.is-open .site-header__nav-list a::after {
    display: none;
}

.site-header__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.site-header__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

}



