.header-nav__main .list-nav__item a.active {
    color: #EC3024;
}

/* Form success */
.form-success-message {
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
    padding: 24px 0;
    opacity: 0.9;
}

/* Form errors */
.footer .contact-form .input-group input.is-error {
    border-bottom-color: #EC3024;
}

.footer .contact-form .input-group__checkbox.is-error {
    outline: 1px solid #EC3024;
    border-radius: 4px;
}

.footer .contact-form .error-description {
    display: block;
    font-size: 12px;
    color: #EC3024;
    margin-top: 4px;
    min-height: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.footer .contact-form .error-description:not(:empty) {
    opacity: 1;
}

/* Error pages */
.error-page__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 40px 0;
}

.error-page__code {
    font-family: "Onest", sans-serif;
    font-weight: bold;
    font-size: 200px;
    line-height: 1;
    color: #EC3024;
    text-shadow: 0 0 60px rgba(236, 48, 36, 0.45);
}

.error-page .description {
    opacity: 0.8;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.error-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 182px;
    min-height: 56px;
    padding: 0 24px;
    border: 1px solid #EC3024;
    border-radius: 32px;
    background-color: #EC3024;
    color: #fff;
    font-family: "Onest", sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.5s ease;
}

.error-page__btn:hover {
    box-shadow: 0 0 20px #EC3024;
}

.error-page__btn--outline {
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .error-page__code {
        font-size: 140px;
    }
}

@media screen and (max-width: 430px) {
    .error-page__code {
        font-size: 100px;
    }

    .error-page__btn {
        width: 100%;
    }
}
