/* ===== СБРОС И БАЗА (уже есть) ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background-color: #FFFFFF;
  color: #000000;
  line-height: 1.5;
  font-weight: 400;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}
:root {
  --white: #FFFFFF;
  --dark: #2A2A2A;
  --blue: #3657DF;
  --gray-text: #4C4C4C;
  --black: #000000;
}
h1 {
  font-size: 48px;
  color: var(--white);
  font-weight: 700;
}
h2 {
  font-size: 36px;
  color: var(--dark);
  font-weight: 700;
}
h3 {
  font-size: 24px;
  color: var(--dark);
  font-weight: 600;
}
.description {
  color: var(--gray-text);
  font-weight: 400;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--blue);
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  transition: background 0.3s;
  text-align: center;
  text-decoration: none;
}
.btn:hover { background-color: #2a45b5; }
.section-dark {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0;
}
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark .description { color: var(--white); }


/* ===== ШАПКА ===== */
.header {
  padding: 30px 0;
  background-color: transparent;
  position: relative;
  z-index: 10;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  display: block;
  width: 226px;
  height: 35px;
}
.nav__list {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
  height: 22px;
}
.nav__list li { display: inline-block; }
.nav__list a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s;
  line-height: 1.2;
}
.nav__list a:hover { color: var(--blue); }

.nav__burger{
  display: none;
}

/* ===== ГЕРОЙ (с фоном и шапкой внутри) ===== */
.hero {
  height: 1020px;
  /* ФОН-КАРТИНКА – раскомментируйте и укажите путь */
  background-image: url('../img/bg1.png');
  background-color: #1a1a2e; /* временный фон */
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  padding: 30px 0 0px; /* верхний отступ для шапки */
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ШАПКА внутри hero */
.header {
  width: 100%;
  padding: 0;
  margin-bottom: 110px; /* отступ от шапки до заголовка */
  background-color: transparent;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  display: block;
  width: 226px;
  height: 35px;
}

.nav__list {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
  height: 22px;
}
.nav__list li { display: inline-block; }
.nav__list a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s;
  line-height: 1.2;
}
.nav__list a:hover { color: var(--blue); }

/* Остальные стили hero (h1, грид, кнопка) – без изменений */
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 78px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
  max-width: 1100px;
  margin-bottom: 20px;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1230px;
  width: 100%;
  margin-bottom: 30px;
}

.hero__item {
  display: flex;
  align-items:center;
  gap: 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.hero__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #3657DF; /* строго по макету */
  position: relative;
  margin-top: 2px;
}

.hero__check::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) ;
  width: 11px;
  height: 6px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  border-radius: 0;
}

.hero__item strong {
  font-weight: 700;
  color: var(--white);
}

.hero__btn {
  width: 294px;
  height: 70px;
  border-radius: 8px;
  box-shadow: 0px 4px 0px #082CBF;
  background-color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: all 0.2s;
}
.hero__btn:hover {
  background-color: #2a45b5;
  box-shadow: 0px 2px 0px #082CBF;
  transform: translateY(2px);
}

/* ===== БЛОК 2: НАШЕ ПРЕДЛОЖЕНИЕ ===== */
.offer {
  padding: 110px 0;
  background-color: #FFFFFF;
  min-height: 1200px;
}

/* Верхняя часть (плашка + заголовок) */
.offer__header {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.offer__badge {
  width: 219px;
  height: 31px;
  background-color: #3657DF;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  padding: 6px 15px;
  gap: 10px;
  letter-spacing: 0.5px;
}

.offer__title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  color: #2A2A2A;
}

.offer__title-highlight {
  color: #3657DF;
}

/* Сетка */
.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1230px;
  margin: 0 auto;
}

/* Карточка (элемент) */
.offer__item {
  width: 413px;
  height: 406px;
  background-color: #F6F6F7;
  border-radius: 8px;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

/* Заголовок с галочкой */
.offer__item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.offer__item-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: 2px;
}

.offer__item-header h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #2A2A2A;
  line-height: 1.0;
  letter-spacing: -4%;
  margin: 0;
}

/* Описание */
.offer__item-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1;
  color: #4C4C4C;
  margin-bottom: auto;
}

/* Контейнер с картинкой */
.offer__item-image {
  width: 373px;
  height: 218px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
}
.offer__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Специальный элемент (6-й) */
.offer__item--special {
  background-color: transparent;
  padding: 0;
  overflow: hidden;
  position: relative;
  width: 413px;
  height: 406px;
}

.offer__item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.offer__item-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer__item-content {
  position: relative;
  z-index: 1;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.offer__item-content h3 {
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 260px;
  padding-top: 40px;
  line-height: 1.1;
  letter-spacing: -4%;
}

.offer__btn {
  width: 100%;
  max-width: 300px;
  height: 70px;
  background-color: #3657DF;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0px 4px 0px #082CBF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: all 0.2s;
}
.offer__btn:hover {
  background-color: #2a45b5;
  box-shadow: 0px 2px 0px #082CBF;
  transform: translateY(2px);
}

/* ===== БЛОК 3: ДОПОЛНИТЕЛЬНЫЕ УСЛУГИ ===== */
.services {
  height: 720px;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.services .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  position: relative;
}

/* Левая часть */
.services__content {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center; /* центрирование по горизонтали */
  padding: 20px 0;
}

.services__title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2; /* 120% */
  letter-spacing: -0.04em; /* -4% */
  text-align: center;
  text-transform: uppercase;
  color: #2A2A2A;
  margin-bottom: 20px; /* отступ до подзаголовка */
}

.services__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2; /* 120% */
  letter-spacing: 0;
  text-align: center;
  color: #4C4C4C;
  margin-bottom: 30px; /* отступ до грида */
}

/* Грид 2 колонки, каждая шириной 520px, gap 20px */
.services__grid {
  display: grid;
  grid-template-columns: 520px 520px;
  gap: 20px;
  margin-bottom: 40px; /* отступ до кнопки */
  justify-content: center; /* центрирование сетки внутри контейнера */
}

.services__col {
  display: flex;
  flex-direction: column;
  gap: 10px; /* отступ между строками внутри колонки */
}

/* Каждая строка */
.services__item {
  width: 100%;
  height: 70px;
  background-color: #F6F6F7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.services__num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  color: #7C87B3;
  flex-shrink: 0;
  width: 45px; /* фиксированная ширина, чтобы текст начинался ровно */
  text-align: left;
  margin-right: 10px; /* отступ от номера до текста */
}

.services__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #000000;
  /* текст выравнивается по левому краю автоматически */
}

/* Кнопка */
.services__btn {
  width: 460px;
  height: 70px;
  background-color: #3657DF;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0px 4px 0px #082CBF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.services__btn:hover {
  background-color: #2a45b5;
  box-shadow: 0px 2px 0px #082CBF;
  transform: translateY(2px);
}

.services .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 2; /* контент поверх картинки */
}

/* Фоновая картинка справа (прижата к правому краю) */
.services__bg {
  position: absolute;
  right:-12%;
  top: 0;
  height: 100%;
  width: auto;
  z-index: 1;
  pointer-events: none; /* чтобы не мешала кликам */
}
.services__bg img {
  height: 100%;
  width: auto;
  display: block;
}

/* ===== БЛОК 4: ТЁМНЫЙ БЛОК ===== */
.section-dark-block {
  height: 690px;
  background-color: #2A2A2A;
  display: flex;
  align-items: center;
}

.section-dark-block .container {
  width: 100%;
}

.section-dark-block__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Левая часть */
.section-dark-block__left {
  width: 630px;
  flex-shrink: 0;
  display: flex;
  gap: 22px;
  height: 559px;
}

/* Левая колонка (статистика) */
.section-dark-block__col-left {
  width: 304px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* прижато к верху */
}

.section-dark-block__stats {
  width: 100%;
  height: 509px;
  background-color: #3657DF;
  border-radius: 8px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.stats__item {
  display: flex;
  flex-direction: column;
}

.stats__number {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 50px;
  line-height: 1.2;
  color: #FFFFFF;
}

.stats__desc {
  font-family: 'Inter', sans-serif;
  width: 244px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -2%;
  color: #FFFFFF;
  margin: 0;
}

/* Правая колонка (фото) */
.section-dark-block__col-right {
  width: 304px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* прижато к низу */
}

.section-dark-block__photo {
  width: 100%;
  height: 509px; /* высота как в макете */
  border-radius: 8px;
  overflow: hidden;
  background-color: #3A3A3A;
}
.section-dark-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Правая часть */
.section-dark-block__right {
  width: 600px;
  flex-shrink: 0;
}

/* Правая часть */
.section-dark-block__right {
  width: 600px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* выравнивание по левому краю */
  justify-content: center; /* вертикальное центрирование */
  height: 100%; /* занимает всю высоту родителя */
}

/* Плашка "О нас" */
.section-dark-block__badge {
  background-color: #3657DF;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em; /* 1% */
  text-transform: uppercase;
  padding: 6px 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Заголовок */
.section-dark-block__title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -0.04em; /* -4% */
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 20px;
}

/* Обычный текст */
.section-dark-block__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #FFFFFF;
  margin-bottom: 20px;
}

/* Жирный текст */
.section-dark-block__text-bold {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #FFFFFF;
}

/* ===== БЛОК 5: ПРЕИМУЩЕСТВА ===== */
.advantages {
  height: 931px;
  background-color: #FFFFFF;
  padding-top: 110px;
  padding-bottom: 100px;
}

.advantages .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Плашка */
.advantages__badge {
  width: 176px;
  height: 31px;
  background-color: #3657DF;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Заголовок */
.advantages__title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  color: #2A2A2A;
  margin-bottom: 30px;
}

/* Сетка 3x2 */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 413px);
  gap: 30px;
  justify-content: center;
}

/* Карточка */
.advantages__item {
  width: 413px;
  height: 281px;
  background-color: #F6F6F7;
  border-radius: 8px;
  padding: 30px 10px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Иконка 100x100 */
.advantages__icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  margin-bottom: 20px;
}
.advantages__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Заголовок карточки */
.advantages__item h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #2A2A2A;
  margin-bottom: 16px;
}

/* Описание */
.advantages__item p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1;
  color: #4C4C4C;
  margin: 0;
}

/* ===== БЛОК 6: ЦИТАТА ===== */
.quote {
  height: 468px;
  background-color: #F6F6F7;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 110px;
}

.quote .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Контентный блок 566x231px, прижат к левому краю */
.quote__content {
  width: 566px;
  height: 231px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 0; 
}

/* Заголовок */
.quote__title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  color: #2A2A2A;
  margin-bottom: 20px;
}

.quote__title-highlight {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  color: #3657DF;
}

/* Текст */
.quote__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  color: #2A2A2A;
  margin-bottom: 30px;
}

.quote__text-bold {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  color: #2A2A2A;
}

/* Кнопка */
.quote__btn {
  width: 294px;
  height: 70px;
  background-color: #3657DF;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0px 4px 0px #082CBF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.quote__btn:hover {
  background-color: #2a45b5;
  box-shadow: 0px 2px 0px #082CBF;
  transform: translateY(2px);
}

/* Фоновая картинка справа-внизу */
.quote__bg {
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 800px;
  z-index: 1;
  pointer-events: none;
  transform: scaleX(-1);
}
.quote__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== БЛОК 7: ФОРМАТ СОТРУДНИЧЕСТВА ===== */
.cooperation {
  background-color: #FFFFFF;
  padding-bottom: 90px;
}

.cooperation .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__title{
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.step__desc{
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #4C4C4C;
}

/* Плашка */
.cooperation__badge {
  width: 272px;
  height: 31px;
  background-color: #3657DF;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Заголовок – контейнер 800px */
.cooperation__header {
  width: 800px;
  margin: 0 auto 40px; /* отступ вниз 40px до сетки */
  text-align: center;
}

.cooperation__title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  color: #2A2A2A;
  margin: 0;
}

/* Сетка: 3 колонки по 353px, между ними линии шириной 80px */
.cooperation__grid {
  display: grid;
  grid-template-columns: 353px 80px 353px 80px 353px;
  justify-content: center;
  align-items: start;
  gap: 0px; /* gap не используем, т.к. линии уже в сетке */
  max-width: 100%;
}

/* Ряд с шагами и линиями */
.cooperation__row {
  position: relative; /* для позиционирования линии */
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  gap: 80px;
}

.step__badge {
  position: relative;
  z-index: 2; /* если нужно дополнительно */
  background-color: #3657DF; /* непрозрачный фон */
  /* остальное без изменений */
}

/* Общая линия через весь ряд */
.cooperation__row::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 200px;
    width: 70%;
    height: 1px;
    border-top: 2px dashed #7C87B3;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

/* Шаг */
.cooperation__step {
  width: 353px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Линия между шагами */
.cooperation__line {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px; /* поднимаем линию на уровень центра плашки */
}

.cooperation__line::after {
  content: '';
  width: 100%;
  height: 2px;
  border-top: 2px dashed #3657DF;
  opacity: 0.6;
}
/* ===== БЛОК 8: ФОРМА (CTA) ===== */
.cta-form {
  height: 373px;
  background-image: url('../img/bg3.png'); /* замените на свой путь */
  background-size: cover;
  background-position: center;
  background-color: #2A2A2A; /* fallback */
  display: flex;
  align-items: center;
  margin-bottom: 100px;
  border-radius: 8px;
}

.cta-form .container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cta-form__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-form__title {
  width: 816px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.cta-form__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 30px;
}

/* Контейнер для формы */
.cta-form__form-wrapper {
  width: 100%;
  height: 60px;
  border-radius: 8px;
  /* Сюда позже добавим форму */
}
/* ===== ФУТЕР ===== */
.footer {
  height: 150px;
  background-color: #2A2A2A;
  display: flex;
  align-items: center;
}

.footer .container {
  width: 100%;
}

.footer__inner {
  display: flex;
  justify-content: space-between; /* равные расстояния между колонками */
  align-items: center;
  width: 100%;
}

.footer__col {
  flex: 0 1 auto; /* ширина по содержимому */
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.footer__logo img {
  display: block;
  height: 35px;
  width: auto;
}

.footer__copy {
  font-weight: 400;
  margin: 0;
}

.footer__address,
.footer__phone,
.footer__email {
  font-weight: 400;
  margin: 0;
  text-decoration: none;
  color:#FFFFFF;
}

.footer__phone {
  margin-bottom: 2px;
}

/* ============================================================
   АДАПТИВНОСТЬ (все блоки)
   ============================================================ */

/* ---------- Планшеты (до 1024px) ---------- */
@media (max-width: 1024px) {
  /* Общие */
  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  /* ШАПКА */
  .header__inner {
    flex-wrap: wrap;
    gap: 15px;
  }
  .nav__list {
    gap: 20px;
    height: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  /* ГЕРОЙ */
  .hero h1 {
    font-size: 48px;
    max-width: 100%;
  }
  .hero__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .hero__item {
    font-size: 14px;
  }

  /* БЛОК 2: НАШЕ ПРЕДЛОЖЕНИЕ */
  .offer {
    padding: 60px 0;
    min-height: auto;
  }
  .offer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .offer__item,
  .offer__item--special {
    width: 100%;
    height: auto;
    min-height: 320px;
  }
  .offer__item-image {
    width: 100%;
    height: 180px;
  }
  .offer__title {
    font-size: 36px;
  }

  /* БЛОК 3: ДОПОЛНИТЕЛЬНЫЕ УСЛУГИ */
  .services {
    height: auto;
    padding: 60px 0;
  }
  .services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .services__content {
    width: 100%;
  }
  .services__title {
    font-size: 36px;
  }
  .services__bg {
   height: 100%;
   right:-40%;
  }

  /* БЛОК 4: ТЁМНЫЙ БЛОК */
  .section-dark-block {
    height: auto;
    padding: 60px 0;
  }
  .section-dark-block__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .section-dark-block__left {
    width: 100%;
    max-width: 630px;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .section-dark-block__col-left,
  .section-dark-block__col-right {
    width: 100%;
    max-width: 304px;
  }
  .section-dark-block__stats {
    height: auto;
  }
  .section-dark-block__photo {
    height: 300px;
  }
  .section-dark-block__right {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 0 20px;
  }
  .section-dark-block__title {
    font-size: 32px;
  }

  /* БЛОК 5: ПРЕИМУЩЕСТВА */
  .advantages {
    height: auto;
    padding: 60px 0;
  }
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .advantages__item {
    width: 100%;
    height: auto;
    min-height: 250px;
  }
  .advantages__title {
    font-size: 36px;
  }

  /* БЛОК 6: ЦИТАТА */
  .quote {
    height: 650px;
    align-items:baseline;
    padding: 60px 0;
    margin-bottom: 60px;
  }
  .quote__content {
    width: 100%;
    height: auto;
    padding: 0 20px;
  }
  .quote__title {
    font-size: 34px;
  }
  .quote__title-highlight {
    font-size: 34px;
  }
  .quote__text {
    font-size: 18px;
  }
  .quote__text-bold {
    font-size: 18px;
  }
  .quote__bg {
    width: 100%;
    opacity: 0.3;
  }

  /* БЛОК 7: ФОРМАТ СОТРУДНИЧЕСТВА */
  .cooperation {
    padding-bottom: 60px;
  }
  .cooperation__header {
    width: 100%;
  }
  .cooperation__title {
    font-size: 36px;
  }
  .cooperation__row {
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cooperation__row::before {
    display: none;
  }
  .cooperation__step {
    width: 100%;
    max-width: 353px;
  }

  /* БЛОК 8: ФОРМА */
  .cta-form {
    height: auto;
    padding: 60px 0;
    margin-bottom: 60px;
  }
  .cta-form__title {
    width: 100%;
    font-size: 30px;
  }
  .cta-form__form-wrapper {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 10px;
  }

  /* ФУТЕР */
  .footer {
    height: auto;
    padding: 40px 0;
  }
  .footer__inner {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .footer__col {
    text-align: center;
    flex: 0 1 auto;
  }
}

/* ---------- Мобильные (до 768px) ---------- */
@media (max-width: 768px) {
  /* ШАПКА */
  .header {
    padding: 15px 0;
  }
  .header__inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .nav__list {
    justify-content: center;
    gap: 12px;
  }
  .nav__list a {
    font-size: 14px;
  }

  /* ГЕРОЙ */
  .hero {
    height: 860px;
    padding: 20px 0 40px;
  }
  .hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero__item {
    font-size: 12px;
    gap: 6px;
  }
  .hero__btn {
    width: 100%;
    max-width: 294px;
    height: 56px;
    font-size: 14px;
  }

  /* БЛОК 2: НАШЕ ПРЕДЛОЖЕНИЕ */
  .offer__grid {
    grid-template-columns: 1fr;
  }
  .offer__item {
    min-height: 280px;
  }
  .offer__title {
    font-size: 28px;
  }
  .offer__item-header h3 {
    font-size: 18px;
  }
  .offer__item-desc {
    font-size: 16px;
  }

  /* БЛОК 3: ДОПОЛНИТЕЛЬНЫЕ УСЛУГИ */
  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__bg {
   height: 50%;
   right:-60%;
   top:50%;
  }
  .services__title {
    font-size: 34px;
  }
  .services__subtitle {
    font-size: 18px;
  }
  .services__btn {
    width: 100%;
    max-width: 460px;
    height: 56px;
    font-size: 14px;
  }

    /* ===== БЛОК 4: ПРО НАС (МОБИЛЬНЫЙ) ===== */
  .section-dark-block {
    height: auto;
  }

  .section-dark-block__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  /* Правая часть (текст) — первая */
  .section-dark-block__right {
    order: 1;
    width: 100%;
    height: auto;
    padding: 0 15px;
    align-items: center;
    justify-content: center;
  }


  .section-dark-block__left {
    order: 2;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 15px;
    gap: 9px;
    flex-direction: row;
    height: 301px;
    margin-bottom: -100px
  }

  /* Колонки внутри левой части — по 50% ширины */
  .section-dark-block__col-left,
  .section-dark-block__col-right {
    width: calc(50% - 10px);
    flex-shrink: 0;
  }

  /* Блок статистики */
  .section-dark-block__stats {
    height: 280px;
    padding: 20px;
    gap: 15px;
  }

  .stats__number {
    font-size: 27px;
  }
  .stats__desc {
    font-size: 9px;
    width: 100%;
    letter-spacing: 0;
  }

  /* Блок фото */
  .section-dark-block__photo {
    height: 280px;
  }

  /* Тексты правой части */
  .section-dark-block__title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
  }
  .section-dark-block__text,
  .section-dark-block__text-bold {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .section-dark-block__badge {
    font-size: 14px;
    padding: 4px 12px;
    margin-bottom: 15px;

  }

  /* БЛОК 5: ПРЕИМУЩЕСТВА */
  .advantages{
    padding: 120px 0 70px 0;
  }
  
  .advantages__grid {
    grid-template-columns: 1fr;
  }
  .advantages__item {
    height: 281px;
    padding: 20px;
  }
  .advantages__title {
    font-size: 34px;
  }
  .advantages__item h3 {
    font-size: 22px;
  }
  .advantages__item p {
    font-size: 18px;
  }
  .advantages__icon {
    width: 100px;
    height: 100px;
  }

  /* БЛОК 6: ЦИТАТА */

  .quote__bg{
    opacity: 1;
  }
  
  .quote__title {
    font-size: 34px;
  }
  .quote__title-highlight {
    font-size: 34px;
  }
  .quote__text {
    font-size: 22px;
  }
  .quote__text-bold {
    font-size: 22px;
  }
  .quote__btn {
    width: 100%;
    max-width: 250px;
    height: 53px;
    font-size: 18px;
  }

  /* БЛОК 7: ФОРМАТ СОТРУДНИЧЕСТВА */
  .cooperation__badge{
    font-size: 14px;
  }

  .cooperation__title {
    font-size: 34px;
  }
  .cooperation__row {
    gap: 30px;
  }
  .step__title {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .step__desc {
    font-size: 18px;
  }

  .step__badge{
    margin-bottom: 10px;
  }

  /* БЛОК 8: ФОРМА */
  .cta-form__title {
    font-size: 32px;
  }
  .cta-form__subtitle {
    font-size: 18px;
  }
  .cta-form__form-wrapper {
    max-width: 100%;
    padding: 5px;
  }

  /* ФУТЕР */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footer__col {
    font-size: 16px;
    text-align: center;
  }
  .footer__logo img {
    height: 30px;
    margin-bottom: 50px;
  }
}

/* ---------- Маленькие мобильные (до 480px) ---------- */
@media (max-width: 480px) {
  /* ГЕРОЙ */
  .hero h1 {
    font-size: 38px;
  }
  .hero__grid {
    grid-template-columns: 325px;
    align-items: center;
    gap: 15px;
  }
  .hero__item {
    font-size: 18px;
    gap:14px;
  }
  .hero__btn {
    height: 50px;
    font-size: 13px;
  }

  /* БЛОК 2: НАШЕ ПРЕДЛОЖЕНИЕ */
  .offer__title {
    font-size: 34px;
  }
  .offer__item {
    min-height: 372px;
    padding: 20px;
  }
  .offer__item-header {
    gap: 9px;
  }
  .offer__item-header h3 {
    font-size: 18px;
  }
  .offer__item-desc {
    font-size: 18px;
    padding-bottom: 40px;
    margin-bottom: 0;
  }

  .offer__btn {
    max-width: 100%;
    height: 56px;
    font-size: 14px;
  }

  /* БЛОК 3: ДОПОЛНИТЕЛЬНЫЕ УСЛУГИ */
  .services{
    padding-top: 0;
  }
  .services__title {
    font-size: 34px;
  }
  .services__item {
    height: 56px;
    padding: 0 12px;
  }
  .services__num {
    font-size: 28px;

  }
  .services__text {
    font-size: 18px;
  }
  .services__btn {
    height: 70px;
    font-size: 18px;
  }

  /* БЛОК 4: ТЁМНЫЙ БЛОК */
  .section-dark-block__righ{
    align-items: center;
  }
  
  .section-dark-block__title {
    font-size: 34px;
  }

}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ГЕРОЯ (до 768px) ===== */
@media (max-width: 768px) {
  /* Шапка - логотип слева, бургер справа */

  .hero {
    background-image: url(../img/bg1-mobile.png);
    padding: 20px 0 0px;
    background-position: center top;
  }

  .offer__header {
  max-width: 345px;
  text-align: center;
}
  
  .header {
    margin-bottom: 40px;
    padding: 0;
  }
  .header__inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .logo img {
    width: 168px;
    height: auto;
  }

  /* Бургер-кнопка */
  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 20;
  }
  .nav__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* Мобильное меню (скрыто) */
  .nav__list {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2A2A2A;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    z-index: 100;
    height: auto !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  }

  /* Меню открыто */
  .nav__list.active {
    display: flex !important;
  }

  .nav__list a {
    color: #FFFFFF;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .offer__item-content h3 {
  padding-top: 0px;
}

  /* Анимация бургера в крестик */
  .nav__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__burger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav__list li {
    display: block;
    width: 100%;
  }

  /* Блокировка скролла при открытом меню */
  body.menu-open {
    overflow: hidden;
  }
}

/* ===== ПОПАП ===== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  padding: 40px 35px 35px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: popupFade 0.3s ease;
}

@keyframes popupFade {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s;
}
.popup-close:hover {
  transform: rotate(90deg);
}

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Плашка */
.popup-badge {
  background: #3657DF;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 5px;
  margin-bottom: 16px;
}

/* Заголовок */
.popup-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #2A2A2A;
  margin-bottom: 8px;
}

/* Подзаголовок */
.popup-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #4C4C4C;
}

.popup-form-wrapper {
  width: 100%;
}

/* ===== СТИЛИ ДЛЯ ФОРМЫ В ПОПАПЕ ===== */
.popup-form-wrapper .b24-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

.popup-form-wrapper .b24-form-field:not(.b24-form-field-agreement) {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

.popup-form-wrapper .b24-form-control {
  width: 100% !important;
  height: 56px !important;
  background: #F6F6F7 !important;
  border-radius: 8px !important;
  border: 1px solid #E5E8F0 !important;
  padding: 0 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  color: #000000 !important;
  outline: none !important;
  transition: border 0.3s !important;
}

.popup-form-wrapper .b24-form-control::placeholder {
  color: #8D8D8D !important;
  opacity: 1 !important;
}

.popup-form-wrapper .b24-form-control:focus {
  border-color: #3657DF !important;
  background: #FFFFFF !important;
}

.popup-form-wrapper .b24-form-btn {
  width: 100% !important;
  height: 56px !important;
  background: #3657DF !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0px 4px 0px #082CBF !important;
  transition: all 0.2s !important;
}

.popup-form-wrapper .b24-form-btn:hover {
  background: #2a45b5 !important;
  box-shadow: 0px 2px 0px #082CBF !important;
  transform: translateY(2px) !important;
}

/* Скрываем лейблы, согласие, ошибки */
.popup-form-wrapper .b24-form-control-label,
.popup-form-wrapper .b24-form-field-agreement,
.popup-form-wrapper .b24-form-field-description,
.popup-form-wrapper .b24-form-errors,
.popup-form-wrapper .b24-form-title,
.popup-form-wrapper .b24-form-description,
.popup-form-wrapper .v-portal {
  display: none !important;
}

/* Показываем только поле "Имя" и "Телефон" */
.popup-form-wrapper .b24-form-field-name,
.popup-form-wrapper .b24-form-field-phone {
  display: block !important;
}

/* Кнопка отправки */
.popup-form-wrapper .b24-form-btn-block {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== АДАПТИВ ПОПАПА ===== */
@media (max-width: 480px) {
  .popup {
    padding: 25px 20px;
  }
  .popup-title {
    font-size: 24px;
  }
  .popup-subtitle {
    font-size: 14px;
  }
  .popup-badge {
    font-size: 12px;
    padding: 4px 14px;
  }
}

/* =========================================
   1. ГЛОБАЛЬНЫЕ СТИЛИ И ФИКС ФОНА
   ========================================= */
.b24-form,
.b24-form-wrapper {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
.b24-form-header-padding {
    display: none !important;
}
.b24-form-padding-side,
.b24-form-content {
    padding: 0px !important;
}

/* КОНТЕЙНЕР ИНПУТА (ФИКС ПРОЗРАЧНОСТИ ПРИ АВТОЗАПОЛНЕНИИ) */
.b24-form-control-container {
    overflow: visible !important;
    position: relative !important;
    background-color: #ffffff !important; /* Белая подложка, которая НЕ пропадет при выборе имени в браузере */
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* САМ ИНПУТ */
.b24-form-control {
    color: #111111 !important;
    font-size: 16px !important;
    outline: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important; /* Под текстом */
    background-color: #ffffff !important; /* Основной белый фон */
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
}

/* Хак для браузеров, чтобы текст при автозаполнении был черным, а не желтым/синим */
.b24-form-control:-webkit-autofill,
.b24-form-control:-webkit-autofill:hover,
.b24-form-control:-webkit-autofill:focus,
.b24-form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #111111 !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* ПЛЕЙСХОЛДЕРЫ (Глобальные, видны всегда, скрипт выше будет их скрывать) */
.b24-form-control-label {
    position: absolute !important;
    top: 50% !important;
    left: 20px !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    transition: none !important;
    z-index: 2 !important; /* Над инпутом */
    background-color: transparent !important;
    padding: 0 !important;
}

.b24-form-field-agreement-link {
    color: #ffffff !important;
    text-decoration: underline !important;
}


/* =========================================
   2. ФОРМА CTA (ДЕСКТОП > 1024px)
   ========================================= */
.cta-form__form-wrapper .b24-form,
.cta-form__form-wrapper .b24-form-wrapper,
.cta-form__form-wrapper .b24-form-content,
.cta-form__form-wrapper .b24-form-content form {
    background-color: transparent !important;
    background-image: none !important;
}

.cta-form__form-wrapper {
    width: 960px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}
.cta-form__form-wrapper .b24-form,
.cta-form__form-wrapper .b24-form-wrapper {
    min-width: 960px !important;
    width: 960px !important;
    margin: 0 auto !important;
}

.cta-form__form-wrapper .b24-form-content form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 10px !important;
}
.cta-form__form-wrapper .b24-form-content form > div:nth-child(1) {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}
.cta-form__form-wrapper .b24-form-content form > div:nth-child(1) > .b24-form-field {
    flex: 0 0 auto !important;
    width: 300px !important;
    display: flex !important;
    flex-direction: column !important;
}
.cta-form__form-wrapper .b24-form-content form > div:nth-child(1) > .b24-form-field > div,
.cta-form__form-wrapper .b24-form-content form > div:nth-child(1) > .b24-form-field > div > div {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.cta-form__form-wrapper .b24-form-control {
    width: 300px !important;
    height: 56px !important;
    padding: 0 20px !important;
    transition: none !important;
}
.cta-form__form-wrapper .b24-form-control:focus {
    box-shadow: none !important;
    border-color: #e0e0e0 !important;
}
.cta-form__form-wrapper .b24-form-control-label {
    color: #8D8D8D !important;
    font-size: 16px !important;
}

/* КНОПКА CTA */
.cta-form__form-wrapper .b24-form-btn-container {
    flex: 0 0 auto !important;
    order: 1 !important;
    display: flex !important;
    width: 340px !important;
    height: 53px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.cta-form__form-wrapper .b24-form-btn-block {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
}
.cta-form__form-wrapper .b24-form-btn {
    width: 340px !important;
    height: 100% !important;
    background-color: #3657DF !important;
    color: #FFFFFF !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0px 4px 0px #082CBF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    transition: all 0.2s !important; 
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.cta-form__form-wrapper .b24-form-field-agreement { display: none !important; }
.cta-form__form-wrapper .b24-form-sign { display: none !important; }
.cta-form__form-wrapper .b24-form-content form > span { display: none !important; }


/* =========================================
   3. АДАПТИВ CTA (ПЛАНШЕТЫ И ТЕЛЕФОНЫ <= 1024px)
   ========================================= */
@media (max-width: 1024px) {
    .cta-form__form-wrapper,
    .cta-form__form-wrapper .b24-form,
    .cta-form__form-wrapper .b24-form-wrapper {
        min-width: auto !important;
        width: 100% !important;
    }
    
    .cta-form__form-wrapper .b24-form-content form {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .cta-form__form-wrapper .b24-form-content form > div:nth-child(1) {
        flex-direction: column !important;
        width: 340px !important;
        gap: 10px !important;
    }
    
    .cta-form__form-wrapper .b24-form-content form > div:nth-child(1) > .b24-form-field,
    .cta-form__form-wrapper .b24-form-control {
        width: 340px !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    .cta-form__form-wrapper .b24-form-btn-container {
        width: 340px !important;
        height: 56px !important; 
    }
    .cta-form__form-wrapper .b24-form-btn {
        width: 340px !important;
    }
}


/* =========================================
   4. ФОРМА В ПОПАПЕ (Белый фон, темный текст)
   ========================================= */

/* Белый фон самой формы внутри попапа */
.popup-form-wrapper .b24-form,
.popup-form-wrapper .b24-form-wrapper {
    min-width: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important; /* Белый фон */
}

/* Структура попапа: колонка по центру */
.popup-form-wrapper .b24-form-content form {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important; /* Расстояние между полями/кнопкой */
    margin: 0 !important;
    padding: 20px 0 !important; /* Внутренние отступы формы */
}

/* Обертка полей в попапе: жестко 411px */
.popup-form-wrapper .b24-form-content form > div:nth-child(1) {
    display: flex !important;
    flex-direction: column !important;
    width: 411px !important;
    max-width: 100% !important;
    gap: 15px !important; /* Расстояние между Именем и Телефоном */
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.popup-form-wrapper .b24-form-content form > div:nth-child(1) > .b24-form-field {
    width: 100% !important;
    box-sizing: border-box !important;
}
.popup-form-wrapper .b24-form-content form > div:nth-child(1) > .b24-form-field > div,
.popup-form-wrapper .b24-form-content form > div:nth-child(1) > .b24-form-field > div > div {
    height: auto !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Поля попапа: 411px (по родителю) на 60px */
.popup-form-wrapper .b24-form-control {
    width: 100% !important;
    height: 60px !important;
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    color: #111111 !important; /* Черный текст ввода */
    z-index: 1 !important;
}

/* Фикс прозрачности при автозаполнении в попапе */
.popup-form-wrapper .b24-form-control:-webkit-autofill,
.popup-form-wrapper .b24-form-control:-webkit-autofill:hover,
.popup-form-wrapper .b24-form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #111111 !important;
}

/* Плейсхолдеры попапа (Серые на белом фоне) */
.popup-form-wrapper .b24-form-control-label {
    color: #8D8D8D !important;
    font-size: 16px !important;
    z-index: 2 !important;
    background-color: transparent !important;
}
.popup-form-wrapper .b24-form-control-label.label-hidden {
    opacity: 0 !important;
}

/* Кнопка попапа: 411px (по родителю) на 60px */
.popup-form-wrapper .b24-form-btn-container {
    width: 411px !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.popup-form-wrapper .b24-form-btn {
    width: 100% !important;
    height: 60px !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #3657DF !important; /* Синий цвет как на скрине */
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0px 4px 0px #082CBF !important; /* Темная тень снизу кнопки */
}

/* Текст чекбокса (Темный на белом фоне, а не белый!) */
.popup-form-wrapper .b24-form-control-desc {
    color: #555555 !important; /* Темно-серый текст */
    font-size: 12px !important;
    text-align: center !important;
}
/* Ссылка в чекбоксе */
.popup-form-wrapper .b24-form-field-agreement-link {
    color: #3657DF !important; /* Синяя ссылка */
    text-decoration: underline !important;
}
/* Галочка чекбокса */
.popup-form-wrapper .b24-form-control-agreement input[type="checkbox"] {
    accent-color: #3657DF !important;
    width: 16px !important;
    height: 16px !important;
}

/* Убираем ссылку "Сообщить о нарушении" в попапе */
.popup-form-wrapper .b24-form-sign {
    display: none !important;
}