h1 {
  font-weight: 700;
  font-size: 50px;
  line-height: 52px;
  text-transform: uppercase;
  color: #fff;
}

h2 {
  font-weight: 400;
  font-size: 25px;
  line-height: 30px;
  color: #fff;
  padding: 20px 0px 50px 0px;
}

.hero-section {
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  margin: 0 auto;
  padding: 20px;
}

.main-banner {
  position: relative;
  /* Чтобы видео позиционировалось внутри баннера */
  overflow: hidden;
  /* Чтобы видео обрезалось по краям скругления 25px */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 25px;
  padding: 20px 90px 90px 90px;
  background-color: var(--color-blue);
  /* Черный фон на случай, если картинка/видео не загрузятся */
}

/* Контейнер для фонового видео */
.main-banner .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url('/img/main-banner-back.webp');
  border-radius: 25px;
  /* Уводим видео на задний план */
}

/* Само видео внутри контейнера */
.main-banner .video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Заполнение блока без искажения пропорций видео */
  pointer-events: none;
  /* Отключает всплывающую панель Яндекс Браузера */
}

/* Затемняющий фильтр поверх видео для читаемости белого текста */
.main-banner .video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.30);
  /* Черная вуаль с прозрачностью 30% */
  z-index: 2;
  /* Ложится строго поверх видео, но под текст */
}

/* Поднимаем шапку, бургер-меню и контент выше слоя видео */
.main-banner .header,
.main-banner .banner-content {
  position: relative;
  z-index: 3;
  /* Элементы становятся активными и кликабельными */
}




.main-banner-btn-container {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.main-banner-btn-main,
.main-banner-btn-arrow {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.main-banner-btn-main {
  height: 70px;
  padding: 0 40px;
  font-weight: 600;
  font-size: 30px;
  border-radius: 86px;
}

.main-banner-btn-arrow {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

/* Стилизация SVG-стрелки */
.main-banner-btn-arrow svg {
  transition: transform 0.3s ease;
  width: 35px;
  height: 35px;
}

.main-banner-btn-container:hover .main-banner-btn-main,
.main-banner-btn-container:hover .main-banner-btn-arrow {
  background-color: var(--color-green);
  border-color: var(--color-green);
}

.main-banner-btn-container:hover .main-banner-btn-arrow svg {
  transform: translateX(4px);
}

.features {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Овальные мини-картинки внутри текста */
.text-img {
  display: inline-block;
  vertical-align: middle;
  height: 46px;
  border-radius: 62px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 60%;
}

.text-img--sea {
  width: 200px;
  background-position: 50% 60%;
  background-image: url('../img/text-img--sea.webp');
}

.text-img--boat {
  width: 120px;
  background-position: 50% 30%;
  background-image: url('../img/text-img--boat.webp');
}

/* ==========================================================================
   4. Стили карточек преимуществ
   ========================================================================== */

/* Контейнер для карточек */
.features-grid {
  display: flex;
  flex-wrap: wrap;         /* Позволяет карточкам переноситься при нехватке места */
  gap: 20px;               /* Фиксированный отступ между карточками */
  justify-content: center; /* Центрирует перенесенные элементы (например, третью карточку) */
  width: 100%;
}

/* Стили самой карточки */
.card {
  width: calc((100% - 40px) / 3); 
  min-width: 250px;        /* Минимальный порог, после которого начнется перенос */
  max-width: 386px;        /* Максимальная ширина, чтобы карточка не раздувалась внизу */
  flex-grow: 1;            /* Позволяет карточкам плавно адаптироваться по ширине */
  position: relative;
  padding: 35px 25px;
  border-radius: 24px;
  text-align: left;
  color: white;
  height: 270px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-title {
  font-weight: 700;
  font-style: Bold;
  font-size: 45px;
  line-height: 52px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card-text {
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 25px;
  opacity: 0.8;
  max-width: 80%;
}

/* Фоновые полупрозрачные цифры */
.card-number {
  position: absolute;
  bottom: -40px;
  right: 15px;
  font-size: 100px;
  font-weight: 400;
  font-style: Regular;
  opacity: 0.2;
  user-select: none;
}



/* ==========================================================================
   Стили конфигуратора
   ========================================================================== */

.wrapper-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0px 20px;
}

.configurator {
  width: 100%;
  margin-top: var(--space-main);
  ;
  background-color: var(--color-gray);
  padding-top: var(--space-main);
  padding-bottom: var(--space-main);
  border-radius: 25px;
  padding-left: 60px;
  padding-right: 60px;
}

/* Блок выбора модели и Конфигурации */
.selectors-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 50px;
}

.selectors-grid-item {
  display: flex;
  flex-direction: column;
  width: calc(50% - 20px);
}

.column-title {
  margin-bottom: 20px;
}

/* Кнопки моделей */
.models-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 8px;
}

.btn-model {
  background: #fff;
  border: 2px solid var(--color-gray-dark);
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  color: var(--color-gray-dark);
  transition: all 0.2s ease;
  font-weight: 700;
  font-style: Bold;
  font-size: 25px;
  line-height: 25px;
  text-align: center;

}

.btn-model.active {
  background: var(--color-green);
  color: #fff;
  border-color: var(--color-green);
}

.preview-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}

.boat-image {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
}

/* Блок характеристик */





.spec-value {
  color: var(--color-dark);

  font-weight: 600;
  font-style: SemiBold;
  font-size: 20px;
  text-align: center;

}

.price-block {
  color: var(--color-dark);
  font-weight: 700;
  font-style: Bold;
  font-size: 40px;
  line-height: 50px;
}


/* Анимация обновления контента */
.fade-in {
  animation: fadeInEffect 0.3s ease-out forwards;
}

@keyframes fadeInEffect {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* =================================================================*/


/* --- ПРАВАЯ КОЛОНКА: инфо и цена --- */

/* Сетка иконок */
.boat-features {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}

/* Карточка одной характеристики */
.boat-features__item {
  flex: 1;
  border: 1px solid var(--color-gray-mid);
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  /* Иконка над текстом */
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 65px;
}

.boat-features__icon {
  width: 80px;
  height: 56px;

}

.boat-features__icon2 {
  width: 40px;
  height: 56px;
}

.noborder {
  border: none;
}

/* Кнопка */

.configurator .main-btn-container {
  width: 100%;
  margin-top: 20px;

}

.configurator .main-btn-main,
.configurator .main-btn-arrow {
  border: 2px solid var(--color-blue);
  background-color: var(--color-blue);
}

.main-btn-main {
  padding: 0 30px;
}


.configurator .main-btn-container:hover .main-btn-main,
.configurator .main-btn-container:hover .main-btn-arrow {
  color: #fff;
  background-color: var(--color-green);
  border-color: var(--color-green);
}

/* О НАС ============================================================ */

/* Верхняя линия (Заголовок + Карточка) */
.about-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}


/* Плашка «Тиера Фиш» */
.about-badge {
  display: flex;
  align-items: center;
  height: 130px;
  background-color: color-mix(in srgb, var(--color-green) 30%, transparent);
  padding: 15px;
  border-radius: 106px;
}

.badge-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 25px;
}

.badge-text {
  margin-right: 25px;
}

/* Главный блок контента */
.about-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

/* Описание слева */
.about-description {
  flex: 1;
  max-width: 380px;
}

.about-stats-grid {
  flex: 1.5;
  display: flex;
  flex-wrap: wrap;
  /* Позволяет карточкам переноситься на новую строку */
  gap: 40px;
  /* Отступы между элементами */
}

/* Элемент статистики */
.stat-item {
  /* Высчитываем ширину: 50% минус половина отступа gap (40px / 2 = 20px) */
  flex: 1 1 calc(50% - 20px);
  padding-bottom: 20px;
}

.stat-number {
  font-size: 60px;
  font-weight: bold;
  color: var(--color-green);
  margin-bottom: 10px;
  line-height: 1;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-gray-dark);
}

.dnk-boat {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  width: 100%;
  height: 400px;
  background: linear-gradient(90deg, rgba(0, 59, 91, 0) 23.57%, rgba(0, 59, 91, 0.47) 100%), url(../img/dnk-boat-back.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 25px;
  padding: 50px;

}

.dnk-boat--text {
  display: inline-flex;
  align-items: center;
  width: max-content;
  height: 45px;
  border: 2px solid #fff;
  border-radius: 51px;
  padding: 5px 30px;
  margin-top: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}

/* КАК КУПИТЬ ========================================================================== */
.how-to-buy {
  width: 1000px !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  text-align: center;
  padding: 60px 0px 20px 0px;
}

.how-to-buy h4 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.steps-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  position: relative;
  width: 100% !important;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* СЕРАЯ ФОНОВАЯ ПОЛОСА (КАПСУЛА) */
.steps-container::before {
  content: '';
  position: absolute;
  top: 85px; 
  left: 75px;
  width: 850px;
  height: 96px;
  background-color: var(--color-gray, #f5f5f5);
  border-radius: 48px;
  z-index: 1;
}

/* На десктопе полностью скрываем новые мобильные HTML-точки */
.step-dot-divider {
  display: none !important;
}

/* Колонки шагов */
.step-item {
  width: 250px !important;
  flex-shrink: 0 !important;
  display: grid !important;
  grid-template-rows: 36px 60px auto; 
  row-gap: 45px; 
  justify-items: center;
  align-items: center;
  position: relative;
  z-index: 3;
}

.step-content-box {
  display: contents; 
}

/* Синие круги для иконок */
.step-icon-wrapper {
  grid-row: 2; 
  width: 60px;
  height: 60px;
  background-color: var(--color-blue, #a2c6e3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 !important; 
}

.step-icon {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
}

/* Заголовки над плашкой */
.step-title {
  grid-row: 1;
  height: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 190px;
  text-align: center;
  margin: 0 !important;
}

/* Описание под плашкой */
.step-desc {
  grid-row: 3;
  max-width: 200px;
  text-align: center;
  margin: 0 !important;
  align-self: start; 
}

/* ==========================================================================
   ЖЕЛЕЗОБЕТОННЫЙ ДЕСКТОРНЫЙ ПУНКТИР И ТОЧКИ (Порядковый выбор)
   ========================================================================== */

/* Рисуем линии только для 1, 2 и 3 шагов */
.step-item:nth-child(1) .step-icon-wrapper::after,
.step-item:nth-child(3) .step-icon-wrapper::after,
.step-item:nth-child(5) .step-icon-wrapper::after {
  content: '';
  position: absolute;
  left: 60px; 
  width: 190px; 
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background-image: linear-gradient(to right, #a2c6e3 10px, transparent 10px);
  background-size: 16px 3px;
  background-repeat: repeat-x;
  z-index: -2;
}

/* Ставим точки только для 1, 2 и 3 шагов */
.step-item:nth-child(1) .step-icon-wrapper::before,
.step-item:nth-child(3) .step-icon-wrapper::before,
.step-item:nth-child(5) .step-icon-wrapper::before {
  content: '';
  position: absolute;
  left: calc(60px + 95px - 6px); 
  top: 50%;
  transform: translateY(-50%) !important;
  width: 12px;
  height: 12px;
  background-color: #92b9da;
  border-radius: 50%;
  z-index: -1;
}




/* ЧАВО ==================================================*/

/* Разрешаем браузерам анимировать высоту до значения auto */
html {
  interpolate-size: allow-keywords;
}

/* Контейнер для списка вопросов */
.faq-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: var(--space-main);
  gap: 20px;
}

/* Базовое состояние карточки — Закрыто (Синий цвет) */
.faq-item {
  background-color: color-mix(in srgb, var(--color-blue) 30%, transparent);
  ;
  border-radius: 20px;
  overflow: hidden;
  transition: background-color 0.3s ease;
  /* Плавное изменение цвета фона */
}

/* Состояние карточки — Открыто (Зеленый цвет) */
.faq-item[open] {
  background-color: color-mix(in srgb, var(--color-green) 30%, transparent);
  ;
}

/* Стили кликабельного заголовка */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  cursor: pointer;
  list-style: none;
  /* Убираем стандартный маркер */
  font-weight: 500;
  font-style: Medium;
  font-size: 25px;
  line-height: 50px;

}

/* Убираем маркер в Safari */
.faq-question::-webkit-details-marker {
  display: none;
}

/* Кастомная стрелочка-галочка */
.faq-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-right: 5px;

  /* Добавьте эти строки для мобильных устройств: */
  flex-shrink: 0;                /* Запрещает сжимать стрелку при нехватке места */
  transform-origin: center center; /* Четко фиксирует центр вращения */
  backface-visibility: hidden;    /* Включает аппаратное ускорение и сглаживает кривизну */
}


/* Поворот стрелочки вверх при открытии */
.faq-item[open] .faq-arrow {
  transform: rotate(-135deg);
  /* Смотрит вверх */
}

/* --- Настройка плавной анимации раскрытия текста --- */

/* Контейнер-обертка для управления высотой */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  /* Изначально высота скрыта */
  transition: grid-template-rows 0.3s ease-out, opacity 0.2s ease;
  opacity: 0;
}

/* Когда details открыт, плавно меняем сетку до 1fr (авто-высота контента) */
.faq-item[open] .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Внутренний контейнер, который физически сжимается/разжимается */
.faq-answer {
  overflow: hidden;
}

/* Сам текст ответа с внутренними отступами */
.faq-answer p {
  margin: 0;
  padding: 0 30px 24px 30px;
  /* Отступы слева, справа и снизу */
}

/* ЗАКАЗ ===============================================================*/

/* 2. Главный контейнер-родитель */
.order-section {
  position: relative;
  /* ВАЖНО: становится точкой отсчета для абсолютного фона */
  width: 100%;
  max-width: 1400px;
  min-height: 900px;
  /* Высота всего блока из макета */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: end;
  /* Центрирует внутренний контент .wrapper */
  overflow: visible;
  /* Чтобы форма могла выходить за нижний край, если нужно */
  padding-bottom: var(--space-main);

}

/* 3. Фоновый блок, прижатый к верху */
.order-back {
  position: absolute;
  /* Вырываем блок из общего потока */
  top: 0;
  /* Прижимаем строго к верхнему краю родителя */

  /* ИЗМЕНЕНИЯ ТУТ: вместо left: 0 и width: 100% */
  left: 20px;
  /* Отступ 20px от левого края родителя */
  right: 20px;
  /* Отступ 20px от правого края родителя */
  /* width: 100%; */
  /* ЭТУ СТРОКУ ОБЯЗАТЕЛЬНО УДАЛЯЕМ ИЛИ КОММЕНТИРУЕМ */

  height: 700px;
  /* Задаем фиксированную высоту синей зоны фона */

  /* Настройки самого изображения */
  background-image: url('../img/order-back.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  border-radius: 25px;
  /* Скругление углов синего фона, как на макете */
  z-index: 1;
  /* Отправляем на задний план */
}


/* 4. Контейнер для контента (форма, плашки и т.д.) */
.order-wrapper {
  position: relative;
  /* Чтобы контент отображался ПОВЕРХ абсолютного фона */
  z-index: 2;
  /* Поднимаем над фоном .order-back */

  width: 100%;
  max-width: var(--wrapper-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
}

.order-badge {
  display: flex;
  align-items: center;
  height: 130px;
  background-color: color-mix(in srgb, var(--color-blue) 30%, transparent);
  padding: 15px;
  border-radius: 106px;
}

.order-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 25px;
}

.order-text {
  margin-right: 25px;
}

/* 2. Карточка формы (светло-серый фон, скругления, тени) */
.form-container {
  background: var(--color-gray);
  width: 100%;
  max-width: 500px;
  padding: 40px 40px 20px 40px;
  border-radius: 20px;
}

.form-container h3 {
  text-align: left;
  padding-bottom: 15px;
}

.form-container p {
    text-align: justify;
}

/* 3. Вертикальная структура полей формы */
.feedback-form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.form-container .main-btn-container{
  justify-content: center;
}

@media (max-width: 1200px) {

  h1 {
    font-size: 42px;
    line-height: 44px;
  }

  h2 {
    font-size: 21px;
    line-height: 25px;
    padding: 20px 0px 40px 0px;
  }

  .main-banner {
    padding: 30px 50px 50px 50px;
  }

  .main-banner-btn-main {
    height: 60px;
    padding: 0 34px;
    font-size: 26px;
  }

  .main-banner-btn-arrow {
    width: 60px;
    height: 60px;
  }

  .main-banner-btn-arrow svg {
    width: 30px;
    height: 30px;
  }

  .text-img {
    height: 40px;
  }

  .text-img--sea {
    width: 170px;
  }

  .text-img--boat {
    width: 102px;
  }

  .card-title {
    font-size: 38px;
    line-height: 44px;
  }

  .card-text {
    font-size: 18px;
    line-height: 21px;
  }

  .btn-model {
    font-size: 21px;
    line-height: 21px;
  }

  .spec-value {
    font-size: 18px;
  }

  .price-block {
    font-size: 34px;
    line-height: 43px;
  }

  .boat-features__icon {
    width: 70px;
    height: 48px;
  }

  .boat-features__icon2 {
    width: 34px;
    height: 48px;
  }

  .about-top {
    margin-bottom: 51px;
  }

  .about-badge {
    height: 110px;
  }

  .badge-image img {
    width: 85px;
    height: 85px;
    margin-right: 21px;
  }

  .badge-text {
    margin-right: 21px;
  }

  .stat-number {
    font-size: 51px;
  }

  .dnk-boat {
    padding: 43px;
  }

  .dnk-boat--text {
    height: 38px;
    font-size: 18px;
  }

  .faq-question {
    font-size: 21px;
    line-height: 43px;
  }
.order-section {
  min-height: 750px;
}
  .order-back {
    background-position: 30% top;
    height: 600px;
  }

  .order-wrapper{
    padding-right: 30px;
  }

  .order-badge {
    height: 110px;
  }

  .order-image img {
    width: 85px;
    height: 85px;
    margin-right: 21px;
  }

  .order-text {
    margin-right: 21px;
  }
}

@media (max-width: 1024px) {
h1 {
  font-size: 36px;
  line-height: 38px;
}

h2 {
  font-size: 18px;
  line-height: 21px;
}

.main-banner {
  padding: 20px 66px 66px 66px;
}

.main-banner-btn-main {
  height: 50px;
  font-size: 22px;
}

.main-banner-btn-arrow {
  width: 50px;
  height: 50px;
}

.main-banner-btn-arrow svg {
  width: 26px;
  height: 26px;
}

.text-img {
  height: 34px;
}

.text-img--sea {
  width: 145px;
}

.text-img--boat {
  width: 87px;
}

.card { 
  min-width: 220px;
  height: 250px;
}

.card-title {
  font-size: 32px;
  line-height: 37px;
}

.card-text {
  font-size: 16px;
  line-height: 18px;
}

.configurator {
  padding-left: 29px;
  padding-right: 29px;
}

.selectors-grid-item {
  display: flex;
  flex-direction: column;
  width: calc(50% - 10px);
}

.btn-model {
  font-size: 18px;
  line-height: 18px;

}

.spec-value {
  font-size: 16px;
}

.price-block {
  font-size: 29px;
  line-height: 37px;
}

.boat-features__icon {
  width: 60px;
  height: 41px;

}

.boat-features__icon2 {
  width: 29px;
  height: 41px;
}

.main-btn-main {
  padding: 0 25px;
}

.about-top {
  margin-bottom: 43px;
}

.about-badge {
  height: 94px;
}

.badge-image img {
  width: 72px;
  height: 72px;
  margin-right: 18px;
}

.badge-text {
  margin-right: 18px;
}

.about-content {
  gap: 36px;
}

/* Описание слева */
.about-description {
  max-width: 360px;
}

.about-stats-grid {
  gap: 29px;
}

.stat-number {
  font-size: 40px;
}

.dnk-boat {
  height: 340px;
  padding: 36px;
}

  .how-to-buy {
    width: 760px !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    text-align: center;
    padding: 50px 0px 0px 0px;
  }

  .steps-container {
    display: flex !important;
    flex-direction: row !important; /* Строго в ряд */
    justify-content: space-between !important;
    width: 100% !important;
    position: relative;
  }

  /* СЕРАЯ ФОНОВАЯ ПОЛОСА (Ваш расчет) */
  .steps-container::before {
    top: 85px;
    left: 40px;
    width: 680px;
    height: 92px;
    border-radius: 46px;
  }

  /* ВАЖНО: Полностью скрываем мобильные HTML-точки в этом диапазоне */
  .steps-container .step-dot-divider {
    display: none !important;
  }

  /* Колонки шагов сжимаются до 190px по вашему расчету */
  .step-item {
    width: 190px !important;
    display: grid !important; /* Возвращаем Grid, чтобы заголовки были строго сверху */
    grid-template-rows: 36px 60px auto; 
    row-gap: 45px; 
    justify-items: center;
    align-items: center;
    position: relative;
    z-index: 3;
  }

  .step-content-box {
    display: contents; 
  }

  /* Синие круги */
  .step-icon-wrapper {
    grid-row: 2;
    width: 60px;
    height: 60px;
    margin: 0 !important;
    position: relative;
  }

  /* Заголовки над плашкой (Ваш расчет) */
  .step-title {
    grid-row: 1;
    height: 36px;
    max-width: 160px;
    margin: 0 !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  /* Описание под плашкой */
  .step-desc {
    grid-row: 3;
    max-width: 160px;
    margin: 0 !important;
  }

  /* ==========================================================================
     КОРРЕКТИРОВКА ЛИНИЙ И ТОЧЕК ДЛЯ НАШИХ 190px КОЛОНОК
     ========================================================================== */

  /* Уменьшаем длину пунктирных штрихов (с 184px десктопных до 124px планшетных) */
  .step-item:nth-child(1) .step-icon-wrapper::after,
  .step-item:nth-child(3) .step-icon-wrapper::after,
  .step-item:nth-child(5) .step-icon-wrapper::after {
    content: '';
    position: absolute;
    left: 60px; 
    width: 124px; /* Новая подогнанная длина штриха до следующего круга */
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    background-image: linear-gradient(to right, #a2c6e3 10px, transparent 10px) !important;
    background-size: 16px 3px !important;
    background-repeat: repeat-x !important;
    z-index: -2;
  }

  /* Жирная синяя точка ровно по центру укороченного пунктира (Ваш расчет) */
  .step-item:nth-child(1) .step-icon-wrapper::before,
  .step-item:nth-child(3) .step-icon-wrapper::before,
  .step-item:nth-child(5) .step-icon-wrapper::before {
    content: '';
    position: absolute;
    left: calc(60px + 62px - 6px); /* 60px круг + 62px (центр 124px линии) - 6px радиус точки */
    top: 50%;
    transform: translateY(-50%) !important;
    width: 12px;
    height: 12px;
    background-color: #92b9da;
    border-radius: 50%;
    z-index: -1;
  }

.faq-question {
  font-size: 18px;
  line-height: 36px;
}

.order-badge {
  height: 94px;
}

.order-image img {
  width: 72px;
  height: 72px;
  margin-right: 18px;
}

.order-text {
  margin-right: 18px;
}

.form-container {
  max-width: 400px;
  padding: 30px;
}
}

@media (max-width: 768px) {
h1 {
  font-size: 30px;
  line-height: 100%;
  color: var(--color-dark);
  padding-top: 0px;
}

h2 {
  font-size: 17px;
  line-height: 20px;
  padding: 0px;
    color: var(--color-dark);
}

h2 br{
  display: none;
}

.main-banner {
  padding: 20px 30px 30px 30px;
  background-color: var(--color-gray);
}

.main-banner .video-background {
  height: 50%;
  background-image: url('../img/main-banner-back-tablet.webp');
}

.main-banner .video-background video {
  border-radius: 25px;
}

.main-banner .video-background::after {
  border-radius: 25px;
}

.banner-content{
  display: flex;
  flex-direction:column;
  justify-content:space-between;
  height: 50%;
  text-align: center;
  align-items: center;
}

.main-banner-btn-container{
  margin-bottom: 20px;
}

.main-banner-btn-main,
.main-banner-btn-arrow {
  background-color: var(--color-green);
  border: 2px solid var(--color-green);
}

.main-banner-btn-main {
  height: 45px;
  font-size: 19px;
}

.main-banner-btn-arrow {
  width: 45px;
  height: 45px;
}

.main-banner-btn-arrow svg {
  width: 22px;
  height: 22px;
}


.main-banner-btn-container:hover .main-banner-btn-main,
.main-banner-btn-container:hover .main-banner-btn-arrow {
  background-color: #fff;
  border-color: var(--color-green);
  color: var(--color-green);
}

.text-img {
  height: 29px;
}

.text-img--sea {
  width: 123px;
}

.text-img--boat {
  width: 74px;
}

.card {
  min-width: 240px;
  max-width: 280px;
  height: 240px;
}

.card-title {
  font-style: 27px;
  line-height: 32px;
}

.card-text {
  font-size: 16px;
  line-height: 18px;
}

.card-number {
  bottom: -33px;
  right: 15px;
  font-size: 85px;
}

.selectors-grid {
  flex-direction: column;
  width: 100%;
  margin-bottom: 40px;
  gap:20px
}

.selectors-grid-item {
  width: 100%;
  align-items: center;
}

.column-title {
  margin-bottom: 20px;
}

.models-list{
  width: 100%;
}

.btn-model {
  font-size: 18px;
  line-height: 20px;
}

.boat-features{
  width: 100%;
}

.boat-image {
  max-width: 100%;
}

.about-top {
  flex-direction: column-reverse;
  margin-bottom: 40px;
  align-items: flex-end;
}

.about-badge {
  height: 80px;
  margin-bottom: 20px;
}

.badge-image img {
  width: 61px;
  height: 61px;
}

.about-top h4{
  width: 100%;
  text-align: left;
  padding-bottom: 0px;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 31px;
}

/* Описание слева */
.about-description {
  max-width: none;
}

.about-stats-grid {
  gap: 30px;
  justify-content: space-around;
}

.stat-item {
  flex: 1 1 calc(50% - 30px);
  padding-bottom: 20px;
  max-width: 230px;
  min-width: 205px;
}

.stat-number {
  font-size: 37px;
}

.dnk-boat {
  background: linear-gradient(180deg, rgba(0, 59, 91, 0) 23.57%, rgba(0, 59, 91, 0.47) 100%), url(../img/dnk-boat-back.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 30px;
}

.dnk-boat--text {
  height: 32px;
}

/* КАК КУПИТЬ ============================================*/
 
  /* ==========================================================================
     1. ЖЕЛЕЗОБЕТОННЫЙ СБРОС ДЕСКТОРНЫХ СТИЛЕЙ ЛИНИЙ И ТОЧЕК
     ========================================================================== */
  .step-item .step-icon-wrapper::after,
  .step-item .step-icon-wrapper::before,
  .step-item:nth-child(1) .step-icon-wrapper::after,
  .step-item:nth-child(1) .step-icon-wrapper::before,
  .step-item:nth-child(3) .step-icon-wrapper::after,
  .step-item:nth-child(3) .step-icon-wrapper::before,
  .step-item:nth-child(5) .step-icon-wrapper::after,
  .step-item:nth-child(5) .step-icon-wrapper::before {
    display: none !important;
    content: none !important;
  }

  .step-item::before, .step-item::after,
  .step-content-box::before, .step-content-box::after,
  .step-title::before, .step-title::after,
  .step-desc::before, .step-desc::after {
    display: none !important;
    content: none !important;
  }

  .step-dot-divider {
    display: none !important;
    content: none !important;
  }

  /* ==========================================================================
     2. ОБЩИЕ СТИЛИ СЕКЦИИ
     ========================================================================== */
  .how-to-buy {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 40px 20px;
  }

  .how-to-buy h4 {
    text-align: center !important;
    font-size: 22px !important;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  /* ==========================================================================
     3. КОНТЕЙНЕР ДЛЯ ШАГОВ (ФИКСИРОВАННАЯ ВЫСОТА 4 * 170px = 680px)
     ========================================================================== */
  .steps-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; 
    padding: 0 !important; 
    position: relative !important;
    width: 100% !important;
    max-width: 350px !important; 
    margin: 0 auto !important;
    height: 680px !important;
  }

  /* ==========================================================================
     4. СЕРАЯ КАПСУЛА + 3 СИНblockИЕ ТОЧКИ НА НЕЙ (НИЖНИЙ СЛОЙ)
     ========================================================================== */
  .steps-container::before {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    left: 0 !important; 
    width: 72px !important; 
    top: 45px !important;               /* На 10px выше первого кружка */
    height: 590px !important;           /* Заканчивается на 10px ниже последнего */
    border-radius: 36px !important;
    z-index: 1 !important;

    /* Рисуем сначала 3 точки, затем сплошную серую подложку */
    background-image: 
      radial-gradient(circle, #92b9da 6px, transparent 6.5px), /* Точка 1 */
      radial-gradient(circle, #92b9da 6px, transparent 6.5px), /* Точка 2 */
      radial-gradient(circle, #92b9da 6px, transparent 6.5px), /* Точка 3 */
      linear-gradient(to bottom, #f5f5f5, #f5f5f5);          /* Серая капсула */

    /* Выравнивание строго по центру оси серой плашки */
    background-position: 
      center 125px,                     /* Стык 1 и 2 шага (170px - 45px) */
      center 295px,                     /* Стык 2 и 3 шага (340px - 45px) */
      center 465px,                     /* Стык 3 и 4 шага (510px - 45px) */
      left top;

    background-size: 
      12px 12px, 
      12px 12px, 
      12px 12px, 
      100% 100%;

    background-repeat: no-repeat;
  }

  /* ==========================================================================
     5. ЧИСТЫЙ ВЕРТИКАЛЬНЫЙ ПУНКТИР (ИЗОЛИРОВАННЫЙ СЛОЙ МЕЖДУ СЕРОЙ КАПСУЛОЙ И ИКОНКАМИ)
     ========================================================================== */
  .steps-container::after {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    left: 36px !important;              /* По центру серой подложки */
    top: 85px !important;               /* Начинается ровно из центра первой иконки */
    width: 3px !important;  
    height: 510px !important;           /* Высота строго до центра 4-й иконки */
    transform: translateX(-50%) !important;
    z-index: 2 !important;              /* Ложится выше серого фона, но ниже иконок */
    background-image: linear-gradient(to bottom, #92b9da 10px, transparent 10px) !important;
    background-size: 3px 16px !important; /* Высота одного штриха с отступом */
    background-repeat: repeat-y !important; /* Цикличное повторение по всей высоте */
  }

  /* ==========================================================================
     6. СТИЛИ ШАГА И ИКОНОК
     ========================================================================== */
  .step-item {
    width: 100% !important; 
    height: 170px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    position: relative !important;
    z-index: 3 !important;
    margin-bottom: 0 !important;
  }

  .step-icon-wrapper {
    grid-row: auto !important;
    margin: 0 0 0 6px !important;
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
    z-index: 4 !important;
    background-color: #a2c6e3 !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important;
  }

  .step-icon {
    width: 90% !important;
    height: 90% !important;
    object-fit: contain !important;
    display: block !important;
  }

    /* ==========================================================================
     7. ТЕКСТОВЫЙ БЛОК ШАГА
     ========================================================================== */
  .step-content-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-left: 25px !important; 
    flex-grow: 1 !important; 
    width: calc(100% - 72px) !important; 
    height: 170px !important;
    justify-content: center !important;
    z-index: 3 !important;
    box-sizing: border-box !important;
  }

  .step-title {
    display: block !important;    
    width: 100% !important;       
    max-width: none !important;
    height: auto !important;
    margin: 0 0 6px 0 !important;
    text-align: left !important;
  }

  .step-desc {
    display: block !important;    
    width: 100% !important;       
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: 14px !important;   
    line-height: 1.4 !important;
  }

/* ЧАВО ==================================================*/
.faq-question {
  font-size: 16px;
  line-height: 32px;
  gap: 15px;
}

.order-section {
  min-height: 850px;
}
  .order-back {
    background-position: 30% top;
    height: 650px;
  }


.order-wrapper {
  flex-direction: column-reverse;
  justify-content: center;
  align-items: end;
}

.order-badge {
  height: 80px;
  margin-top: 30px;
}

.order-image img {
  width: 61px;
  height: 61px;
  margin-right: 16px;
}

.order-text {
  margin-right: 16px;
}

.form-container {
  max-width: 400px;
  padding: 30px 20px 20px 20px;
}
}

@media (max-width: 480px) {

h1 {
  font-size: 30px;
  line-height: 100%;
  margin-top: 20px;
}

h2 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-section {
  padding: 10px;
}

.main-banner {
  padding: 20px;
}

.main-banner .video-background {
    background-image: url('/img/main-banner-back-mobile.webp');
}

.main-banner-btn-main {
  height: 40px;
  padding: 0 40px;
  font-size: 16px;
}

.main-banner-btn-arrow {
  width: 40px;
  height: 40px;
}

.main-banner-btn-arrow svg {
  width: 20px;
  height: 20px;
}

#why_us{
  max-width: 320px;
}

/* Овальные мини-картинки внутри текста */
.text-img {
  height: 25px;
}

.text-img--sea {
  width: 105px;
}

.text-img--boat {
  width: 63px;
}

.card {
  height: 200px;
}

.wrapper-2{
  padding: 0 10px;
}
.configurator{
  padding: 15px;
}


.boat-features__item {
  min-width: 60px;
  min-height: 100px;
}

.boat-features__icon{
    width: 50px;
    height: 35px;

}
.boat-features__icon2{
    width: 25px;
    height: 35px;
}
.spec-value{
  font-size: 13px;
  font-weight: 400;
}

.about-top {
  margin-bottom: 30px;
}

.about-badge {
  height: 68px;
}

.badge-image img {
  width: 52px;
  height: 52px;
}

.badge-text {
  font-size: 14px;
  line-height: 18px;
}

.about-content {
  gap: 25px;
}

.about-stats-grid {
  gap: 20px;
  justify-content: space-between;
}

.stat-item {
  flex: 1 1 calc(50% - 30px);
  padding-bottom: 20px;
  max-width: 180px;
  min-width: 100px;
}

.dnk-boat {
  padding: 30px 20px;
}

.dnk-boat--text {
  text-align: right;
  font-size: 14px;
  padding: 5px 15px;
}

.how-to-buy {
  padding: 40px 10px 0px 10px;
}

.how-to-buy h4 {
  margin-bottom: 0px;
}
  .steps-container {
    max-width: 340px !important; 
  }
.faq-question {
  padding: 20px 25px;
  font-size: 16px;
  font-weight: 800px;
  line-height: 26px;
}

.order-section {
  min-height: 700px;
  padding: 0px;
}

.order-back {
  position: absolute;
  top: 0;
  left: 0px;
  right: 0px;
  height: 500px;
  background-image: url('../img/order-back.webp');
}

.order-wrapper {
  padding: 0 20px;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
}

.form-container {
  /*background: color-mix(in srgb, var(--color-gray) 85%, transparent);*/
  background: var(--color-gray);
  max-width: 400px;
  padding: 15px;
}


/* 3. Вертикальная структура полей формы */
.feedback-form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.form-container .main-btn-container{
  justify-content: center;
}

.order-badge {
  height: 68px;
  margin-top: 30px;
  align-self: flex-end;
}

.order-text {
  font-size: 14px;
  line-height: 18px;
}

.order-image img {
  width: 52px;
  height: 52px;
}
}
