html {
    scroll-behavior: smooth; /* Включает плавную прокрутку по всему сайту */
    overflow-y: scroll;
    height: 100%;
}

/* Жёлтая полоса вверху экрана только на телефоне (под строкой состояния) */
@media (max-width: 768px) {
    html { background-color: #FFD600; }
}

/* Добавьте это, чтобы заголовок секции не прилипал к самому верху экрана */
section {
    scroll-margin-top: 100px; /* Настройте это число под высоту вашего меню */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; background: #ffffff; margin: 0;, width: 100%; }

/* Хедер */
/* 1. Фон и плашка */
.header {
    width: 100%;
    background-color: #FFD600; /* Цвет твоей плашки (желтый) */
    padding: 15px 0; /* Высота самой плашки */
}
/* 3. Элементы */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-container img { height: 50px; }
.logo-text { font-size: 20px; font-weight: bold; }
.nav-links {
    display: flex;
    gap: 30px;
    justify-content: center; /* Ссылки всегда в центре */
    flex: 2; /* Занимает центральную часть */
}
.nav-links a { 
    text-decoration: none; 
    color: #333; 
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
 }

 .nav-links a.active {
    border-bottom: 2px solid red;
 }

 .nav-links a:hover {
    border-bottom: 2px solid red;
 }
/* 2. Контейнер, который держит элементы вместе */
.header-container {
    max-width: 1370px;
    margin: 0 auto; /* Центрирует плашку на экране */
    display: flex;
    justify-content: space-between; /* Раскидывает лого и телефон по краям */
    align-items: center;
}
.phone {
    display: flex;
    align-items: center;
    gap: 5px;

}

/* -------------------------------------- */
/* ОСНОВНАЯ СЕТКА                         */
/* -------------------------------------- */

.hero-wrapper {
    position: relative;
    overflow-x: clip; /* картинка крана (120% ширины) не создаёт горизонтальную прокрутку страницы */
}

/* Это просто желтый прямоугольник на заднем плане */
.hero-yellow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 460px; /* МЕНЯЙТЕ ЭТО ЗНАЧЕНИЕ, ЧТОБЫ ПОДНЯТЬ ИЛИ ОПУСТИТЬ ЛИНИЮ */
    background: #FFD600;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    z-index: 0; /* Он позади контента */
}

/* Контейнер с контентом */
.content-container {
    position: relative;
    z-index: 1; /* Контент всегда поверх желтого фона */
    display: grid;
    grid-template-columns: 50% 45%;
    grid-template-rows: auto auto;
    justify-content: space-between;
    padding: 50px 20px 0;
    max-width: 1420px; /* та же рамка, что у каталога */
    margin: 0 auto;
}

.catalog-hero {
    margin: 0 !important;
    padding-left:  0 !important;
    width: 100%;
    border-top-left-radius: 0 !important;
    padding-left: 50px;
    padding: 11.5px 200px 10px 200px;
    background-color: #FFD600;
    border-radius: 0 0 60px 60px;
    box-sizing: border-box;
}

.catalog-hero > * {
    margin-left: 77px !important;
}

.catalog-content {
    max-width: 800px;
}

.hero-left {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
}

/* -------------------------------------- */
/* ТЕКСТ И КНОПКИ                         */
/* -------------------------------------- */

.badge { 
    background: rgba(0,0,0,0.1); 
    padding: 5px 15px; 
    border-radius: 20px; 
    display: inline-block; 
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: bold;
    align-self: flex-start;
}

h1 { font-size: 50px; line-height: 1.1; margin-bottom: 30px; }
h1 span { border-bottom: 4px solid #FF3333; display: inline-block; }

ul.features { list-style: none; margin-bottom: 40px; }
.features li { margin-bottom: 10px; font-weight: 600; display: flex; align-items: center; }
.yellow-dot { 
    background-color: black !important;
        border-radius: 50% !important;
        padding: 4px 4px;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        font-size: 10px;
}

.yellow-dot img {
    filter: none;
    filter: brightness(0) saturate(100%) invert(75%) sepia(94%) saturate(738%) hue-rotate(357deg) brightness(103%) contrast(102%) !important;
    width:12px !important;
    height:12px !important;
    display: block !important;
    background: none !important;
    
}

/* Кнопки теперь стоят ровно в потоке */
/* Общие свойства для всех кнопок внутри .buttons */
.buttons a {
    display: inline-block;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box; /* Это критически важно для одинакового размера! */
}

/* Только уникальные цвета и рамки */
.buttons .btn-red {
    background: #FF3333;
    color: white;
    border: none;
    border: 1.5px solid #ff3333;
    font-size: 14px;
}

.buttons .btn-white {
    background: transparent;
    border: 1.5px solid #777777;
    color: #333333;
    padding: 15px 30px;
    font-size: 14px;
}

/* -------------------------------------- */
/* КАРТОЧКА КРАНА                         */
/* -------------------------------------- */

.crane-card {
    grid-column: 2;
    grid-row: 1; /* только 1-я строка: карточка заканчивается на уровне кнопок */
    justify-self: end;
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.photo-placeholder { 
    background: #f4f4f4; /* Чуть серый для видимости */
    flex: 1 1 0; /* фото занимает свободное место карточки, но высота самой картинки на неё не влияет */
    min-height: 300px; 
    border-radius: 20px; 
    margin-bottom: 20px; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.photo-placeholder::before {
    content: '';
    position: absolute;
    width: 350px;   /* Размер круга */
    height: 150px;  /* Размер круга */
    background: #FFD700;
    filter: blur(50px); /* Главная магия: размываем края для эффекта свечения */
    border-radius: 50%; /* Делаем круг */
    opacity: 1;       /* Делаем его полупрозрачным */
    z-index: 1;         /* Чтобы круг был под краном */
}


    .crane-image1 {
        width: 120%;
        max-width: none;
        height: auto;
        object-fit: contain;
        z-index: 2;
    }

.separator { height: 1px; background: rgba(0,0,0,0.1); margin: 20px 0; }
.crane-info { display: flex; justify-content: space-between; align-items: center; }
.text-info { display: flex; flex-direction: column; gap: 5px; }
.text-info h3 { font-size: 20px; }
.text-info p { color: #555; font-size: 14px; }
.price-btn { 
    background: #FF3333; color: white; padding: 12px 25px; 
    border: none; border-radius: 20px; cursor: pointer; font-weight: bold;
}

/* -------------------------------------- */
/* СТАТИСТИКА                             */
/* -------------------------------------- */

.stats-white { 
    grid-column: 1;
    grid-row: 2;
    position: relative;
    z-index: 1; /* Тоже поверх желтого фона */
    display: flex; 
    max-width: 1370px;
    width: 100%;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    box-sizing: border-box;
    
}

.stat-item { line-height: 1.4; color: #555; font-size: 12px; }
.stat-item strong { font-size: 30px; display: block; color: black; margin-bottom: 5px; }

.red-dot {
    color: #FF3333;

}

.phone-icon {
    width: 20px;            /* Установите размер, какой вам нужен */
    height: 20px;
    vertical-align: middle; /* Чтобы иконка стояла ровно по центру строки */
    margin-right: 8px;      /* Отступ от номера телефона */
    
    /* Это превращает любую цветную PNG-картинку в черную */
    filter: brightness(0) saturate(100%);
}

.catalog-section { padding: 80px 0; background: #ffffff; } /* боковые отступы задаёт рамка 1420px + 20px у шапки и сетки */

/* Родителю задаем выравнивание по нижней линии */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Кнопка и заголовок прижимаются к одной линии низа */
    /* Та же рамка, что у .cards-grid и hero: max-width 1420px по центру + 20px по бокам */
    max-width: 1420px;
    margin: 0 auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.header-right {
    margin-right: 0;
}

/* Левому блоку запрещаем растягиваться */
.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Отменяет растягивание плашки */
    flex: 0 0 auto;          /* Запрещает блоку расти */
}

/* Принудительно ограничиваем плашку */
.badge-mini {
    display: inline-block;
    padding: 5px 12px;
    background: #FFF9C4;
    border-radius: 5px;
    margin-bottom: 10px;
    flex: 0 0 auto;          /* Плашка не растет */
}

/* Заголовок тоже не должен тянуться */
.header-left h2 {
    margin: 0;
    line-height: 1.2;
}

.catalog-header h2 {
    font-size: clamp(26px, 3.6vw, 48px); /* масштабируется от ширины экрана, максимум 48px */
    line-height: 1;
    color: #000;
    margin: 0;
    max-width: 600px;
    white-space: nowrap;
}

.cards-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 20px; 
    max-width: 1420px;
    padding: 0 20px;
    margin: 0 auto;
}

/* Карточки главной: заполняют ячейку сетки и не выступают за неё, чтобы края совпадали с заголовком */
#cranes-container > .crane-card2 {
    max-width: none;
    margin: 10px 0;
}

/* Карточка нового типа */
.crane-card2 {
    width: 100%;
    max-width: 400px;
    margin: 10px;
    background: #ffffff;
    border-radius: 20px; /* Более мягкие, современные углы */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    height: 600px; /* Увеличили высоту, чтобы карточка стала вытянутой */
    transition: transform 0.3s ease;
}

.card-header2 {
    background: #FFF9C4;
    padding: 20px;
    height: 325px; /* Фиксированная высота "желтой зоны" */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-body {
    padding: 25px; /* Больше "воздуха" для текста */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-box {
    background: #ffffff; /* Белая плашка для фото */
    border-radius: 5px; /* Скругление углов */
    padding: 5px;       /* Расстояние от фото до краев белой плашки */
    width: 97%;          /* Чтобы плашка не была впритык к желтым краям */
    height: 90%;       /* Высота белой плашки */
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Чтобы картинка не обрезалась */
}

.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
}





.btn-red-small { 
    background: #FF3333; color: white; padding: 10px 20px; 
    border: none; border-radius: 15px; cursor: pointer; 
    
}

.badge-mini {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 215, 0, 0.4); /* Полупрозрачный желтый */
    border-radius: 20px;
    font-size: clamp(10px, 0.9vw, 12px); /* масштабируется вместе с заголовком */
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Убираем галочки из текста и добавляем их через CSS */
.specs {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.specs li {
    font-size: 14px;
    margin-bottom: 8px;
    color: #555;
    display: flex;
    align-items: center;
}

.specs li::before {
    content: "✓";
    color: #FF5252;
    margin-right: 8px;
    font-weight: bold;
}

/* Серая полупрозрачная линия */
.divider {
    height: 1.5px;
    background: rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Настройка заголовка и цены */
.card-body h3 {
    font-size: 22px;
    font-weight: 800; /* Жирный */
    color: #000;
    margin: 0;
}

.price {
    font-size: 18px;
    font-weight: 800; /* Жирный */
    color: #000;
}

/* Чтобы цена и кнопка встали по краям */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-outline {
    background: transparent;      /* Прозрачный фон */
    border: 1.5px solid #000000;       /* Тонкая серая обводка */
    padding: 10px 25px;           /* Отступы внутри кнопки */
    border-radius: 30px;          /* Сильное скругление */
    cursor: pointer;
    font-weight: 500;
    display: inline-block;                /* Для выравнивания текста и стрелки */
    align-items: center;
    gap: 8px;                     /* Расстояние между текстом и стрелкой */
    transition: all 0.3s;
    position: relative;
    z-index: 10;
    text-decoration: none;
    color: inherit;

}

.btn-outline:hover {
    background: #f8f8f8;          /* Легкое затемнение при наведении */
}

/* Желтый блок */


.back-link { display: block; margin-bottom: 20px; text-decoration: none; color: #000; }

/* Фильтры */
.filter-bar { 
    display: flex; 
    flex-wrap: wrap; /* кнопки, которые не влезают, переносятся на следующую строку */
    gap: 15px; 
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 75px;
    box-sizing: border-box;
 }
.filter-btn { 
    background-color: transparent;
    padding: 10px 20px; 
    border-radius: 20px; 
    border: 1px solid black;
    color: black; 
    transition: 0.3s;
    cursor: pointer; 
    box-sizing: border-box;
    flex: 0 0 auto; /* кнопка не сжимается, а целиком уходит на новую строку */
    max-width: 100%;
}

.filter-btn.active { 
    background-color: #FF3333;
    border: 1px solid #FF3333;
    color: #fff; }

/* Черный баннер */
.contact-banner {
    background: #1a1a1a;
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 20px 0 20px;
    max-width: 1370px;
    margin-left: auto;
    margin-right: auto;
}

.contact-banner h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-banner p{
    font-size: 14px;
    opacity: 0.8;
}
.banner-actions { display: flex; gap: 10px; }
.btn-phone { background: #ff3333; color: white; padding: 15px 30px; border: none; border-radius: 20px; }
.btn-whatsapp { background: white; color: black; padding: 15px 30px; border: none; border-radius: 20px; }

/* Подсветка активной ссылки */
.nav-links a.active {
    border-bottom: 2px solid red; /* Красная линия снизу */
    padding-bottom: 5px;          /* Чуть отступаем от текста */
    font-weight: bold;            /* Делаем текст жирнее */
}

.test-catalog{
    width: 50%;
    display: flex;
    flex-direction: column;
}

#tech-list {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
#tech-list th, #tech-list td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
}

.usage-section {
    padding: 50px 20px;
    max-width: 1355px;
    margin: 0 auto;
    text-align: left; /* Текст слева */
}

.usage-label {
    display: inline-block;
    background-color: #fce58b; /* Тот самый желтый цвет плашки */
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.usage-title {
    font-size: 48px;
    margin-bottom: 10px;
    line-height: 1;
}

.usage-desc {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}



.tech-card {
    background-color: #ffd700; /* Твой основной желтый */
    padding: 25px;
    border-radius: 30px; /* Сильное закругление */
    display: flex;
    align-items: center;
    text-align: left;
    height: 140px;
    width: 100% !important;
    box-sizing: border-box;
    margin-left: -20px;
}

.text-box h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.text-box p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

.hidden-page {
    display: none; /* Скрываем по умолчанию */
}

.icon-box {
    width: 50px;           /* Размер кружка */
    height: 50px;
    background-color: #000; /* Черный фон */
    border-radius: 50%;    /* Круглая форма */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.icon-box img {
    width: 25px;           /* Сама иконка внутри будет чуть меньше */
    height: 25px;
    object-fit: contain;
    filter: invert(75%) sepia(90%) saturate(1450%) hue-rotate(10deg) brightness(105%) contrast(105%);
}

/* Добавляем ограничение по высоте для самой карточки */



.slider-page {
    display: none;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    padding: 0 20px !important;
}

/* 1. Заставляем сетку занять всю ширину */
.slider-page.active {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: none !important; /* Увеличь это значение, если нужно еще шире */
    margin: 0 auto !important;
}


/* Удали старые стили для .floating-btn и замени на эти */
.floating-btn {
    position: absolute;
    top: 50%;
    margin-top: -25px; /* Поднимаем кнопку на половину её высоты */
    right: 15px;      /* Справа от блока */
    background: #000;
    color: #ffd700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 100;
    transition: all 0.4s ease;
}

.floating-btn.rotated {
    transform: rotate(180deg);
}

.consultation-block {
    /* 30% — это радиус круга. Чем меньше число, тем четче круг */
    background: 
        radial-gradient(circle at 5% 80%, #8b0000 0%, #8b0000 1%, transparent 15%), 
        radial-gradient(circle at 95% 15%, #d4af37 0%, #d4af37 1%, transparent 15%),
        #000000;
    
    padding: 30px 40px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    margin: 40px 0;
    /* Важно добавить overflow, чтобы круги не вылезали за скругленные углы блока */
    overflow: hidden; 
    text-align: left;
    width: 100%;
    max-width: 1370px;
    margin:40px auto;

}

.consultation-content {
    max-width: 50%;
}

.badge2 {
    background: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
}

.consultation-content h2 {
    font-size: 48px;
    font-weight: 700;
    max-width: 600px;
    margin: 15px 0;
    line-height: 1;
}

.consultation-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-call, .btn-whatsapp {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-call { background: #ff3333; color: white; }
.btn-whatsapp { background: #fff; color: #000; }

.about-company {
    display: grid;
    grid-template-columns: 1fr 1fr 0.6fr; /* Три колонки: текст, описание, картинка */
    gap: 40px;
    align-items: start;
    padding: 60px 20px;
    max-width: 1370px;
    margin: 0 auto;
}

.about-description {
    display: grid;
    grid-template-columns: 2fr;
    gap: 40px;
    align-items: start;
    margin-top: 49px;
}


.about-text h2 {
    font-size: 48px;
    line-height: 0.9;
    margin: 20px 0;
    margin-top: 0px;
}

.text-red { color: #ff3333; }

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 49px;
    aspect-ratio: 16 / 13.5;
}

.about-image img { width: 100%; display: block; height: 100%; object-fit: cover;}

.image-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-weight: bold;
}

/* Основной контейнер блока */
.advantages-section {
    background: #ffcc00;
    padding: clamp(32px, 4vw, 60px) clamp(16px, 2.8vw, 40px); /* масштабируется от ширины экрана */
    border-radius: clamp(28px, 2.8vw, 40px);
    max-width: 1370px;
    margin: 40px auto;
    box-sizing: border-box;
    

}

/* Общий контейнер для выравнивания */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    
}

.container-2 {
    text-align: left; /* Текст внутри станет по левому краю */
    margin-left: 0;   /* Убеждаемся, что нет отступов слева */
    padding-left: 0;  /* Убираем внутренние отступы */
}

/* Внутренний контейнер блока: боковой отступ тоже масштабируется */
.advantages-section .container {
    padding: 0 clamp(0px, 2.8vw, 40px);
}

/* Чтобы текст не упирался в самый край желтого блока, 
   добавь отступ для самого контейнера-2 */
.advantages-section .container-2 {
    margin-left: 0; /* Это сдвинет текст от левого края желтой секции */
    margin-top: 0;
    max-width: 100%;  /* Ограничиваем ширину, чтобы текст не растягивался */
}
/* Текстовые элементы */
.badge-black {
    background: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: clamp(10px, 0.9vw, 12px);
    text-transform: uppercase;
}

.advantages-section h2 { 
    font-size: clamp(26px, 3.6vw, 48px); /* как у заголовка каталога */
    margin: 15px 0; 
    line-height: 1.1;
}

.subtitle { margin-bottom: clamp(24px, 3vw, 40px); max-width: 500px; font-size: clamp(13px, 1.15vw, 16px); }

/* Сетка карточек */
.cards-grid2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* minmax(0,…): колонки сжимаются и не уезжают за экран */
    gap: clamp(8px, 1.1vw, 15px);
    margin-left: 0;
    margin-top: 20px;
}

/* Стили карточки */
.card {
    background: #fff;
    padding: clamp(16px, 2.1vw, 30px);
    border-radius: clamp(18px, 1.8vw, 25px);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: break-word;
}


/* Стили для кружка-контейнера */
.card .icon {
    width: clamp(38px, 3.5vw, 50px);
    height: clamp(38px, 3.5vw, 50px);
    background-color: #fdf5b0; /* Светло-желтый цвет фона кружка */
    border-radius: 50%;        /* Делает блок идеально круглым */
    display: flex;             /* Включаем flex, чтобы отцентрировать иконку */
    align-items: center;       /* Центрирование по вертикали */
    justify-content: center;   /* Центрирование по горизонтали */
    margin-bottom: clamp(12px, 1.4vw, 20px);
}

/* Стили для самой картинки внутри кружка */
.card .icon img {
    width: clamp(18px, 1.7vw, 24px);   /* Размер самой иконки (сделай чуть меньше кружка) */
    height: clamp(18px, 1.7vw, 24px);
    object-fit: contain;
}

.card h3 {
    font-size: clamp(12px, 1.45vw, 18px);
    margin: 0 0 10px;
    line-height: 1.2;
}

.card p {
    font-size: clamp(12px, 1vw, 14px);
    color: #333;
    line-height: 1.4;
}

.footer {
    background-color: #0d0d0d;
    color: #fff;
    padding: 40px 20px;
    margin-top: 100px;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1370px;
    margin: 0 auto;
    
}

.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo {
    width: 30px;
}

.footer-col h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    line-height: 2;
}

.footer-col p {
    font-size: 13px;
    color: #ccc;
    margin: 5px 0;
}

.btn-red {
    display: inline-block;
    background: #e53935;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    font-weight: 600;
}

/* Размер для текста «Заказать» */
.btn-red .btn-text {
    font-size: 16px; 
}

/* Размер для появившегося номера телефона */
.btn-red .phone-number {
    font-size: 13px; /* Можешь поставить любой другой размер, например 15px */
    font-weight: 500;
}

.btn-red:hover {
    background: #c62828; /* Темно-красный при наведении */
}

.phone-dropdown {
    border: 1px solid #000;
    border-radius: 60px;
    padding: 10px 20px;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease; /* Плавность для всей плашки */
    display: inline-flex;
    flex-direction: column; /* Элементы идут друг под другом при раскрытии */
    align-items: center;
    width: 250px; /* Фиксируем начальную ширину */
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.separator {
    height: 1px;
    background: #000000; /* Серая линия */
    width: 0; /* Изначально скрыта */
    margin: 0;
    transition: all 0.4s ease;
}

.phone-list {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
}

/* Состояние при открытии */
.phone-dropdown.active {
    border-radius: 30px; /* Можно немного менять форму */
}

.phone-dropdown.active .separator {
    width: 100%; /* Линия растягивается */
    margin: 10px 0;
}

.phone-dropdown.active .phone-list {
    max-height: 100px;
    opacity: 1;
}

.phone-dropdown.active .arrow {
    transform: rotate(180deg);
}

.arrow {
    width: 12px;
    transition: transform 0.4s;
}

/* Контейнеры для выпадающих меню */
.order-dropdown-container,
.consultation-actions {
    position: relative;
}

/* Всплывающее окно с рандомным номером телефона */
.phone-popup {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 100;
    min-width: 180px;
    text-align: center;
}

.phone-popup a {
    color: #111;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.phone-popup a:hover {
    color: #ff3b30;
}

/* Всплывающее окно с PNG-иконками мессенджеров */
.messenger-popup {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: none;
    justify-content: space-around;
    align-items: center;
    gap: 12px;
}

.messenger-popup a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.messenger-popup a:hover {
    transform: scale(1.1);
}

.messenger-popup img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Базовое состояние кнопки */
.btn-whatsapp {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Состояние при клике: разъезжается вширь, ввысь и показывает иконки внутри */
.btn-whatsapp.active {
    width: 260px !important; /* Становится шире */
    min-height: 54px !important; /* Становится немного длиннее */
    padding: 0 15px !important;
    background-color: #fff !important; /* Можете поменять цвет фона при раскрытии */
    border: 1px solid #e5e7eb !important;
    cursor: default;
}

/* Контейнер иконок внутри кнопки */
.messenger-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    animation: fadeIn 0.3s ease-in-out;
}

.messenger-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.messenger-icons a:hover {
    transform: scale(1.15);
}

.messenger-icons img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
/* По умолчанию скрываем мобильное меню */
.mobile-menu { display: none; }

/* Стили для экранов шириной до 768px (планшеты и телефоны) */
@media (max-width: 768px) {
    /* 1. Настройка шапки: Центрируем всё в колонку */
    .header-container {
        display: flex !important;
        flex-direction: column !important; /* Лого над телефоном */
        align-items: center !important;    /* Центрируем горизонтально */
        justify-content: center !important;
        padding: 15px !important;
        gap: 5px !important;
        padding-bottom: 5px !important;
    }

    /* Логотип и телефон в одну ширину */
    .logo-container, .phone-dropdown {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .phone-header strong {
        color: #000000 !important;
        text-decoration: none !important;
        border-bottom: none !important;
        background: none !important;
        display: inline-block !important;
    }

    .phone-header strong a {
        color: #000000 !important;
        text-decoration: none !important;
    }

    .phone-list div a {
        color: #000000 !important;
        text-decoration: none !important;
    }

    .phone-list div  {
        color: #000000 !important;
        text-decoration: none !important;
    }

    /* Скрываем компьютерное меню */
    .desktop-menu, .nav-links { 
        display: none !important; 
    }

    .content-container {
        margin-top: -10px !important; /* Поднимаем блок вверх */
        padding-top: 0 !important;
    }

    /* Hero-блок */
     .content-container, .hero-left {
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important; /* Это прижмет текст и список влево */
        padding-left: 20px !important; /* Отступ от левого края */
        
    }

    /* Исправляем список, чтобы галочки тоже были слева */
    .features {
        list-style: none;
        padding: 0;
        margin: 0 0 20px 0;
        width: 100%;
    }

    .hero-left {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-right: 20px;
    }

    .hero-left h1 {
        font-size: clamp(30px, 11.2vw, 44px) !important; /* плавно уменьшается на узких экранах */
        line-height: 0.9 !important;
    }

    /* Более точный выбор текста в списке */
    .features li {
        font-size: 14px !important;
        line-height: 1 !important;
        display: flex;
        align-items: flex-start;
        margin-bottom: 12px;
        width: 100%;
    }

    .yellow-dot { 
    background-color: black !important;
        border-radius: 50% !important;
        padding: 4px 4px;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        font-size: 10px;
}

.yellow-dot img {
    filter: none;
    filter: brightness(0) saturate(100%) invert(75%) sepia(94%) saturate(738%) hue-rotate(357deg) brightness(103%) contrast(102%) !important;
    width:12px !important;
    height:12px !important;
    display: block !important;
    background: none !important;
    
}

    /* Уменьшаем отступы внутри желтого блока, чтобы он был компактнее */
      .hero-wrapper, .hero-yellow-bg {
        margin-top: 0 !important; /* Убираем отступ сверху */
        padding-top: 10px !important; /* Немного отступаем от границы */
        border-top: none !important; /* Убираем любую границу, если она есть */
    }

     .badge {
        display: inline-table !important; /* Меняем с flex на block для корректного переноса */
        white-space: nowrap !important;   /* Обязательно разрешаем перенос слов */
        width: auto !important;           /* Снимаем жесткую ширину */
        max-width: 100% !important;       /* Плашка может занимать всю ширину */
        min-width: 100px !important;      /* Минимальная ширина, чтобы не была узкой */
        padding: auto !important;     /* Увеличиваем отступы, чтобы текст не прилипал */
        font-size: 11px !important;       /* Чуть крупнее, чтобы читалось */
        line-height: 1.4 !important;      /* Добавляем межстрочный интервал */
        height: auto !important;          /* Высота подстраивается сама */
        text-align: left !important;      /* Выравниваем текст по левому краю */
    }
    .buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        margin-top: -25px !important;
        margin-bottom: 20px !important;
    }

    .crane-card {
        width: 100% !important;
        margin-top: 50px !important;
        padding: 20px !important;
        box-sizing: border-box;
    }

    /* Исправляем положение кнопки с ценой */
    .price-btn {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        margin-top: 10px !important;
        width: 100% !important; /* Кнопка растянется на всю ширину */
        text-align: center !important;
    }

    /* Немного уменьшаем шрифт для мобильных, чтобы не было наложения */
    .crane-info h3 {
        font-size: 18px !important;
    }

    .photo-placeholder {
        width: 100%;
        height: 220px;
        min-height: 0;
        flex: none;
        position: relative
        border-radius: 20px 20px 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    
   
}

    .photo-placeholder::before {
        content: '';
    position: absolute;
    width: 250px;   /* Размер круга */
    height: 100px;  /* Размер круга */
    background: #FFD700;
    filter: blur(40px); /* Главная магия: размываем края для эффекта свечения */
    border-radius: 50%; /* Делаем круг */
    opacity: 1;       /* Делаем его полупрозрачным */
    z-index: 1;   
    }


    .crane-image1 {
        width: 120%;
        max-width: none;
        height: auto;
        object-fit: contain;
    }

     .stats-white {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        
        /* Возвращаем нормальный отступ сверху */
        margin-top: 30px !important; 
        
        /* Делаем ширину ровно 98% (как карточка) и центрируем */
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 0px !important;
        
        /* Никаких лишних padding, чтобы не раздувать блок */
        padding: 20px 40px !important; 
        box-sizing: border-box !important;
    }

     .stat-item {
        flex: 1 !important;
        text-align: center !important;
        padding: 0 4px !important;
        
        /* Превращаем колонку в вертикальный блок */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        
        /* Включаем перенос длинных слов, чтобы они не слипались и не улетали */
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }


    .stat-item strong {
        display: block !important;
        margin-bottom: 5px !important;
        text-align: center !important;
        
    }

    .badge-mini {
        font-size: 11px !important;
        padding: 4px 10px !important;
        width: fit-content !important;
    }

     

      .catalog-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }

    #catalog.catalog-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* Принудительно отменяем запрет на перенос и ставим межстрочный интервал 0.9 */
    .catalog-header h2,
    #catalog h2 {
        font-size: clamp(27px, 10.2vw, 40px) !important; /* плавно уменьшается на узких экранах */
        line-height: 0.9 !important;
        white-space: normal !important; /* Убивает баг с вылетом строки вбок */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 10px 0 !important;
    }

    /* Возвращаем кнопку «Весь парк» под заголовок, чтобы она не улетала вправо */
    .catalog-header .btn-outline,
    .catalog-header a {
        position: static !important;
        display: inline-block !important;
        margin-top: 15px !important;
    }

    #cranes-container.cards-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Делаем каждую карточку внутри контейнера адаптивной */
    #cranes-container > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    /* 1. Отступы всей секции */
    #services.usage-section {
        position: relative !important;
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* Заголовки */
    #services .usage-title {
        font-size: clamp(27px, 10.2vw, 40px) !important; /* плавно уменьшается на узких экранах */
        line-height: 1.1 !important;
    }
    #services .usage-desc {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    /* 2. Контейнер слайдера */
    #services .slider-wrapper {
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Оставляем ваши страницы (.slider-page), но на мобилке делаем их вертикальными блоками */
    #services .slider-page {
        display: none !important; /* По умолчанию все страницы скрыты */
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Когда страница получает класс active от вашего скрипта — она показывается */
    #services .slider-page.active {
        display: flex !important;
    }

    /* Карточки внутри страниц на всю ширину */
    #services .tech-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    /* 4. Круглая кнопка справа ровно по центру блока */
    #toggle-btn.floating-btn {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        right: 0px !important;
        transform: translateY(-50%) !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        border-radius: 50% !important;
        background: #000 !important;
        color: #ffd700 !important;
        border: none !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 100 !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Плавный поворот кнопки на 180 градусов при наличии класса rotated */
    #toggle-btn.floating-btn.rotated {
        transform: translateY(-50%) rotate(180deg) !important;
        transition: transform 0.3s ease !important;
    }

    /* Чтобы сам переход трансформации был плавным в обе стороны */
    #toggle-btn.floating-btn {
        transition: transform 0.3s ease !important;
    }

    /* Жестко сбрасываем ширину и центрирование для всей секции */
    #contacts.consultation-block {
        width: 100% !important;
        max-width: calc(100vw - 40px) !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* Внутренний контейнер растягиваем на всю доступную ширину */
    #contacts .consultation-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }

    /* Плашка «Готовы помочь» ровно по левому краю */
    #contacts .consultation-content .badge2,
    #contacts .consultation-content [class*="badge"] {
        margin-left: 0 !important;
        margin-right: auto !important;
        display: inline-block !important;
    }

    /* Заголовок: 40px и межстрочный 0.9 */
    #contacts .consultation-content h2 {
        font-size: clamp(27px, 10.2vw, 40px) !important; /* плавно уменьшается на узких экранах */
        line-height: 0.9 !important;
        text-align: left !important;
    }

    #contacts .consultation-content p {
        text-align: left !important;
        font-size: 15px !important;
    }

    /* 1. Отступы 20px слева и справа для всей секции «О компании» */
    #about.about-company {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    /* Сброс лишних отступов у внутренних блоков */
    #about .about-text,
    #about .about-description {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Заголовок H2: 40px и межстрочный 0.9 */
    #about .about-text h2 {
        font-size: clamp(27px, 10.2vw, 40px) !important; /* плавно уменьшается на узких экранах */
        line-height: 0.9 !important;
        text-align: left !important;
        margin-bottom: 16px !important;
    }

    /* 2. Уменьшаем отступы между текстом (абзацами p) */
    #about p,
    #about .about-text p,
    #about .about-description p {
        font-size: 15px !important;
        line-height: 1.1 !important;
        text-align: left !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important; /* Компактный отступ между абзацами */
    }

    #about .about-description p:not(:last-child) {
        margin-bottom: 8px !important; /* Укажите нужное значение, например, 8px или 4px */
    }

    /* Жестко фиксируем блок второго столбца */
    #about .about-description {
        display: block !important;
        margin-top: 20px !important; /* Укажите нужный отступ от первого столбца */
    }

    /* Убираем лишние внешние отступы у абзацев внутри второго столбца */
    #about .about-description p {
        margin-top: 0 !important;
        margin-bottom: 8px !important; /* Можете поставить 4px или 0, чтобы сблизить их максимально */
    }

    /* Картинка */
    #about .about-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 15px !important;
        box-sizing: border-box !important;
    }
    
    #about .about-image img {
        width: 100% !important;
        height: auto !important;
        border-radius: 16px !important;
    }

    /* 1. Отступы 20px слева и справа для всей секции */
    #advantages.advantages-section {
        width: auto !important;
        max-width: 100% !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
        padding: 40px 16px !important;
        box-sizing: border-box !important;
    }

    /* Контейнеры внутри секции */
    #advantages .container,
    #advantages .container-2,
    #advantages .cards-grid2 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* 2. Заголовок H2: 40px и межстрочный интервал 0.9 */
    #advantages h2 {
        font-size: clamp(27px, 10.2vw, 40px) !important; /* плавно уменьшается на узких экранах */
        line-height: 0.9 !important;
        text-align: left !important;
        margin-bottom: 12px !important;
    }

    /* Подзаголовок и текст в шапке секции */
    #advantages .subtitle {
        font-size: 15px !important;
        line-height: 1.3 !important;
        text-align: left !important;
        margin-bottom: 20px !important;
    }

    /* Сетка карточек */
    #advantages .cards-grid2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    /* Каждая отдельная карточка */
    #advantages .card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Текст внутри карточек p: 15px */
    #advantages .card p {
        font-size: 15px !important;
        line-height: 1.3 !important;
        text-align: left !important;
    }

     /* 1. Сам черный блок растягивается на всю ширину экрана без внешних отступов */
    .catalog-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .footer.footer,
    .footer {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 40px 20px !important;
        box-sizing: border-box !important;
        
    }

    /* 2. Внутренняя сетка футера выстраивается колонкой */
    footer.footer .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }

    /* 3. Колонки футера */
    footer.footer .footer-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }

    /* 4. Списки меню */
    footer.footer .footer-col ul {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    footer.footer .footer-col ul li {
        margin-bottom: 8px !important;
    }

    /* 5. Текст, заголовки и ссылки */
    footer.footer h4 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        text-align: left !important;
    }

   /* Сбрасываем разрывы и делаем желтый блок единым целым от края до края */
    .catalog-hero {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 40px 20px !important; /* Внутренние отступы: слева и справа ровно по 20px */
        box-sizing: border-box !important;
        background-color: #ffd600 !important; /* Убедитесь, что цвет желтый */
        border-radius: 0 0 24px 24px !important;
    }

    .catalog-hero .catalog-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Заголовок H1: 40px и межстрочный 0.9 */
    .catalog-hero h1 {
        font-size: clamp(30px, 11.2vw, 44px) !important; /* плавно уменьшается на узких экранах */
        line-height: 0.9 !important;
        text-align: left !important;
        margin-bottom: 16px !important;
    }

    /* Текст описания p */
    .catalog-hero p {
        font-size: 15px !important;
        line-height: 1.4 !important;
        text-align: left !important;
        margin: 0 !important;
        text-wrap: pretty;
    }

    /* Кнопки фильтров сразу под желтым блоком с отступами по бокам */
    .filter-bar {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        margin-top: 20px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* 1. Контейнер карточек техники: отступы слева и справа по 20px */
    #cranes-container.cards-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    /* 2. Каждая отдельная карточка техники */
    #cranes-container .card,
    .cards-grid .card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }


    
    /* Сетка и секции */
    .cards-grid, .cards-grid2 { grid-template-columns: 1fr !important; }
    .about-company, .advantages-section { margin: 20px !important; padding: 20px !important; }
    .consultation-block { flex-direction: column; text-align: center; }
}


/* ====================================================================== */
/* МАСШТАБИРОВАНИЕ ТЕКСТА И ЭЛЕМЕНТОВ ОТ ШИРИНЫ ЭКРАНА (только десктоп)    */
/* Формула: clamp(минимум, значение в vw, исходный размер).                */
/* Исходный размер достигается на ширине ~1333px и выше, ниже — плавно     */
/* уменьшается, при расширении окна — так же плавно растёт обратно.        */
/* Мобильная версия (до 768px) не затрагивается.                           */
/* ====================================================================== */
@media (min-width: 769px) {

    /* ---------- ШАПКА ---------- */
    .header-container {
        max-width: 1420px;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .logo-container { gap: clamp(6px, 0.75vw, 10px); }
    .logo-container img { height: clamp(34px, 3.75vw, 50px); }
    .logo-text { font-size: clamp(13px, 1.5vw, 20px); }
    .nav-links { gap: clamp(12px, 2.25vw, 30px); }
    .nav-links a { font-size: clamp(12px, 1.2vw, 16px); white-space: nowrap; }
    .phone-dropdown {
        width: clamp(190px, 18.75vw, 250px);
        padding: clamp(7px, 0.75vw, 10px) clamp(10px, 1.5vw, 20px);
    }
    .phone-header { gap: clamp(6px, 0.75vw, 10px); }
    .phone-header strong,
    .phone-list div { font-size: clamp(12px, 1.2vw, 16px); }

    /* ---------- HERO ---------- */
    /* линия желтого фона идёт по тому же месту относительно кнопок на любой ширине */
    .hero-yellow-bg { height: clamp(314px, calc(115px + 25.9vw), 460px); }
    .content-container { padding-top: clamp(30px, 3.75vw, 50px); }
    .badge {
        font-size: clamp(10px, 0.9vw, 12px);
        padding: clamp(4px, 0.4vw, 5px) clamp(10px, 1.1vw, 15px);
        margin-bottom: clamp(12px, 1.5vw, 20px);
    }
    h1 {
        font-size: clamp(28px, 3.75vw, 50px);
        margin-bottom: clamp(16px, 2.25vw, 30px);
    }
    ul.features { margin-bottom: clamp(20px, 3vw, 40px); }
    .features li {
        font-size: clamp(12px, 1.2vw, 16px);
        margin-bottom: clamp(6px, 0.75vw, 10px);
    }
    .buttons a,
    .buttons .btn-red,
    .buttons .btn-white {
        font-size: clamp(11px, 1.05vw, 14px);
        padding: clamp(10px, 1.1vw, 15px) clamp(18px, 2.25vw, 30px);
    }
    .crane-card { padding: clamp(12px, 1.5vw, 20px); }
    .photo-placeholder { min-height: clamp(180px, 22.5vw, 300px); }
    .crane-card .separator { margin: clamp(12px, 1.5vw, 20px) 0; }
    .text-info h3 { font-size: clamp(14px, 1.5vw, 20px); }
    .text-info p { font-size: clamp(11px, 1.05vw, 14px); }
    .price-btn {
        font-size: clamp(11px, 1vw, 13.33px);
        padding: clamp(8px, 0.9vw, 12px) clamp(14px, 1.9vw, 25px);
    }
    .stats-white {
        margin-top: clamp(10px, 1.5vw, 20px); /* зазор между кнопками и статистикой */
        gap: clamp(16px, 3.5vw, 48px);
    }
    .stat-item { font-size: clamp(10px, 0.9vw, 12px); }
    .stat-item strong { font-size: clamp(20px, 2.25vw, 30px); }

    /* ---------- КАТАЛОГ (карточки техники) ---------- */
    .crane-card2 { height: clamp(470px, 45vw, 600px); }
    .card-header2 { height: clamp(250px, 24.4vw, 325px); padding: clamp(12px, 1.5vw, 20px); }
    .card-body { padding: clamp(16px, 1.9vw, 25px); }
    .category-badge { font-size: clamp(9px, 0.75vw, 10px); }
    .card-body h3 { font-size: clamp(15px, 1.65vw, 22px); }
    .specs li { font-size: clamp(11.5px, 1.05vw, 14px); }
    .price { font-size: clamp(14px, 1.35vw, 18px); }
    .btn-red { padding: clamp(9px, 0.9vw, 12px) clamp(16px, 1.8vw, 24px); }
    .btn-red .btn-text { font-size: clamp(12px, 1.2vw, 16px); }
    .btn-red .phone-number { font-size: clamp(11px, 0.975vw, 13px); }

    /* ---------- «ГДЕ МЫ РАБОТАЕМ» ---------- */
    .usage-title { font-size: clamp(26px, 3.6vw, 48px); }
    .usage-desc {
        font-size: clamp(13px, 1.35vw, 18px);
        margin-bottom: clamp(18px, 2.25vw, 30px);
    }
    .tech-card {
        padding: clamp(14px, 1.9vw, 25px);
        height: clamp(100px, 10.5vw, 140px);
        border-radius: clamp(20px, 2.25vw, 30px);
    }
    .icon-box {
        width: clamp(36px, 3.75vw, 50px);
        height: clamp(36px, 3.75vw, 50px);
        margin-right: clamp(12px, 1.5vw, 20px);
    }
    .icon-box img { width: clamp(18px, 1.9vw, 25px); height: clamp(18px, 1.9vw, 25px); }
    .text-box h3 { font-size: clamp(13px, 1.35vw, 18px); }
    .text-box p { font-size: clamp(11px, 1.05vw, 14px); }

    /* ---------- КОНТАКТЫ (чёрный блок) ---------- */
    .consultation-block {
        padding: clamp(20px, 2.25vw, 30px) clamp(20px, 3vw, 40px);
        border-radius: clamp(22px, 2.25vw, 30px);
    }
    .badge2 { font-size: clamp(10px, 0.9vw, 12px); }
    .consultation-content h2 { font-size: clamp(26px, 3.6vw, 48px); }
    .consultation-content p { font-size: clamp(13px, 1.2vw, 16px); }
    .btn-call, .btn-whatsapp {
        font-size: clamp(11px, 1vw, 13.33px);
        padding: clamp(10px, 1.1vw, 15px) clamp(20px, 2.25vw, 30px);
    }

    /* ---------- О КОМПАНИИ ---------- */
    .about-company {
        gap: clamp(20px, 3vw, 40px);
        padding: clamp(36px, 4.5vw, 60px) 20px;
    }
    .about-text h2 { font-size: clamp(26px, 3.6vw, 48px); }
    .about-text p,
    .about-description p { font-size: clamp(12px, 1.2vw, 16px); }
    .about-description,
    .about-image { margin-top: clamp(30px, 3.7vw, 49px); }
    .image-label { font-size: clamp(11px, 1.05vw, 14px); bottom: clamp(10px, 1.5vw, 20px); left: clamp(10px, 1.5vw, 20px); }

    /* ---------- ФУТЕР ---------- */
    .footer {
        padding: clamp(28px, 3vw, 40px) 20px;
        margin-top: clamp(60px, 7.5vw, 100px);
    }
    .footer-logo-box h3 { font-size: clamp(14px, 1.4vw, 18.72px); }
    .footer-col h4 { font-size: clamp(13px, 1.2vw, 16px); }
    .footer-col ul li a,
    .footer-col p { font-size: clamp(11px, 0.975vw, 13px); }
}


/* ====================================================================== */
/* СТРАНИЦА КАТАЛОГА (catalog.html): та же «линейка» и масштабирование     */
/* ====================================================================== */
@media (min-width: 769px) {

    /* Жёлтый блок остаётся на всю ширину, а содержимое встаёт в рамку 1420px (+20px по бокам),
       как у шапки, карточек и главной страницы */
    .catalog-hero {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: clamp(8px, 0.9vw, 12px);
        padding-bottom: clamp(18px, 2vw, 28px);
        border-radius: 0 0 clamp(36px, 4.5vw, 60px) clamp(36px, 4.5vw, 60px);
    }
    .catalog-hero > .catalog-content {
        max-width: 1420px;
        margin: 0 auto !important;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .back-link {
        font-size: clamp(12px, 1.2vw, 16px);
        margin-bottom: clamp(12px, 1.5vw, 20px);
    }
    .catalog-hero p {
        font-size: clamp(12px, 1.2vw, 16px);
        max-width: 26em; /* текст не заходит правее пункта меню «Техника»; em масштабируется вместе со шрифтом */
        text-wrap: pretty; /* аккуратные переносы без одиноких слов в конце */
    }

    /* Фильтры: та же рамка, переносятся на новую строку, если не помещаются */
    .filter-bar {
        max-width: 1420px;
        margin: clamp(14px, 1.5vw, 20px) auto;
        padding: 0 20px;
        flex-wrap: wrap;
        gap: clamp(8px, 1.1vw, 15px);
    }
    .filter-btn {
        font-size: clamp(11px, 1vw, 13.33px);
        padding: clamp(7px, 0.75vw, 10px) clamp(12px, 1.5vw, 20px);
    }
}


/* ---------- ФУТЕР: ссылки, мессенджеры, нижняя строка ---------- */
.footer-col p a,
.footer-col ul li a { color: #ccc; text-decoration: none; transition: color 0.2s; }
.footer-col p a:hover,
.footer-col ul li a:hover { color: #fff; }

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff; /* белый круг, чтобы чёрные иконки были видны на тёмном фоне */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.footer-socials a:hover { transform: scale(1.1); }
.footer-socials img { width: 22px; height: 22px; object-fit: contain; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
    max-width: 1370px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
    font-size: 12px;
    color: #888;
}

/* Адаптация под разные телефоны */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
h1, h2, h3 { overflow-wrap: break-word; }
img { max-width: 100%; }

/* ---------- Кнопки на главной: положение относительно жёлтого блока ---------- */
/* Компьютер: обе кнопки чуть ниже, чтобы почти касались жёлтого блока, но стояли на белом */
@media (min-width: 769px) {
    .hero-left .buttons {
        position: relative;
        top: clamp(6px, 0.8vw, 12px); /* масштабируется вместе с шириной экрана */
    }
}

/* Телефон: обе кнопки внутри жёлтого блока, расстояние между ними небольшое */
@media (max-width: 768px) {
    .hero-left .buttons {
        gap: 12px !important;
    }
}

/* ---------- Заголовок главной: союз «и» ---------- */
/* Компьютер: «автокранов» / «и спецтехники». Телефон: «автокранов и» / «спецтехники» */
h1 span.and-mobile,
h1 span.and-desktop {
    border-bottom: none;
    display: inline;
}
h1 span.and-mobile { display: none; }

@media (max-width: 768px) {
    h1 span.and-mobile { display: inline; }
    h1 span.and-desktop { display: none; }
}

/* Телефон: жёлтый блок главной опущен ниже, чтобы обе кнопки целиком были на жёлтом фоне */
@media (max-width: 768px) {
    .hero-yellow-bg { height: 505px; } /* было 460px; меняйте число, чтобы поднять или опустить нижнюю линию */
}

/* Галочки в списке: кружок не сжимается, когда текст переносится на вторую строку */
.yellow-dot {
    flex: 0 0 auto;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .yellow-dot {
        flex: 0 0 20px;
        min-width: 20px;
        min-height: 20px;
    }
}

/* Телефон, «Почему выбирают нас»: заголовок карточки в одной строке с иконкой, текст крупнее */
@media (max-width: 768px) {
    #advantages .card {
        display: grid !important;
        grid-template-columns: auto 1fr;
        column-gap: 14px;
        align-items: center;
    }
    #advantages .card .icon {
        margin-bottom: 0;
    }
    #advantages .card h3 {
        margin: 0;
        font-size: clamp(18px, 5.6vw, 23px) !important; /* было около 12px — теперь заголовок хорошо виден */
        font-weight: 800 !important;
        line-height: 1.15;
        color: #000;
    }
    #advantages .card p {
        grid-column: 1 / -1; /* описание на всю ширину под иконкой и заголовком */
        margin: 14px 0 0;
        font-weight: 400;
        color: #555; /* описание спокойнее, чтобы заголовок выделялся */
    }
}

/* ---------- «О компании» ---------- */
/* Компьютер: колонка 1 — заголовок, колонка 2 — весь текст, колонка 3 — фото крана */
@media (min-width: 769px) {
    .about-description { gap: clamp(16px, 1.8vw, 24px); }
}

/* Телефон: одна колонка обычным текстом, фото крана скрыто */
@media (max-width: 768px) {
    #about.about-company {
        display: block !important;
    }
    #about .about-description {
        display: block !important;
        margin-top: 0 !important;
    }
    #about .about-description p,
    #about .about-text p {
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    #about .about-image {
        display: none !important;
    }
}

/* Телефон, «О компании»: заголовок «Надёжная техника — точный результат.» крупнее (было до 40px) */
@media (max-width: 768px) {
    #about .about-text h2 {
        font-size: clamp(36px, 15vw, 60px) !important;
    }
}

/* Номера в выпадающем списке шапки выглядят как обычный текст, но нажимаются */
.phone-list a {
    color: inherit;
    text-decoration: none;
}

/* Телефон: красная кнопка не прилипает к тексту над ней */
@media (max-width: 768px) {
    #contacts .consultation-actions {
        margin-top: 24px !important;
    }
}

/* ---------- Кнопка «Наверх» ---------- */
.to-top {
    position: fixed;
    right: 20px;
    bottom: calc(24px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #111;
    color: #FFD600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s, bottom 0.25s;
    z-index: 900;
    padding: 0;
}
.to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.to-top:hover { background: #000; }

/* ---------- Уведомление о cookie ---------- */
.cookie-banner {
    position: fixed;
    left: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    max-width: 520px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    line-height: 1.4;
    color: #222;
    z-index: 1000;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: #222; text-decoration: underline; }
.cookie-banner button {
    flex: 0 0 auto;
    padding: 10px 22px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.cookie-banner button:hover { background: #000; }

@media (max-width: 600px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        max-width: none;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    .cookie-banner button { width: 100%; }
    .to-top { right: 14px; }
}

/* Ссылка на политику в подвале */
.footer-bottom a { color: #aaa; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Номер в шапке: ссылка выглядит как обычный текст ---------- */
.phone-header a { color: inherit; text-decoration: none; }

/* ---------- Совместимость: Android, Chrome, Яндекс Браузер, Firefox ---------- */
:root { color-scheme: light; } /* запрещаем автоматическое затемнение страницы в тёмной теме браузера */
html { -moz-text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; } /* без серой вспышки при нажатии на Android */
button, .btn-red, .btn-white, .btn-call, .btn-whatsapp, .to-top {
    touch-action: manipulation; /* без задержки и случайного увеличения при двойном нажатии */
    font-family: inherit;
}
button::-moz-focus-inner { border: 0; padding: 0; } /* Firefox: убирает лишнюю рамку внутри кнопок */
@supports (overflow: clip) {
    body { overflow-x: clip; } /* страница не уезжает вбок, не ломая закреплённую шапку */
}

/* ---------- Телефон: компактный подвал ---------- */
@media (max-width: 768px) {
    footer.footer { padding: 24px 20px 18px !important; }
    footer.footer .footer-grid { gap: 14px !important; }

    /* Заголовки колонок и длинное описание не нужны */
    footer.footer .footer-col h4 { display: none !important; }
    footer.footer .footer-col:nth-child(1) p { display: none !important; }

    /* Логотип и название в одну строку, поменьше */
    footer.footer .footer-logo { max-height: 30px; width: auto; }
    footer.footer .footer-logo-box h3 { font-size: 16px !important; }

    /* Меню — в строку, с переносом */
    footer.footer .footer-col ul {
        display: flex !important;
        flex-wrap: wrap;
        gap: 6px 18px !important;
    }
    footer.footer .footer-col ul li { margin: 0 !important; }

    /* Телефоны и почта — компактным блоком */
    footer.footer .footer-col:nth-child(3) {
        display: flex !important;
        flex-wrap: wrap;
        gap: 6px 18px;
    }
    footer.footer .footer-col:nth-child(3) p { margin: 0 !important; }

    footer.footer .footer-col ul li a,
    footer.footer .footer-col p { font-size: 14px !important; }

    /* Кнопка «Написать нам» убрана, остаются иконки мессенджеров */
    footer.footer .footer-col:nth-child(4) .btn-red { display: none !important; }
    footer.footer .footer-socials { margin-top: 0; }
    footer.footer .footer-socials a { width: 36px; height: 36px; }
    footer.footer .footer-socials img { width: 20px; height: 20px; }

    /* Нижняя строка: мелким шрифтом, друг под другом */
    footer.footer .footer-bottom {
        flex-direction: column;
        gap: 4px;
        margin-top: 14px;
        padding-top: 12px;
        font-size: 11px;
    }
}

/* ---------- Закреплённая шапка ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    padding: 0 0 15px; /* сверху — полоса с акциями */
}
/* Отступ под шапку: высоту точно задаёт скрипт, значения ниже — запасные */
body.has-fixed-header { padding-top: var(--header-h, 72px); }

/* Кнопка «Оставить заявку» в шапке (на компьютере от 1100px; на телефоне — после прокрутки) */
.header-cta {
    display: none;
    background: #e53935;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 50px;
    padding: clamp(9px, 0.9vw, 12px) clamp(16px, 1.6vw, 24px);
    font-size: clamp(12px, 1.1vw, 15px);
    transition: background 0.2s;
}
.header-cta:hover { background: #c62828; }
@media (min-width: 1100px) {
    .header-cta { display: inline-block; }
}

@media (max-width: 768px) {
    body.has-fixed-header { padding-top: var(--header-h, 118px); }
    .header { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); }

    /* Телефон: сверху логотип и название, под ними номер телефона и «Оставить заявку» */
    .header .header-container {
        display: grid !important;
        grid-template-columns: 1fr auto;
        column-gap: 8px !important;
        row-gap: 8px !important;
        align-items: start !important;
        padding: 10px 12px 6px !important;
    }
    .header .logo-container { grid-column: 1 / -1; }
    .header .phone-dropdown { width: auto !important; min-width: 0; }
    .header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        box-sizing: border-box;
        padding: 0 16px;
        font-size: 13px;
    }

}

/* Телефонные ссылки выглядят как обычный текст (не синие, без подчёркивания) */
a[href^="tel:"] { color: inherit; text-decoration: none; }

/* Компьютер: заголовок «Надёжная техника — точный результат» крупнее */
@media (min-width: 769px) {
    .about-text h2 { font-size: clamp(34px, 5.4vw, 74px); }
}

/* ---------- Полоса с акциями (бегущая строка) ---------- */
.promo-bar {
    background: #111;
    color: #FFD600;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 14px;
}
.promo-track {
    display: inline-flex;
    animation: promo-scroll 32s linear infinite;
}
.promo-track:hover { animation-play-state: paused; }
.promo-group { display: inline-flex; flex: 0 0 auto; }
.promo-group span { padding: 9px 0; }
.promo-group span::after { content: "\2022"; margin: 0 26px; opacity: 0.6; }
@keyframes promo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .promo-track { animation: none; }
}
@media (max-width: 768px) {
    .promo-bar { margin-bottom: 0; }
}

/* ---------- Номер в шапке: раскрывающийся список не сдвигает цифры ---------- */
.phone-dropdown { position: relative; }
.phone-dropdown .separator { display: none; }
.phone-header strong { font-size: clamp(11px, 1.05vw, 14px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.phone-header strong a { font-size: inherit; }
.phone-list {
    position: absolute;
    left: -1px;
    right: -1px;
    top: 100%;
    box-sizing: border-box;
    padding: 0 12px;
    background: #FFD600;
    border: 1px solid #000;
    border-top: none;
    border-radius: 0 0 24px 24px;
    pointer-events: none;
    z-index: 5;
}
.phone-dropdown.active { border-radius: 24px 24px 0 0; }
.phone-dropdown.active .phone-list {
    max-height: 120px;
    padding: 4px 12px 10px;
    pointer-events: auto;
}
.phone-list div { font-size: clamp(11px, 1.05vw, 14px); white-space: nowrap; }
@media (max-width: 768px) {
    .phone-header strong, .phone-list div { font-size: 15px; }
}

/* Логотип в шапке — ссылка на главную */
.logo-container { color: inherit; text-decoration: none; cursor: pointer; }

/* Телефон: логотип слева (как на компьютере), «номер» и «Оставить заявку» — одинакового размера */
@media (max-width: 768px) {
    .header .logo-container { justify-content: center !important; }
    .header .phone-dropdown {
        box-sizing: border-box;
        min-height: 44px;
        padding: 0 12px !important;
        justify-content: center;
    }
    .header .phone-header { gap: 8px; min-height: 42px; }
    .header .phone-icon { width: 16px; height: auto; }
    .header .phone-header strong,
    .header .phone-list div { font-size: clamp(11.5px, 3.4vw, 14px) !important; }
    .header-cta {
        min-height: 44px;
        padding: 0 14px;
        font-size: clamp(11.5px, 3.4vw, 14px);
    }
}

/* ---------- Телефон: компактная шапка с закреплённой бегущей полосой ---------- */
@media (max-width: 768px) {
    .header { padding-bottom: 6px; }

    /* Полоса с акциями закреплена вместе с шапкой и всегда видна */
    .header .promo-bar { font-size: 12px; margin-bottom: 0; }
    .header .promo-group span { padding: 6px 0; }
    .header .promo-group span::after { margin: 0 16px; }

    .header .header-container {
        padding: 6px 10px 2px !important;
        row-gap: 6px !important;
        column-gap: 6px !important;
    }

    /* Логотип и название поменьше */
    .header .logo-container { gap: 8px; }
    .header .logo-container img { height: 26px; }
    .header .logo-text { font-size: 15px; }

    /* Кнопки поменьше: номер телефона и «Оставить заявку» */
    .header .phone-dropdown { min-height: 36px; padding: 0 10px !important; }
    .header .phone-header { min-height: 34px; gap: 6px; }
    .header .phone-icon { width: 13px; }
    .header .arrow { width: 10px; }
    .header .phone-header strong,
    .header .phone-list div { font-size: clamp(11px, 3.2vw, 13px) !important; }
    .header-cta {
        min-height: 36px;
        padding: 0 12px;
        font-size: clamp(11px, 3.2vw, 13px);
    }
}

/* ---------- Бегущая полоса в виде сигнальной ленты (картинка lenta.png) ---------- */
.promo-bar {
    background: #FFC800 url("lenta.png") repeat-x 0 0 / 32px 40px; /* плитка 4 полоски, бесшовная */
    color: #111;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    font-weight: 700;
}
.promo-group span { padding: 0; }
.promo-group span::after { opacity: 1; }
@media (max-width: 768px) {
    .header .promo-bar {
        height: 34px;
        line-height: 34px;
        font-size: 12px;
        background-size: 27px 34px;
    }
    .header .promo-group span { padding: 0; }
}
