/* Базовый сброс и обертка секции */
.hero-constellations {
  width: 100%;
}

/* === Верхний бирюзовый баннер === */
.hero-constellations__banner {
  width: 100%;
  padding: 60px 0;
  background-color: var(--color-accent);
  text-align: justify;
}

.hero-constellations__banner-container {
  max-width: 1320px;
}

.hero-constellations__title {
  margin: 0 0 10px 0;
  color: #fff;
  font-size: 88px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-constellations__subtitle {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 130%;
  text-align: center;
}

.hero-constellations__subtitle-mob {
  display: none;
}

/* === Контентная зона (две колонки) === */
.hero-constellations__content {
  width: 100%;
  padding: 40px 0 100px;
  background-color: #ffffff;
}

.hero-constellations__content-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* Левая колонка: Текст */
.hero-constellations__info {
  flex: 1;
  max-width: 802px;
}

.hero-constellations__lead p {
  margin: 0 0 40px 0;
  color: #2b2a29;
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
}

.hero-constellations__lead p strong {
  font-weight: 700;
}

.hero-constellations__quote {
  position: relative;
  margin: 0 0 40px 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--color-accent);
}

.hero-constellations__quote p {
  color: #2b2a29;
  font-size: 24px;
  font-weight: 700;
  line-height: 130%;
}

/* Кнопка */
.hero-constellations__btn {
  display: inline-block;
  padding: 20px 32px;
  border-radius: 12px;
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  text-decoration: none;
}

.hero-constellations__btn:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Правая колонка: Медиа */
.hero-constellations__media {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 418px;
  flex-shrink: 0;
}

.hero-constellations__photo-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-constellations__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-constellations__img-mob {
  display: none;
}

/* Ссылка под фото */
.hero-constellations__more-link {
  padding-left: 15px;
  color: #2b2a29;
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  font-style: italic;
}

.hero-constellations__more-link:hover {
  color: var(--color-accent);
}

/* --- Скрываем мобильные элементы на ПК --- */
.hero-constellations__mob-menu-icon,
.hero-constellations__mob-badge {
  display: none;
}

/* === АДАПТИВНАЯ ВЕРСТКА (768px и меньше) === */
@media (max-width: 768px) {
  .hero-constellations__banner {
    padding: 30px 20px 30px;
    background-color: #ffffff;
    text-align: center;
  }

	
	/* На мобильном убираем галочки */
.about-info-plates__answer-row .constellations-triggers__icon,
.advantages-row .simple-check {
  display: none;
}

/* Текст растягиваем на всю ширину */
.about-info-plates__answer-row,
.advantages-row {
  display: block;
  width: 100%;
}

/* Убираем лишнее пространство, которое было под галочки */
.about-info-plates__answer-content {
  padding-left: 24px;
  padding-right: 24px;
}
	
	
	
  .hero-constellations__title {
    margin: 0 0 8px 0;
    color: var(--color-accent);
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .hero-constellations__subtitle {
    display: none;
  }

  .hero-constellations__subtitle-mob {
    display: block;
    width: 100%;
    color: var(--text-main);
    font-size: 19px;
  }

  .hero-constellations__content {
    padding: 0 16px 0;
  }

  .hero-constellations__content-container {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }

  .hero-constellations__media {
    align-items: center;
    max-width: 100%;
    order: 1;
  }

  .hero-constellations__photo-wrapper {
    margin-bottom: 0;
    border-radius: 12px;
  }

  .hero-constellations__img {
    display: none;
  }

  .hero-constellations__img-mob {
    display: block;
  }

  .hero-constellations__more-link {
    display: none;
  }

  .hero-constellations__mob-menu-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: block;
  }

  /* Текстовый блок уходит под фото */
  .hero-constellations__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    order: 2;
  }

  .hero-constellations__lead p {
    margin: 0 0 10px 0;
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.4;
    text-align: justify;
    text-align-last: justify;
  }

  .hero-constellations__quote {
    margin: 0 0 20px 0;
    padding: 0;
    border-left: none;
  }

  .hero-constellations__quote p {
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    line-height: 130%;
    text-align: justify;
  
  }

  .hero-constellations__action {
    width: 100%;
  }

  .hero-constellations__btn {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    background-color: var(--color-accent);
    font-size: 16px;
    text-align: center;
    text-transform: initial;
  }
}

/* Основной контейнер секции */
.about-info-plates__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 100px;
}

/* Заголовок секции */
.about-info-plates__header {
  margin-bottom: 40px;
  text-align: center;
}

.about-info-plates__title {
  color: #2b2a29;
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
}

.about-info-plates__title-mob {
  display: none;
}

.about-info-plates__title span {
  color: var(--color-accent);
}

/* Список плашек */
.about-info-plates__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Сама информационная плашка */
.about-info-plates__item {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  background-color: #fff; /* весь раскрытый блок белый */
  color: var(--text-main);
  overflow: hidden;
}

/* Заголовок — зелёный фон остаётся только здесь */
.about-info-plates__question {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;

  padding: 10px 150px;

  border-radius: 4px;
  background-color: #e3eadd;

  font-size: 30px;
  font-weight: 700;
  line-height: 130%;
  text-align: center;

  cursor: pointer;
  box-sizing: border-box;
  user-select: none;
}


/* Блок с выпадающим текстом (по умолчанию скрыт) */
.about-info-plates__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  width: 100%;
  box-sizing: border-box;
}

/* Текст раскрытого блока */
.about-info-plates__answer-content {
  padding: 20px 150px 20px;

  background-color: #fff;

  color: var(--text-main);
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
}

.method-author {
  text-align: right;
}

.method-link-wrapper {
  margin-top: 20px;
  text-align: right;
}

/* Состояние при открытии */

/* Верное положение галочек в блоке "О расстановках нового времени" - НАЧАЛО */

.about-info-plates__answer-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.about-info-plates__answer-row:last-child {
  margin-bottom: 0;
}

.about-info-plates__answer-row .constellations-triggers__icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
 border-radius: 4px; /* более квадратная форма */
}
/* Верное положение галочек в блоке "О расстановках нового времени - отличие от семейной..." - КОНЕЦ */

/* Стиль галочки для пункта - Уникальные преимущества - НАЧАЛО */
.advantages-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
/* Стиль галочки для пункта - Уникальные преимущества - КОНЕЦ */

/* Верное положение галочек в блоке "О расстановках нового времени - уникальные приемущества" - НАЧАЧЛО */
.advantages-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.advantages-row:last-child {
  margin-bottom: 0;
}

.simple-check {
  width: 25px;
  height: 25px;
  margin-top: 3px;
  flex-shrink: 0;

  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Верное положение галочек в блоке "О расстановках нового времени - уникальные приемущества" - КОНЕЦ */



/* === АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ === */
@media (max-width: 768px) {
  .about-info-plates__container {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .about-info-plates__header {
    margin-bottom: 25px;
  }

  .about-info-plates__title {
    display: none;
  }

  .about-info-plates__title-mob {
    display: block;
    width: 100%;
    color: #0a0a0a;
    font-size: 21px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
  }

  .about-info-plates__list {
    gap: 10px;
  }

  /* Паддинги и шрифты для мобилок */
  .about-info-plates__question {
    padding: 10px 40px; /* Уменьшили боковые, чтобы влезла стрелочка */
    font-size: 14px;
  }

  .about-info-plates__answer-content {
    padding: 12px 20px 15px 20px;
    font-size: 15px;
    line-height: 140%;
  }
}

/* Основной контейнер */
.constellations-triggers {
  width: 100%;
  padding: 0 0 100px;
}

.constellations-triggers__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Заголовок */
.constellations-triggers__header {
  margin-bottom: 40px;
  text-align: center;
}

.constellations-triggers__title {
  color: #2b2a29;
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
}

.constellations-triggers__title span {
  color: var(--color-accent);
}

/* Список */
.constellations-triggers__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Элемент списка */
.constellations-triggers__item {
  display: flex;
  align-items: flex-start; /* Выравнивание галки по верхней линии текста */
  gap: 20px;
}

.constellations-triggers__item-mob {
  display: none;
}

/* Кастомная иконка-галка через HTML элемент */
.constellations-triggers__icon {
  display: block;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  margin-top: 4px; /* Центрируем галочку относительно первой строки текста 24px */
  padding: 5px; /* Имитируем масштаб 60% за счет внутреннего отступа */
  border-radius: 8px;
  background-color: var(--color-accent);
  flex-shrink: 0;

  /* Стилизация самой линии галочки внутри SVG */
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Текст */
.constellations-triggers__text {
  color: #2b2a29;
  font-size: 24px;
  font-weight: 400;
}

/* Выделенный жирным текст */
.constellations-triggers__text strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .constellations-triggers {
    padding: 50px 0 0;
  }

  .constellations-triggers__header {
    margin-bottom: 20px;
  }

  .constellations-triggers__title {
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: 1px;
    br {
      display: none;
    }
  }

  .constellations-triggers__list {
    gap: 15px;
  }

  .constellations-triggers__item {
    display: none;
  }

  .constellations-triggers__item-mob {
    display: flex;
  }

  .constellations-triggers__icon {
    display: none;
  }

  .constellations-triggers__text {
    font-size: 14px;
    line-height: 135%;
  }
}

/* Контейнер секции */
.participation-formats {
  width: 100%;
  padding: 0 0 100px;

  background: linear-gradient(
    to bottom,
    #fff 0,
    #fff 250px,
    var(--color-yellow) 250px,
    var(--color-yellow) 100%
  );
}

/* На мобильном жёлтый фон убираем */
@media (max-width: 768px) {
  .participation-formats {
    background: #fff;
    background-image: none;
  }

}

.participation-formats__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Шапка секции */
.participation-formats__header {
  margin-bottom: 80px;
  text-align: center;
}

.participation-formats__title {
  margin: 0 0 5px;
  color: var(--text-main);
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
}

.participation-formats__title-mob {
  display: none;
}

.participation-formats__title span {
  color: var(--color-accent);
}

.participation-formats__subtitle {
  color: #0a0a0a;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

/* Сетка карточек */
.participation-formats__grid {
  display: grid;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1230px;
  margin-bottom: 50px;
  grid-template-columns: repeat(3, 1fr);
}

.participation-formats__grid-mob {
  display: none;
}

/* Обертка карточки и цены под ней */
.participation-formats__card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Сама карточка */
.participation-formats__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 250px;
  padding: 25px 20px;
  border-radius: 16px;
  background-color: #87b2a3;
  text-align: center;
width: 90%;
box-sizing: border-box;

}

.participation-formats__card-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
}

.participation-formats__card-text {
  width: 300px;
  max-width: 100%;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 auto;
  box-sizing: border-box;
}

.participation-formats__card-text p {
  width: 100%;
  margin: 0;
  text-align: justify;
  text-align-last: justify;
}

.participation-formats__card-text p.letter-spacing {
  letter-spacing: 0.1em;
}

/* Стили цены под карточкой */
.participation-formats__price {
  margin-top: 20px;
  color: #0a0a0a;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

/* Блок действия (кнопка и плашка) */
.participation-formats__action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 530px;
  margin-top: 20px;
}

.participation-formats__action-mob {
  display: none;
}

/* Кнопка */
.participation-formats__btn {
  position: relative;
  z-index: 2; /* Чтобы кнопка перекрывала белую плашку сверху */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 32px;
  border-radius: 12px;
  background-color: var(--color-accent);
  color: #fefefe;
  font-size: 20px;
  font-weight: 700;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.participation-formats__btn:hover {
  background-color: #739a8f;
  transform: translateY(-2px);
}

/* Белая плашка-нотификация под кнопкой */
.participation-formats__note-box {
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  margin-top: -25px;
  padding: 60px 23px 30px;
  border-radius: 16px;
  background-color: #ffffff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.participation-formats__note-text {
  color: #2b2a29;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
  .participation-formats {
    padding: 50px 0 12px;
  }

  .participation-formats {
    background-color: #ffffff00;
  }

  .participation-formats__header {
    margin-bottom: 30px;
  }

  .participation-formats__title {
    display: none;
  }

  .participation-formats__title-mob {
    display: block;
    width: 100%;
    font-size: 21px;
  }

  .participation-formats__subtitle {
    padding: 0 10px;
    font-size: 16px;
  }

  /* Перестраиваем карточки в один вертикальный ряд */
  .participation-formats__grid {
    display: none;
  }

  .participation-formats__grid-mob {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  /* === Базовые стили секции (ПК версия) === */
  .participation-formats__item {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .participation-formats__title-mob {
    margin: 0 0 5px 0;
    color: var(--color-accent);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .participation-formats__title-mob-first {
    margin-bottom: 0;
    color: var(--text-main);
    font-size: 21px;
  }

  .participation-formats__title-mob span {
    color: var(--color-accent);
  }

  .participation-formats__subtitle {
    display: none;
  }

  .participation-formats__text-mob {
    margin: 0 0 15px 0;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-align: justify;
  }

  .participation-formats__image-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .participation-formats__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .participation-formats__card {
    min-height: auto;
    padding: 30px 20px;
  }

  .participation-formats__price {
    margin-top: 14px;
    font-size: 22px;
  }

  .participation-formats__action {
    display: none;
  }

  .participation-formats__action-mob {
    display: flex;
  }

  .participation-formats__btn {
    box-sizing: border-box;
    width: 80%;
    padding: 14px 10px;
    font-size: 14px;
  }

  .participation-formats__note-box {
    padding: 30px 0 15px;
border: 1px solid var(--color-accent);
    box-shadow: none;
  }

  .participation-formats__note-text {
    font-size: 12px;
padding: 0 6px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.01em;
  }
}

/* Основной контейнер */
.group-rules {
  width: 100%;
  padding: 100px 0;
}

.group-rules__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Шапка и вводный текст */

.group-rules__title {
  margin: 0 0 40px;
  color: #2b2a29;
  font-size: 56px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.group-rules__title span {
  color: var(--color-accent);
}

.group-rules__intro {
  color: #2b2a29;
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
}

/* Список правил */
.group-rules__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Плашка элемента списка (теперь это контейнер) */
.group-rules__item {
  display: flex;
  flex-direction: column; /* Элементы встают вертикально */
  background-color: #FEF9E5;
  border-radius: 4px; /* Сохраняем скругление */
  overflow: hidden;
}

/* Кликабельная шапка плашки */
.group-rules__header-2 {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 16px 20px; /* Твои оригинальные паддинги */
  cursor: pointer;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  user-select: none;
}

/* Текст правила */
.group-rules__text {
  color: #2b2a29;
  font-size: 24px;
  font-weight: 700;
  padding-right: 30px; /* Отступ текста от стрелки */
}

/* Выпадающий блок контента */
.group-rules__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  width: 100%;
}

/* Текст ответа внутри */
.group-rules__answer-content {
  padding: 0 20px 20px 78px; /* Выравниваем текст под началом заголовка (20px слева + 28px SVG + 30px gap) */
  font-size: 20px;
  font-weight: 400;
  line-height: 150%;
  color: #4a4a4a;
}
p {
  margin: 0 0 15px;
}
.group-rules__answer-content p:last-child {
  margin-bottom: 0;
}
/* === АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ === */
@media (max-width: 768px) {
  .group-rules {
    padding: 50px 0 0;
  }
.group-rules__answer-content p {
    margin: 0 0 10px;
  }

  .group-rules__answer-content p:last-child {
    margin-bottom: 0;
  }

  .group-rules__container {
    gap: 20px;
  }

  .group-rules__title {
    margin-bottom: 20px;
    font-size: 21px;
  }

  .group-rules__intro {
    font-size: 14px;
    text-align: justify;
  }

  .group-rules__list {
    gap: 5px;
  }

  .group-rules__header-2 {
    gap: 10px;
    padding: 8px 10px;
  }

  .group-rules__header-2 svg {
    width: 15px;
    height: 15px;
  }

  .group-rules__text {
    font-size: 11px;
    padding-right: 15px;
  }

  .group-rules__answer-content {
    padding: 0 10px 10px 35px; /* Корректируем мобильный сдвиг (10px слева + 15px SVG + 10px gap) */
    font-size: 12px;
    line-height: 140%;
  }

  .group-rules__text {
    font-size: 14px;
  }


  
}

.expert {
  padding: 0 0 60px;
}

/* Потерявшийся блок) */

.expert--mob-one {
  display: none;
}

@media (max-width: 768px) {
  .expert--mob-one__container {
    padding-top: 30px;
    padding-bottom: 50px;
  }
  .expert--mob-one {
    display: flex;
    gap: 20px;
  }

  .expert--mob-one__image-col {
    width: 30%;
  }

  .expert--mob-one__img-wrapper img {
    border-radius: 8px;
  }

  .expert--mob-one__info-col {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .expert--mob-one__meta {
    display: flex;
    flex-direction: column;
  }

  .expert--mob-one__name {
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text-main);
  }

  .expert--mob-one__experience {
    font-weight: 700;
    font-size: 12px;
margin-bottom: 5px;
    line-height: 140%;
    letter-spacing: 0.01em;
    color: var(--color-accent);
  }

  .expert--mob-one__intro {
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0.03em;
    color: var(--text-main);
  }

  .expert--mob-one__intro strong {
    font-weight: 700;
  }

  .expert--mob-one__more-link {
  display: block;
  width: 100%;
  margin-top: 10px;

  color: var(--text-main);
  font-size: 10px;
  font-weight: 400;
  line-height: 130%;
  font-style: italic;
  text-align: right;
}
}

/* ================== */

/* Основные контейнеры */
.process-gallery {
  width: 100%;
  padding: 0 0 100px;
}

.process-gallery__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Шапка с текстом */
.process-gallery__header {
  width: 100%;
  margin-bottom: 60px;
  text-align: justify;
}

.process-gallery__lead {
  margin: 0;
  color: var(--color-accent);
  font-size: 31px;
  font-weight: 700;
  line-height: 140%;
text-align-last: justify;
}

/* Сетка Grid-коллажа */
.process-gallery__grid {
  display: grid;
  gap: 16px;
  width: 100%;
  grid-template-columns: repeat(12, 1fr);
}

/* Элемент галереи (общие стили для всех карточек) */
.process-gallery__item {
  height: 432px;
  overflow: hidden;
}

/* Точное позиционирование элементов в 12-колоночной сетке */
.process-gallery__item:nth-child(1) {
  grid-column: span 6;
}
.process-gallery__item:nth-child(2) {
  grid-column: span 3;
}
.process-gallery__item:nth-child(3) {
  grid-column: span 3;
}

.process-gallery__item:nth-child(4) {
  grid-column: span 3;
}
.process-gallery__item:nth-child(5) {
  grid-column: span 6;
}
.process-gallery__item:nth-child(6) {
  grid-column: span 3;
}

/* Изображения внутри блоков */
.process-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  object-fit: cover;
}

/* Эффект при наведении */
.process-gallery__item:hover .process-gallery__img {
  transform: scale(1.02);
}

/* === АДАПТИВНОСТЬ ДЛЯ СМАРТФОНОВ И ПЛАНШЕТОВ === */
@media (max-width: 1024px) {
  .process-gallery {
    display: none;
  }

  .process-gallery__lead {
    font-size: 18px;
  }

  .process-gallery__grid {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr); /* Перестраиваем в 2 колонки */
  }

  .process-gallery__item,
  .process-gallery__item:nth-child(n) {
    height: 280px;
    grid-column: span 1 !important; /* Сбрасываем десктопное объединение строк */
  }
}

@media (max-width: 768px) {
  .process-gallery {
    padding: 40px 0 50px;
  }

  .process-gallery__header {
    margin-bottom: 30px;
  }

  .process-gallery__lead {
    font-size: 15px;
    line-height: 145%;
    text-align: left; /* На телефонах такой объемный текст лучше читать слева */
  }

  .process-gallery__grid {
    gap: 10px;
    grid-template-columns: 1fr; /* Полностью в одну вертикальную колонку */
  }

  .process-gallery__item,
  .process-gallery__item:nth-child(n) {
    height: 230px; /* Оптимальная высота кадра под мобильный экран */
  }
}
