@font-face {
  font-family: "BebasNeueBold";
  src: url("../fonts/BebasNeueBold/BebasNeueBold.woff2") format("woff2"),
    url("../fonts/BebasNeueBold/BebasNeueBold.woff") format("woff"),
    url("../fonts/BebasNeueBold/BebasNeueBold.ttf") format("truetype"),
    url("../fonts/BebasNeueBold/BebasNeueBold.eot")
      format("embedded-opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest/Onest-Regular.woff2") format("woff2"),
    url("../fonts/Onest/Onest-Regular.woff") format("woff"),
    url("../fonts/Onest/Onest-Regular.ttf") format("truetype"),
    url("../fonts/Onest/Onest-Regular.eot")
      format("embedded-opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest/Onest-Medium.woff2") format("woff2"),
    url("../fonts/Onest/Onest-Medium.woff") format("woff"),
    url("../fonts/Onest/Onest-Medium.ttf") format("truetype"),
    url("../fonts/Onest/Onest-Medium.eot")
      format("embedded-opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest/Onest-SemiBold.woff2") format("woff2"),
    url("../fonts/Onest/Onest-SemiBold.woff") format("woff"),
    url("../fonts/Onest/Onest-SemiBold.ttf") format("truetype"),
    url("../fonts/Onest/Onest-SemiBold.eot")
      format("embedded-opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest/Onest-Bold.woff2") format("woff2"),
    url("../fonts/Onest/Onest-Bold.woff") format("woff"),
    url("../fonts/Onest/Onest-Bold.ttf") format("truetype"),
    url("../fonts/Onest/Onest-Bold.eot")
      format("embedded-opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  /* Шрифты */
  --font-base: "Onest", sans-serif;
  --font-heading: "BebasNeueBold", sans-serif;

  /* Веса шрифтов */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Цвета */
  --color-white: rgba(255, 255, 255, 1);
  --color-txt: rgba(47, 47, 47, 1);
  --color-blue-light: rgba(227, 234, 248, 1);
  --color-blue-extra-light: rgba(240, 244, 248, 1);
  --color-blue: rgba(62, 111, 208, 1);
  --color-blue-dark: rgba(31, 78, 170, 1);
  --color-hover-tab: rgba(228, 235, 243, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  padding-top: 32px;
  min-width: 370px;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-txt);
  font-size: 16px;
  /* line-height: 100%; */
  font-weight: var(--font-weight-regular);
  background-color: var(--color-white);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transition: transform 0.2s ease;
}

body.hidden {
  overflow: hidden;
}

header,
footer {
  flex: 0 0 auto;
}

main {
  flex: 1 0 auto;
}

section {
  margin-bottom: 120px;
}

.container {
  margin: auto;
  max-width: 1440px;
  padding: 0 60px;
}

/* h6,
h5,
h4,
h3, */
h2,
h1,
.h6,
.h5,
.h4,
.h3,
.h2,
.h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  text-transform: uppercase;
}

.hero--bel h1 {
  font-size: 96px;
  margin-bottom: 0;
}

.hero--other h1 {
  font-size: 68px;
  margin-bottom: 0;
}


h1,
h2,
.h2 {
  line-height: 80%;
}

h1,
h2,
.h2 {
  font-size: 64px;
  margin-bottom: 16px;
}

/* h3, */
.h3 {
  font-size: 36px;
  line-height: 120%;  
}

/* h4, */
.h4 {
  font-size: 32px;
  line-height: 100%;
}

/* h5, */
.h5 {
  font-size: 28px;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.text-optical-center {
  transform: translateY(-2px);
}
.text-optical-center--small {
  transform: translateY(-1px);
}

button {
  cursor: pointer;
  color: var(--color-txt);
}

.request-btn {
  cursor: pointer;
}

.color-blue {
  color: var(--color-blue);
}

/* Стиль для всех карточек на странице */
.card {
  padding: 24px;
  border-radius: 24px;
  background-color: var(--color-blue-extra-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.color-grey {
  opacity: 70%;
}

.light-blue-text {
  color: var(--color-blue);
  opacity: 70%;
}

.text-bold {
  font-weight: var(--font-weight-bold);
}

.header {
  width: 100%;
  z-index: 100;
  height: 54px;
  z-index: 2000;
  position: relative;
}

.header.is-fixed {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 1500;
}

.header.is-fixed .header__wrapper {
  background: var(--color-blue-extra-light);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 16px;
}

.header .logo img {
  height: 46px;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
}

.header-contact p {
  opacity: 70%;
  line-height: 18px;
}

.header-tel {
  font-size: 32px;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  color: var(--color-blue);
  line-height: 1;
}

/* Бургер-меню */
.header__burger {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: var(--color-blue);
  position: relative;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 300;
}

.header__burger .line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--color-white);
  transition: all .3s ease;
}

.line--top {
  transform: translate(-50%, -50%) translateY(-5px);
}

.line--middle {
  transform: translate(-50%, -50%);
}

.line--bottom {
  transform: translate(-50%, -50%) translateY(5px);
}

.header__burger.active .line--top {
    transform: translate(-50%, -50%) rotate(45deg);
}

.header__burger.active .line--middle {
    opacity: 0;
}

.header__burger.active .line--bottom {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.burger-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 1040;
  background: transparent;
}

.burger-overlay.active {
    display: block;
}

/* MENU */
.burger-menu {
  position: fixed;
  top: 70px;
  right: 0;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100 - 70px);
  background: var(--color-white);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1050;
  overflow-y: auto;
  padding-top: 24px;
  padding-bottom: 27px;
  border-radius: 24px;
}


.burger-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.burger-menu__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 24px;
/*   overflow-y: auto;
-webkit-overflow-scrolling: touch; */
}


/* LIST */
.burger-menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.burger-menu__list li {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.burger-menu__list a {
  width: 100%;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
}

.burger-contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.burger-socials__wrapper {
  display: flex;
  gap: 25px;
}
.burger-social-icon {
  height: 20px;
}

.burger-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* Модалка */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.modal.is-active {
  display: block;
}

/* Затемнение */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* Центрирование формы */
.modal-form {
  position: relative;
  z-index: 1200;
  max-width: 520px;
  width: calc(100% - 32px);
  height: fit-content;
  max-height: calc(var(--vh, 1vh) * 100 - 10px);
  overflow-y: auto;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);

  overflow-y: auto;

  /* Firefox */
  scrollbar-width: none;

  /* IE / Edge (старые) */
  -ms-overflow-style: none;
}

/* Chrome / Safari / Edge */
.modal-form::-webkit-scrollbar {
  width: 0;
  height: 0;
}


/* Крестик */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Блокировка скролла */
body.modal-open {
  overflow: hidden;
}

body.burger-open {
  overflow: hidden;
  touch-action: none;
}

.header__wrapper {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__wrapper-left {
    display: flex;
    gap: 52px;
    font-size: 16px;

}

.header__wrapper-right {
  display: flex;
  align-items: center;
  gap: 44px;
}

.header__nav-list {
    height: 100%;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 16px;
    line-height: 18px;
}

.nav-list__item a {
  color: var(--color-txt);
  transition: color 0.3s ease;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  background-repeat: no-repeat;
  border-radius: 20px;
  font-family: var(--font-base);
  font-weight: var(--font-weight-medium);
  font-size: 20px;
  background-color: var(--color-blue);
  color: var(--color-white);
}

.round-btn--big {
  width: 44px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.btn p,
.btn span {
  line-height: 1;
  margin: 0;
}

.button-arrow svg {
  display: block;
}

.btn-header {
    padding: 12px 15px 12px 29px;
}

.btn-hero {
  padding: 24px 32px;
}

/* .button-arrow {
    aspect-ratio: 1/1;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f2f2f;
    transition: background-color 0.3s ease, color 0.3s ease;
} */

/* .header-arrow {
  width: 30px;
  height: 30px;
} */

/* .hero-arrow {
  width: 59px;
} */


.city-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.city-text {
  font-size: 16px;
  line-height: 120%;
}

/* Стрелка */
.city-arrow {
  transition: transform .2s ease;
}

/* Поворот стрелки */
.city-select-wrapper.open .city-arrow {
  transform: rotate(180deg);
}

/* Скрытый select (логика остаётся) */
.city-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

/* Dropdown */
.city-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  padding: 8px;
  list-style: none;

  background: var(--color-white);

  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: .2s ease;

  z-index: 1000;
}

/* Показ */
.city-select-wrapper.open .city-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  width: 98px;
}

/* Пункты */
.city-dropdown li {
  padding: 4px 0;
  font-size: 12px !important;
  white-space: nowrap;
  font-size: var(--font-base);
}

.city-dropdown li:hover,
.city-dropdown li.active {
  background: #f2f2f2;
}

/* Секция Hero */
.hero {
  margin-top: 60px;
}
.hero__wrapper {
  display: flex;
  flex-direction: column;
}

.hero__top {
  display: flex;
  width: 100%;
  gap: 77px;
  margin-bottom: 32px;
}

.hero-heading {
  width: 56%;
  padding-top: 23px;
  padding-bottom: 23px;
}

.hero-blue {
  color: var(--color-blue);
  white-space: nowrap;
}

.hero__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.hero-subtitle {
  opacity: 70%;
  font-size: 20px;
  text-align: right;
  line-height: 26px;
}

.hero-image__wrapper {
  position: relative;
  height: 478px;
  overflow: hidden;
  border-radius: 32px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.hero-image {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%; 
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1) scale(1.35);
}

.hero-button {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: var(--color-blue);
}

.radius--16 {
  width: fit-content;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.radius--16 .h3 {
  color: var(--color-white);
}

.hero-button__wrapper,
.adv-text {
  padding: 24px 24px 20px 24px;
}

.hero-button-subtitle {
  color: var(--color-white);
  opacity: 70%;
}

.hero-button__wrapper {
  position: relative;
  max-width: 324px;
}

.hero-button__wrapper h3,
.hero-button__wrapper .h3 {
  margin-bottom: 10px;
}

.adv-text {
  margin-bottom: 8px;
}

.hero-numbers__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.hero-number__wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-number {
  font-size: 58px;
  line-height: 1;
  color: var(--color-blue);
  font-family: var(--font-heading);
  /* transform: translateY(-4px); */
}

.hero-number-nospace {
  display: flex;
  align-items: flex-start;
}

.hero-number-value {
  display: inline-block;
  line-height: 1;
}

.hero-number-text {
  opacity: 70%;
}

.hero-number__wrapper-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-number-button {
  background-color: var(--color-white);
}

.hero-number-button svg {
  color: var(--color-blue);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Секция  Преимущества*/
.advantages__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.advantages-left__wrapper {
  max-width: 479px;
  display: flex;
  flex-direction: column;
}

.adv-title {
  margin-bottom: 15px;
}

.advantages-left__wrapper p {
  font-size: 20px;
  line-height: 130%;
}

.color-dark-grey {
  opacity: 50%;
}

.advantages-icons {
  display: flex;
  gap: 23px;
  margin-top: auto;
  margin-bottom: 0;
}

.advantage-icon__wrapper:first-child {
  width: 206px;
}

.advantage-icon__wrapper .h4 {
  margin-bottom: 4px;
}

.advantage-icon__wrapper p {
  font-size: 16px;
  line-height: 20px;
}

.advantage-icon__image {
  width: 80px;
  height: 80px;
  overflow: hidden;
  margin-bottom: 16px;
}

.advantages-cards__wrapper {
  max-width: 641px;
  display: flex;
  flex-direction: column;
  /* Потом убрать */
  gap: 16px; 
}

.advantage-card {
  max-width: 641px;
  display: flex;
  gap: 16px;
}

.advantage-image__wrapper {
  width: 100px;
  height: 100px;
  border-radius: 9px;
  overflow: hidden;
}

.adv-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.adv-card__content p {
  font-size: 16px;
}

/* Секция Каталог */
.catalogue-button {
  background-color: var(--color-blue);
  width: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 72px;
  flex-shrink: 0;
  margin-bottom: 2px;
  align-self: end;
}

.catalogue-button svg {
  transition: transform 0.3s ease;
}

.catalogue__cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 323px 302px;
  grid-template-areas: 
  "card-1 card-2 card-3"
  "card-1 card-4 card-5";
}

.catalogue-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
}

.catalogue-card-small {
  padding: 16px;
}

.catalogue-card-big {
  padding: 22px 24px;
}

.catalogue-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.catalogue-card-1 {
  grid-area: card-1;
}

.catalogue-card-2 {
  grid-area: card-2;
}

.catalogue-card-3 {
  grid-area: card-3;
}

.catalogue-card-4 {
  grid-area: card-4;
}

.catalogue-card-5 {
  grid-area: card-5;
}

.catalogue-card-info {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* Секция Как мы работаем */
.step-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  flex: 1;
}

.step-card img {
  margin-bottom: 16px;
}

.step-card .h4 {
  margin-bottom: 4px;
}

.steps__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 38px;
}

.steps__bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.steps__card {
  flex: 1;
}

/* Секция Проекты */
.projects-btn.projects-btn--mobile {
  display: none;
}
.projects__inner {
    display: flex;
    gap: 17px;
    padding: 13px 0 12px 12px;
    background-color: var(--color-blue-extra-light);
    border-radius: 36px;
    overflow: hidden;
}

.projects__btn-bottom {
  display: none;
}

.projects__left {
    flex: 0 0 25.55vw;
    width: 25.55vw;
    max-width: 368px;
    aspect-ratio: 368 / 550;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--color-white);
}

.projects__heading {
    font-size: clamp(48px, 4.44vw, 64px);
}

.projects__desc {
  font-size: 20px;
  margin-bottom: clamp(16px, 2.08vw, 30px);
}

.projects__badge {
  display: flex;
  gap: 16px;
}

.projects__badge-text .h4 {
  margin-bottom: 4px;
}

.projects-btn {
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects__right {
    flex: 1;
    min-width: 0;
}

.projects-swiper {
    width: 100%;
    max-width: 952px;
}

/* Слайды */

.projects__slide {
    flex-shrink: 0 !important;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

/* Вертикальный 398×466 */
.projects__slide--vertical {
  width: 27.64vw !important;
  aspect-ratio: 398 / 466 !important;
  max-width: 398px;
}



/* Горизонтальный 498×370 */
.projects__slide--horizontal {
    width: 34.58vw !important;
    aspect-ratio: 498 / 370 !important;
    max-width: 498px;
}

/* Изображение */

.projects__img {
    width: 100%;
    height: 100%;
}

.projects__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.projects__slide:hover img {
    transform: scale(1.05);
}

/* Подпись */

.projects__caption {
    position: absolute;
    left: 8px;
    bottom: 6px;
/*     min-width: 308px; */
    padding: 12px 16px;
    color: var(--color-white);
}

/* Стрелки */

.projects__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px;
}

.projects__arrow,
.reviews-arrow {
  background: var(--color-blue);
  cursor: pointer;
  border: none;
}


/* Секция Отзывы */
#reviews,
#calculator {
  scroll-margin-top: 40vh;
}

.reviews__wrapper {
  position: relative;
}

.reviews-title {
  margin-bottom: 38px;
}

/* ===== Стрелки ===== */

.reviews-arrows__wrapper {
  display: flex;
  gap: 12px;
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
}

/* ===== Swiper ===== */

.reviews-slider {
  margin-bottom: 20px;
  overflow: hidden;
}

.reviews-slider .swiper-wrapper {
  align-items: stretch;
}

.review-card {
  display: flex;
  flex-direction: column;
}

.review-card__name,
.review-card__title {
  margin-bottom: 12px;
}

.review-card__name {
  font-size: 40px;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: 80%;
}

.reviews-link {
  font-size: 12px;
  align-self: end;
}

.reviews-link-title {
  text-decoration: underline;
}

/* Секция Калькулятор */
.calculator {
  margin-bottom: 20px;
  position: relative;
}

.calculator__wrapper {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  height: 400px;
  padding: 40px 32px 32px 32px;
}

.calculator-content__wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.calculator-content__wrapper button {
  width: fit-content;
  padding-left: 48px;
  padding-right: 48px;
  background-color: var(--color-white);
  color: var(--color-blue);
}

.calculator-title__wrapper {
  display: flex;
  justify-content: space-between;
}

.calculator-span {
  color: var(--color-white);
  opacity: 1;
}

.calculator-title {
  max-width: 638px;
}

.calculator-title p {
  color: rgba(255, 255, 255, 0.7);
}

.calculator-subtitle {
  max-width: 451px;
  text-align: right;
  color: var(--color-white);
}

.calculator-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.calculator-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
footer::after {
  content: "";
  display: block;
  height: 32px;
}
.footer__wrapper {
  border-radius: 36px;
  color: var(--color-blue);
  padding: 44px 40px 40px 40px;
  display: flex;
  justify-content: space-between;
}

.footer-subtitle,
.header-subtitle {
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 4px;
  opacity: 70%;
  color: var(--color-txt);
}

.footer-info,
.header-info {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  color: var(--color-blue);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.footer-left--top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}

.top-contacts__wrapper,
.bottom-contacts__wrapper {
  display: flex;
  gap: 24px;
}

.footer-item--left {
  width: 180px;
}

.footer-socials {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-socials a img {
  height: 20px;
}

.footer-left--bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-action,
.footer-policy,
.footer-meta {
  font-size: 16px;
  line-height: 18px;
  text-decoration: underline;
  text-underline-offset: 1px;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
}

.footer-action {
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-right--top,
.footer-list,
.footer-right--bottom,
.footer-policy__wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: end;
}

.footer-list li {
  transition: color 0.3s ease;
}

.footer-policy__wrapper {
  gap: 15px;
}

.footer-right--bottom {
  gap: 28px;
  color: var(--color-txt);
}

/* Снек-бар */
.cookie-banner__fixed {
  position: fixed;
  bottom: 20px;
  right: 0;
  left: 0;
  z-index: 2000;
  min-height: 190px;
  pointer-events: none;
}

.cookie-banner {
  opacity: 0;
  width: 358px;
  padding: 20px 38px 10px 38px;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: -0.02em;
  background: var(--color-white);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  margin-left: auto;
  margin-right: 20px;
  box-shadow: 0px 6px 23.6px rgba(143, 143, 143, 0.25);
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  margin-bottom: 13px;
}
.accept-btn {
  color: var(--color-blue);
}
.decline-btn {
  opacity: 70%;
}

.btn-cookie {
  border: none;
  width: 100%;
  background-color: transparent;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 16px;
  line-height: 28px;
  font-weight: var(--font-weight-bold);
}

/* Страница Каталог */
/* Когда активна вкладка "Все" */
.catalogue-content__wrapper.is-all-active .catalog-filters {
  display: none;
}

.catalogue-content__wrapper.is-all-active .catalog-grid {
  flex: 1 1 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 16px;
}

.catalogue-content__wrapper {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.filters-modal {
  display: none;
}
.filters-icon--mobile {
  display: none;
  gap: 2px;
  align-items: center;
  cursor: pointer;
}

.catalog-filters {
  width: 312px;
}

.catalog-filters .h5 {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
}

.page-section {
  margin-top: 120px;
}
/* Табы */
.catalog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filters-modal,
.filters-set {
    display: none;
}

.filters-set.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filter-group p {
  line-height: 20px;
  font-weight: var(--font-weight-medium);
}

/* Скрываем стандартный чекбокс */
.filter-input {
    display: none;
}

.filter-inputs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-hint {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  opacity: 50%;
}

/* Стилизация лейбла как плашки */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-group label span{
    display: inline-block;
    padding: 12px 16px;
    border-radius: 52px;
    background-color: var(--color-blue-extra-light);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
    font-weight: var(--font-weight-medium);
}

.filter-group label input:checked + span {
    background-color: #007acc;
    color: #fff;
}

.filter-group label:hover span {
  background-color: var(--color-hover-tab);
}

.catalog-tab,
.tab {
  padding: 12px 16px;
  background: var(--color-blue-extra-light);
  border: none;
  border-radius: 52px;
  cursor: pointer;
  font-size: 16px;
  line-height: 20px;
  font-family: var(--font-base);
  font-weight: var(--font-weight-medium);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tab.btn-back {
  font-size: 12px;
}

.btn-back--mobile {
  display: none;
}

.catalog-tab.active {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.catalog-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 16px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  height: 359px;
}

.catalog-card-image__wrapper {
  height: 323px;
  margin-bottom: 8px;
  border-radius: 24px;
  border: 2px solid var(--color-blue-extra-light);
  overflow: hidden;
}

.catalog-card-image__wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card__info__wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}

.catalog-card__title {
  line-height: 100%;
  font-size: 28px;
}

.catalog-card__info__wrapper .catalogue-button {
  width: 24px;
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease;
}

.catalog-card__info__wrapper .catalogue-button svg {
  transition: transform 0.3s ease;
}

/* Страница КАРТОЧКИ ТОВАРА */
.product-card__image--mobile {
  display: none;
}

.product-card-section {
  font-size: 14px;
}

.product-card__title {
  color: var(--color-blue);
  margin-bottom: 21px;
}

.product-card__subtitle {
  font-size: 24px;
  line-height: 120%;
  margin-bottom: 8px;
}

.product-card__image--mobile,
.product-card__image {
  width: 100%;
  aspect-ratio: 636 / 390;
  overflow: hidden;
  border: 2px solid var(--color-blue-extra-light);
  border-radius: 24px;
}

.product-card__image--mobile img,
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__wrapper {
  display: flex;
  gap: 24px;
  margin-top: 27px;
}

.product-card__description {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  width: 52%;
}

.product-card__description .card,
.product-card__right .card {
  padding: 16px;
  width: 100%;
}

.key {
  color: var(--color-blue);
  font-weight: var(--font-weight-semibold);
  width: 30%;
  flex-shrink: 0;
  hyphens: auto;
}

.product-value {
  hyphens: auto;
}

.product-card-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.value {
  flex: 1;
}

.price-factors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-factor-item {
  padding: 12px 16px;
  border-radius: 52px;
  background-color: var(--color-white);
}

.product-card__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 48%;
}

.product-card__right .advantages-icons {
  margin-top: 0;
  align-self: center;
}

.product-card__right .advantage-icon__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Страница Портфолио */
.portfolio__wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portfolio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.portfolio-item--large {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
}

.portfolio-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    aspect-ratio: 1 / 1;
}

/* Общие стили для карточки */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-title {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-item--small {
    width: 100%;
    height: 100%;
}

.project-card-title {
  margin-bottom: 10px;
}

.project-card-title--project-page {
    font-size: 20px !important;
}

/* Страница Доставка */
.delivery {
  margin-top: 40px !important;
  margin-bottom: 100px !important;
}
.delivery-content {
  display: flex;
  gap: 28px;
}
.delivery-content .calculator .container,
.article__wrapper .calculator .container {
  padding: 0 !important;
}
.delivery-left__wrapper,
.article-content {
  width: 55%;
}
.article-content h1 {
  margin-bottom: 0;
}
.delivery-content .calculator,
.article__wrapper .calculator {
  flex: 1;
}
.delivery-content .calculator .calculator-title__wrapper,
.article__wrapper .calculator .calculator-title__wrapper {
  flex-direction: column;
  align-items: start;
}
.delivery-content .calculator .calculator-title__wrapper h2,
.article__wrapper .calculator .calculator-title__wrapper h2 {
  font-size: 48px;
  margin-bottom: 34px;
}
.delivery-content .calculator .calculator-title__wrapper .calculator-subtitle,
.article__wrapper .calculator .calculator-title__wrapper .calculator-subtitle {
  text-align: left;
  font-size: 20px;
}
.delivery__wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Страница Контакты */
.contacts-page {
  margin-top: 40px;
  margin-bottom: 40px;
}
.contacts__inner {
  display: flex;
  gap: 75px;
}
.contacts__wrapper {
  flex: 1;
}
.contacts__wrapper .footer-left .footer-left--top {
  margin-bottom: 0;
  gap: 16px;
}
.map {
  width: 61%;
  min-height: 469px;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
}
.contacts-top-subtitle {
  margin-bottom: 16px;
}

/* Страница Блог */
.blog-page h1 {
  margin-bottom: 38px;
}
.blog__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 16px;
  row-gap: 38px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-content p{
  font-size: 16px;
}

.blog-card-title {
  font-size: 40px;
  margin-top: 12px;
  font-weight: var(--font-weight-regular);
}

.blog-image__wrapper {
  border-radius: 12px;
  height: 174px;
  overflow: hidden;
}

.blog-image__wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.load-more-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: none;
  transition: opacity 0.3s ease;
  background-color: transparent;
  text-decoration: underline;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 22px;
  margin-top: 40px;
  text-decoration-skip-ink: none;
}

/* Страница статьи блога */
.article-hero {
  width: 100%;
  height: 478px;
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: 40px;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-page {
  margin-top: 40px;
  margin-bottom: 100px;
}

.article__wrapper {
  display: flex;
  gap: 28px;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: start;
}

.article-content ul li {
  position: relative;
  padding-left: 20px;
}

.article-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

/* Форма */
/* Плагин Contact Form 7 */
.wpcf-form-control-wrap {
  display: none;
}
button br{
  display: none;
}
button span {
  width: 100%;
}
.wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 0.8em;
  padding-left: 10px;
}
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output, 
.wpcf7 form.aborted .wpcf7-response-output {
  border: none;
  padding: 0;
  font-size: 0.8em;
  margin: 1em 0;
  color: rgba(226, 72, 61, 1);
}
/* Базовые стили CF7 для плавного скрытия */
.wpcf7-response-output {
  transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
  max-height: 200px; /* максимальная высота блока */
  overflow: hidden;
}

/* Состояние скрыто */
.wpcf7-response-output.is-hidden {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
}
.form {
  padding: 32px;
  width: 526px;
  height: fit-content;
  background-color: var(--color-blue-extra-light);
}

.form-title {
  line-height: 130%;
  font-weight: var(--font-weight-regular);
  margin-bottom: 10px;
}

.form-subtitle {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -2%;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group p {
    border-radius: 20px;
    overflow: hidden;
}

.form-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 8px;
}

input {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: var(--color-white);
  transition: background 0.25s ease, border 0.25s ease;
  -webkit-text-fill-color: #2d3e50;
  box-shadow: none !important;
}

/* Hover */
.form-group:hover input {
  background: rgba(27,27,27,0.08);
}

/* Focus */
input:focus {
  outline: none;
  border: 1px solid rgba(47,47,47,0.2);
  background: rgba(27,27,27,0.08);
}

input:focus::placeholder {
  opacity: 0;
}

input.error {
  border: 1px solid rgba(47,47,47,0.2);
  background: rgba(27,27,27,0.08);
}

/* ===== Сброс autofill ===== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px var(--color-white) inset !important;
  -webkit-text-fill-color: #2d3e50 !important;
  transition: background-color 5000s ease-in-out 0s;
}


.privacy-text {
  opacity: 0.7;
  font-size: 12px;
  margin-top: 10px;
}

.contact-section {
  margin-top: 40px;
}

.contact-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.phone-link {
  font-size: 32px;
  color: var(--color-blue);
}

.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper p {
  display: none;
}

.custom-select {
  position: relative;
  outline: none;
}

.custom-option p {
  display: block;
}

.custom-select__trigger {
    border-radius: 20px;
}

.custom-select__trigger p{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  font-size: 16px;
  background: var(--color-white);
  border: 1px solid transparent;
  border-radius: 20px;
  transition: background 0.25s ease, border 0.25s ease;
}

.form-group:hover .custom-select__trigger {
  background: rgba(27,27,27,0.08);
}

.custom-select.active .custom-select__trigger,
.custom-select:focus .custom-select__trigger {
  background: rgba(27,27,27,0.08);
  border: 1px solid rgba(47,47,47,0.2);
}

.custom-select__value {
  opacity: 0.7;
}

.custom-select__arrow {
  width: 12px;
  height: 8px;
  margin-left: 5px;
  background: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%235a6c7d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center;
  transition: transform 0.25s ease;
}

.custom-select.active .custom-select__arrow {
  transform: rotate(180deg);
}

.custom-select__dropdown {
  display: none;
  position: absolute;
  width: 100%;
  margin-top: 4px;
  padding: 20px 25px;
  background: var(--color-white);
  z-index: 10;
  border-radius: 20px;
}

.custom-select.active .custom-select__dropdown {
  display: block;
}

/* Option */
.custom-option {
  font-size: 16px;
  opacity: 0.7;
}

.custom-option:not(:first-child) {
  padding-top: 15px;
}

.custom-option:not(:last-child) {
  border-bottom: 1px solid var(--color-blue);
  padding-bottom: 10px;
}

.custom-option:hover {
  background: rgba(27,27,27,0.08);
  opacity: 1;
}

/* Ошибка */
.custom-select.error .custom-select__trigger {
  border: 1px solid rgba(47,47,47,0.2);
  background: rgba(27,27,27,0.08);
}

/* Снек-бар */

/* 404 */

.error-page {
  margin-bottom: 100px;
  margin-top: 40px;
}

.error-page__wrapper {
  height: 478px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
}

.error-page__wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  object-fit: cover;
}

.error-page__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  height: 100%;
  width: 100%;
  color: var(--color-white);
  gap: 24px;
  padding: 16px;
}

.error-page__content .projects-btn {
  background-color: var(--color-white);
  width: fit-content;
  color: var(--color-blue);
  padding: 24px;
  min-width: 328px;
}

.error-page__content h2 {
  margin-bottom: 0;
  text-align: center;
}


@media (max-width: 1180px) {
  body {
    padding-top: 8px;
  }
  .container {
    padding: 0 20px;
  }
  .header {
    margin-top: 0;
    height: 62px;
  }
  .header.is-fixed {
    top: 8px;
  }
  .header.is-fixed .header__wrapper {
    padding: 8px 16px
  }
  .header .btn {
    display: none;
  }
  .header__burger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .header__nav {
    display: none;
  }
  .header-tel {
    font-size: 24px;
  }
  .header__wrapper-right {
    gap: 16px;
  }
  .hero {
    margin-top: 40px;
  }
  .hero-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
  }
  .catalogue__cards {
    gap: 8px;
  }

  /* СТРАНИЦА КАТАЛОГА */
  .catalogue-content__wrapper.is-all-active .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Страница ДОСТАВКА */
  .delivery-left__wrapper,
  .article-content {
    width: 48%;
  }
  .delivery-content .calculator .container .calculator__wrapper,
  .article__wrapper .calculator .container .calculator__wrapper {
    height: 420px;
  }

/* 

  .catalogue-item__title {
    padding-right: 0;
  }
  .catalogue-item__title p{
    font-size: 20px;
  }


  .article-page {
    flex-direction: column;
  } */
}

@media (max-width: 1024px) {
  section {
    margin-bottom: 100px;
  }
  .page-section {
    margin-top: 60px;
  }
  .container {
    padding: 0 16px;
  }
  .header .logo {
    height: 32px;
  }
  .header .logo img {
    height: 100%;
  }
  .hero__top {
    flex-direction: column;
    align-items: start;
    gap: 16px;
    margin-bottom: 32px;
  }
  .hero--bel h1,
  .hero--other h1 {
    font-size: 50px;
  }
  .hero-subtitle {
    text-align: left;
    font-size: 16px;
  }
  .hero-button__wrapper {
    max-width: 263px;
  }
  .hero-button__wrapper,
  .adv-text {
    padding: 12px 12px 8px 12px;
  }
  .hero-button__wrapper h3,
  .hero-button__wrapper .h3,
  .adv-text .h3 {
    font-size: 20px;
    line-height: 1;
  }
  .round-btn--big {
    width: 32px;
  }
  .hero-button-subtitle {
    font-size: 14px;
    line-height: 1;
  }
  h1,
  h2,
  .h2 {
    font-size: 48px;
  }
  
  h3,
  .h3{
    font-size: 24px;
  }
  
  .hero__right {
    align-items: flex-start;
    gap: 28px;
  }
  .hero__wrapper,
  .calculator__wrapper {
    flex-direction: column;
  }
  .hero-heading {
    width: unset;
    padding: 0;
  }
  .hero--other h1 {
    width: 95%;
  }
  .hero--bel h1 {
    width: 70%;
  }
  .hero-image,
  .hero-content__wrapper,
  .calculator-image,
  .calculator-content__wrapper {
    width: 100%;
    padding: 0;
  }
  .hero-numbers__wrapper {
    flex-direction: column;
  }
  .hero-number {
    font-size: 32px;
  }
  .hero-number-text {
    font-size: 14px;
  }
  .hero-number-text br {
    display: none;
  }
  /* Секция Преимущества Главная страница */
  .advantages__wrapper {
    flex-direction: column;
  }
  .advantages-left__wrapper {
    width: 100%;
    max-width: unset;
  }
  .advantages-left__wrapper .h2 {
    max-width: 566px;
  }
  .advantages-left__wrapper p {
    font-size: 16px;
  }
  .advantage-icon__wrapper p {
    font-size: 14px;
  }
  .advantages-left__wrapper .advantages-icons {
    margin-top: 36px;
    justify-content: center;
    margin-bottom: 24px;
  }
  .advantages-left__wrapper .advantage-icon__wrapper {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }
  .advantage-icon__wrapper:first-child,
  .advantage-icon__wrapper:last-child {
    width: unset;
  }
  .advantages-cards__wrapper {
    max-width: unset;
  }
  .advantage-card {
    max-width: unset;
    width: 100%;
    padding: 16px;
    gap: 8px;
  }
  .adv-card__content p {
    font-size: 14px;
  }
  .adv-card__content {
    justify-content: center;
    gap: 8px;
  }
  /* Секция Каталог на главной странице */
  .catalogue__cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "card-1 card-1"
      "card-2 card-3"
      "card-4 card-5";
  }
  .catalogue-card.catalogue-card-1 {
    min-height: 361px;
  }
  .catalogue-card {
    min-height: 246px;
  }
  /* Секция Шаги */
  .steps__top {
    flex-direction: column;
  }
  .steps-adv {
    font-size: 20px;
    line-height: 26px;
  }
  .steps__bottom {
    flex-wrap: wrap;
  }
  .step-card {
    flex: 0 0 calc(50% - 12px);
  }
  .step-card:last-child {
    flex: 0 0 100%;
  }

  .projects__inner {
    flex-direction: column;
    gap: 16px;
    background-color: transparent;
    position: relative;
    padding: 0;
    border-radius: 0;
  }

  .projects__left {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    padding: 0;
    background: transparent;
    display: block;
    flex: unset;
  }

  .projects__left-top {
    position: relative;
    padding-right: 110px;
    padding-top: 2px;
  }

  .projects__badge,
  .projects__left-bottom {
    display: none;
  }

  .projects__heading {
/*     font-size: 32px; */
    margin-bottom: 16px;
  }

  .projects__desc {
    font-size: 18px;
    margin-bottom: 0;
    max-width: 500px;
  }

  .projects__arrows {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 12px;
    padding: 0;
  }

  .projects__right {
    width: 100%;
  }

    .projects-swiper {
    max-width: 100%;
    overflow: hidden;
  }

  /* УБИРАЕМ ВСЕ ширины и пропорции */
  .projects__slide,
  .projects__slide--vertical,
  .projects__slide--horizontal {
    width: calc((100% - 16px) / 2.2) !important;
    max-width: none !important;
    aspect-ratio: unset !important;
    height: 335px !important;
  }

  .projects__img {
    width: 100%;
    height: 100%;
  }

  .projects__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .projects-btn.projects-btn--mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 16px;
  }


  /* ФУТЕР */
  .footer__wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .footer-right {
    align-items: start;
    gap: 22px;
  }
  .footer-right--top,
  .footer-list,
  .footer-right--bottom,
  .footer-policy__wrapper {
    align-items: start;
  }


  /* Страница КАТАЛОГ */
    .catalogue-content__wrapper.is-all-active .catalog-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  /* Страница Карточка товара */
    .key {
    width: 40%;
  }

  /* Страница Портфолио */
  .portfolio__wrapper {
    gap: 16px;
  }
  .portfolio-row {
    gap: 8px;
  }

  /* Слайдер ОТЗЫВЫ */
  .review-card {
    font-size: 14px;
  }
  .reviews-title {
    max-width: 260px;
  }
  .review-card__name {
    font-size: 24px;
  }

  /* Заголовок КАЛЬКУЛЯТОРА */
  .calculator-title {
    font-size: 40px;
    max-width: 246px;
  }
  .delivery-content .calculator .calculator-title__wrapper .calculator-title,
  .article__wrapper .calculator .calculator-title__wrapper .calculator-title {
    max-width: unset;
  }
  .delivery-content .calculator .calculator-title__wrapper .calculator-subtitle,
  .article__wrapper .calculator .calculator-title__wrapper .calculator-subtitle {
    max-width: unset;
  }
  .calculator-subtitle {
    font-size: 16px;
    max-width: 288px;
  }

  /* Страница БЛОГ */
  .blog__wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .btn-back--mobile {
    display: block;
    width: fit-content;
    margin-bottom: 16px;
  }
  .btn-back--desktop {
    display: none;
  }

  /* Страница Контакты */
  .contacts__inner {
    flex-direction: column;
    gap: 40px;
  }
  .map {
    width: 100%;
    height: 469px;
  }

}

@media (max-width: 920px) {
  /* Страница КАТАЛОГ */
  .page-section {
    margin-top: 40px;
  }
  .catalog-grid {
    row-gap: 24px;
  }
  .catalog-tab {
    font-size: 12px;
  }
  .filters-icon--mobile.active {
    display: flex;
    margin-bottom: 16px;
  }
  .catalog-filters {
    display: none;
  }
  .catalog-tabs {
    margin-bottom: 16px;
  }
  .filters-modal {
    display: block;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: 0.3s ease;
  }
  .filters-modal.active {
      transform: translateX(0);
  }
  .filters-modal__content {
      height: 100%;
      display: flex;
      flex-direction: column;
      padding: 24px;
      overflow-y: auto;
  }
  .filters-modal__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
  }
  .filters-modal__close {
      align-self: flex-end;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
  }
  body.filters-open {
    overflow: hidden;
  }
  .calculator-content__wrapper {
    flex-direction: column;
  }
  .filters-modal__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .filters-modal .filters-set {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .filters-modal .filters-set.active {
    display: flex;
  }

  /* Страница Карточка Товара */
  .product-card__wrapper {
    flex-direction: column;
  }
  .product-card__description, 
  .product-card__right {
    width: 100%;
  }
  .product-card__right .product-card__image {
    display: none;
  }
  .product-card__image--mobile {
    display: block;
  }

  /* Страница ДОСТАВКА */
  .delivery-content,
  .article__wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .delivery-left__wrapper,
  .article-content {
    width: 100%;
  }
  .delivery-content .calculator,
  .article__wrapper .calculator {
    margin-bottom: 0;
  }
  .delivery-content .calculator .calculator-title__wrapper .calculator-title,
  .article__wrapper .calculator .calculator-title__wrapper .calculator-title {
    max-width: 296px;
  }
  .delivery-content .calculator .calculator-title__wrapper .calculator-subtitle,
  .article__wrapper .calculator .calculator-title__wrapper .calculator-subtitle {
    max-width: 246px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .h5 {
    font-size: 20px;
  }
  .footer__wrapper {
    padding: 24px;
  }
  .top-contacts__wrapper,
  .bottom-contacts__wrapper {
    flex-direction: column;
  }
  .calculator__wrapper {
    padding: 20px 16px 16px 16px;
  }
  .hero-image {
    height: 100%;
  }


  .delivery__wrapper {
    font-size: 16px;
  }
  .map {
    height: 300px;
  }


  .blog-card-title {
    font-size: 24px;
  }



}


@media (max-width: 650px) {
  /* Секция Калькулятор на Главной странице */
  .calculator-title__wrapper {
    flex-direction: column;
    align-items: start;
  }
  .calculator-subtitle {
    text-align: left;
  }
  .calculator-content__wrapper button {
    width: 100%;
    padding-left: unset;
    padding-right: unset;
  }

  /* Слайдер Проекты на Главной Странице */
  .projects__slide,
  .projects__slide--vertical,
  .projects__slide--horizontal {
    width: calc(100% / 1.15) !important;
    height: 335px !important;
    max-width: none !important;
    aspect-ratio: unset !important;
  }

    /* Страница БЛОГ */
  .blog__wrapper {
    grid-template-columns: 1fr;
  }


  /* .catalogue__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .catalogue-image__wrapper {
    height: 400px;
  }
  .catalogue-btn__bg {
    height: unset;
    padding: 15px 0;
  }
  .catalogue-btn__bg p {
    font-size: 20px;
  }
  .projects__content {
    flex-direction: column;
    gap: 20px;
  }
  .project-item {
    width: 100%;
  } */

  



  
  .form {
    width: 100%;
    padding: 28px;
  }


  
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .hero--bel h1 {
    width: 100%;
  }
  section {
    margin-bottom: 80px;
  }
  .header__wrapper-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  /* Секция Каталог на Главной странице */
  .catalogue-card {
    min-height: 195px;
  }
  /* Секция ШАГИ */
  .steps__bottom {
    flex-direction: column;
  }
  .projects__left-top {
     padding-right: unset;
  }

  /* Страница Каталог */
  .catalogue-content__wrapper.is-all-active .catalog-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }



/*   .steps__top br {
  display: none;
}
.catalogue__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.catalogue-item {
  gap: 10px;
}
.catalog-btn {
  font-size: 16px;
} */
  
  .form-title,
  .phone-link {
    font-size: 24px;
  }
  .form-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .contact-title {
    font-size: 20px;
  }
  .privacy-text {
    font-size: 9px;
  }
  .cookie-banner__fixed {
    bottom: 0;
  }
  .cookie-banner {
    width: 100%;
    margin-right: 0;
  }
  .item-more,
  .project-item-6 {
    margin-top: 10px;
  }
  .blog-card {
    height: unset;
  }
  .blog-image__wrapper {
    height: 250px;
  }
}

@media (max-width: 430px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 391px) {

/* Главная страница убираем разрыв строк в подзаголовке баннера */
  .hero-subtitle br {
    display: none;
  }

  .error-page__content .projects-btn {
    min-width: unset;
    width: 100%;
  }

}


@media (hover: hover) and (pointer: fine) {
  .nav-list__item a:hover {
    color: var(--color-blue);
  }

  .btn:hover {
    background-color: var(--color-blue-dark);
  }

  .btn:hover .button-arrow {
    background-color: var(--color-blue);
    color: var(--color-white);
  }

  .hero-number-button:hover svg {
    color: var(--color-white);
  }

  .calculator-content__wrapper button:hover,
  .error-page__content .projects-btn:hover {
    background-color:rgba(228, 235, 243, 1);
  }

  .catalog-btn:hover {
    background-color: rgba(47, 47, 47, 0.8);
    color: var(--color-white);
  }
  
  .load-more-btn:hover {
    opacity: 80%;
  }

  .catalogue-card:hover .catalogue-button svg,
  .catalog-card:hover .catalogue-button svg {
    transform: rotate(45deg);
  }

  .catalogue-card:hover img {
    transform: scale(1.05);
  }

  .catalog-tab:hover,
  .tab:hover {
    background-color: var(--color-hover-tab);
    color: var(--color-txt);
  }

  .footer-list li:hover {
    color: var(--color-blue-dark);
  }

}
