/* Базовые настройки и плавный скролл */
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ebebeb; /* Брендовый светло-серый */
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding-top: 70px; /* Отступ под меню */
}

/* Контейнер ограничений */
.container {
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    padding: 20px;
}

/* ВЕРХНЕЕ ЗАКРЕПЛЕННОЕ МЕНЮ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
}
.nav-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    box-sizing: border-box;
}
/* СТИЛИ БРЕНДИРОВАННОГО ЛОГОТИПА С СУББРЕНДОМ */
.logo-rdt-pipe {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    letter-spacing: -0.3px;
}

/* Белые буквы RDT на красном фоне */
.badge-rdt {
    background-color: #BF2D17; /* Брендовый красный */
    color: #ffffff; /* Чистый белый */
    font-weight: 900; /* Максимальная плотность */
    padding: 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Продолжение главного бренда (-info) */
.text-info {
    color: #1a1a1a; /* Строгий черный */
    font-weight: 900;
    margin-left: 2px;
}

/* Брендированный вертикальный разделитель */
.pipe {
    color: #BF2D17; /* Красный цвет для акцента */
    margin: 0 10px;
    font-weight: 300; /* Тонкая изящная линия */
}

/* Направление (суббренд Tech) */
.sub-brand-tech {
    font-weight: 400; /* Чуть тоньше главного бренда для контраста */
    color: #555; /* Сдержанный темно-серый */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* лого в футере */
/* АДАПТАЦИЯ ЛОГОТИПА ДЛЯ КРАСНОГО ФУТЕРА */
.footer-logo {
    margin-bottom: 5px; /* Небольшой отступ до меню */
}

/* Инвертируем плашку RDT: белый фон, красный текст */
.footer-logo .badge-rdt {
    background-color: #ffffff !important;
    color: #BF2D17 !important;
}

/* Текст -info становится белым */
.footer-logo .text-info {
    color: #ffffff !important;
}

/* Разделитель | становится полупрозрачным белым */
.footer-logo .pipe {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Суббренд Tech становится светло-серым */
.footer-logo .sub-brand-tech {
    color: #ebebeb !important;
}


/* ОБНОВЛЕННОЕ АДАПТИВНОЕ МЕНЮ С ГАМБУРГЕРОМ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
}
.nav-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    box-sizing: border-box;
    position: relative;
}

/* Настройки логотипа из прошлых шагов */
.logo-rdt-pipe {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    letter-spacing: -0.3px;
    z-index: 1001; /* Чтобы логотип всегда был сверху */
}
.badge-rdt {
    background-color: #BF2D17;
    color: #ffffff;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.text-info {
    color: #1a1a1a;
    font-weight: 900;
    margin-left: 2px;
}
.pipe {
    color: #BF2D17;
    margin: 0 10px;
    font-weight: 300;
}
.sub-brand-tech {
    font-weight: 400;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Десктопное меню */
.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-menu a:hover, .nav-menu a.active {
    color: #BF2D17;
}

/* КНОПКА ГАМБУРГЕРА (Изначально скрыта на ПК) */
.menu-burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}
.burger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* АНИМАЦИЯ ПРЕВРАЩЕНИЯ ГАМБУРГЕРА В КРЕСТИК ПРИ ОТКРЫТИИ */
.menu-burger-btn.open .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #BF2D17;
}
.menu-burger-btn.open .burger-line:nth-child(2) {
    opacity: 0;
}
.menu-burger-btn.open .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #BF2D17;
}

/* МОБИЛЬНЫЕ СТИЛИ (Экраны меньше 768px) */
@media (max-width: 768px) {
    .menu-burger-btn {
        display: flex; /* Показываем кнопку на смартфонах */
    }
    
    /* Перестраиваем меню в вертикальную выпадающую панель */
    .nav-menu {
        position: absolute;
        top: 100%; /* Появляется ровно под шапкой */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 0;
        max-height: 0; /* Изначально скрыто (высота 0) */
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    /* Класс открытия меню через JS */
    .nav-menu.open {
        max-height: 350px; /* Раскрываем панель */
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-menu li:last-child {
        border-bottom: none;
    }
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1rem;
    }
}



/* ЗАГОЛОВОК СТРАНИЦЫ */
header {
    text-align: center;
    margin: 9px 0 70px 0; /* Увеличили отступы, чтобы дать заголовку "дышать" */
    padding: 0 10px;
}
header h1 {
    font-size: 2.8rem; /* Увеличили размер для солидности */
    font-weight: 800; /* Сделали шрифт более плотным и современным */
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px; /* Немного сблизили буквы для эффекта журнальной верстки */
}
/* Выделение ключевого слова брендовым цветом */
header h1 span {
    position: relative;
    color: #BF2D17; 
    white-space: nowrap;
}
header p {
    color: #555;
    font-size: 1.15rem; /* Слегка увеличили подзаголовок */
    line-height: 1.6;
    max-width: 700px; /* Ограничили ширину текста, чтобы он не растягивался в одну длинную строку */
    margin: 0 auto;
}


/* АНИМИРОВАННЫЕ БЛОКИ */
.block {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Легкая базовая тень */
    border-left: 5px solid #BF2D17;
    scroll-margin-top: 90px;
    
    /* Начальное скрытое состояние */
    opacity: 0;
    transform: translateY(40px);
    
    /* Плавность для появления и для тени при наведении */
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}


.block.visible {
    opacity: 1;
    transform: translateY(0);
}
.block h2 {
    margin-top: 0;
    color: #BF2D17;
    font-size: 1.8rem;
}
.block p {
    line-height: 1.6;
    color: #444;
}

/* Строгое появление глубокой тени при наведении */
.block:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important; /* Тень становится плотнее и объемнее */
}




/* ФОРМА ОБРАТНОЙ СВЯЗИ */
.contact-form {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: bold;
}
.form-control {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.form-control:focus {
    border-color: #BF2D17;
    outline: none;
    box-shadow: 0 0 5px rgba(191, 45, 23, 0.2);
}
.btn-submit {
    background-color: #BF2D17;
    color: #fff;
    border: none;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}
.btn-submit:hover {
    background-color: #a32210;
}

/* УВЕДОМЛЕНИЯ ОБ ОТПРАВКЕ */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
    display: none;
}
.alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ПОДВАЛ (ФУТЕР) */
/* ОБНОВЛЕННЫЙ ТРЕХКОЛОНОЧНЫЙ ФУТЕР */
footer {
    background-color: #BF2D17; /* Брендовый красный */
    color: #ffffff;
    width: 100%;
    padding: 50px 0 30px 0; /* Увеличили отступы для солидности */
    margin-top: auto;
}
.footer-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between; /* Распределяем колонки по краям */
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

/* Стили для колонок футера */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col-left { flex: 1.2; }
.footer-col-center { flex: 1; align-items: center; }
.footer-col-right { flex: 1.2; align-items: flex-end; text-align: right; }

.footer-menu {
    display: flex;
    flex-direction: column; /* Сделали меню строгим вертикальным списком */
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
.footer-menu a {
    text-decoration: none;
    color: #ebebeb;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-menu a:hover {
    color: #ffffff;
}

/* Текст реквизитов и контактов */
.footer-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ebebeb;
    margin: 0;
}
.footer-text strong {
    color: #ffffff;
}
.footer-link-white {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.2s;
}
.footer-link-white:hover {
    opacity: 0.8;
}

/* Нижняя строчка с копирайтом на всю ширину */
.footer-bottom {
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0 auto;
    padding: 20px 20px 0 20px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Тонкая строгая разделительная линия */
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}
.footer-bottom a:hover {
    color: #ffffff;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }
    .footer-col {
        align-items: center;
        text-align: center;
    }
    .footer-col-right {
        align-items: center;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

.footer-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-menu a {
    text-decoration: none;
    color: #ebebeb;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-menu a:hover {
    color: #ffffff;
}
footer p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Сетка индикаторов надежности */
.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}
.feature-item {
    flex: 1;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s ease;
}
.feature-item:hover {
    border-color: #BF2D17; /* Строгая брендовая подсветка рамки при наведении */
}
.feature-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #BF2D17; /* Брендовый красный для цифр */
    margin-bottom: 5px;
}
.feature-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* Адаптивность для мобильных экранов */
@media (max-width: 600px) {
    .features-grid {
        flex-direction: column;
    }
}

/* Сетка поддерживаемых CMS */
.cms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}
.cms-item {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #444;
    transition: all 0.2s ease;
}
/* Эффект при наведении на конкретную CMS */
.cms-item:hover {
    background-color: #BF2D17; /* Окрашиваем в брендовый красный */
    color: #ffffff; /* Текст становится белым */
    border-color: #BF2D17;
}

/* Контейнер для горизонтальных полос */
.services-stripes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

/* Сама интерактивная полоса */
.service-stripe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px 30px;
    gap: 20px;
    transition: background-color 0.2s ease;
}

/* Строгое выделение цветом фона при наведении */
.service-stripe:hover {
    background-color: #fafafa;
}

/* Левая часть: название и описание */
.stripe-info {
    flex: 1;
}
.stripe-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}
.stripe-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Центральная часть: цена */
.stripe-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #BF2D17; /* Брендовый красный */
    white-space: nowrap;
    min-width: 150px;
    text-align: right;
}

/* Правая часть: кнопка */
.btn-stripe-select {
    display: inline-block;
    background-color: #333;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
    white-space: nowrap;
    text-align: center;
}
.btn-stripe-select:hover {
    background-color: #BF2D17;
}

/* Адаптивность под мобильные телефоны */
@media (max-width: 768px) {
    .service-stripe {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    .stripe-price {
        text-align: left;
        min-width: auto;
    }
    .btn-stripe-select {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Стили для выпадающего списка выбора услуг */
select.form-control {
    appearance: none; /* Убираем стандартную стрелку браузера */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px; /* Запас под стрелку */
    cursor: pointer;
}
/* Стили строгого вертикального таймлайна */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 30px auto 0 auto;
    padding: 0;
    list-style: none;
}
/* Центральная направляющая линия */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px; /* Фиксируем линию слева для строгости на 900px */
    width: 2px;
    background-color: #e0e0e0;
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 80px; /* Отступ текста от линии */
}
.timeline-item:last-child {
    margin-bottom: 0;
}
/* Красный брендовый кружок с цифрой */
.timeline-number {
    position: absolute;
    left: 20px;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #BF2D17;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 0 4px #ffffff; /* Белая обводка, чтобы перекрыть линию */
}
.timeline-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}
.timeline-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Адаптивность для мобильных экранов */
@media (max-width: 600px) {
    .timeline::before { left: 20px; }
    .timeline-number { left: 0; width: 36px; height: 36px; font-size: 1rem; }
    .timeline-item { padding-left: 55px; }
}
/* Строгая плашка бесплатного аудита */
.audit-bonus-panel {
    background-color: #ffffff;
    border: 2px solid #BF2D17; /* Брендовая красная рамка */
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.audit-badge {
    background-color: #BF2D17;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.audit-bonus-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #1a1a1a;
}
.audit-bonus-text strong {
    color: #BF2D17;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .audit-bonus-panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
}
/* Чекбокс согласия на обработку данных */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}
.form-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #BF2D17; /* Окрашивает галочку в брендовый красный */
}
.form-checkbox-label {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}
.form-checkbox-label a {
    color: #BF2D17;
    text-decoration: underline;
}

/* ЗАЩИТА ОТ СПАМА (HONEYPOT) */
/* Скрываем поле от реальных людей. Боты его увидят в коде и обязательно заполнят */
.hidden-field {
    display: none !important;
    visibility: hidden !important;
}

/* СТИЛИ БЛОКА ВОПРОС-ОТВЕТ (FAQ) */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}
.faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.faq-item:hover {
    border-color: #BF2D17; /* Подсветка рамки при наведении */
}

/* Кнопка-вопрос */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: bold;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
/* Стрелочка-индикатор */
.faq-toggle {
    font-size: 1.2rem;
    color: #BF2D17;
    font-weight: 300;
    transition: transform 0.3s ease;
}

/* Блок с ответом (изначально скрыт) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #fafafa;
    padding: 0 25px;
}
.faq-answer p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Стили для раскрытого состояния (управляются через JS) */
.faq-item.active .faq-toggle {
    transform: rotate(45deg); /* Изящный поворот плюсика в крестик */
}
.faq-item.active .faq-answer {
    padding: 20px 25px 5px 25px; /* Плавное появление внутренних отступов */
}
/* СТИЛИ МОДАЛЬНОГО ОКНА */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Полупрозрачный темный фон */
    z-index: 2000; /* Перекрывает даже закрепленное меню */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Класс для открытия окна через JS */
.modal-overlay.modal-open {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background-color: #ffffff;
    width: 100%;
    max-width: 500px; /* Компактная ширина для формы */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 5px solid #BF2D17; /* Брендовый красный акцент вверху */
    padding: 30px;
    box-sizing: border-box;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.modal-open .modal-window {
    transform: translateY(0); /* Эффект легкого падения окна при открытии */
}

/* Кнопка закрытия (крестик) */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close-btn:hover {
    color: #BF2D17;
}

/* Кнопка вызова консультации в первом блоке */
.btn-consultation {
    display: inline-block;
    background-color: #333;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 25px;
    transition: background-color 0.2s;
    cursor: pointer;
    border: none;
}
.btn-consultation:hover {
    background-color: #BF2D17;
}

/* АДАПТИВНОСТЬ ШРИФТОВ ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ */
@media (max-width: 768px) {
    /* Главный заголовок на первом экране */
    header h1 {
        font-size: 1.8rem !important; /* Уменьшили с 2.8rem до читаемого на смартфонах размера */
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    /* Текст под главным заголовком */
    header p {
        font-size: 1rem !important;
        padding: 0 10px;
    }

    /* Заголовки всех контентных блоков (О компании, Тарифы, FAQ и т.д.) */
    .block h2 {
        font-size: 1.4rem !important; /* Уменьшили с 1.8rem, чтобы названия не резались */
        line-height: 1.3;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    /* Дополнительное уменьшение для самых узких экранов (смартфоны в вертикальном режиме) */
    header h1 {
        font-size: 1.5rem !important;
    }
    .block h2 {
        font-size: 1.25rem !important;
    }
    /* Слегка уменьшаем отступы внутри блоков, чтобы текст не зажимался */
    .block {
        padding: 25px 20px !important;
    }
}

