/* GANTRY5 DEVELOPMENT MODE ENABLED.
 *
 * WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
 *
 * For more information on modifying CSS, please read:
 *
 * http://docs.gantry.org/gantry5/configure/styles
 * http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

@charset "UTF-8";
.two-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  /* Отступ между кнопками */
  justify-content: center;
  margin-bottom: 20px;
}
/* ОСНОВНЫЕ СТИЛИ КНОПКИ (на основе вашего button-outline) */
.custom-button-outline {
  /* Скопированные и адаптированные стили */
  background: transparent !important;
  color: white !important;
  /* Цвет текста в обычном состоянии */
  border: 2px solid #09598a;
  border-radius: 30px;
  /* Закругление углов. Можно изменить на 4px, 12px и т.д. */
  /* Отступы и выравнивание текста */
  padding: 20px 25px;
  text-align: Left;
  /* Дополнительные свойства для внешнего вида */
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.3s ease;
  cursor: pointer;
  /* Состояния при наведении и фокусе */
}
.custom-button-outline:hover, .custom-button-outline:active, .custom-button-outline:focus {
  background: transparent !important;
  color: white !important;
  /* Цвет текста становится белым */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 89, 138, 0.3);
}
/* КЛАССЫ ДЛЯ РАЗНОЙ ШИРИНЫ */
.button-67 {
  flex: 0 0 calc(67% - 15px);
  /* 67% ширины минус половина отступа */
  max-width: calc(67% - 15px);
}
.button-33 {
  flex: 0 0 calc(33% - 15px);
  /* 33% ширины минус половина отступа */
  max-width: calc(33% - 15px);
}
.button-100 {
  flex: 0 0 calc(100% - 15px);
  /* 33% ширины минус половина отступа */
  max-width: calc(100% - 15px);
}
/* Адаптивность: на мобильных кнопки становятся на всю ширину */
@media (max-width: 768px) {
  .button-67, .button-33 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* ВАЖНОЕ ИСПРАВЛЕНИЕ для блоков с большим текстом */
.two-buttons-container .custom-button-outline {
  /* Запрещаем растягивание по высоте. Блоки будут начинаться с одной линии */
  align-self: flex-start;
  /* Гарантируем, что ширина останется строго по заданным классам */
  box-sizing: border-box;
  /* Управление внутренним содержимым: текст будет обрезан блочными границами */
  overflow-wrap: break-word;
  /* Переносит длинные слова */
  word-wrap: break-word;
  /* Для совместимости */
  hyphens: auto;
  /* Автоматическое добавление переносов (если поддерживается) */
}
/* Дополнительный отступ снизу для визуального разделения */
.button-67 {
  margin-bottom: 20px;
}
/* Модификатор для светлого блока */
.two-buttons-container.light-style .custom-button-outline {
  /* Светлый фон и тёмный текст (всегда) */
  background-color: #88BEDE !important;
  /* Светло-серый фон */
  color: #222222 !important;
  /* Тёмно-серый, почти чёрный текст был*/
  border-color: #a0c6df;
  /* Светлый синий для рамки (мягче оригинала) */
  /* Чтобы заголовок (strong) тоже был тёмным, а не синим */
  /* Состояние при наведении: делаем фон чуть темнее для интерактивности */
}
.two-buttons-container.light-style .custom-button-outline strong {
  color: blue;
}
.two-buttons-container.light-style .custom-button-outline:hover, .two-buttons-container.light-style .custom-button-outline:active, .two-buttons-container.light-style .custom-button-outline:focus {
  background-color: #88BEDE !important;
  /* Немного темнее серый */
  color: #222222 !important;
  border-color: #09598a;
  /* Можно вернуть оригинальный синий при наведении */
  /* Остальные эффекты (тень, подъём) остаются из основного стиля */
}
/* Новое*/
/* Контейнер 67% ширины */
.container-67 {
  width: 67%;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}
/* Светлая плашка */
.light-plate {
  background-color: #88bede;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
}
/* Заголовок секции */
.section-title {
  text-align: center;
  color: #09598a;
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: 600;
}
/* Сетка элементов обучения */
.training-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
/* Строка с двумя колонками */
.training-row {
  display: flex;
  gap: 30px;
  width: 100%;
}
/* Отдельный элемент (колонка) */
.training-item {
  flex: 1;
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid #e1e8f0;
}
.training-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(9, 89, 138, 0.1);
  border-color: #09598a;
}
/* Контент внутри элемента */
.item-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
/* Круглое изображение */
.image-circle {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #09598a;
}
.image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.training-item:hover .image-circle img {
  transform: scale(1.05);
}
/* Текстовый блок */
.item-text {
  flex: 1;
}
.item-title {
  color: #09598a;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}
.item-description {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
/* Адаптивность */
@media (max-width: 1024px) {
  .container-67 {
    width: 90%;
    padding: 30px 15px;
  }
  .light-plate {
    padding: 30px;
  }
}
@media (max-width: 768px) {
  .container-67 {
    width: 100%;
    padding: 15px 15px;
  }
  .light-plate {
    padding: 25px;
    border-radius: 8px;
  }
  .training-row {
    flex-direction: column;
    gap: 20px;
  }
  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .item-content {
    gap: 15px;
  }
  .image-circle {
    width: 70px;
    height: 70px;
  }
}
@media (max-width: 480px) {
  .light-plate {
    padding: 20px 15px;
  }
  .section-title {
    font-size: 22px;
  }
  .training-item {
    padding: 15px;
  }
  .item-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  .image-circle {
    width: 65px;
    height: 65px;
  }
  .item-title {
    font-size: 17px;
  }
  .item-description {
    font-size: 14px;
  }
}
/* ДОЮАВКА*/
/* Если нужно использовать те же стили, что и у кнопок */
.training-item.light-style {
  background-color: #88BEDE !important;
  border-color: #a0c6df;
  color: #222222;
}
.training-item.light-style .item-title {
  color: #09598a;
}
.training-item.light-style .item-description {
  color: #2d3748;
}
.training-item.light-style:hover {
  background-color: #7ab0d6 !important;
  border-color: #09598a;
}
/*ИЗОБРАЖЕНИЕ КОНСУЛЬТАЦИЯ */
/* Стиль для круглого изображения через обертку */
.form-round-image {
  width: 100px;
  /* Ваш нужный размер */
  height: 100px;
  border-radius: 50%;
  /* Делает контейнер круглым */
  overflow: hidden;
  /* Обрезает углы изображения */
  display: inline-block;
  border: 2px solid #ddd;
  /* Необязательная рамка */
}
.form-round-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Корректно заполняет круг */
}
/*СКИДКИ */
/* Контейнер для плашки скидки */
/* Светло-голубая плашка скидок с размерами белой */
.discount-container {
  margin: 20px auto 20px auto;
  width: 90%;
  /* Такая же ширина как у других элементов */
  max-width: 1200px;
}
.discount-plate.light-blue {
  background-color: #88bede !important;
  /* Светло-голубой фон */
  border-radius: 12px;
  padding: 20px;
  border-left: 6px solid red !important;
  /* Темно-синяя акцентная полоса */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.discount-plate.light-blue::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(9, 89, 138, 0.1) 0%, transparent 100%);
  border-radius: 0 0 0 100px;
}
/* Контент плашки */
.discount-content {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 1;
}
/* Иконка */
.discount-icon {
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.3) !important;
  /* Полупрозрачный белый фон для иконки */
  border-radius: 50%;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.discount-icon svg path {
  fill: red !important;
  /* Темно-синий цвет иконки */
}
/* Текстовая часть */
.discount-text {
  flex: 1;
}
/* Заголовок - темно-синий */
.discount-title {
  color: red !important;
  /* Темно-синий цвет */
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.2;
}
/* Теги скидок */
.discount-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}
.discount-tag {
  background-color: rgba(255, 255, 255, 0.5) !important;
  /* Полупрозрачный белый фон */
  color: red !important;
  /* Темно-синий текст */
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 18px;
  border: 2px solid rgba(9, 89, 138, 0.3) !important;
}
/* Слоган */
.discount-slogan {
  color: red !important;
  /* Темно-синий цвет */
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  font-style: italic;
}
/* Анимация для привлечения внимания */
@keyframes pulse-light-blue {
  0% {
    box-shadow: 0 4px 20px rgba(9, 89, 138, 0.1);
  }
  50% {
    box-shadow: 0 4px 25px rgba(9, 89, 138, 0.2);
  }
  100% {
    box-shadow: 0 4px 20px rgba(9, 89, 138, 0.1);
  }
}
.discount-plate.light-blue {
  animation: pulse-light-blue 3s infinite;
}
/* Адаптивность */
@media (max-width: 768px) {
  .discount-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .discount-title {
    font-size: 28px;
  }
  .discount-tag {
    font-size: 16px;
    padding: 6px 12px;
  }
  .discount-slogan {
    font-size: 22px;
  }
  .discount-plate.light-blue {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .discount-container {
    width: 90%;
    /* На мобильных шире */
    margin: 40px auto 20px auto;
  }
}
@media (max-width: 480px) {
  .discount-tags {
    justify-content: center;
  }
  .discount-title {
    font-size: 24px;
  }
  .discount-slogan {
    font-size: 20px;
  }
}
/* СХЕМА ДОКУМЕНТЫ*/
/* Плашка "Для заключения договора" - ИСПРАВЛЕННАЯ ВЕРСИЯ */
.contract-container {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.contract-plate {
  background-color: #88BEDE;
  border: 2px solid #a0c6df;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.contract-title {
  color: #09598a;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px dashed #09598a;
  /* ПУНКТИР*/
}
/* Контейнер шагов - ВЫРАВНИВАЕМ ПО ВЫСОТЕ */
.contract-steps {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  /* Важно! Растягиваем на всю высоту */
  position: relative;
}
/* Отдельный шаг - ФИКСИРОВАННАЯ ВЫСОТА */
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px;
  position: relative;
  min-height: 400px;
  /* Фиксированная минимальная высота для всех */
  height: auto;
}
/* Контейнер для равномерного распределения контента */
.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  justify-content: space-between;
  /* Равномерно распределяем элементы */
}
/* Номер шага */
.step-number {
  width: 70px;
  height: 70px;
  background-color: #09598a;
  color: white;
  font-size: 36px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(9, 89, 138, 0.3);
  flex-shrink: 0;
}
/* Надпись под цифрой */
.step-label {
  color: #09598a;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
/* Контейнер для иконки - фиксированная высота */
.step-icon-container {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-icon {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Текст шага - занимает оставшееся пространство */
.step-text {
  color: #222222;
  font-size: 18px;
  line-height: 1.6;
  width: 100%;
  flex-grow: 1;
  /* Занимает доступное пространство */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Центрируем текст по вертикали */
}
.step-text p {
  margin: 8px 0;
  font-weight: 500;
  min-height: 24px;
  /* Минимальная высота строки */
}
/* Особые стили для email */
.step-text .email {
  color: #09598a;
  font-weight: 700;
  font-size: 20px;
  margin-top: 10px;
  word-break: break-all;
}
/* Стрелки между шагами - ВЫРАВНИВАЕМ ПО ЦЕНТРУ ВЕРТИКАЛЬНО */
.step-arrow {
  font-size: 60px;
  color: #09598a;
  margin: 0 10px;
  display: flex;
  align-items: center;
  /* Центрируем стрелки вертикально */
  justify-content: center;
  height: 100%;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}
.step-arrow:hover {
  opacity: 1;
}
/* Делаем все шаги одинаковой высоты */
.contract-steps .step {
  display: flex;
  flex-direction: column;
}
/* Адаптивность */
@media (max-width: 1024px) {
  .contract-plate {
    padding: 30px;
  }
  .step {
    min-height: 380px;
    padding: 15px 10px;
  }
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 32px;
  }
  .step-label {
    font-size: 20px;
  }
  .step-icon-container {
    width: 100px;
    height: 100px;
  }
  .step-arrow {
    font-size: 50px;
  }
}
@media (max-width: 768px) {
  .contract-container {
    padding: 0 15px;
  }
  .contract-plate {
    padding: 25px 20px;
  }
  .contract-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .contract-steps {
    flex-direction: column;
    align-items: center;
  }
  .step {
    min-height: auto;
    padding: 25px 15px;
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 2px dashed rgba(9, 89, 138, 0.3);
    max-width: 500px;
  }
  .step:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  .step-arrow {
    display: none;
  }
  .step-number {
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
  .step-label {
    font-size: 19px;
    margin-bottom: 20px;
  }
  .step-icon-container {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .contract-title {
    font-size: 24px;
  }
  .step {
    padding: 20px 10px;
  }
  .step-text {
    font-size: 16px;
  }
  .step-text .email {
    font-size: 18px;
  }
}
/* Класс для ширины 67% если понадобится */
.contract-container.container-67 {
  width: 67%;
  max-width: 900px;
}
@media (max-width: 1024px) {
  .contract-container.container-67 {
    width: 90%;
  }
}
@media (max-width: 768px) {
  .contract-container.container-67 {
    width: 95%;
  }
}
/* Стили для ссылок в шагах */
.step-text a {
  color: #09598a;
  font-weight: 700;
  text-decoration: underline;
  transition: all 0.3s ease;
  display: inline-block;
}
.step-text a:hover {
  color: #063a5c;
  text-decoration: none;
  transform: translateY(-2px);
}
/* Для email ссылки */
.step-text .email a {
  color: #09598a;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px dotted #09598a;
  padding-bottom: 2px;
}
.step-text .email a:hover {
  color: #063a5c;
  border-bottom-color: #063a5c;
}
/*ПОПРАВКИ МОБИЛЬНЫХ УСТРОЙСТВ */
@media only screen and (max-width: 480px) {
  /* Альтернативный вариант: внутренний контейнер */
  #g-bottom .g-container {
    background-image: url('../../../../images/nevwww/ajy%203.jpg') !important;
    background-size: cover;
    background-position: center;
  }
}
/* Заставляем все поля, кроме картинки, быть шириной 100% */
.cf-form-3 .cf-field:not(.cf-image-field) {
  width: 100% !important;
  clear: both;
  display: block;
  float: none;
}
/* ОТ 20 марта*/
/* Компонент "Картинка + подпись" */
.image-caption-wrapper {
  width: 100%;
  margin: 40px 0;
}
.image-caption-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.image-caption-item {
  flex: 1 1 calc(33.333% - 20px);
  /* 33.3% минус часть отступа */
  max-width: calc(33.333% - 20px);
  text-align: center;
  transition: transform 0.3s ease;
}
.image-caption-item:hover {
  transform: translateY(-5px);
}
.image-link {
  display: block;
  text-decoration: none;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.image-link:hover {
  box-shadow: 0 8px 20px rgba(9, 89, 138, 0.2);
}
.image-link img {
  width: 100%;
  aspect-ratio: 1;
  /* квадрат */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.image-link:hover img {
  transform: scale(1.05);
}
.caption-text {
  font-size: 18px;
  font-weight: 600;
  color: #09598a;
  /* ваш синий */
  margin: 0;
  transition: color 0.3s ease;
}
.image-caption-item:hover .caption-text {
  color: #e74c3c;
  /* красный/акцентный цвет – можете заменить на любой */
}
/* Адаптивность под ваши брейкпоинты */
@media (max-width: 1024px) {
  .image-caption-grid {
    gap: 20px;
  }
  .image-caption-item {
    flex-basis: calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
  }
  .caption-text {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .image-caption-grid {
    flex-direction: column;
    gap: 30px;
  }
  .image-caption-item {
    flex-basis: 100%;
    max-width: 100%;
  }
  .image-link {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .caption-text {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .caption-text {
    font-size: 16px;
  }
}
/* Для фотки на секцию*/
/* Секция с фоновой картинкой (без затемнения) */
.scales-section {
  width: 100%;
  background-image: url('../../../../images/ДПО/Рисунок1.jpg');
  /* ваш путь */
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  margin: 40px 0;
  border-radius: 12px;
  /* опционально */
}
/* Контейнер для ограничения ширины и центрирования */
.scales-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}
/* Общий заголовок */
.scales-title {
  text-align: center;
  color: white;
  font-size: 32px;
  margin-bottom: 50px;
  font-weight: 600;
}
/* Ряд из трёх колонок */
.scales-row {
  display: flex;
  align-items: stretch;
  /* чтобы плашки были одинаковой высоты */
  justify-content: space-between;
  gap: 30px;
}
/* Плашки слева и справа */
.scales-plate {
  flex: 1;
  background-color: #88BEDE;
  /* ваш светло-голубой */
  border-radius: 12px;
  padding: 30px 25px;
  /* умеренные внутренние отступы */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.scales-plate:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(9, 89, 138, 0.15);
}
/* Заголовки внутри плашек */
.scales-plate h3 {
  color: #09598a;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}
/* Текст внутри плашек */
.scales-plate p {
  color: #222222;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0;
}
/* Изображение весов – центрируем по вертикали */
.scales-image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 400px;
  /* фиксированная ширина, можно менять */
}
.scales-image img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Адаптивность */
@media (max-width: 768px) {
  .scales-container {
    padding: 40px 15px;
  }
  .scales-title {
    font-size: 28px;
    margin-bottom: 35px;
  }
  .scales-row {
    flex-direction: column;
    gap: 25px;
  }
  .scales-image {
    order: 2;
    /* весы между плашками или в любом порядке */
    width: 80px;
    margin: 10px auto;
  }
  .left-plate {
    order: 1;
  }
  .right-plate {
    order: 3;
  }
  .scales-plate {
    padding: 25px 20px;
  }
  .scales-plate h3 {
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .scales-container {
    padding: 30px 15px;
  }
  .scales-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .scales-plate {
    padding: 20px 15px;
  }
  .scales-plate h3 {
    font-size: 20px;
  }
  .scales-plate p {
    font-size: 14px;
  }
  .scales-image {
    width: 70px;
  }
}
/*Для каринок док-тов */
/* Стили для двух картинок в правой колонке */
.my-two-images {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}
.my-image-item {
  flex: 1;
  text-align: center;
}
.my-image-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.my-image-item img:hover {
  transform: scale(1.02);
}
/* Адаптивность */
@media (max-width: 480px) {
  .my-two-images {
    flex-direction: column;
    gap: 10px;
  }
}
/* Уменьшение отступов для плашки 5 шагов обучения */
.steps-flaticon-container {
  padding-top: 15px !important;
  /* Верхний отступ плашки (был большой) */
  padding-bottom: 15px !important;
  /* Нижний отступ плашки (был большой) */
  margin-top: 0 !important;
}
.steps-flaticon-container h2 {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  /* Расстояние под заголовком "5 шагов" */
}
.steps-flaticon-container .step-flaticon {
  padding-top: 12px !important;
  /* Верхний отступ внутри каждой карточки */
  padding-bottom: 12px !important;
  /* Нижний отступ внутри каждой карточки */
}
.steps-flaticon-container .step-flaticon .step-flaticon-icon {
  margin-bottom: 6px !important;
  /* Расстояние под иконкой */
}
.steps-flaticon-container .step-flaticon h3 {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  /* Расстояние под "ШАГ 1" */
}
.steps-flaticon-container .step-flaticon p {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  /* Расстояние под текстом перед кнопкой */
}
#slider-2478-particle, .edu-slider-bg {
  background-image: url('../../../../images/Слайдшоу_гл/ИТОГ%20ФОН.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
#slider-2478-particle::before, .edu-slider-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 85, 135, 0.7);
  z-index: 1;
  pointer-events: none;
}
#slider-2478-particle > .g-slider, #slider-2478-particle > *, .edu-slider-bg > .g-slider, .edu-slider-bg > * {
  position: relative;
  z-index: 2;
}
#slider-2478-particle > .g-slider {
  background: transparent !important;
}
.gov-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 колонки на десктопе */
  gap: 0;
  /* разделители — через border */
  width: 100%;
}
.gov-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  text-decoration: none;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  /* горизонтальный разделитель */
  transition: background 0.2s ease;
}
.gov-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.gov-link img {
  flex-shrink: 0;
  width: auto;
  height: 48px;
  /* фиксированная высота иконок */
  object-fit: contain;
}
.gov-link span {
  font-size: 15px;
  line-height: 1.35;
}
/* ── Убираем нижний разделитель у последнего ряда ─────────────── */
/* 11 элементов в 4 колонки: последний ряд — 3 элемента (9, 10, 11) */
.gov-link:nth-last-child(-n+3) {
  border-bottom: none;
}
/* ── Адаптивность ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* 2 колонки на планшете */
  /* убираем у последних 2 */
  .gov-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .gov-link:nth-last-child(-n+3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }
  .gov-link:nth-last-child(-n+2) {
    border-bottom: none;
  }
}
@media (max-width: 600px) {
  /* 1 колонка на мобильном */
  /* убираем только у последнего */
  .gov-links {
    grid-template-columns: 1fr;
  }
  .gov-link:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }
  .gov-link:last-child {
    border-bottom: none;
  }
  .gov-link {
    padding: 16px 12px;
  }
  .gov-link img {
    height: 40px;
  }
}
.docs-showcase {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  /* ← шире правая колонка */
  gap: 40px;
  align-items: center;
  max-width: 1300px;
  /* ← чуть шире сам блок */
  margin: 20px auto;
  /* ← убрал лишний вертикальный воздух */
  padding: 0 20px;
  box-sizing: border-box;
}
.docs-showcase__gallery {
  position: relative;
  height: 480px;
  /* ← выше */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* ← прижато вправо */
  padding-right: 20px;
}
.docs-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  /* ← крупнее карточки */
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s;
  outline: none;
}
.docs-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  background: #fff;
  pointer-events: none;
}
.docs-card:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-10deg) translateX(-110px);
  z-index: 1;
}
.docs-card:nth-child(2) {
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 3;
}
.docs-card:nth-child(3) {
  transform: translate(-50%, -50%) rotate(10deg) translateX(110px);
  z-index: 2;
}
.docs-card:hover {
  z-index: 10;
}
.docs-card:hover:nth-child(1) {
  transform: translate(-50%, -60%) rotate(-7deg) translateX(-120px) scale(1.05);
}
.docs-card:hover:nth-child(2) {
  transform: translate(-50%, -60%) rotate(0deg) scale(1.05);
}
.docs-card:hover:nth-child(3) {
  transform: translate(-50%, -60%) rotate(7deg) translateX(120px) scale(1.05);
}
/* 2) Лайтбокс — усиленная версия (с !important, чтобы точно не перебивалось) */
.docs-lightbox {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.85) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 2147483647 !important;
  /* максимальный z-index */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 40px;
  box-sizing: border-box;
  margin: 0 !important;
}
.docs-lightbox.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}
.docs-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background: #fff;
  display: block;
}
.docs-lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  padding: 0;
}
.docs-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* 3) Чуть больше воздуха внутри самого showcase */
.docs-showcase {
  margin: 10px auto !important;
  /* не 60px */
}
/* ─── Точечный фикс отступов для блока документов ─────────────── */
/* Только сам particle и его прямые обёртки */
#custom-3408-particle, #custom-3408-particle.g-content, #custom-3408-particle.g-particle {
  padding: 0 !important;
  margin: 0 !important;
}
/* Внутренние обёртки внутри НАШЕГО particle */
#custom-3408-particle > .docs-showcase, #custom-3408-particle .g-grid, #custom-3408-particle .g-block {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Сам блок — компактно */
.docs-showcase {
  margin: 10px auto !important;
  /* небольшой воздух сверху/снизу */
  padding: 0 !important;
}
/* Галерея — по содержимому */
.docs-showcase__gallery {
  height: auto !important;
  min-height: 380px;
  padding: 0 !important;
}
/* Текстовая часть — без лишних отступов */
.docs-showcase__text {
  padding: 0 !important;
}
/* Обертка для центрирования и отступов сверху/снизу */
.popular-directions-wrapper {
  width: 100%;
  max-width: 1920px;
  /* Ограничиваем ширину, чтобы на больших экранах не растягивалось */
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: inherit;
  /* Наследуем шрифт сайта */
}
/* ═══════════════════════════════════════════════════════════
   БЛОК "ПОПУЛЯРНЫЕ НАПРАВЛЕНИЯ"
   Работает для всех particle с классом .popular-directions-wrapper
   ═══════════════════════════════════════════════════════════ */
/* ─── ОБЁРТКА И РОДИТЕЛЬСКИЕ КОНТЕЙНЕРЫ GANTRY ─── */
.popular-directions-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 40px auto;
  padding: 0;
  box-sizing: border-box;
}
/* Пробьём родительские обёртки Gantry (любой particle с нашим блоком) */
.g-particle:has(.popular-directions-wrapper), .g-content:has(.popular-directions-wrapper), .g-block:has(.popular-directions-wrapper), .g-grid:has(.popular-directions-wrapper), .g-container:has(.popular-directions-wrapper) {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
/* ─── ЗАГОЛОВКИ ─── */
.popular-title {
  text-align: center !important;
  font-size: 44px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.2 !important;
}
.popular-subtitle {
  text-align: center !important;
  font-size: 25px !important;
  color: #666 !important;
  margin: 0 0 40px 0 !important;
  font-weight: 700 !important;
}
/* ─── СЕТКА ─── */
.popular-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 15px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.popular-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 0 25px 0 !important;
}
.popular-image-link {
  display: block !important;
  width: 300px !important;
  /* фиксированная ширина */
  max-width: 100% !important;
  /* но не больше колонки, если экран узкий */
  margin: 0 auto !important;
  overflow: hidden !important;
  text-decoration: none !important;
  border-radius: 0 !important;
}
.popular-image-link img {
  width: 100% !important;
  height: 230px !important;
  /* фиксированная высота */
  display: block !important;
  object-fit: cover !important;
  /* заполняет блок, обрезая лишнее */
  transition: transform 0.4s ease !important;
  aspect-ratio: auto !important;
  /* отменяем 4/3 из общего правила */
}
.popular-item:hover .popular-image-link img {
  transform: scale(1.05) !important;
}
.popular-caption {
  margin: 12px 0 0 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #09598a !important;
  transition: color 0.3s ease !important;
  line-height: 1.25 !important;
  padding: 0 5px !important;
}
.popular-item:hover .popular-caption {
  color: #e74c3c !important;
}
/* ─── АДАПТИВНОСТЬ ─── */
@media (max-width: 1024px) {
  .popular-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .popular-title {
    font-size: 56px !important;
  }
  .popular-subtitle {
    font-size: 16px !important;
  }
  .popular-caption {
    font-size: 14px !important;
  }
}
@media (max-width: 767px) {
  .popular-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .popular-title {
    font-size: 36px !important;
  }
  .popular-subtitle {
    font-size: 15px !important;
    margin-bottom: 25px !important;
  }
  .popular-caption {
    font-size: 14px !important;
  }
}
@media (max-width: 480px) {
  .popular-grid {
    grid-template-columns: 1fr !important;
  }
  .popular-title {
    font-size: 28px !important;
  }
}
/* ═══════════════════════════════════════════════════════════
   ОТСТУПЫ СЕКЦИЙ, ГДЕ ЛЕЖИТ БЛОК
   Работает для ЛЮБОЙ секции с нашим блоком (header, section и т.д.)
   ═══════════════════════════════════════════════════════════ */
/* Горизонтальные отступы — сюда менять значение */
section:has(.popular-directions-wrapper).section-horizontal-paddings, header:has(.popular-directions-wrapper).section-horizontal-paddings {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
/* Вертикальные отступы — сюда менять значение */
section:has(.popular-directions-wrapper).section-vertical-paddings, header:has(.popular-directions-wrapper).section-vertical-paddings {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
/* Внутренние обёртки секции — без отступов */
section:has(.popular-directions-wrapper) > .g-grid, header:has(.popular-directions-wrapper) > .g-grid, section:has(.popular-directions-wrapper) .g-block, header:has(.popular-directions-wrapper) .g-block {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
/* ═══════════════════════════════════════════════════════════
   БЛОК "ОТЗЫВЫ" — КАРУСЕЛЬ
   ═══════════════════════════════════════════════════════════ */
.reviews-carousel-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 40px 0;
  margin: 0;
  box-sizing: border-box;
  background-color: #f5f7fa;
  /* светлый фон */
  overflow: visible;
}
/* Пробьём родительские обёртки Gantry */
.g-particle:has(.reviews-carousel-wrapper), .g-content:has(.reviews-carousel-wrapper), .g-block:has(.reviews-carousel-wrapper), .g-grid:has(.reviews-carousel-wrapper), .g-container:has(.reviews-carousel-wrapper) {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.reviews-title {
  text-align: center !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin: 0 0 10px 0 !important;
}
.reviews-subtitle {
  text-align: center !important;
  font-size: 18px !important;
  color: #666 !important;
  margin: 0 0 40px 0 !important;
}
/* Контейнер карусели */
.reviews-carousel {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}
/* Лента с карточками */
.carousel-track {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  /* scroll-snap-type: x mandatory;*/
  padding: 10px 0 25px 0;
  /* Скрываем полосу прокрутки */
  scrollbar-width: thin;
  scrollbar-color: #09598a #e0e6ec;
}
.carousel-track::-webkit-scrollbar {
  height: 6px;
}
.carousel-track::-webkit-scrollbar-track {
  background: #e0e6ec;
  border-radius: 3px;
}
.carousel-track::-webkit-scrollbar-thumb {
  background: #09598a;
  border-radius: 3px;
}
/* Карточка */
.carousel-item {
  flex: 0 0 300px;
  /* ширина карточки */
  /*scroll-snap-align: start; */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(9, 89, 138, 0.12);
}
.carousel-image {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
}
.carousel-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.75;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.carousel-item:hover .carousel-image img {
  transform: scale(1.03);
}
.carousel-caption {
  margin: 8px 0 8px 0;
  font-size: 17px;
  font-weight: 700;
  color: #09598a;
}
.carousel-text {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  font-style: italic;
}
/* Кнопки навигации */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #09598a;
  color: #fff;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0 0 4px 0;
}
.carousel-btn:hover {
  background: #063a5c;
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev {
  left: 5px;
}
.carousel-next {
  right: 5px;
}
/* ─── АДАПТИВНОСТЬ ─── */
@media (max-width: 1024px) {
  .reviews-title {
    font-size: 34px !important;
  }
  .reviews-subtitle {
    font-size: 16px !important;
  }
  .carousel-item {
    flex: 0 0 260px;
  }
  .reviews-carousel {
    padding: 0 50px;
  }
}
@media (max-width: 767px) {
  .reviews-title {
    font-size: 26px !important;
  }
  .reviews-subtitle {
    font-size: 15px !important;
    margin-bottom: 25px !important;
  }
  .carousel-item {
    flex: 0 0 220px;
    padding: 15px;
  }
  .carousel-caption {
    font-size: 15px;
  }
  .carousel-text {
    font-size: 13px;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
  .reviews-carousel {
    padding: 0 15px;
  }
  .carousel-prev {
    left: 0;
  }
  .carousel-next {
    right: 0;
  }
}
/* ─── ЖЁСТКАЯ ФИКСАЦИЯ КАРТОЧКИ ─────────────── */
.carousel-track .carousel-item {
  flex: 0 0 300px !important;
  width: 300px !important;
  min-width: 300px !important;
  max-width: 300px !important;
  box-sizing: border-box !important;
}
/* Трек — не даёт сжаться */
.carousel-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  min-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  box-sizing: border-box !important;
}
/* ─── ФИНАЛЬНАЯ ФИКСАЦИЯ КАРТОЧКИ ─────────────── */
.carousel-track .carousel-item {
  flex: 0 0 300px !important;
  width: 300px !important;
  min-width: 300px !important;
  max-width: 300px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  /* position: static НЕ ставим — наоборот, relative нужен для карточки */
  position: relative !important;
  right: auto !important;
  left: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  background: #fff !important;
  border-radius: 12px !important;
  padding: 20px !important;
}
/* Картинка — обычный блок в потоке */
.carousel-track .carousel-image {
  width: 100% !important;
  margin-bottom: 20px !important;
  position: static !important;
  /* ← отменяем relative, который был */
  padding-bottom: 0 !important;
  /* ← убираем лишний padding */
}
/* Имя — обычный <p> в потоке, НЕ absolute */
.carousel-track .carousel-caption {
  position: static !important;
  /* ← ключевое: убираем absolute */
  margin: 0 0 8px 0 !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #09598a !important;
  text-align: center !important;
}
/* Текст отзыва — обычный <p> в потоке, НЕ absolute */
.carousel-track .carousel-text {
  position: static !important;
  margin: 0 !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  font-size: 14px !important;
  color: #555 !important;
  line-height: 1.5 !important;
  font-style: italic !important;
  text-align: center !important;
}
/* ═══════════════════════════════════════════════════════════
   БЛОК "ПОЛНЫЙ ПАКЕТ ДОКУМЕНТОВ"
   Две плашки: слева текст, справа картинки
   Одинаковая высота, аккуратное выравнивание
   ═══════════════════════════════════════════════════════════ */
/* Контейнер — растягивает обе плашки на одну высоту */
.two-buttons-container.doc-package {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  align-items: stretch !important;
  /* ← КЛЮЧЕВОЕ: обе плашки одинаковой высоты */
  justify-content: center !important;
  margin-bottom: 10px !important;
}
/* Обе плашки — тянем на всю высоту */
.doc-package .custom-button-outline {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  /* ← ОТМЕНЯЕМ flex-start, чтобы тянулись */
  box-sizing: border-box !important;
  padding: 25px !important;
  border-radius: 20px !important;
  background-color: #88BEDE !important;
  border: 2px solid #a0c6df !important;
}
/* Левая плашка (текст) */
.doc-package .button-67 {
  flex: 0 0 calc(67% - 15px) !important;
  max-width: calc(67% - 15px) !important;
  margin-bottom: 0 !important;
}
/* Правая плашка (картинки) */
.doc-package .button-33 {
  flex: 0 0 calc(33% - 15px) !important;
  max-width: calc(33% - 15px) !important;
}
/* ═══════════════════════════════════════════════════════════
   БЛОК "УДОСТОВЕРЕНИЕ" — ТЕКСТ + 1 КАРТИНКА СПРАВА
   Использует тот же .doc-package, что и блок с 3 картинками
   ═══════════════════════════════════════════════════════════ */
/* Контейнер — растягивает обе плашки на одну высоту */
.two-buttons-container.doc-package {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  align-items: stretch !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}
/* Обе плашки */
.doc-package .custom-button-outline {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
  padding: 25px !important;
  border-radius: 20px !important;
  background-color: #88BEDE !important;
  border: 2px solid #a0c6df !important;
}
/* Левая плашка (текст) */
.doc-package .button-67 {
  flex: 0 0 calc(67% - 15px) !important;
  max-width: calc(67% - 15px) !important;
  margin-bottom: 0 !important;
}
/* Правая плашка (картинки) */
.doc-package .button-33 {
  flex: 0 0 calc(33% - 15px) !important;
  max-width: calc(33% - 15px) !important;
}
/* ─── ТЕКСТ ─── */
.doc-text-plate {
  color: #222222 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  text-align: left !important;
}
.doc-text-plate p {
  margin: 0 0 12px 0 !important;
  color: #222222 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}
.doc-text-plate p:last-child {
  margin-bottom: 0 !important;
}
.doc-text-plate .doc-text-title {
  display: block !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #09598a !important;
  margin: 0 0 18px 0 !important;
  line-height: 1.3 !important;
}
/* ─── ПРАВАЯ ПЛАШКА: ОДНА КАРТИНКА ─── */
.doc-image-plate {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  /* центрируем по вертикали */
  align-items: center !important;
  padding: 20px !important;
}
.doc-image-single {
  width: 100% !important;
  max-width: 320px !important;
  /* ← ограничиваем ширину картинки */
  text-align: center !important;
}
.doc-image-single img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease !important;
}
.doc-image-single img:hover {
  transform: scale(1.03) !important;
}
/* ─── АДАПТИВНОСТЬ ─── */
@media (max-width: 1024px) {
  .doc-package .button-67, .doc-package .button-33 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .doc-text-plate .doc-text-title {
    font-size: 20px !important;
  }
  .doc-image-single {
    max-width: 280px !important;
  }
}
@media (max-width: 767px) {
  .doc-package .custom-button-outline {
    padding: 18px !important;
  }
  .doc-text-plate, .doc-text-plate p {
    font-size: 15px !important;
  }
  .doc-text-plate .doc-text-title {
    font-size: 18px !important;
  }
  .doc-image-single {
    max-width: 240px !important;
  }
}
/* ═══════════════════════════════════════════════════════════
   ЛАЙТБОКС ДЛЯ ОТЗЫВОВ
   ═══════════════════════════════════════════════════════════ */
/* Ссылка-обёртка картинки */
.carousel-image-link {
  display: block;
  width: 100%;
  text-decoration: none;
  cursor: zoom-in;
  position: relative;
}
/* Иконка "лупа" при наведении — через SVG в base64 */
.carousel-image-link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  z-index: 2;
  /* Лупа в base64 — точно работает во всех браузерах */
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDk1OThhIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iNyIvPjxsaW5lIHgxPSIyMSIgeTE9IjIxIiB4Mj0iMTYuNjUiIHkyPSIxNi42NSIvPjxsaW5lIHgxPSIxMSIgeTE9IjgiIHgyPSIxMSIgeTI9IjE0Ii8+PGxpbmUgeDE9IjgiIHkxPSIxMSIgeDI9IjE0IiB5Mj0iMTEiLz48L3N2Zz4=');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.carousel-item:hover .carousel-image-link::after {
  opacity: 1;
}
/* Затемнение фона под иконкой */
.carousel-image-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 8px;
  pointer-events: none;
}
.carousel-item:hover .carousel-image-link::before {
  opacity: 1;
}
/* ─── Сам лайтбокс ─── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 40px;
  box-sizing: border-box;
  cursor: zoom-out;
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #fff;
  cursor: default;
  transition: transform 0.3s ease;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  padding: 0;
  z-index: 2;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* Адаптивность */
@media (max-width: 767px) {
  .lightbox-overlay {
    padding: 20px;
  }
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .lightbox-overlay img {
    max-width: 95vw;
    max-height: 85vh;
  }
}
/*# sourceMappingURL=custom_109.css.map */