/*
Theme Name: Glonassystem Theme
Author: Vashe Imya
Version: 1.0
*/


/* =================================================================
   БАЗОВЫЕ СТИЛИ И ХЕДЕР
   ================================================================= */

/* --- Базовые стили для всей страницы --- */


{
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #424242; /* Основной цвет текста */
    background-color: #FFFFFF;
}

  /* интервалы секций */
  --section-gap: 68px;            /* стандарт между секциями */
  --first-section-top-gap: 16px;  /* у самой первой секции */



/* =================================================================
   ГЛОБАЛЬНЫЕ КЛАССЫ-ПОМОЩНИКИ (ИСПРАВЛЕННАЯ ВЕРСИЯ)
   ================================================================= */

/* 1. НАШ ГЛАВНЫЙ И ЕДИНСТВЕННЫЙ СТАНДАРТ ОТСТУПОВ */
.section-padding {
    margin-top: 68px;
    margin-bottom: 68px;
}

/* 2. ИСКЛЮЧЕНИЕ для блока с иконками */
/* Это правило перебивает стандарт, задавая свои отступы */
.features-grid-section {
    margin-top: 42px;
    margin-bottom: 42px;
}

/* 3. ИСКЛЮЧЕНИЕ для CTA-префутера */
/* Этот класс-помощник будет убирать нижний отступ у любого блока */
.no-bottom-margin {
    margin-bottom: 0 !important;
}

/* --- Контейнер для контента --- */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
/* --- Тема для темных секций --- */
.dark-theme {
    background-color: #0B202F;
    color: rgba(255, 255, 255, 0.6); /* Цвет по умолчанию для всего текста */
}
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme strong {
    color: #FFFFFF; /* Белый для заголовков */
}
.dark-theme p {
    color: rgba(255, 255, 255, 0.6); /* Светло-серый для параграфов */
}
.dark-theme a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
.dark-theme a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
/* --- Правила для вспомогательных классов текста --- */
.dark-theme .text-small,
.dark-theme p.text-small,
.dark-theme .text-lead,
.dark-theme p.text-lead {
    color: rgba(255, 255, 255, 0.6); /* Светло-серый для всех текстовых классов */
}
/* =================================================================
   ГЛОБАЛЬНАЯ ТИПОГРАФИКА
   ================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600; /* Bold/Semibold */
    color: #0B202F; /* Ночной синий */
    margin: 0 0 0.5em 0; /* Базовый отступ снизу */
}

h1 { font-size: 42px; line-height: 1.2; }
h2 { font-size: 36px; line-height: 1.3; color: #333C4E; } /* Особый цвет для H2 */
h3 { font-size: 28px; line-height: 1.4; color: #333C4E; } /* Особый цвет для H3 */
h4 { font-size: 24px; line-height: 1.4; }
h5 { font-size: 20px; line-height: 1.4; }
h6 { font-size: 18px; line-height: 1.4; }

p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6); /* Наш серый для текста */
    margin-top: 0;
    margin-bottom: 1em;
}

p.text-lead { /* Наш вспомогательный класс */
    font-size: 18px;
    line-height: 1.5;
}

.text-small,
p.text-small { /* Добавляем правило и для параграфов с этим классом */
    font-size: 14px;
    line-height: 1.4;
}

a {
    color: #0066B0; /* Наш основной синий */
    transition: color 0.3s ease;
}

a:hover {
    color: #0D5283; /* Наш темно-синий */
}

/* =================================================================
   СТИЛИ ДЛЯ УНИВЕРСАЛЬНОГО ТЕКСТОВОГО БЛОКА
   ================================================================= */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Меняем порядок колонок для варианта "картинка слева" */
.content-grid.text_right_image_left .content-grid__image {
    order: -1;
}

.content-grid__image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr; /* Колонки встают друг под друга */
    }
}

/* =================================================================
   КОМПОНЕНТЫ: КНОПКИ (Обновленная версия 2.0)
   ================================================================= */

/* --- Базовый стиль для всех кнопок --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 16px; border: 1px solid transparent; text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all 0.3s ease; }

/* Фикс: убираем <br> которые CF7 добавляет внутри кнопок */
.btn br { display: none; }

/* --- Размеры кнопок --- */
.btn--large { height: 74px; padding: 0px 14px 0px 14px; font-size: 18px; }
.btn--small { height: 54px; padding: 0px 5px 0px 24px; font-size: 16px; }

/* --- Внешний вид кнопок --- */
.btn--primary { background: #0066B0; border-color: #0066B0; color: #FFFFFF; }
.btn--primary:hover { background: #0D5283; border-color: #0D5283; color: #FFFFFF; }

.btn--outline { background: transparent; border-color: #0066B0; color: #0066B0; padding-left: 21px; padding-right: 21px; }
.btn--outline:hover { background: #0066B0; color: #FFFFFF; }

/* !!! НАШ НОВЫЙ СТИЛЬ !!! */
.btn--outline-inverted { background: transparent; border-color: #FFFFFF; color: #FFFFFF; }
.btn--outline-inverted:hover { background: #FFFFFF; color: #005a87; }
/* .btn--outline-inverted:hover .btn__arrow-container { background: #0D5283; } */

/* !!! НАШ НОВЫЙ СТИЛЬ ДЛЯ ШИРОКОЙ КНОПКИ !!! */
.btn--wide {
    width: 60%; 
    justify-content: space-between; /* Разносим текст и иконку по краям */
    padding-left: 24px;
    padding-right: 8px; /* Уменьшаем правый отступ, т.к. там уже есть отступ у иконки */
}

/* Тёмная кнопка для контактного блока */
.btn--dark {
  background: #0B202F;
  border-color: #0B202F;
  color: #FFFFFF;
}

.btn--dark:hover {
  background: #111111;
  border-color: #111111;
  color: #FFFFFF;
}

/* Убираем стандартное вращение для иконки в широкой кнопке */
.btn--wide:hover .btn__arrow {
    transform: none; /* Отменяем вращение */
}

/* Применяем новую анимацию 'shake' */
.btn--wide:hover .btn__arrow-container {
    animation: shake 0.4s ease-in-out;
}


/* --- Контейнер для стрелки в кнопке --- */
.btn__arrow-container { background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.btn--large .btn__arrow-container { width: 54px; height: 54px; border-radius: 12px; }
.btn--small .btn__arrow-container { width: 44px; height: 44px; border-radius: 10px; }

/* --- Сама стрелка --- */
.btn__arrow { transition: transform 0.3s ease; }
.btn:hover .btn__arrow { transform: rotate(45deg); }

/* Стили для чекбокса политики конфиденциальности в формах */
.form-privacy-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}
.form-privacy-wrapper label {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6); /* Цвет для светлого фона */
    line-height: 1.3;
}
.dark-theme .form-privacy-wrapper label,
.cta-container .form-privacy-wrapper label {
    color: rgba(255, 255, 255, 0.8); /* Цвет для темного фона */
}
.form-privacy-wrapper a {
    color: inherit !important;
    text-decoration: underline;
}
.privacy-checkbox {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


/* =================================================================
   НАВИГАЦИЯ С ВЫПАДАЮЩИМ МЕНЮ (v5.1 - ЧИСТАЯ ВЕРСИЯ)
   ================================================================= */

/* --- Контейнер для пункта с подменю --- */
.main-navigation li.has-submenu {
    position: relative;
}

/* --- Иконка-стрелочка --- */
.main-navigation li.has-submenu > a::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-size: contain;
    transition: transform 0.3s ease;
}

/* --- ОСНОВНОЙ БЛОК ВЫПАДАЮЩЕГО МЕНЮ --- */
.main-navigation .main-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 1232px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* --- Внутренний контейнер с контентом --- */
.main-navigation .main-submenu__inner {
    background: #F2F7F7;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 24px;
    width: 100%;
}

/* --- Логика появления и поворота стрелки --- */
.main-navigation li.has-submenu:hover > .main-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.main-navigation li.has-submenu:hover > a::after {
    transform: rotate(180deg);
}

/* --- Сетка и колонки внутри подменю --- */
.main-navigation .main-submenu__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}
.main-navigation .main-submenu__col {
    width: 280px;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* --- Типографика --- */
.main-navigation .main-submenu .submenu-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0B202F !important;
    text-align: left;
    text-transform: none;
    margin: 0 0 24px 0 !important;
    padding: 0;
}
.main-navigation .main-submenu .submenu-title.is-disabled {
    color: #6C6C6C !important;
    pointer-events: none;
    font-weight: 400 !important;
}
.main-navigation .main-submenu a {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #424242 !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: color 0.2s ease;
    text-align: left;
    display: block;
    width: 100%;
}
.main-navigation .main-submenu .submenu-title a {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0B202F !important;
}
.main-navigation .main-submenu .submenu-list a:hover,
.main-navigation .main-submenu .sub-menu a:hover {
    color: #0066B0 !important;
}

.main-navigation .main-submenu .submenu-list,
.main-navigation .main-submenu .sub-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    align-items: flex-start;
}
.main-navigation .main-submenu .submenu-list > li,
.main-navigation .main-submenu .sub-menu > li {
    padding: 0 !important;
    margin: 0 !important;
    text-indent: 0 !important;
    width: 100%;
}

/* --- СПЕЦИАЛЬНЫЕ ПРАВИЛА ДЛЯ КРАЙНИХ МЕНЮ --- */
.main-navigation > ul > li:first-child > .main-submenu {
    left: 0;
    transform: translateX(0);
}
.main-navigation > ul > li:last-child > .main-submenu {
    left: auto;
    right: 0;
    transform: translateX(0);
}

/* --- СПЕЦИАЛЬНЫЕ ПРАВИЛА ДЛЯ КРАЙНИХ МЕНЮ --- */

/* Для самого ПЕРВОГО пункта в навигации ("Услуги") */
.main-navigation > ul > li:first-child > .main-submenu {
    left: -80px; /* <-- ИЗМЕНЕНИЕ: Смещаем на 80px влево */
    transform: translateX(0);
}

/* Для самого ПОСЛЕДНЕГО пункта в навигации (без изменений) */
.main-navigation > ul > li:nth-last-child(2) > .main-submenu {
    left: auto;
    right: 0;
    transform: translateX(0);
}

/* =================================================================
   ХЕДЕР И НАВИГАЦИЯ (Единая версия v5.0)
   ================================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

/* --- Верхний ряд хедера --- */
.header-top-row {
    padding: 24px 0 0 0;
}
.header-top-row .header-container {
    justify-content: space-between;
}
.header-logo img {
    display: block;
    max-width: 375px;
}
.header-info-group, .header-contacts-group {
    display: flex;
    align-items: center;
    gap: 24px;
}
.header-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.6);
}
.header-info-item::before {
    content: ''; display: block; width: 24px; height: 24px;
    flex-shrink: 0; background-size: contain; background-repeat: no-repeat; background-position: center;
}
#header-address::before { background-image: url('assets/images/icon/adress.svg'); }
#header-hours::before { background-image: url('assets/images/icon/clock.svg'); }
.header-phone {
    font-size: 20px; font-weight: 700; color: #0066B0;
    text-decoration: none; white-space: nowrap;
}
.header-social-icons { display: flex; gap: 8px; }
.social-icon {
    display: block; width: 36px; height: 36px; border-radius: 50%;
    background-size: 36px; background-position: center; background-repeat: no-repeat;
}
#whatsapp-icon { background-color: #60D66A; background-image: url('assets/images/icon/whatsapp.svg'); }
#telegram-icon { background-color: #2AABEE; background-image: url('assets/images/icon/telegram.svg'); }


/* --- Нижний ряд хедера (Навигация) --- */
.header-nav-row {
    padding: 18px 0 24px 0;
}
.header-nav-row .header-container {
    background: #0066B0;
    border-radius: 16px;
    height: 80px;
    padding: 0;
}
.main-navigation {
    width: 100%;
    height: 100%;
}

/* --- ОСНОВНАЯ НАВИГАЦИЯ (ul, li, a) - ГЛАВНЫЕ ИСПРАВЛЕНИЯ --- */
.main-navigation > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: stretch; /* Растягиваем li на всю высоту */
    height: 100%;
}
.main-navigation > ul > li {
    margin: 0;
    display: flex;
    align-items: center;
}
.main-navigation > ul > li > a {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 24px;
    height: 100%;
}


/* =================================================================
   БЛОК: 01-Промоблок-Главная (ИСПРАВЛЕННАЯ ВЕРСИЯ)
   ================================================================= */

.promo-section {
    background: #F3FAFF;
    position: relative;
    padding-bottom: 60px;
    background-image: url(assets/images/mainback.png);
    background-size: 45%;
    background-repeat: no-repeat;
    background-position: bottom right;
}
.promo-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.promo-content {max-width: 55%; padding-top: 50px;}
.promo-image { width: 45%; }
.promo-image img { max-width: 100%; height: auto; display: block; }

/* Стили для H1 и P уже заданы глобально, их не нужно повторять */
.promo-title { margin-bottom: 12px; }
.promo-subtitle { font-size: 24px; line-height: 1.2; margin-bottom: 32px; max-width: 600px; }

.promo-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.promo-tag { display: inline-block; padding: 8px 14px; border-radius: 8px; background-color: #FFFFFF; color: #000000; text-decoration: none; font-size: 18px; transition: background-color 0.3s ease; }
.promo-tag:hover, .promo-tag.active { background-color: #DBEBF7; }

.promo-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

.promo-link-lk { background: none; border: 1px solid #0066B0; border-radius: 8px; padding: 8px 14px; display: inline-flex; align-items: center; gap: 10px; color: #000000; text-decoration: none; font-size: 18px; }

.promo-link-lk {
    background: none;
    border: 1px solid #0066B0;
    border-radius: 8px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}
.promo-link-lk:hover {
    background-color: #e2e1ee0a; /* Легкий эффект при наведении */
}
button [href="/policy"]{
	color:#fff !important;
	text-decoration:none;
}
button [href="/policy"]:hover{
	color:#0066B0;
}

@media (max-width: 1024px) {
    .promo-section { background-position: bottom center; padding-bottom: 400px; }
    .promo-content { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .promo-tags { justify-content: center; }
}


/* =================================================================
   БЛОК: 02-uslugimain (Оптимизированный)
   ================================================================= */
.services-main-container { max-width: 1280px; margin: 0 auto; }
.services-main-header { margin-bottom: 42px; }
.services-main-header h2 { margin-bottom: 24px; } /* Глобальные стили уже применились */
.services-main-header p { font-size: 18px; line-height: 1.5; max-width: 600px; margin: 0; }

.services-main-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card-item { background: #FFFFFF; border: 1px solid #DDE2E4; border-radius: 16px; padding: 24px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card-item:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07); }
.service-card-item__icon { width: 96px; height: 96px; background: #F3FAFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 21px; }
.service-card-item__icon img { width: 48px; height: 48px; }
.service-card-item__title { margin-bottom: 21px; } /* Глобальные стили h3/h4 уже применились */
.service-card-item__list { list-style: none; padding: 0; margin: 0; }
.service-card-item__list li { margin-bottom: 12px; }
.service-card-item__list a { color: #0B202F; font-size: 16px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.service-card-item__list a::before { content: ''; display: block; flex-shrink: 0; width: 24px; height: 24px; background-image: url('data:image/svg+xml,%3Csvg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M15.8018 9.25855L7.2267 17.8336L6.16604 16.773L14.7411 8.19789L6.68541 8.19789L6.69637 6.6967H17.303V17.3033L15.8018 17.3143L15.8018 9.25855Z" fill="%230B202F"/%3E%3C/svg%3E'); background-size: contain; transition: transform 0.3s ease; }
.service-card-item__list a:hover { color: #0066B0; }
.service-card-item__list a:hover::before { transform: translateX(4px) rotate(5deg); }

@media (max-width: 1024px) { .services-main-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .services-main-grid { grid-template-columns: 1fr; } }

/* =================================================================
   БЛОК: 03-Инфо-Текст
   ================================================================= */


/* --- Часть 1: Заголовок и список --- */
.info-part-one {
    margin-bottom: 36px;
}

.info-part-one h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333C4E;
    margin: 0 0 18px 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Расстояние между пунктами */
}

.info-list li {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Добавляем кастомную иконку-маркер */
.info-list li::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 11px;
    height: 21px;
    margin-top: 4px; /* Небольшая поправка для выравнивания */
    background-image: url('data:image/svg+xml,%3Csvg width="11" height="21" viewBox="0 0 11 21" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1.54 14.6981C0.689481 14.6981 -3.71773e-08 13.9745 0 13.0818C3.71774e-08 12.1891 0.689482 11.4654 1.54 11.4654C2.39052 11.4654 3.08 12.1891 3.08 13.0818C3.08 13.9745 2.39052 14.6981 1.54 14.6981Z" fill="%2356698F"/%3E%3Cpath d="M3.2205 16.1014C4.79344 14.3652 4.79345 11.635 3.2205 9.89878L4.15388 8.91912C6.242 11.1967 6.24185 14.8033 4.15373 17.0809L3.2205 16.1014Z" fill="%23EA4747"/%3E%3Cpath d="M5.08708 18.0607C7.6905 15.2418 7.69049 10.7584 5.08708 7.93946L6.02046 6.9598C9.13923 10.3199 9.13909 15.6801 6.0203 19.0402L5.08708 18.0607Z" fill="%23EA4747"/%3E%3Cpath d="M6.95403 20.02C10.5882 16.1187 10.5882 9.88141 6.95403 5.98014L7.88787 5C12.0375 9.44242 12.0373 16.5576 7.88772 21L6.95403 20.02Z" fill="%23EA4747"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
}

/* --- Часть 2: Текст в две колонки --- */
.info-part-two {
    padding-top: 36px;
}

.info-part-two h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333C4E;
    margin: 0 0 24px 0;
}

.info-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    gap: 24px; /* Расстояние между ними */
}

.info-column p {
    font-size: 16px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 0;
}

/* --- Адаптивность для этого блока --- */
@media (max-width: 768px) {
    .info-two-columns {
        grid-template-columns: 1fr; /* На мобильных колонки встают друг под друга */
    }
}

/* =================================================================
   БЛОК: Infographic-mainimf-01 (Финальная версия с рефакторингом)
   ================================================================= */

/* --- Часть 1: Инфографика --- */
.infographic-visual-wrapper {
    /* Эта обертка позволяет инфографике быть шире, чем основной контент */
}
.infographic-scroll-wrapper {
    overflow: visible; /* На десктопе прокрутка отключена */
}
.infographic-content {
    position: relative;
    width: 1280px;
    margin: 0 auto;
}
.infographic-content img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Часть 2: Текстовое содержимое --- */

/* Блок с нумерованными пунктами */
.infographic-points-block {
    background: #F3FAFF;
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Три колонки */
    gap: 24px 36px;
}
.infographic-point h4 {
    font-size: 20px;
    margin: 0 0 8px 0;
}
.infographic-point p {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    padding-left: 18px;
}

/* Текст-описание под инфографикой */
.infographic-summary {
    padding: 32px 0;
    font-size: 18px;
    line-height: 1.5;
    color: #333C4E;
}
.infographic-summary p {
    color: #333C4E;
}

/* Сетка с иконками и преимуществами */
.infographic-features-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.feature-item { background: #F3FAFF; border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 16px; flex-basis: calc(25% - 18px); flex-grow: 1; }
.feature-item img { flex-shrink: 0; width: 36px; height: 36px; }
.feature-item.wide img { width: 48px; height: 48px; }
.feature-item span { font-size: 18px; line-height: 1.5; color: #000000; }
.feature-item.wide { flex-basis: calc(50% - 12px); }
.feature-item-text { display: flex; flex-direction: column; }
.feature-item-text strong { font-size: 18px; color: #000000; }
.feature-item-text span { font-size: 16px; color: rgba(0, 0, 0, 0.6); }
.features-grid-section {
    margin-top: 42px;
    margin-bottom: 68px;
}


/* --- Адаптивность --- */
@media (max-width: 1280px) {
    .infographic-scroll-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 0 20px;
    }
}
@media (max-width: 1024px) {
    .infographic-points-block { grid-template-columns: 1fr 1fr; }
    .feature-item { flex-basis: calc(50% - 12px); }
    .feature-item.wide { flex-basis: 100%; }
}
@media (max-width: 768px) {
    .infographic-points-block { grid-template-columns: 1fr; }
    .feature-item { flex-basis: 100%; }
}

/* =================================================================
   БЛОК: Сетка услуг (services-grid)
   ================================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #F3FAFF;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    border: 1px solid transparent; /* "Невидимая" рамка для плавности */
    transition: all 0.3s ease;
}

/* Элемент, занимающий 2 колонки */
.service-card--wide {
    grid-column: span 2;
}

/* Иконка (используем CSS Mask для смены цвета) */
.service-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: #424242; /* Цвет иконки normal */
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.3s ease;
}

.service-card h5 {
    color: #424242; /* Цвет текста normal */
    margin: 0;
    font-weight: 600; /* Более плотный шрифт для заголовка */
    transition: color 0.3s ease;
}

/* --- Состояние Hover --- */
.service-card:hover {
    border-color: #0066B0;
}
.service-card:hover h5 {
    color: #0066B0; /* Цвет текста hover */
}
.service-card:hover .service-card__icon {
    background-color: #0066B0; /* Цвет иконки hover */
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card--wide {
        grid-column: span 1; /* На мобильных все карточки одинаковые */
    }
}


/* =================================================================
   БЛОК: 04-Подробный-Текст
   ================================================================= */

.details-section {
    padding: 64px 0;
}

.details-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 64px; /* Расстояние между частями блока */
}

/* --- Верхняя часть: Текст + Картинка --- */
.details-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.details-intro__text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333C4E;
    margin: 0 0 24px 0;
}

.details-intro__text p {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 1em 0;
}
.details-intro__text p:last-child {
    margin-bottom: 0;
}

.details-intro__image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px; /* Добавим легкое скругление */
}

/* --- Части с описанием --- */
.details-part h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333C4E;
    margin: 0 0 18px 0;
}
.details-part > p {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 18px 0;
}

/* Стили для списков */
.details-list, .details-ordered-list {
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.details-list li, .details-ordered-list li {
    font-size: 16px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.6);
    padding-left: 10px; /* Отступ для маркеров */
}

.details-list {
    list-style: none; /* Убираем стандартные маркеры */
}
.details-list li {
    padding-left: 0;
}

.details-list li strong {
    display: block;
    font-size: 18px;
    color: #0B202F;
    margin-bottom: 12px;
}

/* --- Адаптивность для этого блока --- */
@media (max-width: 800px) {
    .details-intro {
        grid-template-columns: 1fr; /* На мобильных картинка встает под текст */
        gap: 32px;
    }
}

/* =================================================================
   БЛОК: portfolio-carousel (Версия с исправлением колонок и стрелок)
   ================================================================= */

.portfolio-section {
    /* Здесь могут быть другие стили, но padding и margin нужно убрать */
}

.portfolio-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    /* Добавляем overflow: hidden, чтобы стрелки не вылезали за контейнер */
    overflow: hidden;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.portfolio-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0B202F;
    margin: 0;
}

.portfolio-navigation {
    display: flex;
    gap: 16px;
}

/* Стили для стрелок навигации Swiper (САМАЯ СИЛЬНАЯ ВЕРСИЯ) */
.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    background-color: #F3FAFF !important;
    border-radius: 50% !important;
    transition: background-color 0.3s ease !important;
    display: flex !important; /* Убеждаемся, что блок видим */
    align-items: center !important;
    justify-content: center !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #DBEBF7 !important;
}

/* Полностью убираем стандартный псевдо-элемент Swiper'а */
.swiper-button-prev::after,
.swiper-button-next::after {
    content: '' !important;
    display: none !important;
}

/* Добавляем наши собственные иконки как фон */
.swiper-button-prev {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 10 10"%3E%3Cpath d="M6.5 9L2.5 5L6.5 1" stroke="%230B202F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-button-next {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 10 10"%3E%3Cpath d="M3.5 9L7.5 5L3.5 1" stroke="%230B202F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
}


/* Карусель */
.portfolio-carousel {
    /* Добавляем overflow: visible, чтобы слайды не обрезались до инициализации */
    overflow: visible; 
}

/* Карточка портфолио */
.portfolio-card {
    background: #FFFFFF;
    border: 1px solid #DDE2E4;
    border-radius: 24px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-card img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.portfolio-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1; /* Растягиваем контент, чтобы карточки были одной высоты */
}

.portfolio-card-text-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Растягиваем текстовые группы */
}

.portfolio-card-text-group .label {
    font-size: 16px;
    color: #0B202F;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.portfolio-card-text-group .value {
    font-size: 18px;
    color: #6C6C6C;
    line-height: 1.5;
    margin: 0;
}

/* =================================================================
   БЛОК: steps-form
   ================================================================= */

.steps-form-section {
    background: #F3FAFF;
}

.steps-form-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 20px;
}

/* --- Инфографика шагов --- */
.steps-infographic {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}
.steps-infographic h2 {
    text-align: center;
    margin-bottom: 48px;
}
.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-basis: 200px; /* Ширина одного блока с текстом */
}
.step-icon {
    width: 96px;
    height: 96px;
    border: 12px solid #0066B0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    background: #FFFFFF;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}
.step-item p {
    font-size: 18px;
    line-height: 1.5;
    color: #000000;
    margin: 0;
}
.step-arrow {
    margin-top: 41px; /* Выравниваем стрелку по центру иконок */
}

/* --- Разделитель --- */
.steps-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* --- Нижняя часть: Форма / CTA --- */
.steps-cta {
    padding: 48px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.cta-col { display: flex; flex-direction: column; }
.cta-col-left { align-items: flex-start; flex-basis: 25%; }
.cta-col-left strong { font-size: 16px; color: rgba(0, 0, 0, 0.6); margin-bottom: 10px; }
.cta-col-left span { font-size: 18px; color: #333C4E; line-height: 1.5; }

.cta-col-center { flex-grow: 1; flex-basis: 72%;}
.cta-form { display: flex; gap: 18px; }
.cta-form input[type="tel"] {
    flex-grow: 1;
    height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
    padding: 0 24px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #0B202F;
    transition: border-color 0.3s ease;
}
.cta-form input[type="tel"]::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.pum-container textarea,
.pum-container input{
    flex-grow: 1;
    height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
    padding: 0 24px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #0B202F;
    transition: border-color 0.3s ease;
    max-width:100%;
    margin-bottom: 15px;
}
.pum-container textarea{
    height:120px;
    padding-top:15px;
}
textarea::placeholder,
input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}
.pum-container .pum-title{
    font-size: 26px !important;
    text-align: center !important;
}
.pum-theme-1014 .pum-content + .pum-close, .pum-theme-enterprise-blue .pum-content + .pum-close{
    background-color: #0066B0 !important;
}
.wpcf7-acceptance label{
    display:flex;
    gap: 10px;
    color:#fff;
    font-weight: 400;
    font-size: 14px;
}
.wpcf7-acceptance label a{
    color:#fff;
    text-decoration: underline;
    font-size: 14px;
}
.wpcf7-acceptance label input{
    max-width: 20px;
    max-height: 20px;
}
.wpcf7-response-output{
    background-color: #fffdf966 !important;
    border:1px solid #FFA100 !important;
    border-radius: 8px !important;
    padding:16px 24px 16px 72px !important;
    font-weight: bold;
    color:#FFA100 !important;
    margin:0 !important;
    position: relative !important;
}
.wpcf7-response-output::before{
    content: '';
    width:36px;
    height:36px;
    display:block;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    left:26px;
    background: url(img/mail-some-wrong.svg) no-repeat center center;
    background-size: contain;
}
.sent .wpcf7-response-output{
    background-color: #ffffffe8 !important;
    border:1px solid #328D20 !important;
    border-radius: 8px !important;
    font-weight: bold;
    color:#328D20 !important;
    margin:0 !important;
}
.sent .wpcf7-response-output::before{
    background: url(img/mail-allright.svg) no-repeat center center !important;
}
.failed .wpcf7-response-output{
    background-color: #ffeeeec9 !important;
    border:1px solid #EA4747 !important;
    color:#EA4747 !important;
}
.failed .wpcf7-response-output::before{
    background: url(img/mail-error.svg) no-repeat center center !important;
}
/* Состояния поля ввода */ /*В CSS я добавил стили для разных состояний поля ввода:

:focus — когда пользователь кликнул в поле (синяя обводка).

.is-valid — для успешного ввода (зеленая обводка).

.is-invalid — для ошибки (красная обводка).

Когда разработчик будет "оживлять" форму, он сможет с помощью JavaScript добавлять или убирать классы .is-valid и .is-invalid в зависимости от того, правильно ли введен номер телефона.*/

.cta-form input[type="tel"]:focus {
    outline: none;
    border-color: #0066B0; /* Синяя обводка при фокусе */
}
.cta-form input[type="tel"].is-valid {
    border-color: #28a745; /* Зеленая обводка (успех) */
}
.cta-form input[type="tel"].is-invalid {
    border-color: #EA4747; /* Красная обводка (ошибка) */
}


.cta-col-right { align-items: flex-end; flex-basis: 25%; text-align: right; }
.cta-col-right span { color: #000000; font-size: 16px; margin-bottom: 10px; }
.cta-col-right a { font-size: 24px; font-weight: 700; color: #0066B0; text-decoration: none; }

/* --- Адаптивность для блока --- */
@media (max-width: 1100px) {
    .steps-grid { flex-direction: column; gap: 24px; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 0; }
    .steps-cta { flex-direction: column; text-align: center; }
    .cta-col-left, .cta-col-right { align-items: center; text-align: center; }
    .cta-form { flex-direction: column; width: 100%; max-width: 400px; }
}
/* =================================================================
   БЛОК: SALE
   ================================================================= */
/*Стили этого блока теперь прописаны в его шаблоне: public_html/wp-content/themes/glonassystem-theme/template-parts/blocks/feature-block.php*/

/* =================================================================
   БЛОК: SALE (Преимущества)
   ================================================================= */

.benefits-section {
    background-color: #0B202F; /* Темно-синий фон */
    padding: 72px 0;
}

.benefits-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-container h2 {
    color: #FFFFFF; /* Белый заголовок */
    text-align: center;
    margin-top: 0;
    margin-bottom: 48px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки */
    gap: 20px;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

.benefit-card__icon {
    width: 68px;
    height: 68px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}
.benefit-card__icon img {
    width: 38px;
    height: 38px;
}

.benefit-card__title {
    color: #FFFFFF;
    font-size: 24px;
    line-height: 1.4;
    margin: 0 0 14px 0;
    min-height: 68px; /* Выравниваем высоту заголовков */
}

.benefit-card__description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

/* --- Адаптивность для блока преимуществ --- */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
        gap: 48px 20px;
    }
    .benefit-card__title {
        min-height: 0; /* Убираем выравнивание на мобильных */
    }
}
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
    }
    form.cta-banner-form .form-row > p{
        flex-direction: column;
        gap:0 !important;
    }
}

/* =================================================================
   БЛОК: Partners
   ================================================================= */



/* --- Часть 1: Логотипы партнеров --- */
.partner-logos-block {
    margin-bottom: 64px;
}
.partner-logos-block h2 {
    margin-bottom: 24px;
}
.logos-grid {
    display: grid;
    /* Адаптивная сетка: минимум 200px, максимум 1fr, браузер сам посчитает кол-во колонок */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.logo-item {
    background: #F3FAFF;
    border-radius: 16px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Часть 2: Настройка системы --- */
.system-features-block {
    border-radius: 36px;
    padding: 72px;
}
.system-features-block h2 {
    margin-top: 0;
    margin-bottom: 48px;
}
.features-list {
    display: flex;
    flex-direction: column;
}
.feature-row {
    display: flex;
    align-items: center;
    gap: 46px;
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.features-list .feature-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.feature-row__icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-row__icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.feature-row__text h4 {
    margin: 0 0 12px 0;
}
.feature-row__text p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}

/* 1. Внешние отступы для всей секции (особое правило на 42px) */
.features-list-section {
    margin-top: 42px;
    margin-bottom: 42px;
}

/* 2. Внутренний дизайн темного контейнера */
/* Мы используем такой селектор, чтобы стили применились только к контейнеру внутри этого блока */
.features-list-section .container.dark-theme {
    padding: 64px;
    border-radius: 36px;
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .system-features-block {
        padding: 48px;
    }
}
@media (max-width: 768px) {
    .system-features-block {
        padding: 32px 24px;
    }
    .feature-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

/* =================================================================
   БЛОК: CTA-2 (Версия с исправленным цветом текста)
   ================================================================= */

.cta-section {
    /* Этот класс-обертка теперь отвечает только за внешние отступы,
       все стили мы перенесли на внутренний контейнер. */
}

/* Финальные стили для контейнера CTA-блока */
.cta-section .cta-container {
    /* Стили для внешнего вида "карточки" */
    background-color: #0066B0;
    border-radius: 36px;

    /* Стили для контента внутри (Ваше правило) */
    max-width: 1280px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* --- ИСПРАВЛЕНИЕ ЦВЕТА ТЕКСТА --- */
.cta-text h3 {
    color: #FFFFFF;
}
.cta-text p {
    color: rgba(255, 255, 255, 0.8);
}
.cta-text p a {
    color: #FFFFFF;
    font-weight: 700;
}
.cta-text p a:hover {
    text-decoration: underline;
}

.cta-form-wrapper h2 {
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 24px;
}
.cta-form-wrapper *{
    box-sizing: border-box;
}
.cta-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-form-fields .form-row {
    display: flex;
    gap: 16px;
}
.cta-form-fields .form-row > p{
    display: flex;
    gap: 16px;
}
.cta-form-fields input,
.cta-form-fields textarea {
    width: 100%;
    padding: 14px 24px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: #FFFFFF;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #0B202F;
    transition: box-shadow 0.3s ease;
}
.cta-form-fields input::placeholder,
.cta-form-fields textarea::placeholder {
    color: rgba(0, 0, 0, 0.4) ;
}
.cta-form-fields input:focus,
.cta-form-fields textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.cta-form-fields input.wpcf7-not-valid{
    outline: red solid 2px; /* Красная обводка для ошибок */
}
.wpcf7-not-valid-tip{
    display:none !important
}
.cta-form-fields button {
    align-self: flex-start; /* Кнопка не растягивается */
}
.cta-section .btn--outline-inverted:hover {
    color: #005a87;
}
.cta-section .btn--outline-inverted a {
    color: inherit;
    text-decoration: none;
}
.cta-section .btn--outline-inverted:hover a {
    color: #005a87 !important;
}
form.cta-banner-form *{
    box-sizing: border-box;
}
form.cta-banner-form .form-row > p{
    display:flex;
    gap:16px;
    width:100%;
}
form.cta-banner-form .form-row .wpcf7-form-control-wrap{
    flex: 1; 
}
form.cta-banner-form .form-row .wpcf7-form-control-wrap input{
    width:100%;
}
form.cta-banner-form .form-row .wpcf7-form-control-wrap input.wpcf7-not-valid{
    outline: red solid 2px; /* Красная обводка для ошибок */
}

/* --- Адаптивность --- */
@media (max-width: 600px) {
    .cta-container {
        grid-template-columns: 1fr; /* Колонки встают друг под друга */
        padding: 48px 24px;
    }
    .cta-form-fields .form-row > p{
        flex-direction: column;;
    }
}
@media (max-width: 600px) {
    .cta-form-fields .form-row {
        flex-direction: column; /* Поля встают друг под друга */
    }
}

/* =================================================================
   БЛОК: inner-promo (ФИНАЛЬНАЯ ВЕРСИЯ С КОРРЕКТИРОВКАМИ)
   ================================================================= */

.inner-promo-section {
    /* padding-top: 200px; /* Отступ сверху, чтобы контент не уезжал под шапку */
    padding-bottom: 0px; 
    overflow: hidden; /* Важно для контроля "вылетающей" картинки */
}

.inner-promo-title {
    padding-top: 0;
    padding-bottom: 12px;
}

.inner-promo-title h1 {
    font-size: 42px;
    color: #333C4E;
}

.inner-promo-content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.inner-promo-image {
    flex: 1 1 58%; /* Занимает 58% ширины */
    height: 464px;
    border-radius: 16px;
    /* Сдвигаем картинку влево, чтобы она "вылезла" + доп. смещение */
    transform: translateX(calc(-25% + 40px));

    /* --- Наша фоновая инфографика --- */
    background-image: url('assets/images/inner-promo-bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.inner-promo-card {
    flex: 1 1 42%; /* Занимает 42% ширины */
    background: #f2f7f7;
    border-radius: 16px;
    padding: 48px;
    position: relative; /* Чтобы быть поверх картинки */
    z-index: 2;
    /* Сдвигаем влево для наложения на картинку */
    margin-left: -15%;
}

.inner-promo-card h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 32px 0;
}

/* Переиспользуем стиль списка с иконками */
.inner-promo-card .info-list {
    margin-bottom: 32px;
}

/* --- Адаптивность (остается без изменений) --- */
@media (max-width: 1100px) {
    .inner-promo-image {
        transform: translateX(calc(-10% - 40px)); /* Сохраняем сдвиг */
    }
    .inner-promo-card {
        margin-left: -5%;
    }
}

@media (max-width: 600px) {
    .inner-promo-section {
        /*padding-top: 120px; /* Уменьшаем отступ для мобильных, т.к. шапка там скрыта */
        padding-bottom: 64px;
    }
    .inner-promo-content-wrapper {
        flex-direction: column;
    }
    .inner-promo-image {
        transform: translateX(0); /* Убираем сдвиг на мобильных */
        width: 100%;
        height: 300px;
        margin-bottom: -50px; /* Эффект наложения на мобильных */
    }
    .inner-promo-card {
        width: 100%;
        margin-left: 0;
        padding: 24px;
    }
}

/* =================================================================
   БЛОК: tasks-section (Задачи мониторинга) - ИСПРАВЛЕННАЯ ВЕРСИЯ
   ================================================================= */

.tasks-section {
    /* УБРАЛИ background-color отсюда */
    padding-bottom: 0px; /* Добавим нижний отступ, чтобы блок не сливался со следующим */
}

.tasks-header {
    margin-bottom: 48px;
}

.tasks-header h2 {
    margin-bottom: 24px;
}

.tasks-header p {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(11, 32, 47, 0.7);
}

.tasks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.task-card {
    background: #F3FAFF; /* ДОБАВИЛИ светло-голубой фон сюда */
    border-radius: 36px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.task-card__image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 26px;
    display: block;
}

.task-card__content {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.task-card__content h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #0B202F; /* Явно зададим цвет заголовка, чтобы он был темным на светлом фоне */
}

.task-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; 
}

.task-card__action {
    margin-top: 24px; /* Добавляем отступ от списка сверху */
}

.task-card__list li {
    font-size: 18px;
    line-height: 1.5;
    color: #6C6C6C;
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.task-card__list li:last-child {
    margin-bottom: 0;
}

.task-card__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0;
    color: #0066B0;
    font-weight: 600;
}

/* --- Адаптивность для блока (без изменений) --- */
@media (max-width: 960px) {
    .tasks-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   БЛОК: service-banner-section (Баннер-призыв)
   ================================================================= */

.service-banner-section {
  /* Этот класс теперь может быть пустым, 
       так как за внешние отступы отвечает .section-padding,
       а за внутренние и фон отвечает .service-banner-container */
}

.service-banner-container {
    background-color: #0B202F;
    border-radius: 36px;
    padding: 64px;
    color: #FFFFFF;
}

.service-banner-header {
    text-align: center;
    margin-bottom: 48px;
}

.service-banner-header h2 {
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 16px;
}

.service-banner-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}

.service-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.service-banner-section .btn--outline-inverted:hover {
    color: #005a87;
}

.banner-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1; /* Чтобы преимущества занимали равное место */
}

.banner-feature__icon {
    width: 110px;
    height: 110px;
    background-color: #0066B0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.banner-feature__icon img {
    width: 48px;
    height: 48px;
}

.banner-feature__text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #FFFFFF;
    margin: 0;
}

.banner-action {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* --- Адаптивность для баннера --- */
@media (max-width: 960px) {
    .service-banner-content {
        flex-direction: column;
    }
    .banner-action {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .service-banner-container {
        padding: 32px 24px;
    }
}

/* =================================================================
   БЛОК: related-products-section (Связанные товары)
   ================================================================= */

.related-products-title {
    margin-bottom: 24px;
}

/* Сетка для блока "Привязанные товары" */
.products-grid {
    display: grid;
    gap: 24px;
    /* По умолчанию 2 колонки */
    grid-template-columns: 1fr 1fr;
}

/* Более сильное правило для 3 колонок */
.products-grid.products-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}


.product-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    flex-grow: 1; /* Заставляет список растягиваться, отодвигая цену и кнопку вниз */
}

.product-card__features li {
    font-size: 16px;
    line-height: 1.4;
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
}

.product-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-image: url('assets/images/icon/icon-checkmark-green.svg');
    background-repeat: no-repeat;
    background-position: center;
}


/* Убедимся, что внутренние элементы наследуют этот размер */
.product-card__price .price-value,
.product-card__price .amount {
    font-size: inherit !important; 
}

.product-card__price .price-note {
    font-size: 14px;
    color: #6C6C6C;
}

/* Адаптивность для блока товаров */
@media (max-width: 960px) { /* Более широкая точка для планшетов */
    .products-grid.products-grid--cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid,
    .products-grid.products-grid--cols-3 {
        grid-template-columns: 1fr; /* На мобильных всегда одна колонка */
    }
}

/* =================================================================
   БЛОК: test-drive-section (Тест оборудования)
   ================================================================= */

.test-drive-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.test-drive-container {
    background: #F3FAFF;
    border-radius: 36px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.test-drive-content {
    flex: 1;
    padding: 24px;
}

.test-drive-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.test-drive-content > p {
    font-size: 16px;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 24px;
}

.test-drive-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.test-drive-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
}

.test-drive-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px; /* Немного опускаем для выравнивания */
    width: 11px;
    height: 17px;
    background-image: url('assets/images/icon/icon-marker-colored.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.test-drive-image {
    flex: 1;
}

.test-drive-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 26px;
}


/* =================================================================
   БЛОК: solutions-list-section (Список решений с иконками)
   ================================================================= */

.solutions-list-section {
    padding-top: 64px;
    padding-bottom: 64px;
}
   
.solutions-list-title {
    margin-bottom: 48px;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.solution-item {
    display: flex;
    align-items: flex-start; /* Выравнивание по верху */
    gap: 32px;
}

.solution-item__icon {
    flex-shrink: 0; /* Чтобы иконка не сжималась */
    width: 60px;
    height: 60px;
}

.solution-item__text h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.solution-item__text p {
    margin: 0;
    line-height: 1.4;
}

/* --- Адаптивность для этих двух блоков --- */
@media (max-width: 960px) {
    .test-drive-container {
        flex-direction: column;
    }
    .test-drive-image {
        order: -1; /* Ставим картинку сверху на мобильных */
    }
}

@media (max-width: 768px) {
    .solution-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
}


/* =================================================================
   БЛОК: page-hero-section (Герой внутренних страниц)
   ================================================================= */

.page-hero-section {
   /* padding-top: 240px; /* Отступ от шапки */
    padding-bottom: 0px;
}

.page-hero-title {
    margin-bottom: 24px;
    max-width: 1024px; /* Ограничиваем ширину, чтобы длинный заголовок не был на всю страницу */
}

.page-hero-card {
    background: #F2F7F7;
    border-radius: 16px;
    padding: 48px;
}

.hero-card-content {
    max-width: 650px; /* Ограничиваем ширину контента внутри карточки для лучшей читаемости */
}

.hero-card-content h3 {
    margin-top: 0;
    margin-bottom: 32px;
}

.hero-card-content .info-list {
    margin-bottom: 32px;
}

/* --- Адаптивность --- */
@media (max-width: 960px) {
 /*   .page-hero-section {
        padding-top: 120px; /* Уменьшаем отступ для мобильных, где шапка скрыта */
    }

@media (max-width: 768px) {
    .page-hero-card {
        padding: 24px;
    }
}

/* =================================================================
   STYLES FOR WOOCOMMERCE (STABLE & FINAL)
   ================================================================= */

/* --- Отступ от шапки и контейнер --- */
body.woocommerce #page-content > .container {
    max-width: 1280px; margin: 0 auto; padding: 0 20px;
}

/* --- Сетка страницы с сайдбаром --- */
.shop-layout-grid {
    display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start;
}
.shop-main-content { min-width: 0; }

/* --- Сайдбар и виджеты категорий --- */
.shop-sidebar .widget-title { font-size: 20px; font-weight: 600; color: #333C4E; margin: 0 0 16px 0; }
.shop-sidebar .widget ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.shop-sidebar .wc-block-product-categories-list { display: flex; flex-direction: column; gap: 8px; }
.shop-sidebar .wc-block-product-categories-list-item {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 12px; border-radius: 8px; border: 1px solid #DDE2E4;
    transition: all 0.3s ease; cursor: pointer;
}
.shop-sidebar .wc-block-product-categories-list-item a,
.shop-sidebar .wc-block-product-categories-list-item-count {
    color: #6C6C6C; font-size: 16px; font-weight: 600; text-decoration: none; transition: color 0.3s ease;
}
.shop-sidebar .wc-block-product-categories-list-item-count { flex-shrink: 0; margin-left: 10px; line-height: 1.5; padding-top: 1px; }
.shop-sidebar .wc-block-product-categories-list-item:hover,
.shop-sidebar .wc-block-product-categories-list-item.current-cat {
    border-color: #0D5283; background-color: #f3faff;
}
.shop-sidebar .wc-block-product-categories-list-item:hover a,
.shop-sidebar .wc-block-product-categories-list-item:hover .wc-block-product-categories-list-item-count,
.shop-sidebar .wc-block-product-categories-list-item.current-cat a,
.shop-sidebar .wc-block-product-categories-list-item.current-cat .wc-block-product-categories-list-item-count {
    color: #0D5283;
}

/* --- Заголовок H1 и панель сортировки --- */
body.woocommerce .page-title { margin-bottom: 32px; }
body.woocommerce .woocommerce-before-shop-loop {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
}
body.woocommerce .woocommerce-ordering, body.woocommerce .woocommerce-result-count { margin: 0; }
body.woocommerce .woocommerce-ordering .orderby {
    height: 54px; border-radius: 16px; border: 1px solid #CECECE; background-color: #FFFFFF;
    padding: 0 48px 0 24px; font-size: 16px; font-family: 'Inter', sans-serif; color: #0B202F;
    -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230B202F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}

/* --- Сетка товаров --- */
body.woocommerce ul.products::before, body.woocommerce ul.products::after { display: none !important; }
body.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 18px !important;
}
body.woocommerce ul.products li.product { margin: 0 !important; float: none !important; width: auto !important; }

/* --- Карточка товара (.product-card) --- */
.product-card {
    border-radius: 16px; border: 1px solid #DDE2E4; background: #FFFFFF;
    display: flex; flex-direction: column; height: 100%; transition: all 0.3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07); }
.product-card__image { background-color: #F3F3F3; padding: 0; height: 350px; border-radius: 16px 16px 0 0; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px 16px 0 0; }
.product-card__content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.product-card__title a {
    font-size: 20px; font-weight: 600; color: #333C4E; line-height: 1.4;
    text-decoration: none; margin: 0 0 12px 0; display: block;
}
.product-card__price { font-size: 18px; font-weight: 600; color: #333C4E; margin: 0 0 24px 0; }
.product-card__price .price-on-request { color: #0D5283; }
.product-card__price .price-note { display: block; font-size: 14px; font-weight: 400; color: #6C6C6C; }
.product-card .btn { margin-top: auto; }
/* Наши глобальные стили для .btn теперь правильно применятся к HTML-структуре кнопки */



/* =================================================================
   БЛОК: Футер (Версия с исправленной типографикой)
   ================================================================= */

.site-footer {
    padding-top: 68px;
    padding-bottom: 68px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 48px 24px;
}

/* Цвет текста во футере */
.site-footer,
.site-footer a,
.site-footer p,
.site-footer h4,
.site-footer address {
    color: #dde2e4;
}
.site-footer .footer-lk-btn {
    color: #ffffff;
}
.site-footer .footer-lk-btn:hover {
    color: #005a87;
}

/* --- ИСПРАВЛЕНИЕ ТИПОГРАФИКИ --- */
.footer-col h4 {
    color: inherit;
    font-size: 18px; /* <-- ИЗМЕНЕНО НА body-lead */
    font-weight: 700;
    margin: 0 0 16px 0;
}
.footer-col h4.contacts-title {
    margin-top: 24px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li {
    margin-bottom: 8px;
}
.footer-col ul a {
    font-size: 14px; /* <-- ИЗМЕНЕНО НА body-small */
}
.footer-col address {
    font-style: normal;
    font-size: 14px; /* <-- ИЗМЕНЕНО НА body-small */
    line-height: 1.4;
}
.footer-col address a {
    font-size: 14px; /* <-- ИЗМЕНЕНО НА body-small */
}


/* --- Стили для отдельных колонок --- */
.footer-col--about {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer-col--about .footer-lk-btn {
    align-self: flex-start;
    width: auto;
}
.footer-logo img {
    max-width: 100%;
    height: auto;
}
.footer-disclaimer, .footer-copyright {
    font-size: 14px; /* <-- ИЗМЕНЕНО НА body-small */
    line-height: 1.3;
    margin: 0;
}
.footer-copyright {
    margin-top: auto; /* Прижимаем копирайт к низу колонки */
}

.footer-bottom {
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 24px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}
.footer-bottom a {
    font-size: 13px; /* Оставил чуть меньше для служебной ссылки */
}

/* --- Адаптивность для футера --- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr; /* 2 колонки на планшетах */
    }
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
    }
}


/* =================================================================
   Страница: Вакансии
   ================================================================= */

.vacancies-page {
    padding-top: 36px;
    padding-bottom: 72px;
}

.vacancies-title {
    margin: 0 0 32px 0;
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
}

.vacancy-card {
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.vacancy-card__image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.vacancy-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.vacancy-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333C4E;
}

.vacancy-card__salary {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0D5283;
}

.vacancy-card__type {
    margin: 0;
    font-size: 14px;
    color: #5f6b7a;
}

.vacancy-card__btn {
    margin-top: auto;
    align-self: flex-start;
}


/* =================================================================
   Страницы: Клиенты и Партнёры
   ================================================================= */

.company-logos-section {
    padding-top: 36px;
    padding-bottom: 72px;
}

.company-logos-title {
    margin: 0 0 16px 0;
}

.company-logos-intro {
    margin: 0 0 40px 0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 900px;
}

.company-logos-grid {
    display: grid;
    gap: 32px 24px;
    align-items: center;
}

.company-logos-grid--clients {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.company-logos-grid--partners {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.company-logo-card {
    text-align: center;
}

.company-logo-card__image {
    background: #FFFFFF;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.company-logo-card__image img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
}

.company-logo-card__name {
    margin-top: 16px;
    font-weight: 600;
    color: #333C4E;
}

@media (max-width: 1200px) {
    .vacancies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .company-logos-grid--clients,
    .company-logos-grid--partners {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .company-logos-intro {
        margin-bottom: 32px;
    }
    .company-logos-grid--clients,
    .company-logos-grid--partners {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .vacancies-grid {
        grid-template-columns: 1fr;
    }
    .company-logos-grid--clients,
    .company-logos-grid--partners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .company-logos-grid--clients,
    .company-logos-grid--partners {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   КАСТОМНЫЕ АНИМАЦИИ
   ================================================================= */

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}

/* =================================================================
   ИСПРАВЛЕНИЯ И КОРРЕКТИРОВКИ
   ================================================================= */

/* Исправление лишней иконки у ссылки "Личный кабинет" */
.promo-link-lk::before {
    content: none !important;
    display: none !important;
}


/* =================================================================
   СТИЛИ ДЛЯ ПРОСТОЙ СТРАНИЦЫ (ШАБЛОН PAGE.PHP)
   ================================================================= */

/* =================================================================
   КОРРЕКТИРОВКА СТИЛЕЙ БЛОКОВ
   ================================================================= */
.infographic-point {
    text-align: left;
}

/* Убираем лишние отступы у абзацев внутри блока с тегами */
.promo-tags p {
    margin: 0;
}

/* =================================================================
   ОСНОВНАЯ ОБЕРТКА САЙТА
   ================================================================= */
#page-wrapper {
    overflow-x: hidden;
    position: relative;
}



/* =================================================================
   МОБИЛЬНОЕ МЕНЮ (ФИНАЛЬНАЯ, НАДЕЖНАЯ ВЕРСЯ)
   ================================================================= */

/* --- 1. ПАНЕЛЬ МЕНЮ (по умолчанию скрыта) --- */
.mobile-menu-panel {
    position: fixed !important;
    top: 90px !important; /* Высота мобильной шапки по умолчанию */
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 90px) !important;
    background-color: #ffffff !important;
    z-index: 9999 !important; /* Высший приоритет */
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(-100%) !important;
    transition: transform 0.4s ease !important;
}
/* Адаптивная высота панели */
@media (min-width: 376px) {
    .mobile-menu-panel {
        top: 120px !important;
        height: calc(100vh - 120px) !important;
    }
}

/* --- 2. ЛОГИКА ОТКРЫТИЯ/ЗАКРЫТИЯ --- */
body.mobile-menu-is-open .mobile-menu-panel {
    transform: translateX(0) !important;
}
body.mobile-menu-is-open {
    overflow: hidden !important;
}

/* --- 3. КНОПКА-БУРГЕР --- */
.mobile-menu-toggle .icon-close { display: none !important; }
.mobile-menu-toggle.is-active .icon-menu { display: none !important; }
.mobile-menu-toggle.is-active .icon-close { display: block !important; }

/* --- 4. ОСНОВНОЙ КОНТЕЙНЕР НАВИГАЦИИ --- */
.mobile-navigation {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    padding: 0 !important;
}
.mobile-menu-list, .mobile-menu-list .sub-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* --- 5. ВНЕШНИЙ ВИД ПУНКТОВ МЕНЮ --- */
/* Контейнер пункта (li) */
.mobile-menu-list li {
    border-bottom: 1px solid #DDE2E4;
}
/* Ссылка (a) */
.mobile-menu-list a.menu-link {
    display: block !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    padding: 18px !important;
    color: #0D5283 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}
/* Кнопка-стрелка для подменю */
.mobile-menu-list li.menu-item-has-children {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
}
.mobile-menu-list .submenu-toggle {
    background: #F3FAFF !important;
    border: none !important;
    border-radius: 12px !important;
    width: 44px !important;
    height: 44px !important;
    cursor: pointer !important;
    margin-right: 18px !important;
    transition: transform 0.3s ease !important;
    transform: rotate(0deg);
}

/* Подменю по умолчанию скрыто */
.mobile-menu-list .sub-menu {
    display: none;
    grid-column: 1 / -1;
    background: #f8f8f8;
}
/* Показываем подменю, когда у li есть класс is-open */
.mobile-menu-list li.is-open > .sub-menu {
    display: block !important;
}
/* Поворачиваем стрелку */
.mobile-menu-list li.is-open > .submenu-toggle {
    transform: rotate(180deg) !important;
}

/* Стили для ссылок в подменю */
.mobile-menu-list .sub-menu a.menu-link {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #424242 !important;
    padding-left: 36px !important;
}

/* =================================================================
   ФИНАЛЬНАЯ ВЕРСИЯ ДЛЯ ХЕДЕРА И ПЕРЕКЛЮЧЕНИЯ
   ================================================================= */

/* --- 1. Логика отображения Десктоп vs Мобайл --- */

/* По умолчанию (большие экраны) */
.site-header-desktop {
    display: block;
}
.site-header-mobile {
    display: none !important; /* Прячем мобильный хедер */
}

/* На маленьких экранах (<= 1100px) */
@media (max-width: 1100px) {
    .site-header-desktop {
        display: none !important; /* Прячем десктопный */
    }
    .site-header-mobile {
        display: flex !important; /* Показываем мобильный */
    }
}


/* --- 2. Внутренняя верстка мобильной шапки (.site-header-mobile) --- */

.site-header-mobile {
    background: #0066B0;
    height: 90px;
    padding: 0 10px;
    align-items: center;
    justify-content: space-between; /* Главное правило: раскидывает элементы по краям */
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu-toggle {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 8px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    padding: 12px;
}
.mobile-menu-toggle img {
    width: 100%;
    height: 100%;
}

.mobile-logo img {
    height: 55px;
    width: auto; /* Позволяем логотипу быть пропорциональным */
    display: block; /* Убирает лишний отступ снизу */
}

.mobile-header-contacts {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-social-icon img {
    max-width: 60%;
    max-height: 60%;
}
.mobile-social-icon.whatsapp { background-color: #60D66A; }
.mobile-social-icon.telegram { background-color: #2AABEE; }
.mobile-social-icon.phone { background-color: #FFFFFF; }


/* Адаптивность для чуть больших мобильных экранов */
@media (min-width: 376px) {
    .site-header-mobile {
        height: 120px;
        padding: 0 15px;
    }
    .mobile-menu-toggle {
        width: 60px;
        height: 60px;
    }
    .mobile-logo img {
        height: 70px;
    }
    .mobile-header-contacts {
        gap: 8px;
    }
    .mobile-social-icon {
        width: 44px;
        height: 44px;
    }
}







/* ===== MOBILE TYPO + HERO + CONTENT LISTS (2025-08-11) ===== */

/* A) Мобильная типографика заголовков */
@media (max-width: 768px) {
  h1 { font-size: 38px; line-height: 1.2; }
  h2 { font-size: 32px; line-height: 1.3; }
  h3 { font-size: 24px; line-height: 1.4; }
  h4 { font-size: 20px; line-height: 1.4; }
}

/* B) Главная (мобайл): поднять H1, отключить фон, убрать лишние отступы */
@media (max-width: 768px) {
  .promo-section{
    background-image: none !important;     /* фон выключаем на мобайл */
    padding-top: 0 !important;             /* убираем «прокладку» */
    padding-bottom: 60px !important;       /* возвращаем нормальный низ вместо 400px */
  }
  .promo-content{ padding-top: 0 !important; } /* у тебя было 50px — снимаем */
  .promo-title{ margin-top: 64px !important; } /* от шапки до H1 = 64px */
  .promo-subtitle{ font-size: 20px !important; line-height: 1.4 !important; }
}

/* C) Классический контентный список (и на мобайле, и на десктопе)
      СКОП — только в контентной обёртке, чтобы не задеть меню/навигацию */
.simple-page-wrapper ul{
  margin-top: 16px;                  /* отступ сверху по ТЗ */
  padding-left: 0;                   /* обнуляем, сами рисуем маркеры */
  list-style: none;                  /* убираем стандартные кружки */
}

.simple-page-wrapper ul > li{
  position: relative;
  padding-left: 28px;                /* место под наш маркер */
  font-size: 16px;                   /* как <p> */
  line-height: 1.4;                  /* по ТЗ */
  color: #6C6C6C;                    /* base-grey */
}

.simple-page-wrapper ul > li::before{
  content: "";
  position: absolute;
  left: 0; top: 0.6em;               /* вертикально центрируем относительно строки */
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0D5283;               /* deep-blue маркер */
}

/* Вложенные списки — сохраняем иерархию */
.simple-page-wrapper ul ul{ margin-top: 8px; }
.simple-page-wrapper ul ul > li{ padding-left: 28px; }

/* D) Страховка: чтобы стили списков точно не задели меню/сайдбары,
      если вдруг где-то контент без .simple-page-wrapper */
#page-content .wp-block-post-content ul{
  margin-top: 16px; padding-left: 0; list-style: none;
}
#page-content .wp-block-post-content ul > li{
  position: relative; padding-left: 28px; font-size: 16px; line-height: 1.4; color: #6C6C6C;
}
#page-content .wp-block-post-content ul > li::before{
  content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: #0D5283;
}
#page-content .wp-block-post-content ul ul{ margin-top: 8px; }

/* ===== MOBILE: заголовки, hero-отступы, контентные списки ===== */

/* 1) Заголовки на мобиле (перебиваем .inner-promo-title h1 и др.) */
@media (max-width: 768px) {
  h1 { font-size: 36px !important; line-height: 1.2 !important; }
  h2 { font-size: 32px !important; line-height: 1.3 !important; }
  h3 { font-size: 24px !important; line-height: 1.4 !important; }
  h4 { font-size: 20px !important; line-height: 1.4 !important; }

  /* на всякий случай — точечные селекторы с большей специфичностью */
  .inner-promo-title h1,
  .page-hero-title h1,
  .promo-title h1 { font-size: 38px !important; line-height: 1.2 !important; }
}

/* 2) Hero-секции: сверху ровно 64px при наличии .section-padding */
@media (max-width: 768px) {
  .page-hero-section.section-padding,
  .promo-section.section-padding,
  .inner-promo-section.section-padding {
    padding-top: 40px !important;
  }
}

/* 3) Контентные UL/LI для страниц WP
      — применяем ТОЛЬКО к “голым” UL без классов, чтобы не задеть меню */
.simple-page-wrapper ul:not([class]),
.entry-content ul:not([class]),
.wp-block-post-content ul:not([class]),
#page-content .container ul:not([class]) {
  list-style: none !important;
  padding-left: 0 !important;
  margin-top: 16px !important;              /* отступ сверху по ТЗ */
}

.simple-page-wrapper ul:not([class]) > li,
.entry-content ul:not([class]) > li,
.wp-block-post-content ul:not([class]) > li,
#page-content .container ul:not([class]) > li {
  position: relative;
  padding-left: 28px !important;            /* место под маркер */
  font-size: 16px !important;               /* как <p> */
  line-height: 1.4 !important;
  color: #6C6C6C !important;                /* base-grey */
}

.simple-page-wrapper ul:not([class]) > li::before,
.entry-content ul:not([class]) > li::before,
.wp-block-post-content ul:not([class]) > li::before,
#page-content .container ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;                      /* выравнивание по строке */
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0D5283;                      /* deep-blue кружок */
}

/* вложенные списки — сохраняем иерархию */
.simple-page-wrapper ul:not([class]) ul,
.entry-content ul:not([class]) ul,
.wp-block-post-content ul:not([class]) ul,
#page-content .container ul:not([class]) ul {
  margin-top: 8px !important;
}

/* === MOBILE: fix overlap H1 vs inner-promo card === */
@media (max-width: 768px) {
  /* даём гарантированный зазор между заголовком и блоком с картинкой/карточкой */
  .inner-promo-title { 
    margin-bottom: 24px !important; 
  }

  /* убираем отрицательный отступ, который тянул контент вверх под H1 */
  .inner-promo-image { 
    margin-bottom: 0 !important;   /* было -50px в мобильных правилах */
    height: 260px !important;      /* можно чутка ниже, чтобы не давило карточку */
  }

  /* на всякий случай ноль сверху у карточки, чтобы не «наезжала» */
  .inner-promo-card {
    margin-top: 0 !important;
  }
}
/* === BLOG list/cards === */
.blog-header{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:24px;
}
.blog-grid{
  display:grid; gap:18px;
  grid-template-columns: 1fr; /* мобайл */
}
@media (min-width: 768px){
  .blog-grid.blog-grid--cols-2{ grid-template-columns: repeat(2, 1fr); }
  .blog-grid.blog-grid--cols-3{ grid-template-columns: repeat(2, 1fr); } /* планшет */
}
@media (min-width: 1024px){
  .blog-grid.blog-grid--cols-3{ grid-template-columns: repeat(3, 1fr); }  /* десктоп */
}
.blog-card{
  background:#FFFFFF; border:1px solid #DDE2E4; border-radius:16px;
  display:flex; flex-direction:column; overflow:hidden;
}
.blog-card__image img{ width:100%; height:220px; object-fit:cover; display:block; }
.blog-card__body{ padding:16px 16px 20px; display:flex; flex-direction:column; gap:8px; }
.blog-card__meta{ font-size:14px; color:#6C6C6C; }
.blog-card__title a{
  font-size:18px; font-weight:600; color:#333C4E; text-decoration:none; line-height:1.4;
}
.blog-card__title a:hover{ color:#0066B0; }
.blog-card__excerpt{ font-size:16px; line-height:1.4; color:#6C6C6C; }

.blog-pagination{ margin-top:24px; display:flex; justify-content:center; }
.blog-pagination .page-numbers{ display:inline-block; padding:8px 12px; border:1px solid #DDE2E4; margin:0 4px; border-radius:8px; text-decoration:none; }
.blog-pagination .page-numbers.current{ background:#F3FAFF; border-color:#0066B0; }

#page-content { padding-top: 0px !important; }
#page-content > section.section-padding:first-of-type{
  margin-top: 0px;
}

.section-padding{ margin-top: 68px; margin-bottom: 68px; }

/* Только если у промо на главной есть класс edge-to-top */
.edge-to-top{ margin-top: -220px; padding-top: 220px; }
@media (max-width:1100px){
  .edge-to-top{ margin-top: -120px; padding-top: 120px; }
}

/* ==== BLOG: список записей / карточки ==== */
.blog-list-section {} /* обёртка блока, если используешь */
  /* ничего обязательного */
/* ==== BLOG CARDS (унифицировано под blog-card / article-card) ==== */

/* Сетка списка статей (если используешь .blog-list-grid) */
/* ==== BLOG CARDS (final, single source of truth) ==== */
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .blog-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-list-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: #FFFFFF;
  border: 1px solid #DDE2E4;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card__image {
  display: block;
  background: #F3F3F3;
  aspect-ratio: 16 / 9;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}
.blog-card__meta {
  font-size: 14px;
  color: #6C6C6C;
}
.blog-card__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: #333C4E;
}
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: #0066B0; }
.blog-card__excerpt {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #6C6C6C;
}
.blog-card .btn { margin-top: auto; }



/* =================================================================
   БЛОК: Иконки + текст (features-grid-no-back)
   ================================================================= */

.features-grid-no-back-title {
    text-align: center;
    margin-bottom: 48px;
}

.features-grid-no-back {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    justify-items: center;
}

.features-grid-no-back__item {
    text-align: center;
    max-width: 300px;
}

.features-grid-no-back__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
}

.features-grid-no-back__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.features-grid-no-back__text {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #333C4E;
    margin: 0;
}

/* =================================================================
   БЛОК: CTA-баннер (cta-banner-block) - Исправления верстки формы
   ================================================================= */
/* Все стили этого блока лежат в его файле в glonassystem-theme/template-parts/blocks/сta-banner-block.php */


/* =================================================================
   БЛОК: Заголовок H1 (page-h1) - Версия с картинкой
   ================================================================= */

/* Все стили этого блока лежат в его файле в glonassystem-theme/template-parts/blocks/page-h1.php */

/* =================================================================
   БЛОК: всплывающий баннер cookie
   ================================================================= */
   
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 450px;
    max-width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 34px;
    display: none;
    z-index: 1000;
    animation: slideUp 0.5s ease-out;
    box-sizing: border-box;
    opacity: .9;
    transition: .3s opacity;
}
.cookie-consent:hover{
    opacity: 1;
}
.cookie-consent *{
    box-sizing: border-box;
}
.cookie-consent.active {
    display: block;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-title {
    font-weight: bold;
    font-size: 18px;
    color: #2c3e50;
    display: flex;
    gap:18px;
    align-items: center;
}

.cookie-text {
    color: #555;
    font-size: 16px;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cookie-accept {
    background-color: #3498db;
    color: white;
}

.cookie-accept:hover {
    background-color: #2980b9;
}

.cookie-close {
    background-color: #e0e0e0;
    color: #555;
}

.cookie-close:hover {
    background-color: #d0d0d0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 500px) {
    .cookie-consent{
        padding: 20px;
        left:0;
        width:100%;
        border-radius: 0;
        bottom:0;
        font-size: 14px;
    }
    .cookie-text{
        font-size: 12px;
    }
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* =========================================
   KEY OFFER BLOCK (карта СКЗИ)
   ========================================= */

.key-offer__inner {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* Левая и правая карточки */

.key-offer__left,
.key-offer__right {
  flex: 1 1 0;
}

.key-offer__left-card,
.key-offer__right {
  background: #F3FAFF;           /* fogg blue */
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
}

/* ------------ Левая колонка: карта + цена ------------ */

.key-offer__left-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Плейсхолдер под картинку карты */
/* Десктоп: 70% ширины колонки, высота по картинке */
.key-offer__image {
  width: 70%;
  margin: 0 auto 36px;      /* центрируем и даём отступ вниз */
  border-radius: 16px;
  overflow: hidden;
  background: #E3EFF9;      /* фон, если картинка не загрузилась */
}

.key-offer__image img {
  display: block;
  width: 100%;
  height: auto;             /* высота по содержимому */
}

/* Мобилка: на всю ширину */
@media (max-width: 768px) {
  .key-offer__image {
    width: 100%;
  }
}


/* Цена + срок в одну строку */
.key-offer__price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.key-offer__price {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: #424242;
}

.key-offer__price-note {
  font-size: 18px;
  line-height: 1.5;
  color: #424242;
}

/* "оформим за 5 рабочих дней" */
.key-offer__term {
  font-size: 24px;
  line-height: 1.4;
  color: #424242;
  margin-bottom: 24px;
}

/* Чипсы ("Заказ без предоплаты" и т.п.) */

.key-offer__pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.key-offer__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  min-height: 54px;
  border-radius: 16px;
  background: #FFF;
}

.key-offer__pill-icon img {
  width: 24px;
  height: 24px;
}

.key-offer__pill-text {
  font-size: 14px;
  line-height: 1.2;
  color: #424242;
}

/* ------------ Правая колонка: заголовок + форма ------------ */

.key-offer__right {
  display: flex;
  flex-direction: column;
}

.key-offer__right-header {
  margin-bottom: 24px;
}

.key-offer__title {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  color: #424242;
}

.key-offer__subtitle {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  color: #424242;
}

/* Плашка "Обязательные документы..." */

.key-offer__right-pills {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;        /* на всякий случай, если когда-то будет больше бейджей */
  gap: 16px;
  align-items: stretch;   /* все плашки одной высоты по самой высокой */
}

/* Только для правой области: делим пространство поровну */
.key-offer__right-pills .key-offer__pill {
  flex: 1 1 0;
}

.key-offer__pill--white {
  background: #FFF;
}

/* Заголовок формы */

.key-offer__form-title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 600;
  color: #424242;
}

/* ------------ Форма (CF7) ------------ */

.hero-skzi-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-skzi-form__fields {
  display: flex;
  flex-direction: column;
  gap: 0; /* убираем второй источник отступа */
}

/* Контролируем расстояние только margin'ом у <p> */
.hero-skzi-form__field p {
  margin: 0 0 12px; /* тут задаём нужный зазор между полями */
}

/* У последнего поля отступ вниз не нужен */
.hero-skzi-form__field:last-child p {
  margin-bottom: 0;
}


/* Стилизуем только поля внутри нашего блока */
.key-offer .hero-skzi-form__field .wpcf7-form-control {
  width: 100%;
  height: 54px;
  padding: 10px 24px;
  border-radius: 16px;
  border: 1px solid #DDE2E4;
 /*background: #FFF; */
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}

.key-offer .hero-skzi-form__field .wpcf7-form-control::placeholder {
  color: #6C6C6C;
}

/* Низ формы: чекбокс + кнопка */

.hero-skzi-form__bottom {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.hero-skzi-form__consent .wpcf7-list-item {
  margin: 0;
}

.hero-skzi-form__consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-skzi-form__consent input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 4px;
  border: 1px solid #DDE2E4;
}

/* Цвет текста согласия #6C6C6C и подчёркивание */
.hero-skzi-form__consent-text {
  font-size: 12px;
  line-height: 1.4;
  color: #6C6C6C;
  text-decoration: underline;
}

/* Кнопка формы - авто-ширина по содержимому */
.hero-skzi-form__submit .btn,
.hero-skzi-form__submit .wpcf7-submit {
  width: auto;
}

/* ------------ Адаптив ------------ */

@media (max-width: 960px) {
  .key-offer__inner {
    flex-direction: column;
  }
}

/* 1. Колонки одинаковой высоты */
.key-offer__inner {
  display: flex;
  gap: 24px;
  align-items: stretch; /* тянем детей по высоте большего */
}

.key-offer__left,
.key-offer__right {
  flex: 0 0 50%;
  display: flex;        /* сами колонки тоже flex-контейнеры */
}

/* Левая голубая карточка */
.key-offer__left-card {
  background: #F3FAFF;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;         /* растягиваем до высоты колонки */
}

/* Правая голубая карточка (сама колонка = карточка) */
.key-offer__right {
  background: #F3FAFF;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
}


/* 3. Плашки справа уже в строку, просто страхуем одинаковую высоту */
.key-offer__right-pills {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.key-offer__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: 16px;
  background: #FFF;
  min-height: 54px;
  flex: 1 1 0;
  box-sizing: border-box;
}
/* =========================================
   BENEFITS GENERAL (Преимущества для карты СКЗИ)
   ========================================= */

.benefits-general {
  /* отступы уже даёт .section-padding – здесь можно ничего не трогать */
}

.benefits-general__title {
  margin: 0 0 16px;
}

/* Вводный текст под заголовком — на всю ширину контейнера */
.benefits-general__intro {
  width: 100%;
  max-width: 100%;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.5;
}

/* Сетка 2×3, как в макете */
.benefits-general__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 32px;
  column-gap: 80px;
}

/* Элемент преимущества: иконка слева, текст справа */
.benefits-general__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.benefits-general__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.benefits-general__item-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

/* Адаптив — на планшете по 2 в ряд, на мобиле по 1 */
@media (max-width: 1024px) {
  .benefits-general__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

@media (max-width: 640px) {
  .benefits-general__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
}

/* =========================================
   DOCUMENTS REQUIRED (серые карточки)
   ========================================= */

.documents-required__title {
  margin: 0 0 16px;
}

.documents-required__intro {
  margin: 0 0 32px;
  max-width: 860px;        /* можно убрать, если хочешь прям во всю */
}

/* Сетка карточек */
.documents-required__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;    /* все карточки в ряду одной высоты */
}

/* Карточка документа */
.documents-required__item {
  display: flex;
  align-items: center;     /* иконка и текст по центру по вертикали */
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #F4F5F6;     /* серый фон, как на макете */
  box-sizing: border-box;
  height: 100%;            /* растягиваемся по высоте строки грида */
}

.documents-required__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.documents-required__text {
  margin: 0;
}

.documents-required__item-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.documents-required__item-desc {
  font-size: 14px;
  line-height: 1.4;
}

/* Адаптив: 2 колонки, а потом 1 */
@media (max-width: 960px) {
  .documents-required__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .documents-required__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   DOWNLOADABLE FILES (downloadable_files)
   ========================================= */

/* Спец-вертикальные отступы блока */
.downloads-block {
  margin-top: 36px;
  margin-bottom: 64px;
}

/* Сетка: 1–3 колонки, равная высота по ряду */
.downloads-block__grid {
  display: grid;
  gap: 16px; /* расстояние между рядами и колонками */
}

/* Колонки с десктопа */
.downloads-block--cols-1 .downloads-block__grid {
  grid-template-columns: 1fr;
}

.downloads-block--cols-2 .downloads-block__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.downloads-block--cols-3 .downloads-block__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* На мобильных всё в одну колонку */
@media (max-width: 768px) {
  .downloads-block__grid {
    grid-template-columns: 1fr !important;
  }
}

/* Карточка файла */
.downloads-block__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  text-decoration: none;
}

/* Иконка слева */
.downloads-block__icon img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Текстовая часть */
.downloads-block__text {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 18px;       /* body-lead, 18 */
  line-height: 1.5;      /* 150% */
  color: #424242;
}

/* Сама ссылка подчеркивается,
   "PDF, 540Kb" можно слегка притушить */
.downloads-block__label {
  text-decoration: underline;
}

.downloads-block__meta {
  color: #6C6C6C;
}

/* =========================================
   USAGE SCENARIOS (usage_scenarios)
   ========================================= */

.usage-scenarios__title {
  margin-bottom: 16px;
}

.usage-scenarios__intro {
  max-width: 820px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.5;
  color: #424242;
}

/* Сетка 2×2 на десктопе */
.usage-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
}

.usage-scenarios__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* =========================================
   USAGE SCENARIOS (usage_scenarios)
   ========================================= */

.usage-scenarios__title {
  margin-bottom: 16px;
}

.usage-scenarios__intro {
  max-width: 820px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.5;
  color: #424242;
}

/* СЕТКА: 2 колонки на десктопе */
.usage-scenarios .usage-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;  /* вертикальный / горизонтальный */
}

/* ОДНА КАРТОЧКА: иконка слева, текст справа */
.usage-scenarios .usage-scenarios__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Кружок под иконку */
.usage-scenarios .usage-scenarios__icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0066B0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-scenarios .usage-scenarios__icon img {
  width: 28px;
  height: 28px;
}

.usage-scenarios .usage-scenarios__content {
  flex: 1 1 auto;
}

.usage-scenarios .usage-scenarios__item-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #1F2933;
}

.usage-scenarios .usage-scenarios__text {
  font-size: 16px;
  line-height: 1.5;
  color: #424242;
}

/* Мобильная версия — одна колонка */
@media (max-width: 900px) {
  .usage-scenarios .usage-scenarios__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   FAQ BLOCK (faq_block)
   ========================================= */

.faq-block__title {
  margin-bottom: 16px;
}

.faq-block__intro {
  max-width: 800px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.5;
  color: #424242;
}

/* Список вопросов */
.faq-block__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Карточка вопроса+ответа */
.faq-block__item {
  background: #F3FAFF;          /* закрытый — голубой */
  border-radius: 16px;
  overflow: hidden;
  transition: background-color 0.18s ease-out, box-shadow 0.18s ease-out;
}

/* Открытый вопрос — фон белый */
.faq-block__item.is-open {
  background: #FFFFFF;
  box-shadow: 0 0 0 1px #0066B0;
}

/* Верхняя строка с вопросом */
.faq-block__question {
  width: 100%;
  padding: 18px 24px;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
}

.faq-block__question-text {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: #1F2933;
}

/* Плюс/минус в кружке справа */
.faq-block__icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #0066B0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-block__icon-line {
  position: absolute;
  background: #0066B0;
  border-radius: 999px;
}

.faq-block__icon-line--h {
  width: 14px;
  height: 2px;
}

.faq-block__icon-line--v {
  width: 2px;
  height: 14px;
}

/* Контейнер с ответом: анимируем max-height */
.faq-block__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.22s ease-out;   /* быстрый, но плавный */
}

/* Внутренняя часть с текстом ответа */
.faq-block__answer-inner {
  padding-bottom: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #424242;
}

.faq-block__answer-inner p {
  margin: 0 0 8px;
}

.faq-block__answer-inner p:last-child {
  margin-bottom: 0;
}

/* Открытое состояние: просто меняем фон/иконку;
   высоту нам выставляет JS через style.maxHeight */
.faq-block__item.is-open .faq-block__icon-line--v {
  opacity: 0;   /* плюс → минус */
}

/* Мобилка */
@media (max-width: 768px) {
  .faq-block__question {
    padding: 16px 16px;
    gap: 16px;
  }

  .faq-block__answer {
    padding: 0 16px;
  }

  .faq-block__question-text {
    font-size: 16px;
  }
}

/* =========================================
   Сравнение двух карт (СКЗИ / ЕСТР)
   ========================================= */

.cards-compare {
  /* Отступы уже даёт .section-padding,
     поэтому тут только, если нужно что-то особое */
}

.cards-compare__inner {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

/* Каждая карточка — по сути уменьшенный левый блок key-offer */
.cards-compare__card {
  flex: 0 0 50%;
  max-width: 50%;
  background: #F3FAFF;
  border-radius: 16px;
  padding: 40px 48px 32px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Кнопка внизу карточки */
.cards-compare__cta {
  margin-top: 32px;
  width: 100%;
}

.cards-compare__cta .btn {
  width: 100%;
}

/* Адаптив: карточки одна под другой */
@media (max-width: 960px) {
  .cards-compare__inner {
    flex-direction: column;
  }

  .cards-compare__card {
    max-width: 100%;
  }
}
/* =========================================
   Таблица правовых актов (ЕСТР)
   ========================================= */

.legal-acts__title {
  margin-bottom: 36px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: #424242;
}

.legal-acts__table-wrapper {
  width: 100%;
  overflow-x: auto; /* на всякий случай для мобилок */
}

.legal-acts__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.legal-acts__table th,
.legal-acts__table td {
  padding: 16px;
  font-size: 16px;
  line-height: 1.4;
  color: #424242;
  vertical-align: top;
}

.legal-acts__table thead th {
  background: #F2F7F7;
  font-size: 20px;
  font-weight: 400;
  border-bottom: 1px solid #DDE2E4;
}

/* Бордеры строк тела */
.legal-acts__table tbody td {
  border-bottom: 1px solid #DDE2E4;
}

/* Первая колонка: текст + иконка ссылки */
.legal-acts__act {
  display: flex;
  align-items: center;
  gap: 16px;
}

.legal-acts__act-name {
  flex: 1 1 auto;
}

/* Ссылка на внешний ресурс внутри ячейки */
.legal-acts__act-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #0066B0; /* базовый синий темы */
  text-decoration: none;
  transition: color 0.15s ease;
}

/* Hover: меняем цвет на #0D5283 */
.legal-acts__act-link:hover {
  color: #0D5283;
}

/* Если иконка — SVG с fill="currentColor", цвет тоже сменится */
.legal-acts__note {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.4;
  color: #424242;
}

/* Базовый адаптив: просто уменьшаем шрифт на узких экранах */

@media (max-width: 768px) {
  .legal-acts__title {
    font-size: 28px;
  }

  .legal-acts__table th,
  .legal-acts__table td {
    font-size: 14px;
    padding: 12px;
  }
}
/* Иконка внешней ссылки в таблице правовых актов */
.legal-acts__act-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.legal-acts__act-link-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* TODO: поменяй путь на ваш фактический файл-иконку */
  background-image: url("/wp-content/themes/glonassystem-theme/assets/images/icon/legal-act-link.svg");
}

/* Ховер по тз (#0D5283) */
.legal-acts__act-link:hover .legal-acts__act-link-icon {
  filter: brightness(0) saturate(100%) invert(21%) sepia(47%) saturate(789%) hue-rotate(178deg) brightness(90%) contrast(95%);
}
/* ===== Комплекты / цены ===== */

.pricing-kits__header {
  max-width: 920px;
  margin-bottom: 36px;
}

.pricing-kits__title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 600;
  color: #333C4E; /* заголовок можно чуть темнее */
}

.pricing-kits__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.5; /* body 16 / 150% */
  color: #424242;
}

.pricing-kits__cards {
  display: flex;
  gap: 24px;
  align-items: stretch; /* чтобы карточки были одинаковой высоты */
}

.pricing-kits__card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column; /* чтобы цена всегда была прижата к низу */
  border-radius: 16px;
  border: 1px solid #DDE2E4;
  background: #FFFFFF;
  padding: 24px;
  box-sizing: border-box;
}

.pricing-kits__card-inner {
  flex: 1 1 auto; /* растягивается, чтобы price-line ушла к низу */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Верхняя строка: иконка + звезды */
.pricing-kits__top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.pricing-kits__icon-circle {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: #F3FAFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pricing-kits__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Рейтинг (звёзды) */
.pricing-kits__stars {
  display: flex;
  gap: 4px;
}

.pricing-kits__star {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* заполненная звезда */
.pricing-kits__star--filled {
  background-image: url('/wp-content/themes/glonassystem-theme/assets/images/icon/star_rate_1.svg');
}

/* пустая звезда */
.pricing-kits__star--empty {
  background-image: url('/wp-content/themes/glonassystem-theme/assets/images/icon/star_rate_0.svg');
}

/* Заголовок карточки */
.pricing-kits__card-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  color: #0B202F;
}

/* Синий лид-бокс */
.pricing-kits__lead-box {
  padding: 12px;
  border-radius: 8px;
  background: #F2F7F7;
  font-size: 18px;
  line-height: 1.5;  /* 18 / 150% */
  font-weight: 400;  /* НЕ bold по умолчанию */
  color: #424242;
}

/* Список особенностей */
.pricing-kits__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-kits__feature {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.pricing-kits__feature-icon {
  flex: 0 0 24px; /* фиксируем ширину во флекс-строке */
  width: 24px;
  height: 24px;
  display: block; /* чтобы width/height реально работали */
  margin-top: 2px;
  background-image: url('/wp-content/themes/glonassystem-theme/assets/images/icon/arrow_list_marker.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.pricing-kits__feature-text {
  font-size: 16px;
  line-height: 1.5;  /* 16 / 150% */
  color: #424242;
}

/* Блок «Подойдет для…» */
.pricing-kits__fit {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.5; /* 18 /150% */
  color: #424242;
}

/* Нижняя плашка с ценой */
.pricing-kits__price-line {
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #DDE2E4;
  background: #F3FAFF;
  text-align: center;
}

.pricing-kits__price-line span {
  font-size: 24px;
  line-height: 1.4;
  color: #424242;
}

/* Адаптив */
@media (max-width: 1024px) {
  .pricing-kits__cards {
    flex-direction: column;
  }

  .pricing-kits__card {
    width: 100%;
  }
}



/* =========================
   Этапы установки (steps)
   ========================= */

.install-steps {
  background: #F8FAFD; /* фон во всю ширину */
}

.install-steps__bg {
  /* чтобы при желании можно было управлять внутренними отступами отдельно */
}

.install-steps__inner {
  padding: 36px 0;        /* как в макете */
  text-align: center;
}

.install-steps__title {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: #333C4E;
}

/* Линия под шагами */

.install-steps__list {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.install-steps__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 48px; /* примерно по центру кружков */
  height: 1px;
  background: rgba(0, 0, 0, 0.10);
  z-index: 0;
}

/* Один шаг */

.install-steps__item {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  /* кружок и текст поверх линии */
  z-index: 1;
}

/* Кружки с номерами */

.install-steps__circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 12px solid #0066B0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.install-steps__circle-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.install-steps__number {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #000000;
}

/* Тексты шагов */

.install-steps__step-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 4px;
  color: #000;
}

.install-steps__step-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  max-width: 260px; /* чтобы строки были похожи по длине, можно подправить */
}

/* Адаптив */

@media (max-width: 1024px) {
  .install-steps__inner {
    padding: 64px 0;
  }

  .install-steps__list {
    flex-direction: column;
    gap: 32px;
  }

  .install-steps__list::before {
    display: none; /* линию между шагами убираем на мобиле */
  }

  .install-steps__item {
    align-items: flex-start;
    text-align: left;
  }

  .install-steps__step-desc {
    max-width: none;
  }
}
/* Кнопка ЛК внутри гибких колонок */
.columns-block-section .promo-link-lk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px; /* ← вот твой отступ от текста */
}
/* ===== Блок преимуществ: benefits_general_block ===== */

.benefits-general {
    /* section-padding уже даёт вертикальные отступы */
}

/* Заголовок секции */
.benefits-general__title {
    margin: 0 0 36px;
}

/* Для H4 — меньший отступ */
.benefits-general__title[data-heading-tag="H4"] {
    margin-bottom: 24px;
}

/* Вступительный текст под заголовком */
.benefits-general__intro {
    margin-bottom: 24px;
}

/* ------------------------------------------------------------------
   МОБИЛЬНАЯ ВЕРСИЯ (slider / карусель)
   ------------------------------------------------------------------ */

/* По умолчанию (mobile-first) — горизонтальный слайдер */
.benefits-general__grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
}

/* Один слайд */
.benefits-general__item {
    flex: 0 0 85%;           /* ширина карточки ~85% экрана */
    scroll-snap-align: start;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Внутренний контейнер для текстов (тайтл + описание) */
.benefits-general__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Иконка */
.benefits-general__icon img {
    display: block;
    max-width: 40px;
    height: auto;
}

/* Тайтл преимущества — body lead 18 / 150 / semibold */
.benefits-general__item-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;   /* 150% */
    font-weight: 600;   /* semibold */
}

/* Текст преимущества (label) */
.benefits-general__item-text {
    margin: 0;
    /* размеры и гарнитура берутся из глобальной типографики <p> */
}

/* Навигация слайдера (стрелки) — по умолчанию показываем только на моб. */
.benefits-general__slider-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

/* Кнопка-стрелка */
.benefits-general__slider-arrow {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #D0D7E2;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Внутренняя иконка стрелки через background-image */
.benefits-general__slider-arrow--prev::before,
.benefits-general__slider-arrow--next::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Путь к иконкам можно при необходимости подправить под фактический */
.benefits-general__slider-arrow--prev::before {
    background-image: url('assets/images/icon/slide_left.svg');
}

.benefits-general__slider-arrow--next::before {
    background-image: url('assets/images/icon/slide_right.svg');
}

/* ------------------------------------------------------------------
   ДЕСКТОП (сетка 2/3 колонки)
   ------------------------------------------------------------------ */

@media (min-width: 768px) {
    .benefits-general__grid {
        display: grid;
        overflow-x: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
        gap: 24px;

        /* поведение по умолчанию — 3 колонки */
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Если в ACF выбраны 2 колонки */
    .benefits-general__grid.benefits-general__grid--cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Если в ACF выбраны 3 колонки (явно) */
    .benefits-general__grid.benefits-general__grid--cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* На десктопе карточка ведёт себя как обычный блок, а не слайд */
    .benefits-general__item {
        flex: 0 1 auto;
        box-shadow: none; /* если не нужен для десктопа, можно убрать тень */
        padding: 0;
        background: transparent;
    }

    /* Стрелки на десктопе не нужны */
    .benefits-general__slider-nav {
        display: none;
    }
}
/* ===== Зимний промо-баннер (winter_promo_banner_block) ===== */

.winter-promo {
    /* section-padding уже задаёт вертикальные отступы секции */
}

/* Обёртка баннера */
.winter-promo__banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Картинка баннера */
.winter-promo__image {
    display: block;
    width: 100%;
    height: auto;
}

/* Базовый стиль кнопки (поверх баннера) */
.winter-promo__btn {
    position: absolute;
    margin: 0;
    white-space: nowrap;
    padding: 0 5px 0 24px;
}

/* --- Позиция кнопки: слева / справа (по вертикали по центру) --- */

.winter-promo__banner--align-left .winter-promo__btn,
.winter-promo__banner--align-right .winter-promo__btn {
    top: 50%;
    transform: translateY(calc(-50% + 12px));
}

.winter-promo__banner--align-left .winter-promo__btn {
    left: 64px;
    right: auto;
}

.winter-promo__banner--align-right .winter-promo__btn {
    right: 64px;
    left: auto;
}

/* --- Позиция кнопки: по центру (по горизонтали центр, по вертикали 24px от низа) --- */

.winter-promo__banner--align-center .winter-promo__btn {
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    top: auto;
}

/* Мобильная адаптация:
   на мобиле ВСЕГДА центр по горизонтали и 24px от низа,
   независимо от выбранного положения в ACF
*/
@media (max-width: 767px) {
    .winter-promo__banner .winter-promo__btn {
        left: 50%;
        right: auto;
        bottom: 24px;
        top: auto;
        transform: translateX(-50%);
        font-size: 14px;
        padding: 0 20px;
        white-space: normal; /* можно переносить текст на две строки */
        text-align: center;
    }
}
/* ===== Узкий контент для страниц записи блога ===== */

body.single-post #page-content .container.simple-page-wrapper {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}
/* ===== HERO франшизы тахографической мастерской ===== */

/* ===== HERO франшизы тахографической мастерской ===== */

.franchise-hero-frns.section-padding {
    padding-top: 68px;
    padding-bottom: 68px;
}

/* Заголовок страницы */
.franchise-hero-frns__heading {
    margin: 0 0 42px;
    text-transform: uppercase;
}

/* Основной ряд: фото + текстовая карточка */
.franchise-hero-frns__layout {
    display: flex;
    align-items: stretch;    /* выравнивает фото и карточку по высоте */
    gap: 24px;
}

/* Левая колонка с фото (≈ 1/3 ширины) */
.franchise-hero-frns__media {
    flex: 0 0 32%;
    max-width: 400px;
    border-radius: 24px;
    overflow: hidden;
    background: #D9D9D9;  /* запасной фон, если фото не загрузится */
    display: flex;        /* чтобы картинка растягивалась по высоте */
}

.franchise-hero-frns__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* центрируем кадр, лишнее обрезаем */
}

/* Правая карточка с оффером (как в первом варианте промо) */
.franchise-hero-frns__card {
    flex: 1 1 auto;
    padding: 32px 56px;
    border-radius: 24px;
    background: #F2F7F7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    box-sizing: border-box;
}

.franchise-hero-frns__card-title {
    margin: 0;
}

.franchise-hero-frns__card-text {
    font-size: 18px;
    line-height: 1.6;
}

.franchise-hero-frns__card-text p {
    margin: 0 0 10px;
}

.franchise-hero-frns__card-text p:last-child {
    margin-bottom: 0;
}

.franchise-hero-frns__card-footer {
    display: flex;
    align-items: center;
}

/* Кнопка в карточке */
.franchise-hero-frns__btn {
    margin: 0;
}

/* === Три промо-карточки под героем === */

.franchise-hero-frns__benefits {
    margin-top: 48px;
    display: flex;
    gap: 24px;          /* 24px между карточками */
}

.franchise-hero-frns__benefit-card {
    flex: 1 1 0;
    min-height: 390px;          /* около 410×390, как в макете */
    max-width: 410px;
    padding: 24px;
    border-radius: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 24px;
    background: #F2F7F7;        /* базовый фон, модификаторы ниже перекроют */
}

/* Фоны карточек */
.franchise-hero-frns__benefit-card--bg1 {
  background: url('/wp-content/themes/glonassystem-theme/assets/images/illustrations/promo_1_back.svg')
              center/cover no-repeat;
}

.franchise-hero-frns__benefit-card--bg2 {
  background: #F2F7F7;
}

.franchise-hero-frns__benefit-card--bg3 {
  background: url('/wp-content/themes/glonassystem-theme/assets/images/illustrations/promo_2_back.svg')
              center/cover no-repeat;
}

/* Белый текст на 1-й и 3-й карточке промо */
.franchise-hero-frns__benefit-card--bg1 .franchise-hero-frns__benefit-title,
.franchise-hero-frns__benefit-card--bg1 .franchise-hero-frns__benefit-text,
.franchise-hero-frns__benefit-card--bg3 .franchise-hero-frns__benefit-title,
.franchise-hero-frns__benefit-card--bg3 .franchise-hero-frns__benefit-text {
  color: #FFFFFF !important;
}


/* Иконка внутри карточки */
.franchise-hero-frns__benefit-icon {
    width: 64px;
    height: 64px;
}

.franchise-hero-frns__benefit-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Заголовок и текст карточки */
.franchise-hero-frns__benefit-title {
    margin: 0;
    font-size: 24px;       /* H4 semibold 24 */
    line-height: 1.4;
    font-weight: 600;
}

.franchise-hero-frns__benefit-text {
    margin: 0;
    font-size: 18px;       /* body lead 18 */
    line-height: 1.6;
}

/* ===== Адаптив ===== */

@media (max-width: 1024px) {
    .franchise-hero-frns__layout {
        flex-direction: column;
    }

    .franchise-hero-frns__media {
        max-width: 100%;
    }

    .franchise-hero-frns__benefits {
        flex-direction: column;
        align-items: stretch;
    }

    .franchise-hero-frns__benefit-card {
        max-width: 100%;
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .franchise-hero-frns.section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .franchise-hero-frns__heading {
        font-size: 36px;
        line-height: 1.25;
        margin-bottom: 24px;
    }

    .franchise-hero-frns__card {
        padding: 20px 16px;
    }

    .franchise-hero-frns__card-text {
        font-size: 16px;
    }

    .franchise-hero-frns__benefit-title {
        font-size: 20px;
    }

    .franchise-hero-frns__benefit-text {
        font-size: 16px;
    }
}

/* ===== Блок: Почему тахографический сервис — устойчивая бизнес-модель ===== */

/* ===== Франшиза — блок «Почему тахографический сервис…» ===== */

.franchise-market-frns {
  /* section-padding уже даёт вертикальные отступы */
}

.franchise-market-frns__header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.franchise-market-frns__title {
  margin: 0 0 12px;
  font-size: 36px;          /* h2 по макету */
  line-height: 1.4;
  font-weight: 600;
  color: #333C4E;
}

.franchise-market-frns__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #6C6C6C;
}

/* Сетка карточек: mobile-first — одна колонка */
.franchise-market-frns__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);

  /* вертикальный gap убираем, карточки сами дают отступы */
  row-gap: 0;

  /* горизонтальный gap оставляем как был */
  column-gap: 32px;
}

/* На десктопе — две колонки, последний элемент тянется на всю ширину */
@media (min-width: 1024px) {
  .franchise-market-frns__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .franchise-market-frns__item--wide {
    grid-column: 1 / -1;
  }
}

/* Карточка-элемент (заголовок, плашка, текст) */
.franchise-market-frns__item {
  display: flex;
  flex-direction: column;
  gap: 24px;          /* расстояние между h3, плашкой и текстом */
  padding: 36px;      /* «внешняя» карточка — по 36 px со всех сторон */
  box-sizing: border-box;
  height: 100%;       /* чтобы карточки в строке выравнивались по высоте */
}

/* Заголовок элемента */
.franchise-market-frns__item-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: #333C4E;
}

/* Обычный текст под плашкой */
.franchise-market-frns__item-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #424242;
}

/* Плашка с числовыми данными */
.franchise-market-frns__metric-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;

  padding: 42px 36px;
  height: 240px;
  box-sizing: border-box;          /* вот это исправляет высоту */

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;

  /* базовый фон на всякий случай, подложка под SVG */
  background-color: #0D5283;
}


/* Варианты фонов для карточек */
.franchise-market-frns__metric-card--1 {
  background-image: url('/wp-content/themes/glonassystem-theme/assets/images/illustrations/m_card_01.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.franchise-market-frns__metric-card--2 {
  background-image: url('/wp-content/themes/glonassystem-theme/assets/images/illustrations/m_card_02.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.franchise-market-frns__metric-card--3 {
  background-image: url('/wp-content/themes/glonassystem-theme/assets/images/illustrations/m_card_03.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.franchise-market-frns__metric-card--4 {
  background-image: url('/wp-content/themes/glonassystem-theme/assets/images/illustrations/m_card_04.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.franchise-market-frns__metric-card--5 {
  background-image: url('/wp-content/themes/glonassystem-theme/assets/images/illustrations/m_card_05.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



/* Вариант плашки для широкого блока — по сути та же, просто отдельный класс на будущее */
.franchise-market-frns__metric-card--wide {
  padding: 24px 28px;
}

/* Внутри плашки — число + единица/подпись */
.franchise-market-frns__metric-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

/* Крупное число на плашке */
.franchise-market-frns__metric-value {
  font-size: 56px;      /* базово — для мобильных и планшетов */
  line-height: 1.1;
  font-weight: 400;     /* Inter Regular */
}

/* Десктоп: как в макете — 80 px */
@media (min-width: 1024px) {
  .franchise-market-frns__metric-value {
    font-size: 80px;
  }
}
.franchise-market-frns__metric-unit {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.franchise-market-frns__metric-label {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* Широкий элемент (~3000 машин + "Закрытый рынок") */

.franchise-market-frns__item--wide {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.franchise-market-frns__item-body {
  /* просто обёртка под заголовок и текст справа */
}

@media (min-width: 1024px) {
  .franchise-market-frns__item--wide {
    flex-direction: row;
    align-items: stretch;
  }

  .franchise-market-frns__metric-card--wide {
    flex: 0 0 40%;
  }

  .franchise-market-frns__item-body {
    flex: 1 1 0;
    padding-left: 32px; /* расстояние между плашкой и текстом справа */
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 767px) {
  .franchise-market-frns__item {
    padding: 24px;
  }

  .franchise-market-frns__metric-card {
    padding: 32px 24px;
    min-height: 220px; /* можно чуть уменьшить, если нужно */
  }
}
/* Текст на метрических карточках — принудительно белый */
.franchise-market-frns__metric-card,
.franchise-market-frns__metric-value,
.franchise-market-frns__metric-unit,
.franchise-market-frns__metric-label {
  color: #FFFFFF;
}
/* ===== Комплектация франшизы (franchise-kit-frns) ===== */

.franchise-kit-frns__header {
  max-width: 920px;
  margin: 0 auto 40px;
  text-align: center;
}

.franchise-kit-frns__title {
  margin: 0 0 24px;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #333C4E;
}

.franchise-kit-frns__intro-box {
  padding: 24px 40px;
  border-radius: 24px;
  background: #F2F7F7;
}

.franchise-kit-frns__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #6C6C6C;
}

/* Сетка карточек: 3 в ряд на десктопе, 2 на планшете, 1 на мобилке */

.franchise-kit-frns__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;           /* чтобы карточки в строке были одинаковой высоты */
}

@media (min-width: 768px) {
  .franchise-kit-frns__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .franchise-kit-frns__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Карточка */

.franchise-kit-frns__card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  height: 100%;
}

/* Верхняя часть – медиа-панель 310px */

.franchise-kit-frns__media {
  position: relative;
  height: 310px;
  overflow: hidden;
}

.franchise-kit-frns__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Градиент + иконка + заголовок внутри */

.franchise-kit-frns__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 37, 65, 0.45) 0%, rgba(3, 37, 65, 0.45) 100%);
  color: #FFFFFF;
  transform: translateY(0);
  transition: transform 0.35s ease;
}


.franchise-kit-frns__overlay-inner {
  padding: 62px 40px 40px;      /* 62px от верха — как в макете */
  display: flex;
  flex-direction: column;
  align-items: center;          /* центр по горизонтали */
  text-align: center;           /* текст по центру */
  box-sizing: border-box;       /* на всякий случай, чтобы паддинги учитывались корректно */
}


/* Заголовок на карточке */
.franchise-kit-frns__media-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;           /* на случай, если другой CSS задаёт left */
}

/* Иконка */
.franchise-kit-frns__icon {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto 16px;          /* центр + отступ снизу */
}

/* Ховер: градиент и иконка уезжают вниз, картинка раскрывается */

.franchise-kit-frns__card:hover .franchise-kit-frns__overlay {
  transform: translateY(100%);
}

/* Нижняя часть карточки */

.franchise-kit-frns__body {
  flex: 1 1 auto;
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.franchise-kit-frns__body-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: #333C4E;
}

.franchise-kit-frns__body-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #424242;
}

/* Мобильная адаптация */

@media (max-width: 767px) {
  .franchise-kit-frns__header {
    margin-bottom: 32px;
  }

  .franchise-kit-frns__intro-box {
    padding: 20px 16px;
  }

  .franchise-kit-frns__overlay-inner {
    padding: 40px 24px 24px;
  }

  .franchise-kit-frns__media-title {
    font-size: 20px;
  }

  .franchise-kit-frns__body {
    padding: 20px 20px 24px;
  }
}


/* ===== Основные услуги тахографической мастерской (tacho-main-services) ===== */
.tacho-main-services {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;

  min-height: 784px;
  padding: 80px 0 96px;

  background: linear-gradient(180deg, #0A4B7F 0%, #0C568E 40%, #0C568E 100%);
  color: #FFFFFF;
} 

/* SVG-фон волнами на всю секцию */
.tacho-main-services__overlay-bg {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: url('/wp-content/themes/glonassystem-theme/assets/images/illustrations/tacho_main_services_bg.svg')
    center/cover no-repeat;
  pointer-events: none;
}


.tacho-main-services__inner {
  position: relative;
  z-index: 1;
}

/* Заголовок + вводный текст */

.tacho-main-services__header {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}

.tacho-main-services__title {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.tacho-main-services__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* Сетка карточек */

.tacho-main-services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 992px) {
  .tacho-main-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Карточка услуги */

.tacho-main-services__card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px 32px 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

/* Иконка 80 px, по центру */

.tacho-main-services__icon-wrap {
  margin-bottom: 20px;
}

.tacho-main-services__icon {
  width: 80px;
  height: 80px;
  display: block;
}

/* Текст в карточке */

.tacho-main-services__card-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: #333C4E;
}

.tacho-main-services__card-text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #424242;
}

/* Средний чек / доход */

.tacho-main-services__meta {
  margin-top: auto;              /* прижимает блок вниз карточки */
  width: 100%;
}

.tacho-main-services__meta-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 6px;
}

.tacho-main-services__meta-label {
  font-size: 14px;               /* bodyLead-приближение */
  line-height: 1.4;
  color: #6C6C6C;
}

.tacho-main-services__meta-value {
  margin: 0;
  font-size: 18px;               /* h5 */
  line-height: 1.4;
  font-weight: 600;
  color: #111827;
}

.tacho-main-services__meta-value strong {
  font-weight: 600;
}

/* Адаптив для мобилы */

@media (max-width: 767px) {
  .tacho-main-services {
    padding: 56px 0 72px;
    min-height: auto;
  }


  .tacho-main-services__card {
    padding: 28px 20px 24px;
  }
}
/* ===== Инвестиционные метрики / юнит-экономика (franchise-metrics-frns) ===== */

.franchise-metrics-frns {
  background-color: #ffffff;
}

.franchise-metrics-frns__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.franchise-metrics-frns__title {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 600;
  color: #424242;
  text-transform: uppercase;
}

.franchise-metrics-frns__intro {
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}

/* сетка 2х2 для карточек */
.franchise-metrics-frns__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.franchise-metrics-frns__card {
  background-color: #F2F7F7; /* blue-grey фон */
  border-radius: 24px;
  padding: 36px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* верхняя строка (bodyLead) */
.franchise-metrics-frns__label {
  margin: 0 0 24px;
}

/* H3-значение в центре карточки */
.franchise-metrics-frns__value {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: #111827;
}

/* нижний текст (bodyLead) */
.franchise-metrics-frns__note {
  margin: 0;
}

/* Мобильная адаптация: карточки в одну колонку */
@media (max-width: 767px) {
  .franchise-metrics-frns__grid {
    grid-template-columns: 1fr;
  }

  .franchise-metrics-frns__card {
    height: auto; /* на мобильных лучше дать блоку растягиваться под текст */
  }
}

.franchise-experience-frns__intro-text.bodyLead {
  margin: 0;
}

/* ===== Опыт, который становится вашим активом (franchise-experience-frns) ===== */

.franchise-experience-frns {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
}

.franchise-experience-frns__overlay-bg {
  position: absolute;
  inset: 0;
  background: url('/wp-content/themes/glonassystem-theme/assets/images/illustrations/franchise_experience_bg.svg')
    center/cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.franchise-experience-frns__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Заголовок H2 по центру */

.franchise-experience-frns__header {
  text-align: center;
  margin: 0 0 36px;
}

.franchise-experience-frns__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 600;
  color: #424242;
  text-transform: uppercase;
}

/* Стек двух карточек */

.franchise-experience-frns__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px; /* расстояние между карточками */
}

/* Общие стили карточек */

.franchise-experience-frns__card {
  max-width: 680px;
  width: 100%;
  background-color: #FFFFFF; /* белый фон */
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 2px 36px 2px #0000001a; /* тень карточки */
}

/* Первая карточка с одним абзацем */

.franchise-experience-frns__card--intro {
  text-align: center;
}


.franchise-experience-frns__intro-text {
  margin: 0;
}

/* Вторая карточка с иконкой и тремя блоками текста */

.franchise-experience-frns__card--details {
  text-align: left;
}

.franchise-experience-frns__icon-wrap {
  text-align: center;
  margin-bottom: 36px;
}

.franchise-experience-frns__icon {
  width: 98px;
  height: 98px;
}

/* Заголовки внутри второй карточки */

.franchise-experience-frns__subheading {
  margin: 36px 0 24px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: #111827;
  text-align: center; /* выравнивание заголовков по центру */
}


/* Для первого заголовка убираем верхний отступ, чтобы было:
   край карточки (36) -> иконка -> 36 -> заголовок */
.franchise-experience-frns__subheading:first-of-type {
  margin-top: 0;
}

.franchise-experience-frns__subtext {
  margin: 0;
}

/* Нижний текст под карточками */

.franchise-experience-frns__footer-text {
  max-width: 600px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: #111827;
}

/* Мобильная адаптация */

@media (max-width: 767px) {
  .franchise-experience-frns {
    padding: 48px 0;
  }

  .franchise-experience-frns__card {
    padding: 24px;
  }

  .franchise-experience-frns__card--intro {
    min-height: auto;
  }

  .franchise-experience-frns__title {
    font-size: 22px;
  }

  .franchise-experience-frns__footer-text {
    margin-top: 24px;
    font-size: 16px;
  }
}
/* ===== Контактный блок франшизы (franchise-contact-frns) ===== */

.franchise-contact-frns {
  background-color: #0D5283; /* deep-blue */
  padding: 64px 0 72px;
  color: #FFFFFF;
}

.franchise-contact-frns__header {
  text-align: center;
  margin: 0 0 32px;
}

.franchise-contact-frns__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 600;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* Две колонки */

.franchise-contact-frns__layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.franchise-contact-frns__col {
  flex: 1 1 0;
}

.franchise-contact-frns__col--left {
  max-width: 640px;
}

.franchise-contact-frns__col--right {
  max-width: 580px;
}

/* Форма */

.franchise-contact-frns__form {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.franchise-contact-frns__row {
  width: 100%;
}

.franchise-contact-frns__row--two {
  display: flex;
  gap: 20px;
}

.franchise-contact-frns__field {
  flex: 1 1 0;
}

.franchise-contact-frns__input,
.franchise-contact-frns__textarea {
  width: 100%;
  border-radius: 8px; /* скругление 8px */
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #FFFFFF;
  padding: 10px 24px;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  box-sizing: border-box;
  color: #000000;
}

.franchise-contact-frns__input::placeholder,
.franchise-contact-frns__textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.franchise-contact-frns__textarea {
  min-height: 96px;
  padding-top: 24px;
  resize: vertical;
}

/* Согласие */

.franchise-contact-frns__consent {
  margin-top: 4px;
}

.franchise-contact-frns__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Чекбокс согласия от CF7 внутри нашего блока */
.franchise-contact-frns .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.franchise-contact-frns .wpcf7-acceptance input[type="checkbox"] {
  width: 32px;
  height: 32px;
  margin-top: 4px;
  margin-right: 12px;
}

.franchise-contact-frns .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 14px;
  line-height: 1.4;
  color: #FFFFFF;
}


/* ПЕРЕПИСАТЬ вот этот блок, усилив селектор */

.franchise-contact-frns .wpcf7-form-control.franchise-contact-frns__input,
.franchise-contact-frns .wpcf7-form-control.franchise-contact-frns__textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #FFFFFF;
  padding: 10px 24px;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  box-sizing: border-box;
  color: #000000;
}

.franchise-contact-frns .wpcf7-form-control.franchise-contact-frns__input::placeholder,
.franchise-contact-frns .wpcf7-form-control.franchise-contact-frns__textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.franchise-contact-frns .wpcf7-form-control.franchise-contact-frns__textarea {
  min-height: 96px;
  padding-top: 24px;
  resize: vertical;
}


.franchise-contact-frns .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 14px;
  line-height: 1.4;
  color: #FFFFFF;
}


.franchise-contact-frns .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 14px;
  line-height: 1.4;
  color: #FFFFFF;
}

.franchise-contact-frns__consent-text {
  font-size: 14px;
  line-height: 1.4;
  color: #FFFFFF;
}

.franchise-contact-frns__consent-link {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Кнопка */

.franchise-contact-frns__actions {
  margin-top: 8px;
}

/* Тёмная кнопка для контактного блока */
.btn--dark {
  background: #0B202F;
  border-color: #0B202F;
  color: #FFFFFF;
}

.btn--dark:hover {
  background: #111111;
  border-color: #111111;
  color: #FFFFFF;
}

/* Правая колонка: контактные блоки */

.franchise-contact-frns__info-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.franchise-contact-frns__info-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: #FFFFFF;
}

/* Общая строка-ряд */
.franchise-contact-frns__info-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Ряд телефон + режим работы */
.franchise-contact-frns__info-row--top {
  justify-content: flex-start;
  gap: 16px;
}

/* Левая часть: телефон */
.franchise-contact-frns__phone-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Правая часть: режим работы */
.franchise-contact-frns__schedule-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.franchise-contact-frns__icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.franchise-contact-frns__icon-circle--phone {
  width: 32px;
  height: 32px;
}

.franchise-contact-frns__icon-circle--small {
  width: 36px;
  height: 36px;
}

.franchise-contact-frns__icon-circle--medium {
  width: 42px;
  height: 42px;
}

.franchise-contact-frns__phone {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #FFFFFF;
}

.franchise-contact-frns__schedule,
.franchise-contact-frns__address {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #FFFFFF;
}

.franchise-contact-frns__schedule {
  white-space: normal;
}

/* Две строки внутри "Режим работы" */
.franchise-contact-frns__schedule-label,
.franchise-contact-frns__schedule-time {
  display: block;
}

.franchise-contact-frns__schedule-label {
  margin-bottom: 2px;
}

/* Мессенджеры */

.franchise-contact-frns__messengers {
  display: flex;
  align-items: center;
  gap: 24px;
}

.franchise-contact-frns__messenger-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 100px;
  cursor: pointer;
}

.franchise-contact-frns__messenger-icon--whatsapp {
  background: #60D66A;
}

.franchise-contact-frns__messenger-icon--telegram {
  background: #2AABEE;
}

/* Адаптив */

@media (max-width: 991px) {
  .franchise-contact-frns__layout {
    flex-direction: column;
    gap: 40px;
  }

  .franchise-contact-frns__col--left,
  .franchise-contact-frns__col--right {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .franchise-contact-frns {
    padding: 48px 0 56px;
  }

  .franchise-contact-frns__title {
    font-size: 22px;
  }

  .franchise-contact-frns__row--two {
    flex-direction: column;
  }

  .franchise-contact-frns__phone {
    font-size: 20px;
  }

  .franchise-contact-frns__info-row--top {
    flex-direction: column;       /* телефон и режим работы ставим друг под другом */
    align-items: flex-start;
    gap: 16px;
  }

  .franchise-contact-frns__messengers {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* Мессенджеры */

.franchise-contact-frns__messengers {
  display: flex;
  align-items: center;
  gap: 24px;
}

.franchise-contact-frns__messenger-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 100px;
  cursor: pointer;
}

.franchise-contact-frns__messenger-icon--whatsapp {
  background: #60D66A;
}

.franchise-contact-frns__messenger-icon--telegram {
  background: #2AABEE;
}
.franchise-contact-frns__btn {
  justify-content: space-between; /* текст слева, стрелка справа */
}

/* Мобильная адаптация */

@media (max-width: 991px) {
  .franchise-contact-frns__layout {
    flex-direction: column;
    gap: 40px;
  }

  .franchise-contact-frns__col--left,
  .franchise-contact-frns__col--right {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .franchise-contact-frns {
    padding: 48px 0 56px;
  }

  .franchise-contact-frns__title {
    font-size: 22px;
  }

  .franchise-contact-frns__row--two {
    flex-direction: column;
  }

  .franchise-contact-frns__phone {
    font-size: 20px;
  }

  .franchise-contact-frns__info-row--small {
    padding-left: 0;
  }
}
/* ===== Contact Form 7: лоадер и состояние отправки ===== */

/* При отправке чуть приглушаем форму и блокируем клики */
.wpcf7 form.submitting {
  opacity: 0.7;
  pointer-events: none;
}

/* Базовый вид спиннера */
.wpcf7 .wpcf7-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-left: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 102, 176, 0.25); /* светлый ободок */
  border-top-color: #0066B0;                  /* акцентный синий */
  animation: frns-spinner 0.8s linear infinite;
  background: transparent;
  visibility: visible;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Когда форма в состоянии submitting — делаем спиннер видимым */
.wpcf7 form.submitting .wpcf7-spinner {
  opacity: 1;
}

/* Анимация вращения */
@keyframes frns-spinner {
  to {
    transform: rotate(360deg);
  }
}
/* ===== Блок лицензий (licenses-block) ===== */

.licenses-block {
  padding: 64px 0 72px;
  color: #FFFFFF;
}

.licenses-block__title {
  margin: 0 0 32px;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

/* Сетка превью */

.licenses-block__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.licenses-block__item {
  width: 145px;
  height: 224px; /* 160 под превью + примерно 64 под подпись */
  display: flex;
  flex-direction: column;
}

/* Кнопка-превью */

.licenses-block__thumb {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.licenses-block__thumb-inner {
  position: relative;
  width: 150px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.licenses-block__thumb-inner img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Оверлей по ховеру */

.licenses-block__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 82, 131, 0.6); /* 0D5283, opacity 60% */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.licenses-block__overlay-icon img {
  width: 40px;
  height: 40px;
}

.licenses-block__thumb:hover .licenses-block__overlay,
.licenses-block__thumb:focus-visible .licenses-block__overlay {
  opacity: 1;
}

/* Подписи */

.licenses-block__caption {
  margin: 0;
  margin-top: auto;   /* прижимает подпись к низу контейнера */
  padding-top: 12px;  /* у «самого длинного» получится как раз ~12px */
  font-size: 12px;    /* тот самый уникальный размер */
  line-height: 1.4;
  text-align: center;
}

/* Лайтбокс */

.licenses-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.licenses-lightbox--open {
  opacity: 1;
  pointer-events: auto;
}

.licenses-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.licenses-lightbox__dialog {
  position: relative;
  height: 90vw;           /* жёстко занимаем 70% ширины экрана */
  max-width: 90vw;
  max-width:: 90vh;      /* почти вся высота экрана */
  background: #FFFFFF;   /* вместо синего фона делаем белый */
  border-radius: 12px;
  padding: 24px 56px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.licenses-lightbox__image-wrapper {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.licenses-lightbox__image {
  max-width: 100%;
  max-height: 90vh;
  display: block;
}

.licenses-lightbox__caption {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

/* Кнопки навигации */

.licenses-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.licenses-lightbox__nav img {
  width: 32px;
  height: 32px;
}

.licenses-lightbox__nav--prev {
  left: 16px;
}

.licenses-lightbox__nav--next {
  right: 16px;
}

/* Кнопка закрытия */

.licenses-lightbox__close {
  position: absolute;
  top: 8px;
  right: 16px;
  border: none;
  background: transparent;
  color: #FFFFFF;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

/* Чтобы фон под лайтбоксом не прыгал при скролле */
body.licenses-lightbox-open {
  overflow: hidden;
}

/* Адаптив */

@media (max-width: 991px) {
  .licenses-block {
    padding: 48px 0 56px;
  }

  .licenses-block__grid {
    gap: 16px;
  }

  .licenses-lightbox__dialog {
    max-width: 90vw;
    padding: 16px 40px;
  }
}

@media (max-width: 767px) {
  .licenses-block__title {
    font-size: 22px;
  }

  .licenses-block__grid {
    justify-content: flex-start;
  }

  .licenses-lightbox__dialog {
    max-width: 94vw;
    padding: 16px 16px 20px;
  }

  .licenses-lightbox__nav--prev {
    left: 8px;
  }

  .licenses-lightbox__nav--next {
    right: 8px;
  }
}

@media (max-width:425px){
  h1{
    font-size:32px !important;
  }
}