@charset "UTF-8";

:root {
    --main-bg: #201630;
    --white-color: #fff;
    --card-bg: #271D37;
    --form-text-grey: #9A9A9A;
    --acc-text-violet: #D1C7E1;
    --main-green-color: #23C063;
    --error-color: #EF1414;
    --star-color: #3B314B;
    --burger-color: #D4D2D2;
    --filter-btn-color: #D1CEE1;
}

@media screen and (min-width: 1260px) {

    .inner {
        padding: 0 10px;
        max-width: 1260px;
        margin: 0 auto;
    }

    .btn {
        padding: 20px 50px;
        font-size: 18px;
        line-height: 17px;
    }

    .h1 {
        font-size: 70px;
        line-height: 67px;
    }

    .h2 {
        font-size: 36px;
        line-height: 136%;
    }

    .h4 {
        font-size: 30px;
        line-height: 29px;
    }

    .h4-bold {
        font-size: 22px;
        line-height: 21px;
    }

    .h5 {
        font-size: 20px;
        line-height: 115%;
    }

    .h5-bold,
    .h5-bold > .price-icon {
        font-size: 20px;
        line-height: 120%;
    }

    .h6 {
        font-size: 18px;
        font-weight: 400;
    }

    .subtitle {
        font-size: 22px;
        line-height: 21px;
    }

    /*==================== Hero section ====================*/
    .hero {
        width: 100%;
        height: 650px;
        margin-bottom: 0;
    }

    .hero-heading {
        gap: 22px;
    }

    /*==================== Advantages section ====================*/
    .advantages {
        position: relative;
        top: -78px;
        margin-bottom: 42px;
    }

    .advantages__wrapper {
        width: 1240px;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: none;
    }

    /*==================== Discount section ====================*/
    .discount {
        width: 100%;
        padding: 95px 0 115px;
        margin: 0 auto 120px;
    }

    .discount__heading {
        margin-bottom: 64px;
    }

    .discount__h2 {
        font-size: 50px;
        line-height: 55px;
        margin-bottom: 12px;
    }

    /*==================== Features section ====================*/
    .features {
        margin-bottom: 0;
    }

    .features__slider {
        padding: 0 !important;
    }

    .features__content {
        width: 100%;
        gap: 30px;
    }

    .features__left-block {
        display: block !important;
        object-fit: cover;
    }

    .features__left-block>img {
        width: 460px;
        height: 636px;
    }

    /*==================== Book section =====================*/
    .booking {
        background-image: url(../img/svg/line-bg-booking-desk.svg);
        background-position: center;
        background-repeat: no-repeat;
        margin-bottom: 45px;
        height: 700px;
        padding: 120px 0;
    }

    .form-submit {
        width: 625px;
    }

    .form-submit__item,
    .custom-select {
        width: 605px;
        padding: 28px 30px;
    }

    .form-submit>.btn__green {
        width: 605px;
    }

    /*==================== Our-works section ====================*/
    .filters-breadcrumb__wrapper {
        margin-bottom: 45px;
    }

    .filters-swipe,
    .cards-swipe {
        justify-content: center;
    }

    .filter-type__btn,
    .filter-material__btn {
        font-size: 20px;
        line-height: 20px;
        font-weight: 400;
        padding: 12px 12px;
    }

    .our-works__card {
        width: 1240px;
        height: 532px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        border-radius: 14px;
        background-color: var(--card-bg);
    }

    .photo-img {
        order: 2;
        border-radius: 0;
        align-self: initial;
    }

    .our-works__card-content {
        order: 1;
        padding: 140px 71px;
        width: 622px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card__h2 {
        font-size: 41px;
        margin-bottom: 18px;
    }

    .card__subtitle {
        font-size: 18px;
        line-height: 120%;
        font-weight: 300;
    }

    .buttons {
        justify-content: flex-start;
    }

    .our-works__btn {
        margin: 0 0;
    }

    .our-works__btn {
        padding: 16px 30px 15px;
    }

    /*==================== Our-partners section ====================*/
    .partners-label__wrapper {
        flex-wrap: nowrap;
        gap: 40px;
    }

    .partner-label {
        height: 45px;
    }

    /*==================== Catalog section ====================*/
    .catalog-card {
        gap: 16px;
        width: 100%;
    }

    .catalog-card__content {
        gap: 12px;
    }

    .catalog-card__img>img {
        width: 295px;
    }

    .card__option {
        font-size: 14px;
    }

    .card__price,
    .card__price>.price-icon {
        font-size: 20px;
        line-height: 19px;
    }

    .price-icon,
    .old-price-icon {
        font-family: Arial, Helvetica, sans-serif;
    }

    .card__price-old,
    .card__price-old>.old-price-icon {
        font-size: 14px;
        line-height: 13px;
    }

    .btn__violet {
        padding: 12px 30px;
    }

    /*==================== Catalog-color section ====================*/
    .palette-color__wrapper {
        gap: 100px;
    }

    .color__img {
        display: block;
        width: 450px;
    }

    .color {
        transform: scale(1);
        transition: all 0.2s ease-out;
    }

    .color-card {
      cursor: pointer;
    }

    .color-card:hover>.color,
    .color-card.active>.color {
        border: 3px solid var(--main-green-color);
        transform: scale(1.1);
    }

    .color-card:hover>.h6,
    .color-card.active>.h6 {
        color: var(--main-green-color);
    }

    /*==================== Order-glazing section ====================*/
    .order__card {
        width: 393.4px;
        min-height: 518px;
    }

    .order__card>.h2-bold {
        font-size: 26px;
    }

    .order__card>.list-item {
        font-size: 18px;
    }

    /*==================== Calculator section ====================*/
    .calculator__inner {
        width: 1240px;
        border-radius: 16px;
        padding: 60px 80px;
    }

    .calc__content {
        flex-direction: row;
        gap: 84px;
        margin-bottom: 40px;
    }

    .calc-form {
        order: 1;
    }

    .calc__img {
        width: 450px;
        height: auto;
        order: 2;
    }

    .calc__img>img {
        width: 100%;
        height: auto;
    }

    .form__label {
        font-size: 16px;
    }

    .calc-form__item {
        width: 498px;
        height: 54px;
        padding: 19px 29px 20px 26px;
        margin-bottom: 18px;
    }

    .btn-for-calc {
        width: 360px;
        padding: 16px 30px;
    }

    /*==================== Faq section ====================*/

    .accordion {
        width: 100%;
    }

    .accordion-item {
        margin-bottom: 10px;
        padding: 30px 24px;
        gap: 30px;
    }

    .faq__title {
        font-size: 24px;
    }

    .accordion__more-btn {
        right: 24px;
        top: 30px;
    }

    .accordion__more-btn::before {
        width: 24px;
        height: 24px;
    }

    .accordion-item.open>.accordion__more-btn {
        content: url(../img/svg/minus.svg);
        width: 24px;
        height: 24px;
    }

    .faq__subtitle {
        font-size: 18px;
    }

    /*===================== Repair-services section ====================*/

    .repair {
        width: 100%;
    }

    .repair__content {
        gap: 0;
    }

    .repair__list-open {
        display: none;
    }

    .repair__list-close {
        display: none;
    }

    .repair__list>.repair__list-item:nth-child(n+4) {
        display: flex;
    }

    .repair__list>.repair__list-item:nth-child(5) {
        border: none;
    }

    .repair__list {
        margin: 0 auto;
        flex-wrap: wrap;
        height: 320px;
        width: 1120px;
    }

    .repair__btn {
        width: 125px;
        padding: 12px 30px;
        font-size: 20px;
        line-height: 19px;
    }

    /*==================== Reviews section =====================*/
    .review__card,
    .modal-review__card {
        width: 394px;
        height: auto;
        min-height: 302px;
        padding: 40px 44px;
        gap: 16px;
    }

    .modal-review__card {
        padding: 10px 0 0;
        width: 100%;
    }

    .review__paragraph {
        font-size: 18px;
        line-height: 120%;
    }

    .review__date {
        font-size: 16px;
        line-height: 15px;
    }

    .review_more {
        width: 160px;
        font-size: 14px;
        line-height: 13px;
    }

    .reviews__slider .swiper-button-prev,
    .reviews__slider .swiper-button-next {
        top: 110px;
    }

    /*======================== Services section =========================*/
    .services__wrapper {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }

    /*======================== Feedback section =========================*/
    .feedback__content {
        display: flex;
        justify-content: center;
        gap: 68px;
    }

    .feedback_img {
        display: block;
        width: 566px;
        height: 566px;
    }

    .feedback__content>.form-submit {
        margin: 0 0;
    }

    .feedback__form-submit {
        gap: 26px;
        padding: 0 0;
        width: 605px;
    }

    .form-textarea {
        height: 112px;
    }

    /*====================== Footer ==========================*/
    .footer__inner {
        gap: 16px;
    }

    .footer__content {
        gap: 65px;
    }

    .footer__content-links {
        display: block;
    }

    .menu-links__wrapper {
        gap: 22px;
        margin-bottom: 118px;
    }

    .menu-link {
        font-size: 18px;
        line-height: 17px;
        color: var(--white-color);
    }

    .menu-link:hover {
        color: #C2C2C2
    }

    .menu-link:active {
        color: #706AED
    }

    .footer__phone-number {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 13px;
    }

    .footer__mail {
        font-size: 24px;
        line-height: 23px;
    }

    .social-links__wrapper {
        margin-bottom: 16px;
    }

    .footer__logo {
        width: 226px;
    }

    .privacy-policy {
        font-size: 12px;
        line-height: 11px;
        margin-bottom: 16px;
    }

    .copyright {
        font-size: 10px;
        line-height: 13px;
        padding-top: 5px;
    }

    .footer__phone-number:hover,
    .footer__mail:hover,
    .privacy-policy:hover {
        color: var(--acc-text-violet);
    }

    .footer__map {
        width: 852px;
        height: 399px;
        border-radius: 20px;
    }

    /*====================== modals ==========================*/

    .modal-form__item {
        width: 460px;
        padding: 24px 30px;
    }

    .modal>.form-submit,
    .btn__green-modal {
        width: 460px;
    }

    .review__modal>.modal__content {
        width: 520px;
        padding: 20px 20px;
    }
}


@media screen and (min-width: 1440px) {

    .partners-label__wrapper {
        gap: 50px;
    }

}


@media screen and (min-width: 1920px) {

    section,
    footer {
        margin-bottom: 140px;
    }

    .heading {
        gap: 20px;
    }

}