.no-scroll {
    overflow: hidden;
}


.header-nav__list {
    & .header-nav__submenu-item {
        &:not(:last-child) {
            border-right: none;
        }
    }
}

.header-nav__item_submenu {
    position: relative;
}

.header-nav__submenu {
    position: absolute;
    background: #fff;
    top: 42px;
    right: 0px;
    z-index: 10;
    width: 100%;
    box-shadow: 0px 4px 24px 0px #0000001C;
    padding: 10px;
    display: none;
    
    &.active {
        display: block;
    }
}
.header-nav__submenu-item {
    &.active {
        .header-nav__submenu-link {
            color: var(--main-color);
        }
    }
}

.header-nav__submenu-link {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s linear;
    
    &:hover {
        color: var(--main-color);
    }
}

.header-nav__item-icon {
    transform: rotate(90deg);
    transition: all 0.2s linear;
    
    &.active {
        transform: rotate(0);
    }
}

.reviews {
    width: var(--w-wrapper-s);
    margin: 100px auto clamp(1px, 2vw, 50px);
}
.reviews__list {
    margin-top: 30px;
    display: flex;
    gap: 30px;
    
    @media screen and (width <= 1250px) {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.review {
    width: 370px;
    
    @media screen and (width <= 700px) {
        width: 100%;
    }
}

.review__wrapper {
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 38.7px 0px #0000000D;
}
.review__header {
    display: flex;
    justify-content: space-between;
}
.review__title {
    font-size: 24px;
    font-weight: 700;
}
.review__rating {
    display: flex;
    align-items: center;
}
.review__rating-star {
    width: 16px;
    height: 16px;
}
.review__date {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    opacity:  0.4;
    display: block;
    margin-top: 5px;
    padding-bottom: 10px;
}
.review__text {
    border-top: 2px solid var(--main-color);
    padding-top: 10px;
    font-size: 16px;
}
.review__answer {
    margin-top: 20px;
    padding: 30px 40px;
    background: #4B5161;
    border-radius: 10px;
}
.review__answer-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    padding-bottom: 10px;
}
.review__answer-text {
    border-top: 2px solid var(--main-color);
    padding-top: 10px;
    font-size: 14px;
    color: #fff;
}

.faq {
    width: var(--w-wrapper-s);
    margin: 100px auto clamp(1px, 2vw, 50px);
}
.faq__title {
    display: flex;
    flex-direction: column;
    font-size: clamp(26px, 4vw, 39px);
    font-weight: 600;
}
.faq__list {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.faq__item {
    width: 30%;
    
    @media screen and (width <= 950px) {
        width: 47%;
    }
    
    @media screen and (width <= 650px) {
        width: 100%;
    }
    
}
.faq__item-title {
    font-size: 18px;
    font-weight: 500;
    color: #1D1F21;
    padding-bottom: 10px;
}
.faq__item-text {
    padding-top: 10px;
    border-top: 2px solid var(--main-color);
    font-size: 17px;
    font-weight: 300;
    color: #717171;
}
.faq__problem-header {
    text-align: left;
}

.content {
    width: var(--w-wrapper-s);
    margin: 100px auto clamp(1px, 2vw, 50px);
}
.content h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 30px;
}
.content p {
    color: #1D1F21;
    font-weight: 300;
    font-size: 17px;
    margin-top: 20px;
}

.modals {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}
.modals_active {
    display: flex;
}

.modal {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    position: relative;
    width: 400px;
    display: none;
}
.modal_active {
    display: block;
}
.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.modal__close svg {
    width: 13px;
    height: 13px;
}
.modal__title {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
}
.modal__desc {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 300;
    color: #717171;
    text-align: center;
}
.modal__form {
    
}
.modal__form-row {
    margin-top: 10px;
}
.modal__form-label {}
.modal__form-label_policy {
    display: flex;
    gap: 10px;
}
.modal__form-input {
    background: var(--c-white);
    border: solid 1px var(--c-grey-light);
    border-radius: 100px;
    padding: .5rem 2rem;
    min-height: 51px;
    width: 100%;
}
.modal__form-submit {
    width: 100%;
}
.modal__form-checkbox {}
.modal__form-policy {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.17;
    color: var(--c-text-ghost);
}
.modal__form-policy-link {
    text-decoration: underline;
}


.category {
    display: flex;
    flex-direction: column;
    width: var(--w-wrapper-s);
    margin: 50px auto;
}
.category__list {
    margin: 30px 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}
.category__item {
    border-radius: 15px;
    box-shadow: 0 4px 14.3px #0000001c;
    padding: 20px;
    height: auto;
}
.category__item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
}
.category__item-title {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    margin-top: 15px;
}

.category .button {
    margin: 0 auto;
}