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

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .08);
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.header__logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d1368;
    text-decoration: none;
}

.header__nav {
    display: flex;
}

.header__menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.header__link {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

.header__cta {
    background: #5b2cff;
    color: #fff;
    text-decoration: none;
    padding: .9rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
}

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

.mobile-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

/* ====================================================
   TABLET
==================================================== */

@media screen and (max-width: 992px) {

    .header__menu {
        gap: 1rem;
    }

    .header__cta {
        padding: 0.8rem 1rem;
        font-size: 14px;
    }
}

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

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

    .header__wrapper {
        position: relative;
    }

    .mobile-toggle {
        display: block;
    }

    .header__cta {
        display: none;
    }

    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    }

    .header__nav.active {
        display: block;
    }

    .header__menu {
        flex-direction: column;
        gap: 0;
    }

    .header__menu li {
        border-bottom: 1px solid #eee;
    }

    .header__link {
        display: block;
        padding: 15px 20px;
    }
}