html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}


h1,
h2,
h3 {
    font-family: 'Onest', serif;
}









/* =========================================
   404 PAGE
========================================= */

.error-404 {
    min-height: calc(100vh - 80px);

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

    padding: 100px 24px;

    background: #fff;
}

.error-404__container {
    width: min(700px, 100%);

    text-align: center;
}

.error-404__number {
    margin-bottom: 20px;

    font-size: clamp(100px, 18vw, 180px);
    line-height: 0.85;
    font-weight: 500;

    letter-spacing: -0.06em;

    color: #765087;
}

.error-404__title {
    margin: 0 0 18px;

    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    font-weight: 500;

    color: #1d2c3d;
}

.error-404__description {
    max-width: 500px;

    margin: 0 auto 35px;

    font-size: 17px;
    line-height: 1.6;

    color: #77727a;
}

.error-404__button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 14px 18px 14px 22px;

    border-radius: 8px;

    background: #765087;
    color: #fff;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.error-404__button:hover {
    background: #654275;
    color: #fff;

    transform: translateY(-2px);
}

.error-404__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    font-size: 15px;
    line-height: 1;
}


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

@media (max-width: 700px) {

    .error-404 {
        min-height: calc(100vh - 70px);

        padding: 80px 20px;
    }

    .error-404__number {
        margin-bottom: 18px;

        font-size: 110px;
    }

    .error-404__title {
        font-size: 34px;
    }

    .error-404__description {
        font-size: 15px;
    }

}








/* =========================================
   CONTACT DROPDOWN
========================================= */

.contact-dropdown {
    position: relative;
    display: inline-block;
}

.contact-dropdown__button {
    cursor: pointer;
}

.contact-dropdown__menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);

    display: flex;
    flex-direction: column;

    min-width: 180px;
    padding: 6px;

    background: #fff;
    border: 1px solid #ece7ee;
    border-radius: 12px;

    box-shadow:
        0 12px 35px rgba(29, 44, 61, 0.12),
        0 3px 10px rgba(29, 44, 61, 0.05);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 100;
}

.contact-dropdown.is-open .contact-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-dropdown__item {
    display: block;

    padding: 11px 14px;

    border-radius: 7px;

    color: #1d2c3d !important;
    text-decoration: none !important;

    font-size: 14px;
    line-height: 1.2;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.contact-dropdown__item:hover {
    background: #f5f1f6;
    color: #765087 !important;
}