.header-menu {
    overflow: hidden;
    min-width: 360px;
}

.header-menu__row-brand-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top: 20px;
    padding-bottom: 20px;
}

.header-menu__brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-menu__logo-link {
    display: inline-block;
}

.header-menu__logo-image {
    max-width: 360px;
}

.header-menu__slogan {
    margin: 0;

    font-size: 20px;
}

.header-menu__contacts {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-menu__select-city {
    position: relative;
}

.header-menu__select-city:hover .header-menu__city-list {
    display: flex;
}

.header-menu__select-city:hover .header-menu__city {
    color: #ed1c24;
}

.header-menu__city-list {
    position: absolute;
    z-index: 2;

    display: none;
    flex-direction: column;
    gap: 10px;

    margin: 0;
    padding: 15px 15px 15px 37px;

    background-color: #ffffff;
    box-shadow: 0 11px 38px rgba(80, 83, 97, .19);

    list-style: none;
}

.header-menu__city-list-item {
    margin: 0;
    padding: 0;
}

.header-menu__city-list-link {
    font-family: "GraphikLCGSemibold", sans-serif;
    font-size: 16px;
    text-decoration: none;
    color: #333333;

    transition: color 0.2s linear;
}

.header-menu__city-list-link:focus {
    font-family: "GraphikLCGSemibold", sans-serif;
    font-size: 16px;
    text-decoration: none;
    color: #333333;
}

.header-menu__city-list-link:hover {
    text-decoration: none;
    color: #ed1c24;
}

.header-menu__city-list-link--active {
    color: #ed1c24;
}

.header-menu__city {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    font-family: "GraphikLCGSemibold", sans-serif;
    font-size: 18px;

    cursor: pointer;
}

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

    display: block;
    width: 32px;
    height: 32px;

    background: url("/assets/images/advantages/geo-true.png") center no-repeat;
    background-size: contain;
}

.header-menu__phone {
    font-family: "GraphikLCGSemibold", sans-serif;
    font-size: 18px;
    text-decoration: none;
    color: #333333;

    transition: color 0.2s linear;
}

.header-menu__phone:hover {
    text-decoration: none;
    color: #ed1c24;
}

.header-menu__row-menu {
    padding-top: 20px;
    padding-bottom: 20px;

    background-color: #0a3167;
}

.header-menu__row-menu-mobile {
    display: block;
}


.main-menu {

}

.main-menu__list {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-menu__item {
    margin: 0;
    padding: 0;
}

.main-menu__link {
    font-size: 18px;
    text-decoration: none;
    color: #ffffff;

    transition: color 0.2s linear;
}

.main-menu__link:hover {
    text-decoration: none;
    color: #ed1c24;
}

.main-menu__button {
    position: relative;

    display: block;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    padding: 0;

    background: none;
    border: none;
    box-shadow: none;
}

.main-menu__button--active .main-menu__button-icon-menu {
    opacity: 0;
}

.main-menu__button--active .main-menu__button-icon-close {
    opacity: 1;
}

.main-menu__button-icon-menu {
    position: absolute;
    top: 0;
    left: 0;

    display: block;
    width: 32px;
    height: 32px;

    background: url("../images/menu-icon.svg") center no-repeat;
    background-size: contain;
    opacity: 1;

    transition: opacity 0.2s linear;

    cursor: pointer;
}

.main-menu__button-icon-close {
    display: block;
    width: 32px;
    height: 32px;

    background: url("../images/menu-close-icon.svg") center no-repeat;
    background-size: contain;
    opacity: 0;

    transition: opacity 0.2s linear;

    cursor: pointer;
}

.main-menu__mobile-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    margin: 30px 0 0 0;
    padding: 0;

    list-style: none;
}

.main-menu__mobile-block-item {
    margin: 0;
    padding: 0;
}


.button-simple {
    box-sizing: border-box;
    padding: 15px 25px;

    background-color: #ed1c24;
    border: none;
    box-shadow: none;

    font-family: "GraphikLCGSemibold", sans-serif;
    font-size: 16px;
    text-decoration: none;
    color: #ffffff;

    transition: background-color 0.2s linear;
}

.button-simple:hover {
    background-color: #ca1018;
}

.button-simple--fluid {
    max-width: 100%;
    width: 100%;
}


.popup-form {
    display: none;
    box-sizing: border-box;
    max-width: 480px;
    width: 100%;

    padding: 40px;
}

.popup-form__title {
    margin: 0 0 20px 0;

    font-family: "GraphikLCGSemibold", sans-serif;
    font-size: 24px;
    text-align: center;
}


.popup-alert {
    display: none;
    box-sizing: border-box;
    max-width: 320px;
    width: 100%;

    padding: 40px;
}

.popup-alert__text {
    margin: 0 0 20px;

    font-size: 20px;
    text-align: center;
}


.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.form label.error {
    display: inline-block;
    margin: 0;

    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #ff0000;
}

.form__group {
    position: relative;

    display: block;
    margin: 0;
    width: 100%;
}

.form__input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 15px;

    font-weight: 400;
}

.form__agree {
    position: relative;
    cursor: pointer;

    margin-bottom: 15px;
}

.form__agree label.error {
    position: absolute;
    top: 100%;
    left: 0;
}

.form__agree-text {
    font-weight: 400;
}


.form-block {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-block__title {
    margin: 0 0 30px;

    font-family: "GraphikLCGSemibold", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
}

.form-block__subtitle {
    margin: 0 0 20px;

    font-family: "GraphikLCGSemibold", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
}


.section-cars-category {
    padding-top: 40px;
    padding-bottom: 40px;
}

.section-cars-category__title {
    margin: 0 0 30px 0;

    font-family: "GraphikLCGSemibold", sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    color: #100f15;
}


.cars-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    margin: 0;
    padding: 0;

    list-style: none;
}

.cars-categories__item {
    box-sizing: border-box;
    width: 25%;
    margin: 0;
    padding: 0;
}

.cars-categories__item:nth-child(even) .cars-categories__card {
    background: #eaeaee;
}
.cars-categories__item:nth-child(odd) .cars-categories__card {
    background: #f4f5f8;
}

.cars-categories__card {
    display: flex;
    flex-direction: column;
    align-items: center;

    box-sizing: border-box;
    width: 100%;
    padding: 15px;
    aspect-ratio: 1 / 1;

    text-decoration: none;
}

.cars-categories__card:hover {
    text-decoration: none;
}

.cars-categories__card:hover .cars-categories__name {
    text-decoration: none;
    color: #ca1018;
}

.cars-categories__image {
    display: block;
    width: 200px;
    height: 200px;
    margin: auto;

    object-position: center;
    object-fit: scale-down;
}

.cars-categories__name {
    margin: auto 0 0 0;

    font-family: "GraphikLCGSemibold", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
    color: #100f15;
}

@media screen and (min-width: 1200px) {
    .header-menu__logo-link--mobile {
        display: none;
    }

    .main-menu__button {
        display: none;
    }

    .main-menu__mobile-block {
        display: none;
    }
}

@media screen and (max-width: 1199.98px) {
    body {
        padding-top: 72px;
    }

    .header-menu {
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;
        right: 0;

        height: 72px;
    }

    .header-menu__row-brand-contact {
        display: none;
    }

    .header-menu__row-menu-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px
    }

    .header-menu__logo-image {
        max-width: 200px;
    }

    .main-menu {
        position: fixed;
        top: 72px;
        bottom: 0;
        right: 0;
        left: 0;

        box-sizing: border-box;
        width: 100%;
        overflow: auto;
        padding-top: 20px;
        padding-bottom: 20px;

        background: #ffffff;
        border: none;

        transform: translateX(-100%);

        transition: transform 0.2s linear;
    }

    .main-menu--active {
        transform: translateX(0);
    }

    .main-menu__list {
        flex-direction: column;
        gap: 15px;
    }

    .main-menu__link {
        color: #333333;
    }

    .form-block__title {
        font-size: 24px;
    }

    .form-block__subtitle {
        font-size: 20px;
    }
}

@media screen and (max-width: 991.98px) {
    .cars-categories__item {
        width: 33.33333%;
    }
}

@media screen and (max-width: 767.98px) {
    .cars-categories__item {
        width: 50%;
    }
}

@media screen and (max-width: 479.98px) {
    .cars-categories__item {
        width: 100%;
    }
}