@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Pacifico&family=Playwrite+US+Trad+Guides&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --beige: #e8dccb;
  --light-beige: #f5f0ea;
  --gray: #b5b5b5;
  --dark-gray: #444;
  --orange: #DB772B;
  --black: #212529;
  --white: #fff;
  --h-title: 48px;
  --hw-title: 800;
  --f-title: 32px;
  --fw-title: 750;
  --s-title: 20px;
  --sq-title: 19.8px;
  --sw-title: 400;
  --description: 16px;
  --w-description: 300;
  --p: 13px;
  --all-text: 'Roboto', sans-serif;
}

*, *::after, *::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-size: var(--description);
    font-family: sans-serif;
    border: none;
    border-radius: none;
    outline: none;
    text-decoration: none;
    color: var(--black);
    list-style-type: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
   
.header__other {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
    font-weight: normal;
    padding-bottom: 25px;
}

.header__contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: normal;
    padding-bottom: 25px;
}

.logo {
        display: flex;
        align-items: center;
    img {
        width: 5rem;
        margin-right: .5rem;
        }
    span {
        text-wrap: nowrap;
        font-size: 40px;
        color: var(--beige);
        font-weight: 600;
        }
    }

.navigation {
        display: flex;
        gap: .5rem;
        margin-right: auto;
        li > a {
            font-size: var(--s-title);
            color: var(--white);
        }
}

.navigation__item {
    position: relative;
    padding: 0 .5rem;
    transition: .3s;
}

.navigation__item::after {
    content: '';
    background: var(--light-beige);
    width: 100%;
    height: 130px;
    position: absolute;
    top: -12.5rem;
    left: 0;
    z-index: -1;
    border-radius: .2rem;
    box-shadow: 0px 1px 5px 1px;
    transition: .3s;
}

.navigation__link {
    color: var(--black);
    transition: .4s;
}

.navigation__item:hover {
    cursor: pointer;
    .navigation__link {
        color: var(--black);
    }
    &&::after {
        top: -6rem;
    }
}

.header__button {
    padding: 15px 25px;
    background: #6e6e6e69;
    border: 1px solid var(--white);
    border-radius: 8px;
    color: var(--white);
    transition: .3s;
    font-size: var(--s-title);
    font-weight: var(--sw-title);
}

.header__button:hover {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    cursor: pointer;
}

.container {
    width: 1320px;
    margin: 0 auto;
    padding: 2rem 0;
}

.container__onas {
    width: 1320px;
    margin: 0 auto;
    padding: 2rem 0 0 0;
}

body {
    position: relative;
}

.cover__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 2rem;
}

.cover__background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -5;
    width: 100%;
    height: 544px;
    object-fit: cover;
}

.cover__title {
    font-size: 56px;
    color: var(--white);
    font-weight: var(--hw-title);
}

.cover__description {
    font-size: var(--sw-title);
    color: var(--white);
    font-weight: var(--w-description);
    width: 486px;
    line-height: 30px;
    margin-bottom: 15px;
}

.solution__link {
    display: flex;
    flex-direction: column;
    gap: 2remsolution__link;
}

.cover__button {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    a, button {
        padding: 15px 25px;
        color: var(--white);
        background: none;
        border: 1px solid var(--white);
        border-radius: 8px;
        font-size: var(--s-title);
        font-weight: var(--sw-title);
        transition: .3s;
    }
}

.cover__obratnayas2 {
    background: var(--white);
    color: black;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--black);
    font-size: var(--s-title);
    font-weight: var(--sw-title);
    cursor: pointer;
    transition: .3s;
}

.cover__obratnayas2:hover {
    color: white;
    background: var(--orange);
    border: 1px solid var(--orange);
}

.cover__obratnayas2bgblack {
    background: var(--dark-gray);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--white);
    font-size: var(--s-title);
    font-weight: var(--sw-title);
    cursor: pointer;
    transition: .3s;
}

.cover__obratnayas2bgblack:hover {
    color: white;
    background: var(--orange);
    border: 1px solid var(--orange);
}

.cover__button > button.cover__catalog--btn {
    background: var(--orange);
    border: 1px solid var(--orange);
}

.cover__button > button.cover__catalog--btn:hover {
    cursor: pointer;
    background: none;
    border: 1px solid var(--white);
}

.cover__button > a.cover__contacts--btn:hover {
    background: var(--orange);
    border: 1px solid var(--orange);
}

.cover__button > button.cover__obratnayas--btn:hover {
    background: var(--orange);
    border: 1px solid var(--orange);
    cursor: pointer;
}

.cover__messenger {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    height: 33px;
    a {
        padding: 10px 11px;
        border: 1px solid var(--white);
        border-radius: 8px;
        display: flex;
        gap: 5px;
        transition: .3s;
        img {
            width: 14px;
        }
        span {
            color: var(--white);
            font-size: 14px;
            font-weight: var(--sw-title);
        }
    }
}

a.cover__telegram--btn:hover {
    background: var(--orange);
    border: 1px solid var(--orange);
}

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

.cover__contacts--item {
    display: flex;
    align-items: center;
    gap: 6px;
    img {
        width: 20px;
    }
}

.cover__phone--text {
    span {
        font-size: 14px;
        font-weight: var(--sw-title);
        color: var(--white);
        line-height: 21px;
    }
    p {
        font-size: var(--description);
        font-weight: var(--fw-title);
        color: var(--white);
        line-height: 24px;
    }
}

.background {
    padding: 95px 0;
    margin-top: 47px;
    display: flex;
    align-items: center;
    gap: 21px;
}

.background__content {
    padding: 10px 5px 25px;
    display: flex;
    gap: 25px;
    flex-direction: column;
}

.background__text {
    display: flex;
    flex-direction: column;
    gap: 11px;
    h1 {
        font-size: var(--f-title);
        font-weight: var(--fw-title);
    }
    h2 {
        font-size: var(--s-title);
        font-weight: var(--sw-title);
    }
    p {
        font-size: var(--description);
        font-weight: var(--w-description);    
    }
}

.background__icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.background__item {
    display: flex;
    gap: 13px;
    align-items: center;
}

.background__icon--text {
    span {
        font-size: var(--description);
        font-weight: var(--fw-title);
    }
    p {
        font-size: 14px;
        font-weight: var(--w-description);
    } 
}

.solutions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 43px 0;
}

.solutions__catalog {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 4px 5px .1px #44444468;
    padding: 130px 50px 140px;
    border-radius: 8px;
    h1 {
        font-size: var(--f-title);
        font-weight: var(--fw-title);
        margin-bottom: 21px;
    }
    h2 {
        font-size: var(--s-title);
        font-weight: var(--w-description);
        color: #212529c8;
        margin-bottom: 65px;
    }
}

.solution_button_catalog {
    display: flex;
    align-items: start;
    background: var(--orange);
    border: none;
    border-radius: 8px;
    gap: 8px;
    padding: 22px 25px;
    border: 1px solid var(--white);
    font-size: var(--s-title);
    font-weight: var(--sw-title);
    cursor: pointer;
    transition: .3s;
    p {
        color: var(--white);
    }
}

.solution_button_catalog:hover {
    color: black;
    background: var(--white);
    border: 1px solid var(--black);
    p {
        color: var(--black);
    }
}

.solutions__list {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 44px 18px;
}

.solutions__list2 {
    display: grid;
    grid-template-columns: repeat(4, 2fr);
    gap: 44px 25px;
}

.solutions__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 300px;
    height: 220px;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0px 4px 5px .1px #44444468;
    transition: all 0.35s ease;
    cursor: pointer;
    img {
        margin-bottom: 20px;
    }
    span {
        font-size: var(--s-title);
        margin-bottom: 10px;
    }
    p {
        padding: 5px 20px 25px;
        font-size: 14px;
        line-height: 21px;
        color: #212529c8;
    }
}

.solutions__item:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.solutions__item__catalog {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 310px;
    height: 220px;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0px 4px 5px .1px #44444468;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    img {
        margin-bottom: 20px;
    }
    span {
        font-size: var(--s-title);
        margin-bottom: 10px;
    }
    p {
        padding: 5px 20px 25px;
        font-size: 14px;
        line-height: 21px;
        color: #212529c8;
    }
}

.solutions__item__catalog:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.background__item--catalog {
    width: 318px;
}

.solutions__pic {
    width: 250px; 
}

.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 0;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    h1 {
        font-size: var(--f-title);
        font-weight: var(--fw-title);
    }
    h2 {
        font-size: var(--sq-title);
        font-weight: var(--w-description);
    }
}

.about__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about__item {
    box-shadow: 0px 4px 5px .1px #44444468;
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    position: relative;
    transition: .3s;
    cursor: pointer;
    p {
        font-size: var(--description);
        transition: .3s;
    }
}

.about__item--icon {
    margin-right: 8px;
}

.about__item--arrow {
    margin-left: auto;
    transition: .3s;
    transform: rotate(180deg);
}

.about__item--dialog.dialog__noactive {
    top: 0;
    position: absolute;
    z-index: -10;
    left: -10000px;
    display: block;
}

.about__item--dialog.dialog__active {
    display: block;
    position: absolute;
    margin-bottom: 20px;
    z-index: -2;
    background: var(--white);
    border-bottom: 1px solid #44444468;
    left: 0;
    border-radius: 0px 0px 8px 8px;
    bottom: -6.5rem;
    padding: 18px 20px;
    transition: .3s;
}

.about2 {
    padding-top: 50px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.about__wrapper2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1480px;
}

.about__image2 {
    order: 1;
    width: 100px;
    object-fit: cover;
}

.about__text2 {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about__text2 h1 {
    font-size: var(--f-title);
    font-weight: var(--fw-title);
    margin-bottom: 16px;
}

.about__text2 h2 {
    font-weight: var(--w-description);
    color: #555;
    margin-bottom: 10px;
}

.about__list2 {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 30px; 
}

.about__item2 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about__item--icon2 {
    width: 30px;
    height: 30px;
}

.reviews {
    padding: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 125px;
    h1 {
        font-size: var(--h-title);
        font-weight: var(--hw-title);
        margin-bottom: 21px;
    }
    h2 {
        color: rgba(33, 37, 41, 0.75);
        font-size: var(--s-title);
        font-weight: 300;
        margin-bottom: 40px;
    }
}

.reviews__list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.reviews__item {
    flex: 1;
    padding: 24px 16px 16px 16px;
    border-radius: 8px;
    box-shadow: 0px 4px 5px .1px #44444468;
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 420px;
    height: 300px;
    justify-content: space-between;
}

.reviews__head {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    span {
        font-size: 20px;
    }
}

.reviews__item--description {
    padding: 0 5px 60px;
}

.footer {
    background-color: #444;
    width: 100%;
    padding: 60px 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contacts--title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.footer__contacts--second {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

.footer__contacts--list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.contacts__item {
    display: flex;
    gap: 8px;
}

.contacts__item--text {
    span {
        color: var(--white);
        font-size: 16px;
        font-weight: 300;
    }
    p {
        color: rgba(255, 255, 255, 0.5);
        font-size: 14px;
        font-weight: 300;
    }
}

.footer__content {
    align-items: center;
}

.footer__navigation--list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    li, a {
        color: var(--white);
        font-size: 16px;
    }
}

.footer__logo > img {
    width: 100px;
}

.main__catalog {
    margin-bottom: 20rem !important;
}

.window {
    background: #21252973;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
}

.modalWindow {
    background: var(--white);
    border: 1px solid var(--orange);
    position: relative;
    border-radius: 8px;
    width: 1200px;
    height: 80%;
    padding: 2rem 1rem;
}

.modal__close {
    background: #ffffff8a;
    position: absolute;
    top: -3rem;
    right: -3rem;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--orange);
    padding: .5rem;
    align-items: center;
    justify-content: center;
    div {
        background: #212529;
        width: 1px;
        height: 25px;
        transition: .3s;
    }
}

.modal__close:hover {
    cursor: pointer;
    .modal__close-f {
        rotate: 45deg;
    }
    .modal__close-s {
        rotate: -45deg;
    }
}

.modalWindow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form__title {
    margin-bottom: 15px;
    font-size: 48px;
    text-align: center;
}

.form__second {
    text-align: center;
    font-size: var(--s-title);
    font-weight: var(--w-description);
    color: #212529c8;
    margin-bottom: 35px;
}

.order__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;

    input {
        padding: 1rem;
        width: 50rem;
        border: 1px solid var(--dark-gray);
        border-radius: .3rem;
        background: none;
        transition: .3s;
    }

    .order__name {
        position: relative;
        border-radius: 8px;
        border-color: white;
        box-shadow: 0px 4px 5px .1px #44444468;

    }

    .order__name--label {
        position: absolute;
        left: -50rem;
        top: -20px;
        transition: .3s;
    }

    .order__name::placeholder {
        transition: .3s;
    } 

    .order__name:focus::placeholder {
        opacity: 0;
        transition: .3s;
    }

    .order__name:focus + .order__name--label {
        left: 10px;
    }

    .select {
        padding: 1rem;
        width: 50rem;
        border: 1px solid var(--dark-gray);
        border-radius: .3rem;
        background: none;
    }

    .order__push {
        padding: 15px;
        width: 300px;
        border-radius: 8px;
        background: var(--orange);
        color: var(--white);
        transition: .3s;
    }

    .order__push:hover {
        background: var(--white);
        color: var(--black);
        border: 1px solid var(--black);
        cursor: pointer;
    }

    .order__number {
        position: relative;
        border-radius: 8px;
        border-color: white;
        box-shadow: 0px 4px 5px .1px #44444468;
    }

    .order__number--label {
        position: absolute;
        top: 4.1rem;
        left: -50rem;
        transition: .3s;
    }

    .order__number:focus + .order__number--label {
        left: 10px;
    }

    .order__date--label {
        position: absolute;
        top: 9.3rem;
        left: -50rem;
        transition: .3s;
    }

    .order__date:focus + .order__date--label {
        left: 10px;
    }

    .order__date {
        border-radius: 8px;
        border-color: white;
        box-shadow: 0px 4px 5px .1px #44444468;
    }

    .order__comment {
        width: 100%;
        height: 15rem;
        padding: 1rem;
        border: 1px solid var(--dark-gray);
        border-radius: .3rem;
        background: none;
        transition: .3s;
        border-radius: 8px;
        border-color: white;
        box-shadow: 0px 4px 5px .1px #44444468;
    }

    .order__comment--label {
        position: absolute;
        top: 14.6rem;
        left: -50rem;
        transition: .3s;
    }

    .order__comment:focus + .order__comment--label {
        left: 10px;
    }
}

.contacts__body {
    background: var(--dark-gray);
}

.main__contact--content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2rem;
}

.main__catalog--title {
    margin: 2rem;
    font-size: 48px;
}

.main__catalog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.cnt {
    background-color: #444444;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;

    .cnt__left {
        display: flex;
        flex-direction: column;
        gap: 35px;
        width: 5;

        .cnt__item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.5);
            padding-bottom: 20px;
        }

        .cnt__title {
            color: var(--white);
            font-size: var(--s-title);
            font-weight: 400;
            margin-bottom: 10px;
        }

        .cnt__text {
            color: rgba(255, 255, 255, 0.5);
            font-size: var(--description);
            text-decoration: none;
            display: inline-block;
        }

        .cnt__legal {
            margin-top: 15px;

            .cnt__legal__p {
                color: rgba(255, 255, 255, 0.5); /* Более тусклый текст */
                font-size: 15px;
                margin-bottom: 6px;
            }
        }
    }

    .cnt__right {
        width: 360px;

        .cnt__card {
            background-color: var(--white);
            border-radius: 14px;
            text-align: center;
            overflow: hidden;
            box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: column;
            align-items: center;

            .cnt__card-badge {
                background-color: #fdf3eb;
                color: #d66c1e;
                width: 180px;
                height: 45px;
                line-height: 45px;
                font-size: 24px;
                font-family: serif;
                font-weight: bold;
                border-radius: 8px;
                margin-bottom: 20px;
            }

            .cnt__card-title {
                color: var(--black);
                font-size: var(--s-title);
                font-weight: 500;
                margin-bottom: 12px;
            }

            .cnt__card-desc {
                color: #555555;
                font-size: 14px;
                line-height: 1.5;
                padding: 0 25px;
                margin-bottom: 30px;
            }

            .cnt__card-img {
                width: 100%;
                height: 300px;
                object-fit: cover;
                display: block;
            }
        }
    }
}

.main__catalog--list {
    align-items: center;
    justify-content: center;
}

.solutions__item--catalog {
    && > span, && > p {
        color: var(--white);
    }
}

.konf_h1 {
    color: white;
    padding-top: 50px;
}

.konf_h2 {
    color: var(--gray);
    padding-top: 10px;
}

.modal-goods {
    overflow-y: auto;
    max-height: 600px;
    padding-right: 10px;
}

.modal-back {
    color: #f47c22;
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
    display: inline-block;
}

.modal-back:hover {
    text-decoration: underline;
}

.goods-category {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 25px;
}

.goods__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.goods__item {
    display: flex;
    flex-direction: column;
    width: 220px;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: 0.3s;
    cursor: pointer;
    overflow: hidden;
}

.goods__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.goods__item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.goods__item .title {
    font-weight: 500;
    font-size: 15px;
    margin: 12px 12px 4px 12px;
    color: #212529;
}

.goods__item .goods-desc {
    font-size: 12px;
    color: #666;
    margin: 0 12px 2px 12px;
    line-height: 1.2;
}

.goods__item .price {
    font-weight: 500;
    color: #f47c22;
    margin: 8px 12px 12px 12px;
    font-size: 13px;
}

.goods-divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 50px 0 15px;
}

@media (max-width: 1360px) {
    .container,
    .container__onas {
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .footer__content {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .about__wrapper2 {
        max-width: 100%;
    }

    .solutions__item {
        width: 260px;
    }

    .reviews__item {
        width: 340px;
    }
}

@media (max-width: 1024px) {
    :root {
        --h-title: 38px;
        --f-title: 26px;
        --s-title: 17px;
    }

    .container,
    .container__onas {
        width: 100%;
        padding: 1.5rem 1.25rem;
    }

    .header,
    .header__other,
    .header__contacts {
        flex-wrap: wrap;
        gap: 12px;
        padding-bottom: 16px;
    }

    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
        margin-right: 0;
        width: 100%;
        order: 3;
    }

    .navigation__item::after {
        display: none;
    }

    .cover__title {
        font-size: 44px;
    }

    .cover__description {
        width: 100%;
        max-width: 480px;
    }

    .cover__background {
        height: 100%;
        min-height: 480px;
    }

    .background {
        flex-direction: column;
        padding: 60px 0;
        gap: 32px;
    }

    .background__image {
        max-width: 100%;
        width: 100%;
    }

    .background__icon {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        padding: 32px 0;
    }

    .solutions__catalog {
        padding: 60px 40px;
    }

    .solutions__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .solutions__item {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .solutions__list2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions__item__catalog {
        width: 100%;
        height: auto;
    }

    .about {
        flex-direction: column;
        padding: 60px 0;
        gap: 40px;
    }

    .about__image {
        max-width: 100%;
        width: 100%;
    }

    .about2 {
        padding-top: 40px;
    }

    .about__wrapper2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image2 img {
        width: 100% !important;
        height: auto;
    }

    .background__item--catalog {
        width: 100%;
    }

    .reviews {
        padding: 60px 20px;
    }

    .reviews__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .reviews__item {
        width: 46%;
        min-width: 280px;
        height: auto;
    }

    .cnt {
        flex-direction: column;
        gap: 40px;
        padding: 40px 24px;
    }

    .cnt .cnt__right {
        width: 100%;
    }

    .cnt .cnt__right iframe {
        width: 100%;
    }

    .footer__content {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }

    .modalWindow {
        width: 92%;
        height: 88%;
    }

    .order__form input,
    .order__form .select,
    .order__form .order__comment {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --h-title: 30px;
        --f-title: 22px;
        --s-title: 16px;
        --description: 14px;
    }

    .container,
    .container__onas {
        padding: 1rem;
    }

    .header,
    .header__other,
    .header__contacts {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 0;
    }

    .navigation {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 4px;
    }

    .navigation__item {
        padding: 6px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .cover__obratnayas2,
    .cover__obratnayas2bgblack,
    .header__button {
        padding: 10px 14px;
        font-size: 14px;
    }

    .cover__title {
        font-size: 34px;
    }

    .cover__description {
        width: 100%;
        font-size: 15px;
        line-height: 24px;
    }

    .cover__button {
        flex-wrap: wrap;
        gap: 10px;
    }

    .cover__button a,
    .cover__button button {
        padding: 12px 18px;
        font-size: 14px;
    }

    .cover__contacts {
        flex-direction: column;
        gap: 12px;
    }

    .background {
        padding: 40px 0;
        gap: 24px;
    }

    .background__content {
        padding: 0;
    }

    .background__icon {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .solutions {
        flex-direction: column;
        gap: 24px;
        padding: 24px 0;
    }

    .solutions__catalog {
        padding: 40px 20px;
    }

    .solutions__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .solutions__item {
        width: 100%;
        height: auto;
        min-height: 180px;
        padding: 16px;
    }

    .solutions__pic {
        width: 120px;
    }

    .solutions__list2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .solutions__item__catalog {
        width: 100%;
        height: auto;
        padding: 16px;
    }

    .about {
        flex-direction: column;
        padding: 40px 0;
        gap: 32px;
    }

    .about__item--dialog.dialog__active {
        bottom: -9rem;
    }

    .about2 {
        padding-top: 24px;
    }

    .about__wrapper2 {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about__image2 {
        display: none;
    }

    .about__text2 h1 {
        font-size: 24px;
    }

    .about__list2 {
        gap: 16px;
        padding-bottom: 20px;
    }

    .reviews {
        padding: 40px 16px 60px;
    }

    .reviews__list {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .reviews__item {
        width: 100%;
        max-width: 480px;
        height: auto;
    }

    .reviews__item--description {
        padding: 0 0 24px;
    }

    .cnt {
        flex-direction: column;
        gap: 32px;
        padding: 32px 16px;
        max-width: 100%;
    }

    .cnt .cnt__right {
        width: 100%;
    }

    .cnt .cnt__right iframe {
        width: 100%;
        height: 300px;
    }

    .footer {
        padding: 32px 0;
    }

    .footer__content {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        padding: 0 16px;
    }

    .footer__contacts--title {
        font-size: 18px;
    }

    .modalWindow {
        width: 96%;
        height: 90%;
        padding: 1rem;
    }

    .modal__close {
        top: -2.5rem;
        right: -0.5rem;
    }

    .form__title {
        font-size: 28px;
    }

    .form__second {
        font-size: 14px;
    }

    .order__form input,
    .order__form textarea {
        width: 100% !important;
        max-width: 100% !important;
    }

    .goods__item {
        width: calc(50% - 5px);
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    :root {
        --h-title: 26px;
        --f-title: 20px;
        --s-title: 15px;
    }

    .cover__title {
        font-size: 28px;
    }

    .cover__button {
        flex-direction: column;
        align-items: stretch;
    }

    .cover__button a,
    .cover__button button {
        text-align: center;
        padding: 12px;
    }

    .solutions__list,
    .solutions__list2 {
        grid-template-columns: 1fr;
    }

    .background__icon {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reviews__item {
        max-width: 100%;
    }

    .goods__item {
        width: 100%;
    }

    .cnt .cnt__right iframe {
        height: 240px;
    }

    .footer__content {
        padding: 0 12px;
    }

    .modalWindow {
        width: 100%;
        height: 95%;
        border-radius: 10px 10px 0 0;
        align-self: flex-end;
    }

    .window {
        align-items: flex-end;
    }
}