html {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    /* Изображение будет адаптироваться под экран, убирает полосу прокрутки на разных размерах экрана */
}

* {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    padding: 0px;
    margin: 0px;
}

:root {
    --font-body: "Inter", sans-serif;
}

body {
    font-family: var(--font-body);
}

a {
    text-decoration: none
}

ul {
    padding: 0px;
    list-style: none;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --color-olive-button: #3a4d27;
    --color-gray: #bab7ba;
    --color-khaki: #b6ac99;
    --color-dusty_green: #9ba495;
    --color-white: #f8f6f5;
    --color-snow: #FFFFFF;
}

.container {
    width: 100%;
    max-width: 1360px;
    margin-inline: auto;
    padding-inline: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 500;
    line-height: 1;

    min-height: 52px;
    padding: 0 20px;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease;
    border-radius: 5px;

}

.section__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #22251d;
}

.header_mobail {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Стили для бургера */
.header_title_burger {
    display: none;
}

.burger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    /* При наведениее рука появялется */
    padding: 0px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.burger__line {
    /* Разделяем меню на бургеры */
    display: block;
    width: 32px;
    height: 3px;
    margin-bottom: 4px;
    background-color: var(--color-olive-button);
}

.burger__line:last-child {
    /* Убираем нижний отступ, который прижимает элименты внутри бока к верху */
    margin-bottom: 0;
}

/* Стили для текста в выпадающем окне */

.header__title_mobail {
    color: var(--color-snow);
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.header__text_mobail {
    color: var(--color-snow);
    margin-top: 10px;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Header */
.header {
    padding: 18px 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0px auto;

}

.header__logo {}

.company_container {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    color: inherit;
    text-decoration: none;

}

.logo_image_container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 82px;
    flex-shrink: 0;
}

.header__brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #22251D;
}

.header__text {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #655;
    margin-left: 3px;
}

.catalog_btn_container {}

.catalog_btn {
    min-width: 132px;
    color: #22251D;
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid var(--color-dusty_green);
}

.catalog-btn:hover {
    background: #F6F5F2;
    border-color: #C9C4BA;
}

.catalog-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.75;
    color: currentColor;
}

.catalog_btn_container .advantage-icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
    color: currentColor;
}

.catalog_btn span {
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #22251D;
}

.nav_logo {}

.header__nav {}

.header__menu {
    display: flex;
    gap: 25px;
}

.header__nav-link {
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #22251D;
}

.header__actions {}

.header__btn {}

.header__btn_primary {}

.contact-modal-open {}

.header_title_burger {}

.burger {}

.sidenav-trigger {}

.burger__line {}

.header_contacts {
    margin-left: 30px;
}

.no-underline {}

.link_color {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #22251D;
}

.work_procedure {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #777;
}

.button_price_list {
    color: #FFFFFF;
    background: var(--color-olive-button);
    border: 1px solid var(--color-dusty_green);
}

.button_price_list:hover {
    background: #455A2F;
    border-color: #455A2F;
}

.button_price_list:active {
    transform: translateY(1px);
}

/* hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    padding: 70px 0 60px;

    color: #fff;

    background:
        linear-gradient(90deg,
            rgba(18, 20, 16, 0.96) 0%,
            rgba(18, 20, 16, 0.82) 30%,
            rgba(18, 20, 16, 0.35) 55%,
            rgba(18, 20, 16, 0.05) 75%,
            transparent 100%),
        url("../image/кашпо-hero_1.webp") center right / cover no-repeat;
}

.hero__content {
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box_content_hero {}

.hero__overline {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 20px;
}

.hero__overline span {
    color: var(--color-dusty_green)
}

.hero__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 53px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-snow);
    margin-bottom: 30px;
}

.hero__title span {
    color: var(--color-dusty_green);
}

.background_hero {}

.hero__features {
    display: flex;
    gap: 5px;
    margin-bottom: 50px;
}

.hero__feature {
    display: flex;
    gap: 10px;
    max-width: 220px;
}

.hero_text {
    max-width: 200px;
}

.hero_text h2 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, .95);
}

.hero_text p {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, .65);
}

.hero__actions {}

.hero_subtitle {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-snow);
}

.hero__btn {
    background: var(--color-olive-button);
    border: 1px solid var(--color-dusty_green);
    color: var(--color-snow);
    margin-top: 20px;
}

.hero__btn_primary {}


.hero_icone {
    width: 54px;
    height: 54px;
    stroke-width: 1.5;
    color: var(--color-gray);
    flex-shrink: 0;
}

.hero__actions_container {
    display: flex;
    align-items: end;
    gap: 15px;
}

/* Дуги в макете */
.hero__response {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    color: rgba(255, 255, 255, 0.42);
}

.hero__response-decoration {
    display: block;
    flex-shrink: 0;
}

.hero__response-decoration--left {
    width: 30px;
    height: 24px;

    align-self: flex-end;
    margin-bottom: 1px;
}

.hero__response-decoration--right {
    width: 26px;
    height: 44px;

    margin-left: -2px;
}

.hero__response-text {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0;

    font-family: "Inter", sans-serif;
    line-height: 1.15;
    text-align: center;

    color: rgba(255, 255, 255, 0.55);
}

.hero__response-text span {
    font-size: 11px;
    font-weight: 400;
}

.hero__response-text strong {
    font-size: 12px;
    font-weight: 600;

    color: rgba(255, 255, 255, 0.7);
}

/* benefits */
.benefits {
    padding: 50px 0 50px;
    background: var(--color-white);
}

.benefits_contanier {}

.benefits_cards {
    display: flex;
    gap: 15px;
}

.cards__item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icone_benefits {}

.text_benefits {}

.benefits_card__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1F1F1F;
}

.benefits_card__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    color: #3D3D3D;
}

.benefits_icone {
    width: 60px;
    height: 60px;
    stroke-width: 1.5;
    color: var(--color-khaki);
    flex-shrink: 0;
}

/* categories */
.categories {
    padding: 50px 0 50px;
    background-color: #ffffff;
}

.categories__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.categories__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 20px;
    color: #2f332a;
    background-color: #ffffff;
    border: 1px solid var(--color-dusty_green);
}

.categories__all:hover {
    color: #ffffff;
    background-color: var(--color-olive-button);
    border-color: var(--color-dusty_green);
}

.categories__all:focus-visible {
    outline: 2px solid var(--color-dusty_green);
    outline-offset: 3px;
}

.categories_icone {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke-width: 1.8;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-width: 0;
    aspect-ratio: 1.35 / 1;
    color: #ffffff;
    background-color: #e8e5df;
    border-radius: 8px;
    isolation: isolate;
}

.category-card__image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.category-card__overlay {
    position: absolute;
    z-index: 1;
    inset: 0;

    display: block;

    background:
        linear-gradient(180deg,
            rgba(15, 16, 13, 0.02) 25%,
            rgba(15, 16, 13, 0.15) 55%,
            rgba(15, 16, 13, 0.78) 100%);
    transition: background 0.3s ease;
}

.category-card__content {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.category-card__title {
    display: block;
    margin-bottom: 5px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-snow);
}

.category-card__count {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-gray);
}

.category-card:hover .category-card__image {
    transform: scale(1.045);
}

.category-card:hover .category-card__overlay {
    background:
        linear-gradient(180deg,
            rgba(15, 16, 13, 0.06) 20%,
            rgba(15, 16, 13, 0.22) 55%,
            rgba(15, 16, 13, 0.84) 100%);
}

.category-card:focus-visible {
    outline: 2px solid #3e4e2f;
    outline-offset: 4px;
}

/* Перенести стили в мобильную версию */


@media (prefers-reduced-motion: reduce) {

    .categories__all,
    .category-card__image,
    .category-card__overlay {
        transition: none;
    }
}

/* advantages */
.advantages {
    padding: 60px 0 70px;
    background: var(--color-white);
}

.advantages_container {}

.advantages_container .section__title {
    text-align: center;
}

.advantages_items {
    display: flex;
    margin-top: 50px;
}

.advantages_card {
    text-align: center;
}

.advantages_card_title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: #262626;
}

.advantages_card_text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--color-dusty_green);
}

.advantage_icon {
    width: 46px;
    height: 46px;
    stroke-width: 1.5;
    color: var(--color-olive-button);
    margin-bottom: 18px;
}

/* about */

.about {
    padding: 60px 0px 60px;
}

.about__image-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
}

.about__image {
    aspect-ratio: 1.48 / 1;
    border-radius: 8px;
    overflow: hidden;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.about__content {}

.about_text_container {
    max-width: 500px;
}

.about__overline {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.about__text {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    color: #555555;
    margin-top: 20px;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.about__stat {
    display: flex;
    gap: 10px;
    align-items: center;
}

.about_icone {
    width: 32px;
    height: 32px;
    color: var(--color-khaki);
    stroke-width: 1.45;
}

.about_inner_box {}

.about__stat-number {
    font-size: 10px;
    font-weight: 600;
}

.about__all {
    min-width: 300px;
}

.categories_icone {}

/* projects */
.projects {
    padding: 55px 0 30px;
    background-color: #1d291f;
    color: #ffffff;
}

.projects__title {
    color: var(--color-snow);
    margin-bottom: 30px;
}

.projectsSwiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 42px;
}

.projectsSwiper .swiper-wrapper {
    align-items: stretch;
}

.projectsSwiper .swiper-slide {
    height: auto;
}

.project-card {
    width: 100%;
}

.project-card:hover .project-card__image img {
    transform: scale(1.035);
}

.project-card__title {
    margin: 9px 0 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-snow);
}

.projects .swiper-pagination {
    bottom: 5px;
}

.projects .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 4px !important;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.75);
    opacity: 1;
}

.projects .swiper-pagination-bullet-active {
    background-color: #ffffff;
    border-color: #ffffff;
}

.project-card__image {
    width: 100%;
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
    border-radius: 6px;
}

.project-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* clients */

/* ========================================
   CLIENTS / REVIEWS SECTION
======================================== */

.clients-section {
    padding: 70px 0;
}

.clients-section__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
}

.clients-section__title {
    margin-bottom: 50px;
}

.clients-types {
    min-width: 0;
    padding-right: 40px;
}

.clients-types__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 58px;
}

/* отдельный тип клиента */
.client-type {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* круглая область с иконкой */
.client-type__icon {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 17px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-olive-button);
}

.clients_icone {
    width: 39px;
    height: 39px;
    stroke-width: 1.4;
}

.client-type__title {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    color: #1d1f1a;
}

.clients-types__link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 6px;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    color: var(--color-olive-button);
    text-decoration: none;
    border-bottom: 1px solid var(--color-dusty_green);
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.clients_links {
    width: 19px;
    height: 19px;
    stroke-width: 1.7;
    transition: transform 0.25s ease;
}

.clients_links:hover {
    color: var(--color-olive-button);
    border-color: var(--color-olive-button);
}

.clients_links:hover svg {
    transform: translateX(4px);
}

.reviews {
    min-width: 0;
    padding-left: 40px;
    border-left: 1px solid #e7e7e2;
}


/* ========================================
   КАРТОЧКА ОТЗЫВА
======================================== */

.reviews__card {
    min-height: 315px;
    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border-radius: 14px;
}

/* декоративная кавычка */

.reviews__quote {
    height: 42px;
    margin-bottom: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 58px;
    line-height: 1;
    font-weight: 700;
    color: var(--color-olive-button);
}


/* текст отзыва */

.reviews__text {
    max-width: 430px;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    color: #44463f;
}

.reviews__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
}


/* информация об авторе */

.reviews__author {
    min-width: 0;
}

.reviews__name {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;

    color: #171914;
}

.reviews__position {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--color-dusty_green);
}

.reviews__navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.reviews__button {
    width: 46px;
    height: 46px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-olive-button);
    background-color: transparent;
    border: 1px solid #ccd2c5;
    border-radius: 7px;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.reviews__button svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.6;
}

.reviews__button:hover {
    color: #ffffff;
    background-color: var(--color-olive-button);
    border-color: var(--color-olive-button);
}

/* Стили для кнопок */
.reviews {
    position: relative;
    min-width: 0;
    padding-left: 40px;
    border-left: 1px solid #e7e7e2;
}

.reviews__swiper {
    width: 100%;
    overflow: hidden;
}

.reviews__swiper .swiper-wrapper {
    align-items: stretch;
}

.reviews__swiper .swiper-slide {
    height: auto;
}

.reviews__navigation {
    position: absolute;
    right: 34px;
    bottom: 32px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}



/* ========================================
   <= 992px
======================================== */



/* ========================================
   <= 768px
======================================== */

@media (max-width: 768px) {

    .clients-section {
        padding: 50px 0;
    }

    .clients-section__title {
        margin-bottom: 32px;

        font-size: 30px;
    }

    .clients-types__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 20px;

        margin-bottom: 45px;
    }

    .client-type__icon {
        width: 76px;
        height: 76px;

        margin-bottom: 13px;
    }

    .client-type__icon svg {
        width: 34px;
        height: 34px;
    }

    .reviews {
        padding-top: 42px;
    }

    .reviews__card {
        min-height: 320px;

        padding: 28px;
    }

    .reviews__text {
        font-size: 15px;
    }
}

/* cooperation */
.cooperation {
    position: relative;
    width: 100%;
    min-height: 260px;
    padding: 45px 0;
    background:
        linear-gradient(rgba(13, 24, 17, 0.70),
            rgba(13, 24, 17, 0.70)),
        url("../image/секция.webp");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cooperation_grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 25px;
}

.cooperation_container {}

.cooperation_title {
    color: var(--color-snow);
    font-size: 33px;
    margin-bottom: 15px;
}

.cooperation_text {
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    max-width: 410px;
    margin-bottom: 25px;
}

.btn {}

.button_price_list {}

.cooperation_icones {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-self: anchor-center;
}

.cooperation_icone {
    width: 40px;
    height: 40px;
    color: #e4e2d9;
    stroke-width: 1.25;
}

.cooperation_box {
    display: flex;
    gap: 10px;
}

.cooperation_text_box {}

.cooperation_h3 {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--color-snow);
}

.cooperation_p {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--color-gray);
}

/* footer */
.footer {
    background-color: #20251f;
    padding: 50px 0px 60px;
    color: white;
}

.footer__inner_grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 2fr;
    gap: 15px;
}

.footer_company_container {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.text_brand {
    font-size: 12px;
    margin-left: 20px;
    color: var(--color-gray);
}

.grid_footer_icone {}

.footer_grid_item {}

.company_container {}

.logo_image_container {}

.header__brand {}

.footer__title {
    color: #fbfef9;
}

.footer__text {
    color: #fbfef9;
    margin-top: 5px;
}


.footer_subtitle {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--color-snow);
}

.grid_footer_cataloge {}

.links_footer {
    font-size: 12px;
    line-height: 1.65;
    font-weight: 400;
    color: var(--color-gray);
}

.footer_nav {}

.footer__menu {}

.footer__nav-link {}

.grid_footer_contacts {}

.grid_footer_contacts li {
    font-size: 12px;
    line-height: 1.65;
    font-weight: 400;
    color: var(--color-gray);
}

.contacts_links_footer {}

.grid_footer_policy {}

/* Стили для выпадающего окна из бибилотеки materialize */
/* ==============================
   MATERIALIZE SIDENAV — ОСНОВА
================================ */

.sidenav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    width: 320px;
    height: 100%;
    margin: 0;
    padding: 30px 0;
    overflow-y: auto;
    /* Размытие содержимого позади */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    /* Небольшая граница */
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(-105%);
    transition: transform .3s ease;
    will-change: transform;
}

/* Класс добавляется JavaScript-библиотекой */
.sidenav.open {
    transform: translateX(0);
}

/* Затемнение страницы */
.sidenav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 0;
    cursor: pointer;
}

/* Вспомогательная область для свайпа */
.drag-target {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 997;
    width: 10px;
    height: 100%;
}

/* Конец стилей Materialize */

/* Стили для выпадающего меню */
.mobile-menu {
    width: 310px;
    padding: 30px 20px;
    list-style: none;
}

.mobile-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu__link {
    min-height: 58px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.mobile-menu__link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.07);
}

/* Стили для кнопки закрыть в выпадающем окне */
.mobile-menu__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 20px;
}

.mobile-menu__close {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: .25s;
}

.mobile-menu__close:hover {
    background: rgba(255, 255, 255, .12);
    transform: rotate(90deg);
}

/* Адаптивные стили */


/* header */
@media (max-width: 1500px) {
    .header__menu {
        display: none;
    }

    .button_header {
        display: none;
    }

    .header_title_burger {
        display: block;
    }

    .header_mobail {
        gap: 50px;
    }
}

@media (max-width: 1240px) {
    .hero__content {
        padding: 15px;
    }

    /* Переносим в обоих секциях пятую карточку на середину */
    .advantages_items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 50px;
    }

    .advantages_card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .benefits_cards {
        display: grid;
        gap: 15px;
        grid-template-columns: 1fr 1fr;
        justify-content: space-around;
    }

    .cards__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .cards__item:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    /* Делаем позиционеирование абстолюьным, чтобы текст ложился на картинку */
    .about__image-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__content {
        position: absolute;
        top: 25%;
        left: 5%;
        z-index: 2;
    }

    .about__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Делаем затемнение */
    .about__image-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        min-height: 780px;
    }

    .about__image-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 1;
    }

    /* Работаем с текстом */
    .about_icone {
        width: 52px;
        height: 52px;
    }

    .about__overline {
        color: var(--color-snow);
    }

    .about_title {
        color: var(--color-snow);
    }

    .about__text {
        color: var(--color-snow);
    }

    .about__stat-number {
        font-size: 14px;
        color: var(--color-snow);
    }

    /* Делаем иконки в два ряда */
    .about__stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-bottom: 20px;
    }

    /* Переносим изображения вниз */
    .cooperation_grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 35px;
        justify-self: center;
    }

    /* footer */

    .footer__inner_grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .footer_grid_item:first-child {
        grid-row: 2;
        grid-column: 1 / 3;
        margin-top: 20px;
    }
}

/* Секция с отзывами */
@media (max-width: 1200px) {
    .projects__title {
        font-size: 32px;
    }

    .categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        aspect-ratio: 1.55 / 1;
    }

    .clients-section__grid {
        grid-template-columns: 1.25fr 1fr;
    }

    .clients-types {
        padding-right: 30px;
    }

    .reviews {
        padding-left: 30px;
    }

    .clients-types__list {
        gap: 10px;
    }

    .client-type__icon {
        width: 76px;
        height: 76px;
    }

    .client-type__icon svg {
        width: 35px;
        height: 35px;
    }

    .client-type__title {
        font-size: 13px;
    }

    .reviews__card {
        padding: 28px 30px;
    }
}

/* Секция с отзывами */
@media (max-width: 992px) {

    .clients-section {
        padding: 60px 0;
    }

    .clients-section__grid {
        grid-template-columns: 1fr;
    }

    .clients-types {
        padding-right: 0;
        padding-bottom: 50px;
    }

    .reviews {
        padding-left: 0;
        padding-top: 50px;

        border-left: 0;
        border-top: 1px solid #e7e7e2;
    }

    .clients-types__list {
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
    }

    .client-type__icon {
        width: 82px;
        height: 82px;
    }

    .client-type__icon svg {
        width: 38px;
        height: 38px;
    }

    .client-type__title {
        font-size: 14px;
    }

    .reviews__card {
        min-height: 300px;
    }
}

@media (max-width: 900px) {
    .footer_grid_item:last-child {
        grid-row: 2;
        grid-column: 3 / 5;
        margin-top: 20px;
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .projects {
        padding: 45px 0 25px;
    }

    .projects__title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .project-card__title {
        font-size: 13px;
    }

    .categories {
        padding: 65px 0 70px;
    }

    .categories__header {
        align-items: flex-end;
        margin-bottom: 24px;
    }

    .categories__title {
        font-size: 38px;
    }

    .categories__all {
        min-height: 42px;
        padding: 0 17px;
    }

    .categories__grid {
        gap: 16px;
    }

    .category-card__content {
        right: 17px;
        bottom: 15px;
        left: 17px;
    }

    .category-card__title {
        font-size: 16px;
    }

    .header_contacts {
        display: none;
    }

    .catalog_btn {
        display: none;
    }

    .hero__title {
        font-size: 31px;
    }

    .hero__actions_container {
        margin-top: 25px;
    }

    .hero__features {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .benefits_cards {
        display: grid;
        gap: 25px;
        grid-template-columns: 1fr 1fr;
    }

    .section__title {
        font-size: 31px;
    }

    .advantages_items {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Секция о компании */
    .about_text_container {
        max-width: 250px;
    }

    .about__content {
        position: absolute;
        top: 6%;
        left: 4%;
        z-index: 2;
    }

    .about_title {
        font-size: 31px;
    }

    .about__stat-number {
        font-size: 12px;
    }

    .about__text {
        font-size: 14px;

    }

    .about__stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about_icone {
        width: 32px;
        height: 32px;
    }

    .about__all {
        min-width: 200px;
    }

    /* Поставщики */
    .clients-types__list {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .client-type:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .cooperation_icones {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: baseline;
    }

    /* footer */
    .footer_grid_item:nth-child(1) {
        display: none;
    }

    .footer_grid_item:nth-child(2) {
        display: none;
    }

    .footer_grid_item:nth-child(4) {
        display: none;
    }

    .footer__inner_grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: start;
    }

    /* 3 секция — Компания */
    .footer_grid_item:nth-child(3) {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        justify-self: start;
        margin-top: 0;
    }

    /* 5 секция — Правовая информация */
    .footer_grid_item:nth-child(5) {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        justify-self: start;
        margin-top: 0;
    }

}

@media (max-width: 576px) {
    .categories {
        padding: 50px 0 55px;
    }

    .categories__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .categories__title {
        font-size: 34px;
    }

    .categories__grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        aspect-ratio: 1.45 / 1;
    }

    .categories__all {
        width: 100%;
    }

    .clients-section {
        padding: 45px 0;
    }

    .clients-section__title {
        margin-bottom: 28px;

        font-size: 27px;
    }

    .clients-types {
        padding-bottom: 42px;
    }

    .clients-types__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 15px;

        margin-bottom: 38px;
    }

    .client-type__icon {
        width: 70px;
        height: 70px;
    }

    .client-type__icon svg {
        width: 31px;
        height: 31px;
    }

    .client-type__title {
        font-size: 13px;
    }

    .clients-types__link {
        gap: 12px;

        font-size: 14px;
    }

    .reviews {
        padding-top: 38px;
    }

    .reviews__card {
        min-height: 360px;

        padding: 25px 22px;
    }

    .reviews__quote {
        font-size: 52px;
    }

    .reviews__text {
        font-size: 14px;
        line-height: 1.65;
    }

    .reviews__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        margin-top: 26px;
    }

    .reviews__navigation {
        align-self: flex-end;
    }

    .reviews__button {
        width: 43px;
        height: 43px;
    }

    .reviews__button svg {
        width: 19px;
        height: 19px;
    }
}