b {
  font-weight: bold;
}




.header__row {

 height:124px;
}

.header__contacts {

  align-items: center;
}


.phone-link {
 
  font-size: 17px;
}

.mail-link {
 
  font-size: 17px;
}
.header-contacts{
    margin-bottom: 5px!important; 
}

span.above_messengers {

  margin-bottom: 0;
}

.messengers a img.tg{
  height: 35px; /* Одинаковая высота для обеих иконок */
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.messengers a img.max {
height: 35px; /* Одинаковая высота для обеих иконок */
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.messengers a img:not(:last-child) {
  margin-right: 12px; /* Создаст аккуратный зазор между иконками */
}



.messengers a {
   display:inline-block;
}

.homepage-intro__content {
  background: rgba(255, 255,255,0.4);
  width: 60%;
  padding: 25px;
  border-radius: 2%;
}

.block-text-intro{

 

}


@media (max-width:900px) {
   .homepage-intro__content {
  
  width: 100%;

} 
   
  .form-inline {
padding: 15px;
 
} 
   
   
    
}   
.block-text-intro{

 

}



.homepage-intro__title {
  font-size: 25px;
  line-height: 37px;
 font-weight: bold;
  color: #000;
}

.homepage-intro__title b {
  background: #c0fb45;
}

.homepage-intro__desc{
   font-size: 19px; 
   padding-top: 15px;
   font-weight: normal;
   color: #000;
}

.homepage-intro {
  margin-top: 0px;

}
.homepage-intro__footer {
 
}



.reasone_under_title{
  text-align: center;
margin-top: 75px;
}

.reasone_under_title h2{
 font-size: 56px;
    
}

.reasone_under_title p{
  font-size: 20px;  
    
}

.section {
  padding: 0 0 50px 0;
}


.messengers-items{
  
  align-items: center;
  display: flex;
}

.messengers-items a{
  
margin-right:5px;
margin-left:5px;
}

.form__title {
  font-size: 34px;
 
}

.form-inline-new .file-row{
   display:none; 
}

/* ==========================================================================
   1. 📦 СТИЛИ ДЛЯ ВНЕШНЕГО КОНТЕЙНЕРА (ОБЕРТКИ) - ГЛАВНЫЙ ОГРАНИЧИТЕЛЬ
   ========================================================================== */
.slider-container {
  position: relative !important;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .slider-container {
    /* Ровно 1340px под слайдер + по 60px ушки для стрелок с каждой стороны = 1460px */
    max-width: 1460px !important; 
    /* Создаем пустые зоны по бокам, куда встанут стрелки и не будут пересекаться с фото */
    padding: 0 60px !important;  
    margin-bottom: 80px !important; 
  }
}

@media (max-width: 991px) {
  .slider-container {
    padding: 0 !important;
    margin-bottom: 40px !important;
  }
}


/* ==========================================================================
   2. 💻 СТИЛИ СТРОГО ДЛЯ ПК (ОТ 992px)
   ========================================================================== */
@media (min-width: 992px) {
  /* Слайдер занимает 100% от чистой внутренней ширины контейнера (ровно 1340px) */
  .mySwiper {
    width: 100% !important; 
    height: 455px !important;
    overflow: hidden !important; /* Обрезаем лишние слайды по бокам */
  }

  /* Больше никаких ограничений на swiper-wrapper! Сбрасываем его в дефолт */
  .mySwiper .swiper-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  /* Жестко фиксируем размеры слайдов */
  .mySwiper .swiper-slide {
    width: 655px !important;
    height: 455px !important;
  }
  
  /* Картинка заполняет область слайда без искажений */
  .mySwiper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* 🔥 ИСПРАВЛЕННОЕ ПОЗИЦИОНИРОВАНИЕ СТРЕЛОК ДЛЯ ПК */
  /* Привязываем стрелки к краям внешнего контейнера, а не к дергающемуся слайдеру */
  .slider-container .swiper-button-prev,
  .slider-container .swiper-button-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    z-index: 999 !important;
    display: flex !important;
  }

  /* Левая стрелка встает в левое ушко (отступ padding) контейнера */
  .slider-container .swiper-button-prev {
    left: 10px !important;
    right: auto !important;
  }

  /* Правая стрелка встает в правое ушко (отступ padding) контейнера */
  .slider-container .swiper-button-next {
    right: 10px !important;
    left: auto !important;
  }

  /* Точки пагинации опускаем под слайдер ровно по центру */
  .slider-container .swiper-pagination {
    position: absolute !important;
    bottom: -40px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
}


/* ==========================================================================
   3. 📱 СТИЛИ СТРОГО ДЛЯ МОБИЛЬНЫХ (ДО 991px)
   ========================================================================== */
@media (max-width: 991px) {
  .mySwiper {
    width: 100% !important;
    height: auto !important;
  }

  .mySwiper .swiper-slide {
    width: 100% !important;
    height: auto !important;
  }

  .mySwiper .swiper-slide img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* На мобильных полностью прячем стрелки */
  .slider-container .swiper-button-prev,
  .slider-container .swiper-button-next {
    display: none !important;
  }

  /* Точки пагинации под мобильным слайдером */
  .slider-container .swiper-pagination {
    position: relative !important;
    margin-top: 20px !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
}


/* Скрываем стрелки на экранах меньше 576px */
@media (max-width: 575px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}




.gallery-title {
  font-size: 56px;
  text-align: center;
  margin-bottom: 90px;
}


.own_production {
  font-size: 41px;
 
}


.own_production_btn  {
  width: 100%;
  text-align: center;
}

.form-block__full .form__title {
  font-size: 25px;
}

.form-block__full .hidden_above_form{
    display:block!important;
    font-weight: bold;
  text-align: center;
}


.form-block__full .file-row{
   display:none; 
}


.thanks-page{
    background-image: url("/template/img/back-thanks.png");
  min-height: 300px;
  background-repeat: no-repeat;
    background-position: center bottom; /* выравнивание по горизонтали (центр) и вертикали (низ) */
    background-size: cover; /* масштабирует картинку на весь блок, сохраняя пропорции */
}


/* Оболочка-контейнер, которая отвечает за идеальный центр */
.thank-you-screen {
    display: flex;
    justify-content: center; /* Центр по горизонтали */
    align-items: center;     /* Центр по вертикали */
    min-height: 100vh;       /* Занимает всю высоту экрана */
    padding: 20px;           /* Отступы, чтобы текст не лип к краям на смартфонах */
 
}

/* Сама карточка с текстом */
.thank-you-card {
    text-align: center;      /* Выравнивает строки текста по центру */
    max-width: 500px;        /* Ограничение ширины для удобного чтения */
    width: 100%;
}

/* Опционально: базовые стили для аккуратного вида */
.thank-you-card h1 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
}

.thank-you-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-home {
    display: inline-block;
    padding: 12px 45px; /* Увеличили внутренние отступы по бокам на 15% для длины */
    background-color: #B8FA2C; /* Новый яркий цвет */
    color: #000; /* Черный текст для хорошей контрастности на салатовом фоне */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase; /* Делает текст кнопки КАПСОМ */
    letter-spacing: 0.5px; /* Небольшое расстояние между буквами для читаемости капса */
    transition: background-color 0.2s ease;
}

/* Эффект при наведении (опционально, чуть затемняет кнопку) */
.btn-home:hover {
    background-color: #a3e024;
}


.form-inline-header .form__title-contacts{
 display: none;;
}

.form-inline-header .file-row{
    display: none;
}

.form-inline-header .name-row{
     display: none; 
}



.form-inline-header  .form__body {

  grid-template-rows: repeat(1, 1fr);

}




.form-inline-header  .form__body {

  grid-template-rows: repeat(2, 1fr);

}



.form-inline-header .form__title {
font-size: 28px;
  line-height: 26px;
}


.form-inline-header .form__head {
  margin-bottom: 5px;
}

.form-inline-header  .form__footer {
  margin-top: 0px;
  color: #818181;
}


.form-inline-fix .button  {
  font-size: 14px;
}



.form-inline-feedback .form__body {
 
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(1, 1fr);

}


.header__contacts-block:not(:last-child) {
  margin-right: 40px;
}

.steps-list {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.steps-list .item {
  width: 25%;
  padding: 0 26px;
  margin-bottom: 36px;
  text-align: center;
}

.steps-list .item__img img {
  display: inline-block;
}

.steps-list .item__title {
  font-weight: bold;
  font-size: 20px;
  line-height: 1.2;       /* Четкая высота строки */
  height: 48px;           /* Фиксированная высота для 2-х строк текста (20px * 1.2 * 2) */
  margin-top: 20px;       /* Стабильный отступ от картинки */
  margin-bottom: 15px;    /* Стабильный отступ до описания */
  
  /* Центрируем текст по вертикали внутри этих 48px, чтобы однострочные заголовки смотрелись красиво */
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align:  baseline;
  -moz-box-align:  baseline;
  -ms-flex-align:  baseline;
align-items: baseline;
  -webkit-box-pack:  baseline;
  -moz-box-pack:  baseline;
  -ms-flex-pack:  baseline;
  justify-content:  center;
}

/* Убираем старый margin-top: auto, возвращаем обычный поток */
.steps-list .item__desc {
  margin-top: 0;
  margin-bottom: 0;
}


/* --- БЛОК АДАПТИВНОСТИ ДЛЯ МОБИЛЬНЫХ --- */

/* Планшеты (карточки по 2 в ряд) */
@media (max-width: 991px) {
  .steps-list .item {
    width: 50%;
    padding: 0 15px;
  }
}

/* Мобильные телефоны (карточки по 1 в ряд) */
@media (max-width: 576px) {
  .steps-list .item {
    width: 100%;
    padding: 0;
    margin-bottom: 30px;
  }
  .steps-list .item__title {
    height: auto; /* На телефонах в одну колонку фиксированная высота больше не нужна */
    margin-top: 15px;
    margin-bottom: 10px;
  }
  

  
  
}


@media (max-width: 576px) {

 .logo img {
    max-width: 155px;
  }

.header__row {
  height: 90px;
}
.homepage-intro__footer {
  width: 100%;
}


.form__title {
  font-size: 22px;
}

.form__title-desc{
   font-size: 15px; 
}

.reasone_under_title h2 {
  font-size: 36px;
  text-align:left;
}
.gallery-title,
.reasone_under_title p{
    text-align:left;
}


.form-inline-fix .button {
  font-size: 12px;
}

.gallery-title {
font-size: 36px;
}
.own_production {
  font-size: 28px;
}
}


#works{

  margin-top: 70px;

}



.form-inline-aside .form__title {
  font-size: 30px;
}



.form-block__full .form__container {

  align-items: initial;
}



/* Отключаем дефолтный крестик Fancybox 3, так как мы добавили свой кастомный */
.fancybox-slide--html .fancybox-close-small {
  display: none !important;
}

.fancybox-slide--html .fancybox-content {
  padding: 0 !important;
  background: transparent !important;
  margin: 0 !important;
}

:root {
  --popup-primary: #B8FA2C;
  --popup-primary-hover: #a3e020;
  --popup-text-dark: #1c220f;
  --popup-text-muted: #666666;
}

/* Контейнер окна */
.ponton-popup {
  max-width: 840px;
  width: 100%;
  background: #fdfdfd;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: relative;
  text-align: left;
}

/* Стили кастомного крестика */
.ponton-popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ponton-popup__close::before,
.ponton-popup__close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background-color: #333333;
  border-radius: 2px;
}
.ponton-popup__close::before { transform: rotate(45deg); }
.ponton-popup__close::after { transform: rotate(-45deg); }

.ponton-popup__close:hover {
  background: var(--popup-primary);
  transform: rotate(90deg);
}

.ponton-popup__container {
  display: flex;
  min-height: 520px;
}

/* Контентная часть */
.ponton-popup__content {
  flex: 1;
  padding: 25px 40px;
  max-width: 520px;
  box-sizing: border-box;
  z-index: 2;
}

/* Заголовок */
.ponton-popup__title {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 12px 0;
  color: #2b2b2b;
  font-weight: 700;
}
.ponton-popup__title span {
  background-color: var(--popup-primary);
  padding: 0 4px;
  border-radius: 4px;
  color: var(--popup-text-dark);
}

/* Подзаголовок */
.ponton-popup__subtitle {
  font-size: 14px;
  line-height: 1.4;
  color: var(--popup-text-muted);
  margin: 0 0 24px 0;
}

/* Список преимуществ */
.ponton-popup__bonus {
  margin-bottom: 24px;
}
.ponton-popup__bonus-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #2b2b2b;
}
.ponton-popup__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ponton-popup__list li {
  font-size: 13.5px;
  line-height: 1.4;
  color: #2b2b2b;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}
.ponton-popup__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--popup-primary);
  border: 1px solid #99cb22;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}

/* Текст призыва */
.ponton-popup__cta {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #2b2b2b;
  margin: 0 0 16px 0;
}

/* Форма */
.ponton-popup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.ponton-popup__input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 20px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}
.ponton-popup__input:focus {
  border-color: #99cb22;
}

.ponton-popup__btn {
  width: 100%;
  padding: 16px 20px;
  background: var(--popup-primary);
  color: var(--popup-text-dark);
  border: 1px solid #a3e020;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 15px rgba(184, 250, 44, 0.25);
}
.ponton-popup__btn:hover {
  background: var(--popup-primary-hover);
}
.ponton-popup__btn:active {
  transform: scale(0.99);
}

/* Чекбокс */
.ponton-popup__policy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 5px 0 10px 0;
  user-select: none;
}
.ponton-popup__checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}
.ponton-popup__policy-text {
  font-size: 11px;
  line-height: 1.4;
  color: #666666;
  text-align: left;
}
.ponton-popup__policy-text a {
  color: #7fa820;
  text-decoration: underline;
}

.ponton-popup__btn:disabled {
  background: #cccccc !important;
  border-color: #bbbbbb !important;
  box-shadow: none !important;
  color: #888888 !important;
  cursor: not-allowed;
  transform: none !important;
}

/* Колонка с вашим изображением тега <img> */
.ponton-popup__image {
  flex: 1;
  display: flex;
  align-items: flex-end; /* Прижимает фото к низу */
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.ponton-popup__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Адаптив */
@media (max-width: 768px) {
  .ponton-popup {
    max-width: 90%;
    border-radius: 16px;
  }
  .ponton-popup__container {
    min-height: auto;
  }
  .ponton-popup__content {
    padding: 24px;
    max-width: 100%;
  }
  .ponton-popup__image {
    display: none;
  }
  .ponton-popup__title {
    font-size: 20px;
  }
  .ponton-popup__close {
    top: 10px;
    right: 10px;
  }
}

/* ==========================================================================
   БАЗОВОЕ ОБНУЛЕНИЕ И ИЗОЛЯЦИЯ СЕКЦИИ
   ========================================================================== */
.hero-section * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Arial', sans-serif;
}

/* ==========================================================================
   ГЛАВНЫЙ КОНТЕЙНЕР И ЛИНЕЙНОЕ ОСВЕТЛЕНИЕ ФОНА (ЖЕСТКИЙ ПК ВАРИАНТ)
   ========================================================================== */
.hero-section {
  width: 100%;
  min-height: 800px; 
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate; 
}

/* Слой фонового изображения озера */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/template/img/hero-back.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
}

/* Линейный мягкий засвет (убирает появление синего овала/эллипса) */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0.8) 55%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.8) 100% );
  z-index: 2;
}

.hero-container {
  width: 100%;
  max-width: 75rem; 
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 20; 
  padding: 60px 20px 0 20px;
}

.form-privacy {

  color: #000000;
}


/* СЛОЙ ДИРЕКТОРА НА ПК */
.hero-man-layer {
  position: absolute;
  bottom: -40px; 
  left: 46rem; 
  width: 48rem; 
  height: 820px; 
  z-index: 5; 
  pointer-events: none;
transform: scale(1.25);
  transform-origin: top center; 
}

.man-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  z-index: 6;
}

/* БЕЙДЖ ДИРЕКТОРА НА ПК */
.name-badge {
  position: absolute;
  top: 250px; 
  left: 285px; 
  width: 191px; 
  height: 62px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 10; 
  transform: scale(0.78); 
  transform-origin: center center;
}

.name-badge strong {
  font-size: 13px;
  color: #111;
  line-height: 1.2;
}

.name-badge span {
  font-size: 11px;
  color: #777;
  margin-top: 3px;
}

/* ЛЕВАЯ КОЛОНКА НА ПК */
.hero-content {
  width: 65%; 
  padding: 20px 0;
  margin-bottom: 50px;
  position: relative;
  z-index: 30; 
}

.hero-title {
  font-size: 34px; 
line-height: 1.25;
  color: #1a1a1a;
  font-weight: 700; 
  margin-bottom: 25px;
max-width: 750px;
  text-transform: initial;
}

.highlight-blue {
  color: #48A6FD; 
  font-weight: 800; 
}

.text-muted {
  font-weight: 700; 
  color: #333;
}

.hero-subtitle {
  font-size: 20px; 
  line-height: 1.5;
  color: #222;
  margin-bottom: 60px; 
  max-width: 700px; 
}

.form-wrapper-relative {
  position: relative;
  width: 100%;
max-width: 650px;
}

/* КАРТОЧКА ПОНТОНА НА ПК */
.pontoon-checkbox-wrapper {
  position: absolute;
  top: -85px; 
  right: 25px; 
  width: 140px;
  height: 140px;
  background-color: #ffffff; 
  border-radius: 12px; 
padding: 0px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); 
  z-index: 20; 
  overflow: hidden; 
}

.floating-pontoon {
  width: 195px; 
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scaleX(-1); 
  position: relative;
  left: 0px; 
  top: 35px;
}

/* ЧЕКБОКС НА ПОНТОНЕ (ПК СТИЛЬ) */


.pontoon-checkbox-wrapper .form-privacy {
  position: absolute;
  top: 42%;
  left: 40%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 21;
}

.pontoon-checkbox-wrapper .form-privacy input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.pontoon-checkbox-wrapper .form-privacy .custom-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #1a3c5a 0%, #0d233a 100%);
  border-radius: 50%; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1;
}

.pontoon-checkbox-wrapper .form-privacy .custom-checkbox::after {
  content: "";
  position: absolute;
  display: none;
  left: 9px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid #ffffff; 
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.pontoon-checkbox-wrapper .form-privacy input:checked ~ .custom-checkbox::after {
  display: block;
}

/* СИНЯЯ ПЛАШКА ФОРМЫ НА ПК */
.promo-form-box {
  background-color: #48A6FD; 
  background-image: url('/template/img/form-promo-bg.jpg'); 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
 /* background-blend-mode: soft-light; 
  border: 2px solid #48A6FD; */
  border-radius: 14px;
  padding: 32px 28px; 
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(72, 166, 253, 0.45);
}

.form-text {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 22px;
  max-width: 70%; 
  color: #ffffff;
  font-weight: 500;
}

.hero-form {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.phone-inputs {
flex: 1; 
  height: 54px; 
  padding: 0 18px;
  border: none;
  border-radius: 8px; 
  font-size: 16px;
  color: #333333;
  outline: none;
  background-color:#ffffff!important;
}

.phone-inputs::placeholder {
  color: #333333!important;

}

.submit-btn {
  flex: 1;
  height: 54px; 
  background-color: #7bf100; 
  color: #000000; 
  border: none;
  border-radius: 8px; 
  padding: 0 15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #6ed700;
}

/* Текст соглашения на ПК */
.form-privacy-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  margin-top: 12px;
  display: block;
  cursor: pointer;
}

.form-privacy-label a {
  color: #ffffff;
  text-decoration: underline;
}

/* Скрываем мобильный чекбокс на ПК */
.form-privacy-mob {
  display: none !important;
}

.hero-man-layer img.mobile{
    display:none;
}
/* ==========================================================================
   ПОЛНАЯ МОБИЛЬНАЯ АДАПТИВНОСТЬ (ДО 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .ponton-popup__btn{
      font-size:11px;
      padding: 16px 10px;
  }
  .hero-section {
    min-height: auto;
    padding-bottom: 0px;
  }

  .hero-section::after {
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0) 100%);
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
  padding-top: 100px;
  }

  .hero-content {
    width: 100%;
    margin-bottom: 25px;
    text-align: center;
    padding: 0 10px;
  }

  .hero-title {
    font-size: 20px; 
    max-width: 100%;
    margin-bottom: 15px;
    line-height: 1.35;
  }

  .text-muted {
    font-size: 22px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 25px;
    line-height: 1.5;
  }

  .form-wrapper-relative {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

  /* Скрываем ПК-версию карточки понтона */
.pontoon-checkbox-wrapper {
  position: absolute;
  top: 385px;
  left: -12px;
  width: 106px;
  height: 105px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  z-index: 20;
  overflow: hidden;
}

  /* МОБИЛЬНАЯ ФОРМА */
  .promo-form-box {
    padding: 24px 16px; 
    width: 100%;
  }

  .form-text {
    max-width: 100%;
    font-size: 14px;
    text-align: left;
    margin-bottom: 18px;
    line-height: 1.4;
  }

  .hero-form {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    width: 100%; 
  }

  /* МОБИЛЬНЫЕ ПОЛЯ ВВОДА */
  .phone-input, .submit-btn {
    width: 100% !important; 
    display: block !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 48px !important; 
    min-height: 48px !important;
    line-height: normal !important;
  }

  .phone-input {
    padding: 0 15px !important;
    font-size: 15px;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    text-align: center;
  }

  .submit-btn {
    font-size: 10.5px; 
    font-weight: 700;
    padding: 0 10px !important;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap; 
  }

  .form-privacy-label {
    display: none !important; 
  }

  /* СТИЛИ МОБИЛЬНОГО ЧЕКБОКСА ИЗ FIGMA В ПОДВАЛЕ */
  .form-privacy-mob {
    display: flex !important; 
    font-size: 11px;
    color: #ffffff; 
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 24px; 
    line-height: 1.3;
    text-align: left;
    margin-top: 12px;
    width: 100%;
  }

  .form-privacy-mob input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  .form-privacy-mob .custom-checkbox-mob {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 15px;
    width: 15px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: background-color 0.2s;
  }

  .form-privacy-mob .custom-checkbox-mob::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 7px;
    border: solid #48A6FD; 
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .form-privacy-mob input:checked ~ .custom-checkbox-mob::after {
    display: block;
  }

  .form-privacy-mob a {
    color: #ffffff;
    text-decoration: underline;
  }

  /* ДМИТРИЙ ОТТОЛКНУТ НИЖЕ ОТ ФОРМЫ (НА 110px) */
  .hero-man-layer {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 440px; 
    left: auto;
    right: auto;
    bottom: 0;
    margin-top: 110px; 
    display: flex;
    justify-content: center;
    overflow: hidden;
    transform: scale(1.2); 
transform-origin: bottom center;
      
  }
.man-img {
    position: relative;
    /*height: 600px;*/
    width: auto;
    left: auto;
    transform: none;
    height:300px;
    bottom:-25px;
    
}
.name-badge {position: absolute;top: auto;bottom: 60px;left: 50%;transform: translateX(-50%) scale(0.85);width: 191px;height: 62px;z-index: 40;display: flex !important;}}/* ==========================================================================ТОЧЕЧНЫЕ НАСТРОЙКИ ДЛЯ УЗКИХ СМАРТФОНОВ (ДО 480px)========================================================================== */@media (max-width: 480px) {.hero-content {padding: 0 6px;}

.form-privacy {
  text-align: left;
  font-size: 11px;
  color: #000000;
}


.hero-title {
    font-size: 24px;
    line-height: 1.3;
    text-align: left;
    
}
.hero-title br{
    display:none;
}
.text-muted {font-size: 23px;}
.hero-subtitle {
   font-size: 15px;
    text-align: left;
    
}
.promo-form-box {padding: 20px 12px;}.hero-form {width: 100%;}.phone-input, .submit-btn {width: 100% !important;height: 46px !important;min-height: 46px !important;}.submit-btn {font-size: 10px;}
/* ИСПРАВЛЕНО: ЕЩЕ БОЛЬШЕ ОТСТУПА ОТ ФОРМЫ (150px) НА МАЛЕНЬКИХ ТЕЛЕФОНАХ */
.hero-man-layer {
    height: 375px;
    transform: none;
    position:relative;
    margin-top: 80px;
    max-width: none;
    width: 100%;
    overflow:auto;
    width: calc(100% + 40px);
            overflow: visible;
    /*
    background:url('/template/img/hero-man-layer.png') no-repeat bottom center;*/
}
.hero-man-layer img{
            height: 530px;
        transform: scale(1.4);
}
.hero-man-layer img.mobile{
    display:none;
    width:320px;
    height:470px;
    margin:0 auto;
}



.name-badge {
    bottom:170px;
 /*top: 270px;
    transform: translateX(-50%) scale(0.6);*/
    
}
    .form-inline .form__title-contacts,
    .form-inline .form__title-contacts a{
        color:#000;
    }
    .consultation-one .form__title-contacts,
    .consultation-one .form__title-contacts a{
        color:#fff;
    }
}