* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;

}

.header {
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.header__block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header__logo {
    max-width: 100px;
    width: 100%;
}

.header__nav ul {
    display: flex;
}

.header__nav ul li {
    list-style-type: none;
    padding-left: 30px;
    padding-right: 30px;
}

.header__nav ul li a {
    font-weight: 500;
    font-size: 17px;
    color: #000;
    text-decoration: none;
}

.header__nav ul li a:hover {
    color: #CCAD97;
}

.head__bg {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding-top: 100px;
    padding-bottom: 82px;
    border-radius: 0 0 0 295px;
}

.head__bg__slogan {
    font-weight: 400;
    font-size: 18px;
    color: #3a3a3a;
    padding-bottom: 9px;
}

.head__bg__hr {
    border: 0.5px solid #acacac;
    max-width: 490px;
}

.head__bg__h1 {
    font-weight: 600;
    font-size: 50px;
    color: #2f2f2f;
    max-width: 590px;

    padding-top: 9px;
    padding-bottom: 9px;
}

.head__bg__text {
    font-weight: 400;
    font-size: 17px;
    color: #3a3a3a;
    padding-bottom: 26px;
    max-width: 577px;
}

.head__bg__preim {
    width: 100%;
    display: flex;
}

.head__bg__preim div p {

    font-weight: 400;
    font-size: 20px;
    color: #2f2f2f;
    padding-right: 80px;
}

.head__bg__preim div p span {
    font-weight: 700;
    font-size: 28px;
    color: #ccad97;
}

.head__bg__button {
    background: #ccad97;
    border-radius: 40px;
    font-weight: 500;
    font-size: 19px;
    text-align: center;
    color: #fff;
    padding: 19px 40px;
    margin-top: 30px;
    border: none;
    cursor: pointer;
}

.horeca-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    perspective: 1000px;
}

.card-3d {
    aspect-ratio: 3 / 4;
    background-color: transparent;
    cursor: pointer;
    border-radius: 15px;
    
}

/* Контейнер для вращения */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    /* Позволяет дочерним элементам быть в 3D */
}

/* Переворот при наведении */
.card-3d:hover .card-inner {
    transform: rotateY(180deg);
}

/* Общие стили сторон */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Скрывает заднюю сторону при повороте */
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

/* Лицевая сторона */
.header__social a {
    text-decoration: none;
}

.card-front::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Твоя тень теперь ложится ПОВЕРХ картинки */
  box-shadow: inset 0 -66px 29px 0 rgba(204, 173, 151, 0.94);
  border-radius: 12px; /* чтобы тень не вылезала за скругления */
  z-index: 2;
  pointer-events: none; /* чтобы тень не мешала кликать по карточке */
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Текст поверх картинки на лицевой стороне (как на макете) */
.card-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-weight: 600;
    font-size: 17px;
    color: #fff;
    z-index: 3;
    
}

/* Оборотная сторона */
.card-back {
    backdrop-filter: blur(27.738317489624023px);
background: #fbf9f6;
    /* Цвет из Figma */
    color: #000;
    transform: rotateY(180deg);
    /* Изначально развернута */
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
}

.card-name {
    margin: 0 0 15px 0;
    font-weight: 600;
font-size: 17px;
color: #080808;
}

.card-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    color: #080808;
    padding-left: 13px;
}

.card-back ul li {
    margin-bottom: 8px;
    position: relative;
        list-style-type: disc;
        font-weight: 400;
font-size: 13px;
line-height: 188%;
color: #080808;
}

.horeca__section {
    padding-top: 65px;
}

.title__block hr {
    border: 0.5px solid rgba(204, 173, 151, 0.43);
    width: 100%;
}

.title__block h2 {
    font-weight: 600;
font-size: 28px;
color: #000;
padding-top: 13px;
padding-bottom: 38px;
}

/* Наш опыт */

:root {
  --bg-light: #F9F9F9;
  --accent-color: #D7C3AF;
  --text-main: #333;
  --radius: 15px;
}

.experience {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 0px;
}

.experience__title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
}

/* Основной контейнер: Сетка + Описание */
.experience__container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Две равные колонки на десктопе */
  gap: 20px;
}

/* Сетка с маленькими карточками */
.experience__stats {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2x2 */
  gap: 20px;
}

.stat-card {
  background: var(--bg-light);
  padding: 0px 20px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}

.stat-icon {
  width: 49px;
    height: 49px;
    background: #fff;
    border-radius: 100px;
    margin: 17px -2px -2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-number {
  font-size: 34px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 16px;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

/* Правая большая карточка */
.experience__info {
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  overflow: hidden; 
  padding: 20px
}

.info-content {
  padding: 20px;
  flex: 1;
}

.info-title {
  font-weight: 500;
font-size: 18px;
color: #080808;
  margin-bottom: 20px;
  line-height: 1.3;
}

.info-description {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

.info-image {
  flex: 1;
}

.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* АДАПТИВНОСТЬ */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
  .experience__container {
    grid-template-columns: 1fr; /* Сетка встает над описанием */
  }
}

/* Телефоны (до 600px) */
@media (max-width: 600px) {
  .experience__stats {
    grid-template-columns: 1fr; /* Маленькие карточки в одну колонку */
  }
  
  .experience__info {
    flex-direction: column; /* Текст над картинкой */
  }
  
  .info-image {
    height: 250px;
  }
  
  .experience__title {
    font-size: 24px;
    text-align: center;
  }
}

/* Портфолио */

.projects-vertical-grid {
  display: block; 
  column-count: 4;
  column-gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.project-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  border-radius: 100px; /* Делает форму овала */
  overflow: hidden;
  break-inside: avoid;
}

/* ИСПРАВЛЕНИЕ ТУТ */
.project-item img {
  width: 100%;
  height: 100%; /* Картинка ДОЛЖНА занять всю высоту овала, которую мы дали родителю */
  display: block;
  object-fit: cover; /* Это свойство не даст ей растянуться, оно ее аккуратно обрежет по бокам или сверху */
}

.project-item-big {
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  border-radius: 500px; /* Делает форму овала */
  overflow: hidden;
  break-inside: avoid;
  object-fit: cover;

}

/* ИСПРАВЛЕНИЕ ТУТ */
.project-item-big img {
  width: 100%;
  height: 100%; /* Картинка ДОЛЖНА занять всю высоту овала, которую мы дали родителю */
  display: block;
  object-fit: cover; /* Это свойство не даст ей растянуться, оно ее аккуратно обрежет по бокам или сверху */
}

/* Высота для контейнеров из Figma */
.item-long {
  height: 450px; 
}

.item-short {
  height: 170px;
object-fit: cover;
}

.head__bg__block {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding-top: 50px;
    padding-bottom: 32px;
    border-radius: 0 0 0 295px;
}

.breadcrumbs a {
    text-decoration: none;
    color: #CCAD97;
}

/* Адаптив */
@media (max-width: 1024px) {
  .projects-vertical-grid { column-count: 2; }
}
@media (max-width: 600px) {
  .projects-vertical-grid { column-count: 1; }
  /* Убираем специфическую высоту на мобилках, чтобы не было слишком узко */
  .item-long, .item-short { height: 350px; } 
}

/* Как проходит подбор */

.process {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;

}

.process__title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #000;
}

.process__grid {
  display: grid;
  /* 3 колонки на десктопе */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  background-color: #FBF9F6; /* Светлый фон из макета */
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.process-card__number {
  /* 1. Делаем блок гибким, чтобы выровнять цифры по центру */
  display: flex;
  align-items: center;
  justify-content: center;

  /* 2. Задаем одинаковую ширину и высоту */
  width: 45px;
  height: 45px;

  /* 3. Делаем круглым */
  border-radius: 50%;

  /* 4. Цвет фона (светло-бежевый из макета) и текст */
  background-color: #FFF; /* Или другой цвет из палитры */
  color: #CCAD97;
  
  /* 5. Настройки шрифта */
  font-size: 16px;
  font-weight: 600;
  
  /* Отступ снизу, чтобы не прилипало к заголовку */
  margin-bottom: 45px;

  /* Если нужно легкое свечение или тень, как в Figma */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.process-card__title {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.2;
}

.process-card__text {
  font-size: 16px;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

/* Стили для карточки с формой */
.process-card--form {
  grid-row: span 2; /* Растягиваем на 2 строки */
  background-color: transparent; /* У формы нет серого фона на макете */
  padding: 0 20px;
}

.process-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.process-form__input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #EEE;
  border-radius: 50px;
  background: #fff;
  font-size: 14px;
}

.process-form__btn {
  background-color: #CCAD97; /* Цвет кнопки из Figma */
  color: #FFF;
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.3s;
  font-size: 16px;
}

.process-form__btn:hover {
  opacity: 0.9;
}

/* --- АДАПТИВНОСТЬ --- */

/* Планшеты (2 колонки) */
@media (max-width: 1024px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-card--form {
    grid-row: span 1; /* На планшете форма просто в ряду */
  }
}

/* Телефоны (1 колонка) */
@media (max-width: 650px) {
  .process__grid {
    grid-template-columns: 1fr;
  }
  .process-card {
    padding: 30px;
    min-height: auto;
  }
  .process-card--form {
    padding: 0;
    margin-top: 20px;
  }
}

/* Логотипы */

.partners {
  padding: 30px 0;
  overflow: hidden; /* Важно: скрываем всё, что выходит за границы экрана */
  background: #fff;
}

.partners__title {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;

  font-size: 24px;
  font-weight: 600;
}

.logos-slider {
  width: 100%;
  display: flex;
}

.logos-track {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  gap: 40px; /* Расстояние между логотипами */
  /* Запускаем бесконечную анимацию */
  animation: scroll 30s linear infinite;
  /* Чтобы анимация не дергалась при наведении (опционально) */
}

.logos-track:hover {
  animation-play-state: paused; /* Слайдер остановится при наведении мыши */
}

.logo-item {
  flex-shrink: 0; /* Чтобы логотипы не сжимались */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px; /* Базовая ширина для десктопа */
  height: 80px;
  box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 12px;
  padding: 15px;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1); /* Делаем логотипы ч/б как на макете */
  opacity: 0.7;
  transition: 0.3s;
}

.logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* МАГИЯ АНИМАЦИИ */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Сдвигаем ровно на половину ширины трека (так как мы его дублировали) */
    transform: translateX(calc(-50% - 20px)); 
  }
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
  .logo-item {
    width: 140px; /* Уменьшаем логотипы на мобилках */
    height: 60px;
  }
  .logos-track {
    gap: 20px;
    animation-duration: 20s; /* На маленьких экранах можно ускорить */
  }
}

.hidden {
    overflow: hidden;
}

/* Дополнительные проекты */

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden; /* Прячем соседние слайды */
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-out; /* Плавность переключения */
  will-change: transform;
}

.slide {
  flex: 0 0 100%; /* Каждый слайд занимает 100% ширины */
  padding: 0px;
}

.slide__content {
  display: flex;
  background: #FBF9F6;
  border-radius: 20px;
  overflow: hidden;
  align-items: center;
  min-height: 400px;
  padding: 16px;
}

.slide__image {
  flex: 1;
  height: auto;
}

.slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide__info {
  flex: 1;
  padding: 60px;
}

/* Стили точек */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
margin-top: 18px;
    margin-bottom: 2px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #E0E0E0;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #CBB09B; /* Цвет активной точки из макета */
  transform: scale(1.2);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 900px) {
  .slide__content {
    flex-direction: column; /* Картинка сверху, текст снизу */
  }
  .slide__info {
    padding: 30px;
  }
}

.split-image-wrapper {
  width: 100%;
  height: 400px; /* Фиксированная высота блока, как в макете */
  position: relative;
  overflow: hidden;
}

/* Единственная картинка */
.split-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Картинка заполнит блок целиком */
  display: block;

  /* МАГИЯ CLIP-PATH: вырезаем два скругленных прямоугольника */
  /* Синтаксис: clip-path: inset(top right bottom left round [радиус]); */
  /* Но inset не позволяет вырезать два отверстия. Нам нужно два inset. */
}

/* Реализация через псевдоэлементы (самый надежный способ) */
/* Мы делаем маску не на картинке, а на ее родителе, а картинку дублируем в ::after */

.split-image-wrapper::before,
.split-image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% - 12px); /* Половина ширины минус половина отступа (24px/2) */
  background-image: url('shater.jpg'); /* Та же самая картинка */
  background-size: cover;
  background-position: center;
  border-radius: 200px; /* Чтобы края были идеально круглыми батонами */
}

/* Левая половина */
.split-image-wrapper::before {
  left: 0;
  background-position: left center; /* Смещаем картинку влево */
}

/* Правая половина */
.split-image-wrapper::after {
  right: 0;
  background-position: right center; /* Смещаем картинку вправо */
}

.slide__info h3 {
    font-weight: 500;
font-size: 27px;
color: #080808;
padding-bottom: 25px;
}

.slide__info p {
font-weight: 400;
font-size: 17px;
line-height: 200%;
color: #080808;
padding-bottom: 29px;
}

.slide__btn {
    background-color: #CCAD97;
    color: #FFF;
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
    font-size: 16px;
}

.solutions {
        padding: 40px 0px;
}

/* Блок с формой */

.request {
  max-width: 1200px;
    margin: 20px auto;
    padding: 0px;
}

.request-card {
  position: relative;
  display: flex;
  background-color: #FBF9F6; /* Светлый фон из макета */
  border-radius: 30px;
  overflow: hidden;
  min-height: 450px;
}

.request-content {
  position: relative;
  z-index: 2; /* Поверх картинки */
  flex: 0 0 50%; /* Занимает левую половину */
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Белый градиент, уходящий в прозрачность к центру */
  background: #FBF9F6;
}

.request-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000;
}

.request-text {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
  max-width: 450px;
}

/* Стили формы */
.request-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
}

.request-input {
  width: 100%;
  padding: 18px 25px;
  border: 1px solid #EDEDED;
  border-radius: 50px;
  background: #FFF;
  font-size: 15px;
  outline: none;
}

.request-btn {
  background-color: #CBB09B;
  color: #FFF;
  border: none;
  padding: 18px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  width: fit-content;
  min-width: 200px;
  transition: background 0.3s;
}

.request-btn:hover {
  background-color: #bfa38d;
}

/* Картинка-фон */
.request-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%; /* Берем больше половины, чтобы градиент наложился мягко */
  height: 100%;
}

.request-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
  .request-content {
    flex: 0 0 100%;
    background: linear-gradient(0deg, rgba(249, 249, 249, 1) 50%, rgba(249, 249, 249, 0.4) 100%);
    padding: 40px;
    text-align: center;
    align-items: center;
  }
  
  .request-image {
    width: 100%;
    opacity: 0.3; /* На мобилках делаем картинку фоном под текстом */
  }
  
  .request-text {
    max-width: 700px;
  }

  .request-form {
    display: flex;
    flex-direction: row;
    gap: 15px;
    max-width: 900px;
}
}

.svg__form {
    position: absolute;
    right: 23%;
    z-index: 1;
    top: 0;
    bottom: 0;
}

/* Отзывы */

.reviews {
    padding: 40px 0px;
}

.reviews__grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 20px;
    min-width: 0;
}

.reviews__grid__img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    max-width: 454px;
    max-height: 358px;
}

.reviews__block {
    background: #fbf9f6;
    border-radius: 20px;
    padding: 33px;
    min-width: 0;
}

.reviews__block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Это сама "белая плашка" из макета */
.reviews__slider-viewport {
width: 100%;
    overflow: hidden; /* Обрезает контент */
    position: relative; /* Фиксирует контекст наложения */
    background: #F9F9F9;
    border-radius: 25px;
    padding: 0px;
    box-sizing: border-box;
    display: block;
}

.reviews__track {
   display: flex;
    width: 100%; 
    transition: transform 0.6s ease-in-out;
    /* Убираем возможные отступы, которые могут мешать */
    margin: 0;
    padding: 0;
}

.review-item {
    flex: 0 0 100%; /* Запрещаем сжатие и расширение, строго 100% */
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background-color: #fff;
}

.reviews__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.review-author {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}

.author-info {
    display: block;
}

.author-info .name {
    font-weight: 700;
font-size: 15px;
line-height: 120%;
color: #ccad97;
padding-bottom: 6px;
}

.author-info .pos {
    font-weight: 400;
font-size: 12px;
line-height: 170%;
color: #2b2b2b;
}

.review-author img {
    margin-right: 18px;
    max-width: 61px;
}

.review-rating {
    display: flex;
    gap: 4px; /* Расстояние между звездами */
    margin-bottom: 20px;
}

.review-rating svg {
    width: 20px; /* Можно чуть подправить размер под макет */
    height: auto;
}

.review-text {
    font-weight: 400;
font-size: 14px;
line-height: 170%;
color: #2b2b2b;
}

/* Новости */

.news {
    padding: 30px 0;
}

.news__title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #000;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 30px; /* Отступ между карточками */
}

.news-card {
    background: #FBF9F6;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.news-card__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__content {
    padding: 20px 20px;
}

.news-card__title {
font-weight: 500;
font-size: 17px;
color: #080808;
    margin-bottom: 10px;
}

.news-card__link {
    font-weight: 500;
font-size: 17px;
color: #ccad97;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.news-card__link:hover {
    border-color: #CBB09B;
}

/* Адаптив */
@media (max-width: 992px) {
    .news__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 600px) {
    .news__grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
    }
}

/* Вопрос/ответ */

.faq {
    padding: 40px 0px;
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки как в Figma */
    gap: 20px;
    align-items: start;
    padding-top: 0px;
}

.faq__item {
    background: #FBF9F6;
    border-radius: 15px; /* Скругление согласно общему стилю */
    overflow: hidden;
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #080808; /* Цвет заголовка из инспектора */
    text-align: left;
    transition: background 0.3s;
}

.faq__icon {
    transition: transform 0.3s ease;
}

/* Стили ответа (скрыт по умолчанию) */
.faq__answer {
    display: grid;
    grid-template-rows: 0fr; /* Начальное состояние - закрыто */
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__answer-content {
    overflow: hidden;
    padding: 0 20px; /* Боковые отступы */
    font-size: 15px;
    line-height: 1.6;
    color: #2b2b2b;
}

/* Состояние при открытии */
.faq__item.active .faq__answer {
    grid-template-rows: 1fr; /* Раскрытие на всю высоту контента */
}

.faq__item.active .faq__answer-content {
    padding-bottom: 20px; /* Появляется отступ снизу при открытии */
}

.faq__item.active .faq__icon {
    transform: rotate(180deg); /* Поворот иконки */
}

@media (max-width: 768px) {
    .faq__grid { grid-template-columns: 1fr; } /* Одна колонка на мобильных */
}

/* Контакты */

.contacts {
    padding: 30px 0;
}

.contacts__title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #000;
}

.contacts__grid {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: #F9F7F5; /* Светлый фон из макета */
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item__text {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

.contacts__map {
    width: 100%;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    background: #eee; /* Заглушка до загрузки карты */
}

/* Адаптивность */
@media (max-width: 992px) {
    .contacts__grid {
        flex-direction: column;
    }
}

/* Подвал */

.footer {
    padding: 80px 0 30px;
    border-top: 1px solid #f0f0f0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1.3fr 1fr 1fr; /* Первая колонка чуть шире */
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__desc {
font-weight: 400;
font-size: 16px;
color: #3a3a3a;
    max-width: 250px;
    margin-bottom: 25px;
}

.footer__socials {
    display: flex;
    gap: 20px;
}

.footer__socials a {
    transition: opacity 0.3s;
}

.footer__socials img {
    width: 25px;
}

.footer__socials a:hover {
    opacity: 0.7;
}

.footer__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #000;
}

.footer__list {
    list-style: none;
    padding: 0;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    font-weight: 400;
font-size: 16px;
line-height: 170%;
color: rgba(8, 8, 8, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer__list a:hover {
    color: #CCAD97;
}

/* Нижняя часть */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.footer__copy, .footer__legal a {
    font-size: 12px;
    color: #888;
    text-decoration: none;
}

.footer__legal {
    display: flex;
    gap: 30px;
}

/* --- АДАПТИВ --- */

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr; /* 2 на 2 на планшетах */
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr; /* В одну колонку на мобильных */
        gap: 30px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer__legal {
        flex-direction: column;
        gap: 10px;
    }
}
/* поп-ап */

.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 1000;
    backdrop-filter: blur(5px); /* Размытие заднего плана */
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup__content {
    background: #fff;
    padding: 30px;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.popup.active .popup__content {
    transform: scale(1);
}

.popup__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
}

.popup__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.popup__subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.popup__input {
    width: 100%;
    padding: 18px 25px;
    border-radius: 50px; /* Овальные инпуты как в макете */
    border: 1px solid #eee;
    background: #F9F9F9;
    margin-bottom: 15px;
    font-size: 16px;
    outline: none;
}

.popup__button {
    width: 100%;
    padding: 18px;
    background: #CCAD97; /* Твой основной цвет */
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.head__bg__h1__block {
        font-size: 35px;
        padding-top: 15px;
    }

    .news__single .container p {
        padding-bottom: 15px;
        padding-top: 15px;
        font-size: 17px;
    line-height: 160%;
    }

.popup__file-wrapper {
    margin-bottom: 15px;
    position: relative;
}

.popup__file-label {
    display: block;
    padding: 12px;
    border: 1px dashed #bfa37c; /* Твой акцентный цвет */
    color: #bfa37c;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.js-open-vacancy img {
    cursor: pointer;
}

.popup__file-label:hover {
    background: rgba(191, 163, 124, 0.1);
}

.popup__file-input {
    display: none; /* Скрываем стандартный некрасивый инпут */
}

    .news__single .container img {
        max-width: 700px;
        height: 100%;
        width: 100%;
    }

    .news__single .container h2, h3, h4 {
        padding-top: 10px;
    }

        .news__single .container ul {
            padding-left: 30px;
            padding-bottom: 20px;
        }

        .news__single .container ol {
            padding-left: 30px;
            padding-bottom: 20px;
        }

        .news__single .container ul li p {
            
            padding-bottom: 0px;
        }

        .news__single .container ol li p {
            
            padding-bottom: 0px;
        }

.popup__button:hover {
    background: #b5957d;
}

.mobile__menu__burger {
    display: none;
}

.mobile__menu {
    display: none;
}

.popup__body {
        display: flex;
    justify-content: center;
}

@media (max-width: 1100px) {
    .header {
        padding-left: 20px;
    padding-right: 20px;
    }

    .head__bg {
            padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
    border-radius: 0 0 0 100px;
padding-top: 60px;    
}

    .head__bg__h1 {
        font-size: 45px;
    }

    .title__block h2 {
    font-weight: 600;
    font-size: 26px;
    color: #000;
    padding-top: 13px;
    padding-bottom: 38px;
}

.horeca__section {
    padding-top: 65px;
    padding-left: 20px;
    padding-right: 20px;
}

.horeca-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    perspective: 1000px;
}

.experience {
    max-width: 1200px;
    margin: 50px 20px;
    padding: 0 0px;
}

.projects {
    padding: 0px 20px;
}

.project-item-big {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    border-radius: 150px;
    overflow: hidden;
    break-inside: avoid;
}

.partners {
    padding: 30px 20px;
    overflow: hidden;
    background: #fff;
}

.solutions {
    padding: 40px 20px;
}

.slide__content {
    display: flex;
    background: #FBF9F6;
    border-radius: 20px;
    overflow: hidden;
    align-items: center;
    min-height: 400px;
    padding: 13px;
}

.slide__info {
    flex: 1;
    padding: 30px;
}

.reviews {
    padding: 40px 20px;
}

.reviews__grid__img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.news {
    padding: 0px 20px;
}

.faq {
    padding: 30px 20px;
}

.contacts {
    padding: 30px 20px;
}

.footer
 {
    padding: 50px 20px 30px;
    border-top: 1px solid #f0f0f0;
}



}

@media (max-width: 992px) {
    .header__nav ul li {
    list-style-type: none;
    padding-left: 20px;
    padding-right: 20px;
}

.head__bg__hr {
    border: 0.5px solid #acacac;
    max-width: 435px;
}

.head__bg__text {
    font-weight: 400;
    font-size: 15px;
    color: #3a3a3a;
    padding-bottom: 26px;
    max-width: 577px;
}

.head__bg__button {
    background: #ccad97;
    border-radius: 40px;
    font-weight: 500;
    font-size: 19px;
    text-align: center;
    color: #fff;
    padding: 15px 30px;
    margin-top: 30px;
    border: none;
    cursor: pointer;
}

.head__bg__preim div p {
    font-weight: 400;
    font-size: 17px;
    color: #2f2f2f;
    padding-right: 80px;
}

.card-name {
    margin: 0 0 15px 0;
    font-weight: 600;
    font-size: 15px;
    color: #080808;
}

.card-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    z-index: 3;
}

.card-list li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: disc;
    font-weight: 400;
    font-size: 13px;
    line-height: 120%;
    color: #080808;
}

.horeca-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    perspective: 1000px;
}

.card-list li {
        margin-bottom: 8px;
        position: relative;
        list-style-type: disc;
        font-weight: 400;
        font-size: 15px;
        line-height: 140%;
        color: #080808;
    }

        .card-name {
        margin: 0 0 15px 0;
        font-weight: 600;
        font-size: 18px;
        color: #080808;
    }

        .title__block h2 {
        font-weight: 600;
        font-size: 24px;
        color: #000;
        padding-top: 13px;
        padding-bottom: 38px;
    }

    .stat-card {
    background: var(--bg-light);
    padding: 0px 20px 20px 20px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
}

.info-title {
    font-weight: 500;
    font-size: 21px;
    color: #080808;
    margin-bottom: 20px;
    line-height: 1.3;
}

.info-description {
    font-size: 19px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    max-height: 350px;
}

.item-short {
    height: 450px;
}

.project-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    border-radius: 150px;
    overflow: hidden;
    break-inside: avoid;
}

.slide__info p {
    font-weight: 400;
    font-size: 15px;
    line-height: 200%;
    color: #080808;
    padding-bottom: 29px;
}

.slide__btn {
    background-color: #CCAD97;
    color: #FFF;
    border: none;
    padding: 13px 50px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
    font-size: 16px;
}

.request {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0px 20px;
}

.reviews__block {
    background: #fbf9f6;
    border-radius: 20px;
    padding: 17px;
}

}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    .header__social {
        display: none;
    }

    .mobile__menu__burger {
        display: block;
    }

    /* Базовое состояние меню */
.mobile__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%; /* Можно задать, например, 300px, если не нужно на весь экран */
    height: 100%;
    background-color: #ffffff;
    z-index: 1000;
    padding: 60px 20px;
    
    /* Скрываем меню за правой границей экрана */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Состояние, когда меню открыто */
.mobile__menu.active {
    transform: translateX(0);
}

/* Стили для списка внутри */
.mobile__menu ul {
    list-style: none;
    padding: 0;
}

.mobile__menu ul li {
    margin-bottom: 20px;
            text-align: center;
}

.mobile__menu ul li a {
    text-decoration: none;
    color: black;
    font-size: 19px;
    font-weight: 500;
}

/* Курсор для бургера */
.mobile__menu__burger {
    cursor: pointer;
    position: relative;
    z-index: 1001; /* Чтобы бургер был выше открытого меню */
}

.head__bg__h1 {
        font-size: 40px;
    }

    .mobile__menu__social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.head__bg__text {
        font-weight: 400;
        font-size: 14px;
        color: #3a3a3a;
        padding-bottom: 26px;
        max-width: 377px;
    }

    .head__bg__slogan {
    font-weight: 400;
    font-size: 16px;
    color: #3a3a3a;
    padding-bottom: 9px;
}
.head__bg__hr {
        border: 0.5px solid #acacac;
        max-width: 390px;
    }

    .head__bg__preim div p {
        font-weight: 400;
        font-size: 15px;
        color: #2f2f2f;
        padding-right: 80px;
    }

    .head__bg__button {
        background: #ccad97;
        border-radius: 40px;
        font-weight: 500;
        font-size: 16px;
        text-align: center;
        color: #fff;
        padding: 13px 38px;
        margin-top: 30px;
        border: none;
        cursor: pointer;
    }

    .title__block h2 {
        font-weight: 600;
        font-size: 19px;
        color: #000;
        padding-top: 13px;
        padding-bottom: 38px;
    }

        .horeca-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        perspective: 1000px;
    }

    .info-title {
        font-weight: 500;
        font-size: 20px;
        color: #080808;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .info-description {
        font-size: 15px;
        color: #444;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .experience__info {
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    overflow: hidden;
    padding: 15px;
}

.item-long {
    height: 350px;
}

.project-item-big {
        display: inline-block;
        width: 100%;
        margin-bottom: 24px;
        border-radius: 100px;
        overflow: hidden;
        break-inside: avoid;
    }

    .project-item {
        display: inline-block;
        width: 100%;
        margin-bottom: 24px;
        border-radius: 100px;
        overflow: hidden;
        break-inside: avoid;
    }

    .item-short {
        height: 350px;
    }

    .slide__info p {
        font-weight: 400;
        font-size: 15px;
        line-height: 200%;
        color: #080808;
        padding-bottom: 29px;
        text-align: center;
    }

    .slide__info h3 {
    font-weight: 500;
    font-size: 25px;
    color: #080808;
    padding-bottom: 13px;
    text-align: center;
}

.slide__info {
        flex: 1;
        padding: 20px;
    }

    .slide__btn {
        background-color: #CCAD97;
        color: #FFF;
        border: none;
        padding: 13px 50px;
        border-radius: 50px;
        font-weight: 500;
        cursor: pointer;
        transition: opacity 0.3s;
        font-size: 14px;
        /* margin: 0 auto; */
        margin: 0px auto 0;
        display: block;
    }

        .request-content {
        flex: 0 0 100%;
        background: linear-gradient(0deg, rgba(249, 249, 249, 1) 50%, rgba(249, 249, 249, 0.4) 100%);
        padding: 20px;
        text-align: center;
        align-items: center;
    }

    .request-input {
    width: 100%;
    padding: 14px 25px;
    border: 1px solid #EDEDED;
    border-radius: 50px;
    background: #FFF;
    font-size: 15px;
    outline: none;
}

.request-btn {
    background-color: #CBB09B;
    color: #FFF;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
    min-width: 200px;
    transition: background 0.3s;
}

.request-card
 {
    position: relative;
    display: flex;
    background-color: #FBF9F6;
    border-radius: 30px;
    overflow: hidden;
    min-height: 300px;
}

.reviews__grid__img {
    display: none;
}

.reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.reviews .container .title__block h2 {
            padding-bottom: 8px;
}

}



@media (max-width: 580px) {
    .head__bg__slogan {
        font-weight: 400;
        font-size: 15px;
        color: #3a3a3a;
        padding-bottom: 9px;
        text-align: center;
    }

        .head__bg__hr {
        border: 0.5px solid #acacac;
        max-width: 100%;
    }

        .head__bg__h1 {
        font-size: 35px;
        text-align: center;
    }

    .head__bg__text {
        font-weight: 400;
        font-size: 14px;
        color: #3a3a3a;
        padding-bottom: 26px;
        max-width: 100%;
        text-align: center;
    }

    .head__bg__preim {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.head__bg__preim div p {
        font-weight: 400;
        font-size: 15px;
        color: #2f2f2f;
        padding-right: 0px;
        text-align: center;
    }

    .head__bg__button {
        display: block;
        margin: 30px auto 0;
    }

        .head__bg {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 50px;
        border-radius: 0px 0px 60px 60px;
        padding-top: 60px;
        background-position: left!important;
    }

    .card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    color: #080808;
    padding-left: 13px;
    max-height: 350px;
    overflow-y: scroll;
}

.card-inner[style*="transform: rotateY(180deg)"] .card-front::after {
    display: none;
}

.card-list li {
        margin-bottom: 8px;
        position: relative;
        list-style-type: disc;
        font-weight: 400;
        font-size: 13px;
        line-height: 110%;
        color: #080808;
    }

    .card-label {
        font-size: 15px;
    }

    .card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 400px;
}

.card-3d {
    aspect-ratio: 3 / 2.7;
    background-color: transparent;
    cursor: pointer;
    border-radius: 15px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    max-height: 400px;
}

    .horeca-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        perspective: 1000px;
    }

    .card-list li {
        margin-bottom: 8px;
        position: relative;
        list-style-type: disc;
        font-weight: 400;
        font-size: 17px;
        line-height: 110%;
        color: #080808;
    }

    .card-name {
        margin: 0 0 15px 0;
        font-weight: 600;
        font-size: 21px;
        color: #080808;
    }

    .stat-icon {
    width: 49px;
    height: 49px;
    background: #fff;
    border-radius: 100px;
    margin: 17px -2px -2px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

.stat-card {
        background: var(--bg-light);
        padding: 0px 20px 32px 20px;
        border-radius: var(--radius);
        text-align: center;
        position: relative;
    }

    .info-description {
        font-size: 17px;
        color: #444;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .project-item-big {
        display: inline-block;
        width: 100%;
        margin-bottom: 24px;
        border-radius: 40px;
        overflow: hidden;
        break-inside: avoid;
    }

    .project-item {
        display: inline-block;
        width: 100%;
        margin-bottom: 24px;
        border-radius: 50px;
        overflow: hidden;
        break-inside: avoid;
    }

    .process-card {
        padding: 20px;
        min-height: auto;
    }

        .process-card--form {
        margin-top: 0px;
    }

    .process-card--form .process-card__title {
        text-align: center;
    }

        .slide__info h3 {
        font-weight: 500;
        font-size: 22px;
        color: #080808;
        padding-bottom: 13px;
        text-align: center;
    }

    .slide__info p {
        font-weight: 400;
        font-size: 15px;
        line-height: 170%;
        color: #080808;
        padding-bottom: 29px;
        text-align: center;
    }

    .request-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }

    .request-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

.request-content {
        flex: 0 0 100%;
        background: linear-gradient(0deg, rgba(249, 249, 249, 1) 50%, rgba(249, 249, 249, 0.4) 100%);
        padding: 30px;
        text-align: center;
        align-items: center;
    }

    .request-content {
        flex: 0 0 100%;
        background: linear-gradient(0deg, rgba(249, 249, 249, 1) 50%, rgba(249, 249, 249, 0.4) 100%);
        padding: 30px;
        text-align: center;
        align-items: normal;
    }

    .request-btn {
        background-color: #CBB09B;
        color: #FFF;
        border: none;
        padding: 14px;
        border-radius: 50px;
        font-weight: 500;
        cursor: pointer;
        width: fit-content;
        min-width: 200px;
        transition: background 0.3s;
        display: block;
        margin: 0 auto;
    }

    .footer__col {
        display: grid;
    justify-content: center;
    text-align: center;
    }

    .footer__socials {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.popup__title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
}

.popup__input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid #eee;
    background: #F9F9F9;
    margin-bottom: 15px;
    font-size: 14px;
    outline: none;
}

.popup__button {
    width: 100%;
    padding: 15px;
    background: #CCAD97;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.head__bg__h1__block {
        font-size: 31px;
        text-align: left;
        padding-top: 15px;
    }
}

@media (max-width: 992px) {
    .reviews__grid {
        grid-template-columns: 1fr; /* Картинка сверху, блок снизу */
    }
    
    .reviews__grid__img {
        max-height: 250px; /* Чтобы картинка не была слишком огромной на мобиле */
        object-fit: cover;
    }
}

.card-front::after {
    transition: opacity 0.3s ease; /* Плавное исчезновение тени */
    opacity: 1; /* По умолчанию видна */
}