h2 {
    color: #00579c;
  }

  .block_banner {
      background-image: url(https://xn--b1ahfc9aj.xn--p1acf/wp-content/uploads/2026/09/po.webp);
  		display: block;
      width: 100%;
      position: relative;
      padding-left: 40px;


      margin-top: 5px;

      background-repeat: no-repeat;
      background-position: center center;

      background-attachment: scroll;
      height: 732px;
  }

  .block_banner .container {
  	height: 100%;
  }

  .block_banner_header {
  	display: flex;
  	justify-content: space-between;
  	flex-direction: column;
  	align-items: stretch;
  	margin-top: 30px;
  	height: 100%;
  	padding: 30px 0;
  }



  .block_banner_right {
      background: #4a6683;
      border-radius: 30px;
      padding: 30px;
  		color: #FFF;
      display: flex;
      align-items: center; /* Вертикальное центрирование текста и кнопки */
  		gap: 50px;
      width: fit-content; /* Блок будет ровно по ширине контента. Это современная замена "width: auto" для таких случаев */
      margin-right: auto; /* Прижимает блок к правому краю родителя (если это нужно) */
  		font-size: 18px;
      justify-content: space-between; /* Растягивает текст и кнопку максимально далеко друг от друга внутри этого компактного блока */
  }


  .block_banner_right .button {
      display: inline-flex; /* Включаем флекс для удобного центрирования */
      align-items: center;
      justify-content: center;

      width: 60px; /* Диаметр круга */
      height: 60px;

      background-color: #FFFFFF; /* Белый фон */
      border-radius: 50%; /* Превращает квадрат в круг */

      padding: 0; /* Сброс стандартных отступов ссылки */
      border: none;
      text-decoration: none; /* Убираем подчеркивание у ссылки */

      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Легкая тень для объема (опционально) */
      transition: transform 0.2s ease, box-shadow 0.2s ease; /* Анимация при наведении */
  }

  /* Стили конкретно для картинки ВНУТРИ кнопки */
  .block_banner_right .button img {
      width: 24px; /* Ширина иконки */
      height: 24px; /* Высота иконки */
      object-fit: contain; /* Чтобы иконка не искажалась */
      flex-shrink: 0; /* Запрещаем картинке сжиматься */
  }

  /* Эффект при наведении курсора */
  .block_banner_right .button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  /* Если ссылка ведет на телефон или email, браузер может добавить стили автолинковки */
  a[href^="tel:"], a[href^="mailto:"] {
      color: initial;
      text-decoration: none;
  }

  .block_banner_left {
  	font-weight: 300;
  	font-size: 16px;
  }
  .block_banner_left h1 {
  	font-family: 'Oswald', sans-serif; /* Шрифт задан через класс oswald или напрямую */
  	font-size: 64px;
  	font-weight: 400;
  	color: #00579c;
  	margin-bottom: 25px;
  	line-height: 1.2;
  	text-transform: uppercase;
  }

  /* Контейнер */
  .problema {
      display: flex;
      gap: 24px;
  }

  /* Общие стили для обоих блоков */
  .column {
      width: 50%;
      padding: 24px;
      box-sizing: border-box;
      background-color: #f9f9f9;
      border-radius: 8px;
      color: #333;
      line-height: 1.6;
  }

  /* Индивидуальные акценты (опционально) */
  .column-a {
      border-left: 4px solid #0057b8;
  }
  .column-b {
      border-left: 4px solid #d71e2a;
  }

  /* Заголовки H2 внутри блоков */
  .column h2 {
      margin-top: 0;
      font-size: 1.4rem;
      color: #000;
      /* Стиль oswald применяется напрямую через HTML-класс */
  }

  /* Маркированный список во втором блоке */
  .column ul {
      padding-left: 20px;
      margin-bottom: 0;
  }
  .column li {
      margin-bottom: 8px;
  }

  /* Блок "Важно" */
  .important-block {
      margin-top: 20px;
      padding: 16px;
      background-color: #fff3cd;
      border-left: 4px solid #ffc107;
      border-radius: 4px;
      font-weight: bold;
  }

  /* АДАПТИВНОСТЬ */
  @media (max-width: 768px) {
      .problema {
          flex-direction: column;
      }
      .column {
          width: 100%;
      }
  }

  .check-list {
      margin: 0;
      padding-left: 0;
      list-style: none;
  }

  .check-list li {
      position: relative;
      padding-left: 30px;
      margin-bottom: 12px;
      line-height: 1.5;
  }

  /* Стилизация первого пункта без иконки */
  .check-list li:first-child strong {
      font-weight: 700;
  }

  /* Иконка для остальных пунктов */
  .check-list li:nth-child(n+2)::before {
      content: "✅";
      position: absolute;
      left: 0;
      top: 0;
      color: #28a745;
      font-size: 1.1em;
  }


  /* --- ОСНОВНОЙ ТЕКСТОВЫЙ БЛОК (Флекс-контейнер) --- */
  .section-content {
      display: flex;
      width: 100%;
  }

  /* --- ДЕТАЛЬНЫЕ БЛОКИ --- */
  .section-text,
  .section-image {
      width: 50%; /* На десктопе каждый занимает ровно половину ширины родителя */
      min-height: 400px; /* Задаем минимальную высоту для визуального баланса */
  }

  /* Специфичные стили для текстового блока */
  .section-text {
      padding: 50px 60px;
      box-sizing: border-box; /* Чтобы паддинг не увеличивал ширину блока сверх 50% */
      display: flex;
      flex-direction: column;
      justify-content: center;
  }

  .section-text h2.oswald {
      font-size: 2.2rem;
      font-weight: 600;
      color: #00579c;
      margin-bottom: 25px;
      line-height: 1.2;
  }



  .section-text p {
      font-size: 1rem;
      margin-bottom: 35px;
      color: #333;
      line-height: 1.6;
  }

  /* Специфичные стили для изображения */
  .section-image {
      background-image: url('placeholder.jpg');
      background-size: cover;
      background-position: center;
      position: relative;
  }



  /* Основной блок */
  .inspection-block {
      margin: 40px auto;
      padding: 0 15px;
      text-align: center;

      max-width: 1000px
  }

  /* Текст под заголовком */
  .inspection-block p {
      line-height: 1.6;
      margin-bottom: 20px;
  }

  /* Контейнер для схемы (горизонтальная сетка) */
  .scheme-container {
      display: flex;
      justify-content: space-between;
      gap: 20px; /* Расстояние между колонками */
      margin-top: 30px;
  }

  /* Отдельный шаг схемы */
  .scheme-item {
      flex: 1; /* Блоки растягиваются на равную ширину */
      background-color: #f9f9f9;
      border-radius: 8px;
      padding: 20px;
      box-sizing: border-box;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Эффект при наведении на карточку */
  .scheme-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  /* Картинки внутри шагов */
  .scheme-img {
      width: 80px;
      height: 80px;
      object-fit: contain;
      margin-bottom: 15px;
  }

  /* Заголовки шагов */
  .scheme-title {
      margin: 0 0 10px 0;
      font-size: 1.2rem;
      color: #000;
  }

  /* Текст описания шага */
  .scheme-text {
      font-size: 0.95rem;
      line-height: 1.5;
      color: #555;
      margin: 0;
  }

  /* Блок призыва к действию */
  .cta-block {
      margin-top: 40px;
      padding: 24px;
      background-color: #e7f3ff;
      border-left: 6px solid #0057b8;
      border-radius: 8px;
  }

  .cta-block p {
      margin: 0;
      font-size: 1.1rem;
      color: #0057b8;
      font-weight: bold;
  }

  /* АДАПТИВНОСТЬ */
  @media (max-width: 768px) {
      .scheme-container {
          flex-direction: column; /* На мобильных схлопываем в один столбец */
      }

      .scheme-item {
          align-items: center;
      }

      .scheme-img {
          width: 60px;
          height: 60px;
      }
  }


  /* Основной блок процесса */
  .process-block {

      margin: 50px auto;
      padding: 0 15px;
      text-align: center;


  }

  /* Текст под заголовком */
  .process-block p {
      line-height: 1.6;
      margin-bottom: 30px;
      color: #555;
  }

  /* Контейнер этапов — горизонтальная линия-таймлайн */
  .process-container {
      display: flex;
      justify-content: space-between;
      align-items: flex-start; /* Выравниваем по верхнему краю иконок */
      position: relative;
      padding-top: 60px; /* Отступ для соединительной линии сверху */
  }

  /* Соединительная линия между этапами */
  .process-container::before {
      content: "";
      position: absolute;
      top: 80px; /* Высота иконки + отступ / 2 */
      left: 5%;
      right: 5%;
      height: 4px;
      background-color: #e0e0e0;
      z-index: 1;
  }

  /* Отдельная карточка этапа */
  .process-item {
      position: relative;
      flex: 1;
      z-index: 2; /* Чтобы карточки были НАД линией */
      background-color: #fff;
      border-radius: 12px;
      padding: 20px 15px;
      box-sizing: border-box;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Тень при наведении */
  .process-item:hover {
      transform: translateY(-6px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  }

  /* Обертка для иконки (круг) */
  .icon-wrapper {
      width: 90px;
      height: 90px;
      margin: -60px auto 15px; /* Поднимаем круг над текстом и линией */
      background-color: #0057b8;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.3s ease;
  }

  /* Изменение цвета круга при наведении на весь блок */
  .process-item:hover .icon-wrapper {
      background-color: #d71e2a;
  }

  /* Сами иконки внутри круга */
  .process-icon {
      width: 50px;
      height: 50px;
      object-fit: contain;
  }

  /* Заголовки этапов */
  .process-title {
      margin: 0 0 10px 0;
      font-size: 1.1rem;
      color: #000;
  }

  /* Описание этапа */
  .process-text {
      font-size: 0.9rem;
      line-height: 1.5;
      color: #555;
      margin: 0;
  }

  /* АДАПТИВНОСТЬ */
  @media (max-width: 900px) {
      .process-container {
          flex-wrap: wrap;
          gap: 30px;
      }

      .process-item {
          flex-basis: calc(50% - 15px); /* Два блока в ряд */
      }

      .process-container::before {
          display: none;
      }
  }

  @media (max-width: 600px) {
      .process-item {
          flex-basis: 100%; /* Один блок на всю ширину */
      }
  }


  /* Основной блок с кейсами */
  .cases-block {
      margin: 50px auto;
      padding: 0 15px;

  }

  /* Заголовок H2 уже имеет класс oswald из предыдущих стилей */

  /* Сетка карточек */
  .cases-container {
      display: grid;
      gap: 24px;
      margin-top: 25px;
  }

  /* На десктопе — две колонки */
  @media (min-width: 769px) {
      .cases-container {
          grid-template-columns: repeat(2, 1fr);
      }
  }

  /* На мобильных — одна колонка */
  @media (max-width: 768px) {
      .cases-container {
          grid-template-columns: 1fr;
      }
  }

  /* Стили карточки */
  .case-card {
      background-color: #fff;
      border-radius: 12px;
      overflow: hidden; /* Обрезаем углы у картинки под радиус карточки */
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
  }

  /* Эффект при наведении */
  .case-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  }

  /* Фотография сверху */
  .case-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
  }

  /* Текстовая часть */
  .case-content {
      padding: 24px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
  }

  /* Название объекта внутри кейса */
  .case-title {
      margin: 0 0 15px 0;
      font-size: 1.2rem;
      color: #000;
  }

  /* Параграфы текста */
  .case-content p {
      margin: 0 0 10px 0;
      line-height: 1.5;
      font-size: 0.95rem;
      color: #444;
  }

  /* Выделяем жирным метки "Проблема", "Решение" */
  .case-content strong {
      color: #000;
  }

  /* Последнему абзацу даем отступ и выделяем результат */
  .case-content p:last-child {
      margin-top: 15px;
      margin-bottom: 0;
      font-weight: bold;
      color: #0057b8;
  }

  /* ====================================================
     П.2: ФОРМА (ЦВЕТ #577491)
  ==================================================== */
  .form-main-bg {
      background-color: #4a6683; /* Темная внешняя рамка */
      padding: 40px 20px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      margin: 0 auto;
  		margin-bottom: 30px;
  }

  /* --- ОСНОВНОЙ БЛОК ФОРМЫ --- */
  .form-main {
      background-color: #577491; /* ВАШ ВЫБРАННЫЙ ЦВЕТ */
      padding: 35px 40px;
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      color: #1a1c23; /* Текст темно-серый для читаемости на светло-синем фоне */
  }

  /* --- ГЛАВНЫЙ КОНТЕЙНЕР СТРОКИ --- */
  .form-row {
      display: flex !important;
      gap: 15px !important;
      width: 100% !important;
      line-height: 0;
  }

  .form-row p {
      all: unset !important;
      display: contents !important;
  }

  /* --- ЯЧЕЙКИ --- */
  .form-col {
      display: flex !important;
      flex-direction: column !important;
      min-width: 0 !important;
      flex: 1 1 calc(33.333% - 10px) !important;
  }

  /* Стили самого поля ввода */
  .form-col .form-control {
      width: 100% !important;
      height: 55px !important;
      padding: 0 20px !important;
      border: 1px solid #b0c2d6; /* Светлая рамка инпута в тон темы */
      background-color: #fff !important; /* Поля ввода — белые */
      color: #1a1c23 !important;
      font-size: 1rem !important;
      border-radius: 8px !important;
      transition: all 0.3s ease !important;
      box-sizing: border-box !important;
      order: 1 !important;
      appearance: textfield !important;
  }

  /* Стили плейсхолдера */
  .form-col .form-control::placeholder {
      color: #7d8492 !important;
      opacity: 1 !important;
  }

  /* Состояние фокуса */
  .form-col .form-control:focus {
      outline: none !important;
      border-color: #d9534f !important;
      background-color: #fff !important;
      box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.2) !important;
  }

  /* --- БЛОК ОШИБКИ --- */
  .wpcf7-not-valid-tip {
      display: block !important;
      color: #d9534f !important;
      font-size: 0.85rem !important;
      margin-top: 5px !important;
      order: 2 !important;
      line-height: 1.3 !important;
      min-height: 1em !important;
  }

  .form-col br {
      display: none !important;
  }

  /* Состояние НЕВАЛИДНОГО поля */
  .form-control.wpcf7-not-valid {
      border-color: #d9534f !important;
      background-color: #fdecee !important;
      color: #d9534f !important;
  }

  /* Скрываем общий вывод сообщений CF7 внизу формы */
  .wpcf7-response-output {
      display: none !important;
  }

  /* --- КНОПКА --- */
  .btn-cell {
      flex: 0 0 auto !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      white-space: nowrap !important;
  }

  .btn-cell .wpcf7-submit.btn.btn-primary {
      width: auto !important;
      height: 55px !important;
      padding: 0 30px !important;
      border: none !important;
      background-color: #d9534f !important; /* Красная кнопка контрастирует со стальным синим */
      color: #fff !important;
      font-weight: bold !important;
      font-size: 1rem !important;
      border-radius: 8px !important;
      cursor: pointer !important;
      transition: all 0.3s ease !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      order: 0 !important;
  }

  .btn-cell .wpcf7-submit.btn.btn-primary:hover {
      background-color: #c12e2a !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 6px 12px rgba(217, 83, 79, 0.3) !important;
  }

  .btn-cell .wpcf7-spinner {
      margin-left: 10px !important;
  }

  /* --- АДАПТИВНОСТЬ --- */
  @media (max-width: 768px) {
      .form-row {
          flex-direction: column !important;
          gap: 15px !important;
      }

      .form-col,
      .btn-cell {
          flex-basis: 100% !important;
          width: 100% !important;
      }

      .form-col .form-control {
          height: 55px !important;
      }
  }


  /* ====================================================
     ЧЕКБОКС СОГЛАСИЯ (ТОЧНО ПОД ВАШ HTML + :HAS())
  ==================================================== */
  .form-block.form-acceptance-wrap {
      margin-top: 15px !important;
      display: flex !important;
      align-items: center !important;
      cursor: pointer !important;
  }

  /* --- Убираем визуальный мусор WordPress --- */
  .form-block.form-acceptance-wrap p,
  .form-block.form-acceptance-wrap br {
      all: unset !important;
      display: contents !important; /* Ломаем блочную модель <p>, чтобы работал Flex */
  }

  /* Скрываем нативный input визуально, НО оставляем его рабочим! */
  .form-block.form-acceptance-wrap .wpcf7-form-control.wpcf7-acceptance,
  .form-block.form-acceptance-wrap input[type="checkbox"] {
      position: absolute !important;
      width: 20px !important;
      height: 20px !important;
      opacity: 0 !important; /* Не display:none, иначе :checked работать не будет */
      z-index: 3 !important; /* Должен быть выше квадрата, чтобы ловить клики */
      cursor: pointer !important;
      margin: 0 !important;
      padding: 0 !important;
  }

  /* --- Текст согласия и рисование квадрата --- */
  .form-block.form-acceptance-wrap span.cl-1 {
      position: relative !important;
      padding-left: 30px !important; /* Место под наш квадратик */
      color: #1a1c23 !important;
      font-size: 0.95rem !important;
      line-height: 1.5 !important;
      display: block !important;
      min-height: 22px !important;
  }

  /* Нарисованный белый квадрат ПЕРЕД текстом */
  .form-block.form-acceptance-wrap span.cl-1::before {
      content: '' !important;
      position: absolute !important;
      left: 0 !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      width: 20px !important;
      height: 20px !important;
      border: 2px solid #ccc !important;
      background-color: #eee !important;
      border-radius: 4px !important;
      transition: all 0.2s ease !important;
      z-index: 1 !important;
  }

  /* Галочка внутри квадрата (скрыта по умолчанию) */
  .form-block.form-acceptance-wrap span.cl-1::after {
      content: "" !important;
      position: absolute !important;
      left: 5px !important;
      top: 7px !important;
      width: 6px !important;
      height: 12px !important;
      border-style:  solid !important;
      border-width: 0 2px 2px 0 !important;
      border-color: #333 !important;
      transform: rotate(45deg) scale(0) !important; /* Масштаб 0 = скрыто */
      transition: transform 0.2s ease !important;
      z-index: 2 !important;
  }

  /* === МАГИЯ СВЯЗИ через :has() === */

  /* Если у враппера есть checked-инпут -> меняем цвет квадрата */
  .form-block.form-acceptance-wrap:has(input:checked) span.cl-1::before {
      background-color: #577491 !important; /* Ваш синий цвет фона формы */
      border-color: #577491 !important;
  }

  /* Если у враппера есть checked-инпут -> показываем галочку */
  .form-block.form-acceptance-wrap:has(input:checked) span.cl-1::after {
      transform: rotate(45deg) scale(1) !important; /* Масштаб 1 = видно */
  }

  /* Эффект при наведении на НЕотмеченный квадрат */
  .form-block.form-acceptance-wrap:not(:has(input:checked)):hover span.cl-1::before {
      background-color: #ddd !important;
      border-color: #bbb !important;
  }

  /* Ссылка "Соглашение" */
  .form-block.form-acceptance-wrap span.cl-1 a {
      color: #d9534f !important;
      text-decoration: underline !important;
  }
  .form-block.form-acceptance-wrap span.cl-1 a:hover {
      text-decoration: none !important;
  }  
