/* ==================================== */
/* 0. Общие стили и сброс */
/* ==================================== */
body {
    /* Используем современный, легко читаемый шрифт */
    font-family: 'Open Sans', sans-serif; 
    margin: 0;
    padding: 0;
    color: #373632; /* Основной цвет текста: темно-серый */
    background-color: #f4f4f4; /* Светлый серый фон */
    line-height: 1.6;
    scroll-behavior: smooth;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
a {
    text-decoration: none;
    color: #f9ac00; /* Акцентный цвет для ссылок */
    transition: color 0.3s;
}
a:hover {
    color: #373632;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
section {
    padding: 60px 0; 
}
h2 {
    /* Используем акцентный шрифт для заголовков */
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #373632;
    text-transform: uppercase;
    font-weight: 900; 
}
h3 {
    font-family: 'Montserrat', sans-serif;
}
.btn {
    padding: 14px 30px; 
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.1s;
    display: inline-block;
    text-align: center;
    line-height: 1; 
}
.primary-btn {
    background-color: #f9ac00; /* Яркий акцентный цвет */
    color: #373632; 
}
.primary-btn:hover {
    background-color: #e39b00;
    transform: translateY(-2px);
}
.secondary-btn {
    background-color: #373632;
    color: white;
}
.secondary-btn:hover {
    background-color: #555;
}
.large-btn {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}
input, select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}


/* ==================================== */
/* 1. Стили ШАПКИ (HEADER) */
/* ==================================== */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
}
.header__info-top {
    background-color: #f4f4f4; 
    color: #373632;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a {
    margin-left: 20px;
}
.work-schedule {
     margin-left: auto;
     font-weight: 600;
}
.whatsapp-link {
    background-color: #f9ac00; 
    color: #373632;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.header__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo {
    font-size: 32px;
    font-weight: 900;
    color: #373632;
}

/* Навигация */
.main-nav-full ul {
    display: flex;
    gap: 20px;
}
.main-nav-full a {
    color: #373632;
    font-weight: 600;
    padding: 5px 0;
    display: block;
}
.main-nav-full a.active {
    color: #f9ac00;
}
.main-nav-full a:hover {
    color: #f9ac00;
    border-bottom: 2px solid #f9ac00; 
}
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 250px;
    padding: 10px 0;
    border-radius: 4px;
}
.dropdown:hover .dropdown-menu {
    display: block; 
}
.dropdown-menu li a {
    padding: 8px 15px;
    font-weight: normal;
    font-size: 15px;
    color: #373632;
    border-bottom: none;
}
.dropdown-menu li a:hover {
    background-color: #f4f4f4;
}


/* ==================================== */
/* 2. Стили ГЛАВНОГО ЭКРАНА (HERO-SECTION) */
/* ==================================== */
.hero-section {
    padding: 40px 0;
    background-color: white;
}
.hero-grid {
    display: grid;
    grid-template-columns: 350px 1fr; 
    gap: 30px;
    min-height: 450px; 
}

/* --- ЛЕВАЯ КОЛОНКА (ФОРМА) --- */
.calculator-panel {
    background-color: #f4f4f4;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.calculator-header-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #373632;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.calc-step-info {
    font-size: 15px;
    margin-bottom: 15px;
    color: #666;
}
.calc-step-number {
    font-weight: bold;
    color: #373632;
}
.address-input-group {
    margin-bottom: 15px;
}
.address-input-group label {
    display: block;
    font-size: 13px;
    color: #373632;
    margin-bottom: 5px;
}
.input-with-icon {
    position: relative;
}
.icon-map, .icon-calendar {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #f9ac00;
    pointer-events: none;
}
.add-address-link {
    display: block;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
}
/* Кнопки времени подачи */
.time-select-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #373632;
}
.radio-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.time-option {
    flex-grow: 1;
    background-color: white;
    border: 1px solid #ddd;
    color: #373632;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s, border-color 0.2s;
}
.time-option.active {
    background-color: #373632;
    color: white;
    border-color: #373632;
    font-weight: 700;
}
.datetime-group {
    display: flex;
    gap: 20px;
}
.datetime-group > div {
    flex: 1;
}
.datetime-group label {
    font-size: 13px;
    color: #373632;
    margin-bottom: 5px;
}

/* --- ПРАВАЯ КОЛОНКА (БАННЕР: ОБНОВЛЕННЫЕ СТИЛЫ) --- */
.banner-area {
    /* Основной контейнер для фона и всего контента */
    position: relative;
    min-height: 550px; 
    border-radius: 8px;
    overflow: hidden;
    background-color: #373632; 
    
    /* Фоновое изображение (укажите путь к вашему изображению) */
    background-image: url('img/blank-cargo-truck-road.jpg');
    background-size: cover; 
    background-position: center center;
    background-repeat: no-repeat;
    display: flex; 
    align-items: center; 
    justify-content: center;
}

/* Затемняющий слой поверх изображения для читаемости текста */
.banner-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

/* Обёртка для всего контента поверх фона */
.banner-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    /* Упрощаем сетку: Заголовок и Карточки */
    grid-template-rows: auto auto; 
    gap: 25px; /* Отступ между заголовком и карточками */
    padding: 25px;
    max-width: 1100px; /* Увеличиваем ширину для размещения карточек */
    margin: 0 auto;
}

/* Заголовок и подзаголовок */
.hero-text-overlay {
    text-align: center;
    margin-bottom: 0;
}
.hero-text-overlay h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px; 
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    color: white; 
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}
.hero-text-overlay .subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    color: white; /* Подзаголовок белый */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


/* --- КОНТЕЙНЕР ДЛЯ ВСЕХ 4 КАРТОЧЕК --- */
.banner-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4 колонки одинаковой ширины */
    gap: 10px; /* Уменьшаем зазор между карточками */
}

/* --- ОБЩИЕ СТИЛИ КАРТОЧЕК (offer-card и feature-card) --- */
.offer-card, .feature-card {
    padding: 15px 10px; /* Уменьшаем отступы для компактности */
    border-radius: 8px; 
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white; /* Весь текст белый */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.offer-card:hover, .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* Стили для контейнера иконки */
.card-icon {
    width: 48px; 
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    line-height: 1;
}
/* Стили для PNG-изображений внутри контейнера иконки */
.card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Гарантируем, что иконки будут белыми на темном фоне */
    filter: brightness(0) invert(1);
}


/* 1. offer-card: Быстрый заказ (уникальные элементы) */
.offer-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px; 
    font-weight: 900;
    margin: 0 0 4px;
    text-transform: uppercase;
    color: white; 
}
.price-highlight {
    font-size: 24px; 
    font-weight: 900;
    color: #f9ac00; /* Акцентный цвет для стоимости */
    display: block;
    text-shadow: none;
    line-height: 1.2;
}

/* 2. detailed-service: Под ключ */
.detailed-service {
    text-align: center;
}
.detailed-service h3 {
    color: white; 
    margin-bottom: 0;
}
.detailed-service p {
    font-size: 13px; 
    margin: 4px 0 0;
    color: #ccc; /* Светлый текст для параграфа */
}

/* 3. и 4. feature-card: Круглосуточно и Грузчики */
.feature-card h3 {
    font-size: 16px; 
    font-weight: 700;
    margin: 0 0 4px;
    color: white;
    text-align: center;
}
.feature-detail {
    font-size: 13px;
    margin: 0;
    color: #ccc;
    text-align: center;
}
.feature-detail strong {
    color: #f9ac00;
}

/* --- Дополнительные стили для блока ИТОГО в калькуляторе --- */
.btTotalNextWrapper {
    /* Обеспечиваем выравнивание элементов и отступы */
    padding-top: 20px;
    border-top: 1px solid #ddd;
    margin-top: 10px;
}
.btQuoteTotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}
.btQuoteTotalText {
    font-size: 18px;
    font-weight: 600;
    color: #373632;
}
.btQuoteTotalCalc {
    font-size: 32px;
    font-weight: 900;
    color: #f9ac00;
    line-height: 1;
}
.btQuoteTotalCurrency {
    font-size: 16px;
    font-weight: 600;
    color: #373632;
}

/* --- Стилизация кнопки как в оригинальном плагине (Оставить заявку) --- */
.btTotalNextWrapper .primary-btn {
    /* Сбрасываем старые стили large-btn */
    padding: 10px 25px;
    
    /* Основные стили */
    background-color: #f9ac00; 
    color: #373632;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    
    /* Размещение иконки/стрелки */
    position: relative;
    display: flex; /* Используем Flexbox для выравнивания текста и иконки */
    align-items: center;
    justify-content: center;
    gap: 8px; /* Расстояние между текстом и иконкой */
    
    /* Выравниваем кнопку по правому краю */
    margin-left: auto;
}
.btTotalNextWrapper .primary-btn:hover {
    background-color: #e39b00;
}
.calc-details-info {
    font-size: 16px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.calc-details-info p {
    margin: 5px 0;
}

.calc-details-info span {
    font-weight: 700;
    color: #f9ac00; /* Ваш акцентный цвет */
}
/* Изменяем ID для вывода цены в час, чтобы он не конфликтовал */
#hourly-price {
    font-size: 30px; 
    font-weight: 900;
}
/* ==================================== */
/* 3. Стили БЛОКА УСЛУГ (SERVICES) */
/* ==================================== */
.services-block {
    padding: 60px 0;
    background-color: white;
}

/* Сетка для всех 12 карточек */
.services-grid {
    display: grid;
    /* 4 колонки на больших экранах, как в примере */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}

/* Стиль отдельной карточки услуги */
.service-item {
    background-color: white; /* Белый фон */
    padding: 20px;
    border-radius: 4px; 
    border: 1px solid #eee; /* Легкая рамка */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Легкая тень */
    transition: box-shadow 0.3s;
    text-align: left;
}
.service-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Иконка */
.service-icon {
    float: left; /* Размещаем слева */
    margin-right: 15px;
    font-size: 32px;
    color: #f9ac00; /* Оранжевый акцентный цвет */
    /* Если используются PNG: */
    /* width: 32px; height: 32px; */
}

/* Заголовок */
.service-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #373632;
    margin: 0;
    /* Очищаем обтекание, чтобы текст начинался ниже иконки */
    overflow: hidden; 
    line-height: 1.2;
    padding-top: 5px; /* Небольшой отступ сверху */
}

/* Краткое описание */
.service-description {
    font-size: 14px;
    color: #666;
    margin: 10px 0 10px;
    clear: both; /* Обязательно, чтобы описание начиналось под иконкой */
    min-height: 40px; /* Чтобы все карточки были одинаковой высоты */
}

/* Цена */
.service-price {
    font-size: 16px;
    font-weight: 700;
    color: #f9ac00; /* Оранжевый акцентный цвет */
    margin-top: 5px;
}
.service-price.link {
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1024px) {
    /* 3 колонки на планшетах */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    /* 2 колонки на узких экранах */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-item {
        padding: 15px;
    }
    .service-icon {
        font-size: 28px;
    }
}
@media (max-width: 480px) {
    /* 1 колонка на мобильных */
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================== */
/* 4. БЛОК АВТОПАРКА (TRANSPORT-PRICES) */
/* ==================================== */
.transport-prices {
    background-color: #f4f4f4;
    padding: 60px 0;
}

.price-note {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* 1. СТИЛИ КАРТОЧКИ И ВЫРАВНИВАНИЕ (Flexbox) */
.transport-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    
    background-color: white;
    padding: 20px; /* Скорректирован для компактности */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.transport-card .btn {
    margin-top: auto; /* Прижимает кнопку к низу */
}


/* 2. СТИЛИЗАЦИЯ СЛАЙДЕРА (Вместо transport-image) */
.transport-slider {
    position: relative;
    width: 100%;
    height: 250px; /* Фиксированная высота для всех слайдеров */
    margin-bottom: 20px;
    overflow: hidden; 
    border-radius: 4px;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out; 
}

.slide-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; 
}

.slide-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Стилизация Индикаторов (точек) */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, background-color 0.3s;
}

.dot.active {
    opacity: 1;
    background-color: #f9ac00;
}


/* 3. ОСНОВНЫЕ ХАРАКТЕРИСТИКИ И ЦЕНЫ */
.specs {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.price {
    font-size: 52px;
    color: #f9ac00;
    font-weight: bold;
    line-height: 1;
}

.unit {
    font-size: 18px;
    font-weight: normal;
    color: #373632;
    display: block;
    margin-top: 10px;
}

.price-extra {
    margin: 5px 0 15px;
    font-size: 16px;
    color: #333;
}


/* 4. СВОРАЧИВАЕМЫЙ КОНТЕНТ (ПОДРОБНЕЕ) */
.collapsible-content {
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.4s ease-out; 
    padding-top: 0;
}

.collapsible-content.active {
    max-height: 500px; 
    padding-top: 10px; /* Скорректирован для компактности */
}

/* Стили технических деталей */
.transport-details {
    margin: 0 0 10px; /* Уменьшаем отступ */
    padding: 10px 0;
    border-top: 1px dashed #ddd; 
}

.transport-details p {
    margin: 0 0 2px; /* Уменьшен отступ между строками */
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.car-model {
    font-weight: 600;
    color: #373632;
    margin-bottom: 5px !important;
}

.car-dimens {
    color: #777; 
}

.car-feature {
    font-weight: 600;
    color: #3f9500;
}

/* Стили списка "Подходит для" */
.suited-for {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px; /* Уменьшен отступ */
    font-size: 15px;
    padding-top: 10px; /* Уменьшен отступ */
    border-top: 1px dashed #ddd;
}
.suited-for li {
    margin-bottom: 3px;
}


/* 5. СТИЛИ КНОПКИ "ПОДРОБНЕЕ" */
.details-toggle {
    background: none;
    border: none;
    color: #f9ac00; 
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0 10px; /* Скорректирован отступ */
    padding: 0;
    text-align: left;
    display: block; 
    position: relative;
    padding-right: 18px;
    transition: color 0.2s;
}

.details-toggle:hover {
    color: #e39b00;
}

.details-toggle::after {
    content: "\25BE"; 
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.2s;
    font-size: 10px;
}

.details-toggle.active::after {
    transform: translateY(-50%) rotate(180deg);
}
/* ==================================== */
/* 5. БЛОК БЫСТРАЯ ЗАЯВКА (QUICK-ORDER) */
/* ==================================== */
.quick-order-section {
    padding: 60px 0;
    overflow: hidden; 
    position: relative;
    /* Убедимся, что секция занимает 100% ширины, чтобы фон был желтым на всю ширину экрана */
    width: 100%; 
}

/* Используем стандартный .container (max-width: 1100px) для ограничения контента */
/* Мы используем комбинацию .container и .quick-order-container */
.container.quick-order-container {
    background-color: #f9ac00; 
    display: flex;
    align-items: center; 
    gap: 40px;
    /* Сбрасываем лишние margin/padding, если они были, хотя .container должен это делать */
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.order-form-content {
    flex: 1 1 50%; /* Занимает около половины контейнера */
    max-width: 550px;
    padding-right: 20px;
}

.order-form-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #373632;
    margin-bottom: 15px;
}

.order-form-content .description {
    font-size: 16px;
    color: #373632;
    margin-bottom: 25px;
}

/* --- Стилизация полей формы --- */
.quick-order-form .form-group {
    margin-bottom: 15px;
}

.quick-order-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    color: #373632;
}

.quick-order-form input {
    width: 100%;
    /* Имитируем стиль яркого, подсвеченного поля */
    background-color: #ffda7a; 
    border: 1px solid transparent; 
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 16px;
    color: #373632;
    transition: background-color 0.2s;
}

.quick-order-form input:focus {
    background-color: white;
    border-color: #373632;
    outline: none;
}

/* --- Кнопка и Примечание о политике --- */
/* Класс secondary-btn будет черным на желтом фоне */
.secondary-btn {
    background-color: #373632; 
    color: white;
    border: 2px solid #373632;
    transition: background-color 0.3s;
}
.secondary-btn:hover {
    background-color: #1e1e1e;
}
.quick-order-form .large-btn {
    width: 250px; /* Фиксированная ширина кнопки */
    margin-top: 10px;
}

.privacy-note {
    font-size: 12px;
    color: #373632;
    margin-top: 20px;
    max-width: 350px;
}
.privacy-link {
    color: #373632;
    text-decoration: underline;
    font-weight: 600;
}

/* --- Изображение Грузовика --- */
.order-image-wrapper {
    flex: 1 1 50%;
    text-align: right;
}
.order-image-wrapper img {
    max-width: 100%;
    height: auto;
}


/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    .quick-order-container {
        flex-direction: column; /* На узких экранах располагаем вертикально */
        text-align: center;
    }
    .order-form-content {
        max-width: 100%;
        padding-right: 0;
    }
    .order-form-content h2 {
        font-size: 30px;
    }
    .order-image-wrapper {
        text-align: center;
        padding: 0 20px;
    }
    .quick-order-form .large-btn {
        width: 100%; 
    }
    .privacy-note {
        margin-left: auto;
        margin-right: auto;
    }
}
/* ==================================== */
/* 8. ЦЕНЫ НА УСЛУГИ ГРУЗЧИКОВ (LABOUR-PRICES) */
/* ==================================== */
.labour-prices {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.labour-prices h2 {
    text-align: center;
    margin-bottom: 40px;
}

.labour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Две колонки, подстраиваются */
    gap: 30px;
    align-items: stretch; /* Растягивает элементы, чтобы они были одной высоты */
}

.labour-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Прижимает кнопку к низу */
}

.labour-card h3 {
    font-size: 24px;
    color: #373632;
    margin-bottom: 20px;
}

.price-main {
    font-size: 42px;
    font-weight: bold;
    color: #f9ac00;
    margin-bottom: 10px;
}

.min-order {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.included {
    list-style: none; /* Убираем стандартные маркеры */
    padding-left: 0;
    margin-bottom: 20px;
}

.included li {
    position: relative;
    padding-left: 25px; /* Отступ для иконки */
    margin-bottom: 8px;
    font-size: 16px;
    color: #444;
}

.included li::before {
    content: "\2713"; /* Символ галочки (✓) */
    position: absolute;
    left: 0;
    color: #3f9500; /* Зеленый цвет для галочки */
    font-weight: bold;
}

.extra-note {
    font-size: 13px;
    color: #888;
    margin-top: 25px;
    margin-bottom: 25px;
    flex-grow: 1; /* Позволяет тексту занимать доступное пространство */
}

.labour-card .btn {
    /* Добавляем box-sizing, чтобы padding не увеличивал общую ширину */
    box-sizing: border-box; 
    width: 100%; /* Теперь 100% учитывает padding и не выходит за границы */
    text-align: center;
    padding: 12px 20px;
    font-size: 16px;
}

/* --- Стили для блока с изображением --- */
.labour-image-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex; /* Для центрирования текста */
    align-items: center; /* Центрируем по вертикали */
    justify-content: center; /* Центрируем по горизонтали */
    min-height: 300px; /* Минимальная высота, чтобы изображение не было слишком маленьким */
}

.labour-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняем весь блок, обрезая лишнее */
    position: absolute; /* Позиционируем изображение */
    top: 0;
    left: 0;
    z-index: 1;
}

.image-overlay {
    position: relative; /* Поверх изображения */
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.4); /* Полупрозрачный фон для читаемости текста */
    color: white;
    padding: 30px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-overlay h3 {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.image-overlay p {
    font-size: 16px;
    max-width: 80%;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .labour-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
    }
}

/* ==================================== */
/* 6. БЛОК УПАКОВОЧНЫХ МАТЕРИАЛОВ */
/* ==================================== */
.packing-materials {
    background-color: #ffffff;
}
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.material-item {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.material-name {
    font-weight: 600;
    color: #373632;
    margin: 0 0 5px;
}
.material-price {
    font-size: 24px;
    font-weight: 700;
    color: #f9ac00;
    margin: 0;
}

/* ==================================== */
/* 7. СТИЛИ ДЛЯ ПОЛНОГО БЛОКА КАЛЬКУЛЯТОРА */
/* ==================================== */
.calculator-full-section {
    padding: 40px 0;
    /* Можно добавить контрастный фон, если нужно выделить блок */
    background-color: #fcfcfc; 
}

/* Оформляем сам виджет калькулятора, но ограничиваем его ширину внутри контейнера */
.calculator-panel {
    max-width: 600px; /* Ограничиваем ширину, чтобы он не был слишком растянутым */
    margin: 0 auto; /* Центрируем внутри контейнера */
    padding: 25px;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.calculator-header-text {
    font-size: 24px;
    font-weight: 700;
    color: #373632;
    margin-bottom: 25px;
    text-align: center;
}

/* Стили для новых элементов ИТОГО */
.btTotalNextWrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Выравниваем элементы справа */
    padding-top: 15px;
    border-top: 1px solid #ddd;
    margin-top: 15px;
}
.estimated-time-display {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}
.btQuoteTotal {
    /* Оставляем выравнивание для "Итого" */
    width: 100%; 
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}
.btTotalNextWrapper .primary-btn {
    /* Используем компактный стиль, как договаривались ранее, но можно сделать его шире */ 
    text-align: center;
    justify-content: center;
}
/* ==================================== */
/* 7. БЛОК ПРЕИМУЩЕСТВ И ЦИФРЫ (ADVANTAGES-FULL) */
/* ==================================== */
/* Стили для самого блока */
.advantages-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.advantage-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.advantage-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-top: 15px;
    color: #373632;
}

/* Измененные стили для контейнера иконки */
.advantage-item .icon {
    /* Оформление для круга */
    display: flex; /* Используем flex для центрирования изображения */
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 10px; /* Центрируем круг и добавляем отступ */
}

/* Новый стиль для самого изображения */
.advantage-item .icon img {
    /* Размеры иконки внутри круга */
    width: 75px; 
    height: 75px;
    object-fit: contain; /* Гарантирует, что изображение впишется в размер */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .advantages-grid-full {
        grid-template-columns: 1fr;
    }
}

/* ==================================== */
/* 8. БЛОК ЭТАПОВ РАБОТЫ (WORKFLOW) */
/* ==================================== */
.workflow {
    background-color: #f4f4f4;
}
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: center;
}
.workflow-step {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #f9ac00;
}
.workflow-step span {
    color: #373632;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}

/* ==================================== */
/* 9. БЛОК ОТЗЫВОВ (REVIEWS-SECTION) */
/* ==================================== */
.reviews-section {
    padding: 60px 0;
    background-color: #f4f4f4; /* Светло-серый фон для секции */
}

/* Сетка для расположения отзывов */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две колонки */
    gap: 30px;
    margin-top: 30px;
}

/* Стиль отдельной карточки отзыва */
.review-card {
    background-color: white; /* Белый фон карточки */
    padding: 15px;
    border-radius: 12px; /* Скругленные углы */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Легкая тень */
    height: 100%; /* Гарантирует одинаковую высоту */
    
    /* Используем Flexbox для прижатия автора к низу */
    display: flex;
    flex-direction: column;
}

.review-text {
    font-size: 15px;
    color: #373632;
    line-height: 1.6;
    margin-bottom: 20px;
    /* Важно: отталкиваем блок автора вниз */
    margin-top: auto; 
}

/* Блок автора с фото и именем */
.review-author {
    display: flex;
    align-items: center;
    margin-top: 15px; /* Отделяем автора от текста, если текст короткий */
    padding-top: 15px;
    border-top: 1px solid #eee; /* Аккуратный разделитель */
}

.author-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Круглое фото */
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #f9ac00; /* Небольшой акцентный ободок */
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #373632;
    margin: 0;
}


/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    /* На планшетах делаем отзывы в одну колонку */
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .review-card {
        padding: 20px;
    }
}
/* ==================================== */
/* 9. ВОПРОСЫ И ОТВЕТЫ (FAQ) */
/* ==================================== */
.faq-section {
    padding: 60px 0;
    background-color: #ffffff; /* Белый фон */
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden; /* Важно для анимации */
}

.faq-question {
    width: 100%;
    padding: 18px 25px;
    background-color: #f9f9f9;
    color: #373632;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #eee;
}

.faq-toggle-icon {
    font-size: 24px;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #f9ac00; /* Ваш основной цвет */
}

.faq-question.active .faq-toggle-icon {
    transform: rotate(45deg); /* Поворачиваем "+" в "X" или другой знак */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: white;
}

.faq-answer.open {
    max-height: 500px; /* Достаточно большое значение для показа всего контента */
    padding: 15px 25px 25px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}
/* ==================================== */
/* 10. БЛОК КЛИЕНТОВ */
/* ==================================== */
.clients {
    background-color: #f4f4f4;
}

/* ======================================================= */
/* 11. БЛОК КОНТАКТЫ И РЕЙТИНГИ (CONTACT-FOOTER-INFO) */
/* ======================================================= */
.contact-footer-info {
    background-color: #373632;
    color: white;
    padding: 40px 0 20px;
}

.info-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.info-blocks h3 {
    color: #f9ac00;
    margin-top: 0;
    font-size: 20px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 2px solid #555; 
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Стили для телефона */
.contact-details .phone-large a {
    font-size: 28px;
    font-weight: bold;
    color: #f9ac00;
    margin: 10px 0;
    text-decoration: none;
    display: inline-block;
}
.contact-details p {
    margin-bottom: 10px;
}
.contact-details p a {
    color: white;
    transition: color 0.3s;
}
.contact-details p a:hover {
    color: #f9ac00;
}

/* 💥 СТИЛИ МЕССЕНДЖЕРОВ В ФУТЕРЕ 💥 */
.messengers-footer {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.messengers-footer .messenger-link {
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    
    background-color: transparent;
    border: 2px solid; 
    /* Удаляем color: white; и даем ему быть прозрачным, чтобы он принял цвет от класса мессенджера */
    transition: transform 0.2s, background-color 0.2s;
}

.messengers-footer .messenger-link:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1); 
}

/* АВАРИЙНЫЙ ФИКС ДЛЯ ИКОНОК: Убеждаемся, что они видимы и наследуют цвет */
.messengers-footer .messenger-link i {
    opacity: 1 !important; /* Принудительно видимый */
    visibility: visible !important; /* Принудительно видимый */
    color: #fff; /* Наследование цвета от родительской ссылки */
    font-size: 18px;
}

/* Цвета мессенджеров (теперь задаем color на родительскую ссылку) */
.messengers-footer .messenger-link.whatsapp {
    border-color: #25D366; 
    color: #25D366; /* 👈 Цвет иконки будет наследован отсюда */
}
.messengers-footer .messenger-link.telegram {
    border-color: #0088cc;
    color: #0088cc; /* 👈 Цвет иконки будет наследован отсюда */
}
.messengers-footer .messenger-link.viber {
    border-color: #7360f2;
    color: #7360f2; /* 👈 Цвет иконки будет наследован отсюда */
}


/* Стили для рейтингов */
.rating-block p {
    margin: 5px 0;
    font-size: 16px;
}

/* Стили для услуг */
.popular-services-footer ul a {
    color: #bbb;
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
}
.popular-services-footer ul a:hover {
    color: #f9ac00;
}

/* Примечание */
.attention-note {
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #555;
    padding-top: 15px;
    opacity: 0.8;
}

/* ======================================================= */
/* Адаптация для мобильных устройств */
/* ======================================================= */
@media (max-width: 768px) {
    .info-blocks {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .info-blocks > div {
        text-align: center;
        border-bottom: 1px solid #555;
        padding-bottom: 20px;
    }
    
    .info-blocks h3 {
        text-align: center;
    }

    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .messengers-footer {
        justify-content: center;
    }

    .popular-services-footer ul {
        text-align: center;
    }
    .popular-services-footer ul li {
        text-align: center;
    }

    .info-blocks > div:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
/* ==================================== */
/* 12. Стили ПОДВАЛА (FOOTER) */
/* ==================================== */
.footer {
    background-color: #222;
    color: #aaa;
    padding: 15px 0;
    font-size: 14px;
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-nav a {
    color: #aaa;
    margin-left: 20px;
}
.footer-nav a:hover {
    color: #f9ac00;
}
/* ==================================== */
/* 11. SEO ТЕКСТ (ДЛЯ ПОИСКОВОЙ ОПТИМИЗАЦИИ) */
/* ==================================== */
.seo-text-block {
    padding: 50px 0;
    background-color: #f7f7f7; /* Светло-серый фон, чтобы блок выделялся */
    border-top: 1px solid #eee;
}

.seo-text-block h1 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: #373632;
}

.seo-text-block h3 {
    font-size: 20px;
    color: #f9ac00; /* Ваш акцентный цвет */
    margin-top: 25px;
    margin-bottom: 15px;
}

.seo-content-wrapper {
    /* Ограничиваем высоту блока для эффекта "свернуть" */
    max-height: 250px; 
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
}

.seo-content-wrapper.expanded {
    max-height: 2000px; /* Достаточно большое значение для полного разворота */
}

/* Градиент внизу для маскировки обрезанного текста */
.seo-content-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, #f7f7f7, rgba(247, 247, 247, 0));
    pointer-events: none; /* Чтобы кнопка была кликабельной */
}

.seo-content-wrapper.expanded::after {
    display: none; /* Убираем градиент при развернутом тексте */
}

.seo-content p {
    margin-bottom: 15px;
    color: #555;
}

.seo-content ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    margin-bottom: 15px;
    color: #555;
}

.seo-toggle-button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background-color: #373632;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.seo-toggle-button:hover {
    background-color: #f9ac00;
}
/* ==================================== */
/* 13. МОДАЛЬНОЕ ОКНО (Modal) */
/* ==================================== */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed; /* Оставаться на месте, даже при прокрутке */
    z-index: 1000; /* Поверх всего */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Включение прокрутки, если содержимое слишком большое */
    background-color: rgba(0,0,0,0.7); /* Черный фон с прозрачностью (затемнение) */
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto; /* 10% от верха и по центру */
    padding: 30px;
    border-radius: 8px;
    width: 90%; 
    max-width: 500px; /* Максимальная ширина формы */
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation-name: animatetop;
    animation-duration: 0.4s
}
/* ======================================================= */
/* СТИЛИ ДЛЯ top-contacts (Верхняя панель) - ГОРИЗОНТАЛЬНОЕ ВЫРАВНИВАНИЕ */
/* ======================================================= */

.top-contacts {
    display: flex;
    align-items: center; /* Все элементы выравниваются по вертикали по центру */
    gap: 15px; /* Отступ между группой контактов и кнопкой */
}

/* Группа для номера телефона и мессенджеров */
.contact-group {
    display: flex;
    flex-direction: row; /* Горизонтальное расположение: Телефон | Мессенджеры */
    align-items: center; /* Выравнивание телефона и мессенджеров по центру */
    gap: 15px; /* Отступ между телефоном и мессенджерами */
}

/* 1. Стили для номера телефона (более заметный) */
.phone-number-large {
    font-size: 20px;
    font-weight: 700;
    color: #373632;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    text-decoration: none; 
    white-space: nowrap; /* Гарантируем, что номер не переносится */
}

.phone-number-large:hover {
    color: #f9ac00;
}

.phone-number-large i {
    color: #5b479c;
    margin-right: 8px;
    font-size: 20px;
}

/* 2. Стили для мессенджеров */
.messengers {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0; /* Удаляем верхний отступ, который был в column-mode */
}

.messenger-link {
    font-size: 18px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.messenger-link:hover {
    transform: translateY(-2px);
    color: white; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Цвета мессенджеров */
.messenger-link.whatsapp {
    background-color: #25D366;
}
.messenger-link.telegram {
    background-color: #0088cc;
}
.messenger-link.viber {
    background-color: #7360f2;
}

/* 3. Стили для кнопки "Быстрый заказ" (Заметный стиль) */
.top-contacts .quick-order-button {
    background: #f9ac00;
    color: #fff;
    
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    
    padding: 10px 15px;
    margin-left: 10px; /* Отступ от мессенджеров */
    
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    
    /* Сбрасываем align-self, так как родитель .top-contacts управляет выравниванием */
    align-self: auto; 
}

/* Эффект при наведении */
.top-contacts .quick-order-button:hover {
    background-color: #e09b00; 
    color: #373632; 
    text-decoration: underline;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/* ======================================================= */
/* АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ */
/* На мобильных устройствах элементы должны снова стать вертикальными для читаемости */
/* ======================================================= */
@media (max-width: 768px) {
    /* Контейнер всего верхнего бара - уже должен быть вертикальным */
    .top-bar {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    /* Контейнер контактов (Телефон | Мессенджеры | Кнопка) */
    .top-contacts {
        flex-direction: column; /* Вертикальный стек */
        align-items: center;
        gap: 10px;
    }
    
    /* Группа телефона и мессенджеров */
    .contact-group {
        flex-direction: column; /* Вертикальный стек: Телефон | Мессенджеры */
        align-items: center;
        gap: 5px;
    }
    
    .phone-number-large {
        font-size: 18px;
    }
    
    .phone-number-large i {
        font-size: 18px;
    }
    
    .messengers {
        margin-top: 5px;
        justify-content: center;
    }
    
    .top-contacts .quick-order-button {
        margin: 5px 0;
        width: 80%;
        max-width: 250px;
        align-self: center;
    }
}

.modal-content h2 {
    color: #f9ac00; /* Акцентный цвет */
    margin-top: 0;
    margin-bottom: 10px;
}

.modal-content p {
    margin-bottom: 20px;
    color: #555;
}
#order-form .primary-btn{
    padding: 10px 25px;
    background-color: #f9ac00;
    color: #373632;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
}
/* Кнопка закрытия */
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px; /* Центрирование знака X */
}

.close-button:hover,
.close-button:focus {
    color: #373632;
    text-decoration: none;
}

/* Стили для полей ввода внутри модального окна */
.modal-content .input-group {
    margin-bottom: 15px;
}

.modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.modal-content input[type="text"], 
.modal-content input[type="tel"],
.modal-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Важно, чтобы padding не увеличивал общую ширину */
}
/* ======================================================= */
/* --- FAB (Floating Action Button) - Исправленный код --- */
/* ======================================================= */

.fab-container {
    position: fixed;
    bottom: 30px; 
    right: 30px;  
    z-index: 1000; 
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fab-main-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f9ac00; /* Основной цвет */
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Анимация пульсации */
    -webkit-animation: fabWave linear 1s infinite;
    animation: fabWave linear 1s infinite;
}

/* Стили и анимация для иконки */
.fab-main-button i { 
    /* Плавный переход для иконки */
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* Анимация тряски (применяется, когда меню закрыто) */
    animation: 1200ms ease 0s normal none 1 running shake;
    animation-iteration-count: infinite;
    -webkit-animation: 1200ms ease 0s normal none 1 running shake;
    -webkit-animation-iteration-count: infinite;
}

/* Состояние при открытом меню */
.fab-container.open .fab-main-button i {
    /* Отключаем анимацию тряски */
    animation: none;
    -webkit-animation: none;
    /* Поворот иконки (для превращения ПЛЮСА в КРЕСТИК или КРЕСТИКА в ПЛЮС)
       Если вы используете JS для смены классов fa-comment-dots <-> fa-times, 
       то эту строку можно удалить или оставить: */
    transform: rotate(0deg); 
}

/* Примечание по иконкам:
 * 1. В HTML для закрытой кнопки должна быть иконка сообщения: <i class="fas fa-comment-dots"></i>
 * 2. При открытии меню **необходимо использовать JavaScript** для замены класса иконки на <i class="fas fa-times"></i> (крестик).
*/


/* Стили для выпадающего меню */
.fab-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.fab-container.open .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 22px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.fab-item:hover {
    transform: scale(1.1);
}

/* Цвета для кнопок */
.fab-item.phone { background-color: #00e676; } 
.fab-item.whatsapp { background-color: #25D366; }
.fab-item.telegram { background-color: #0088cc; }
.fab-item.viber { background-color: #7360f2; }


/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    .fab-main-button {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
    .fab-item {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

/* ======================================================= */
/* --- KEYFRAMES (Ключевые кадры для анимации) --- */
/* Эти блоки обязательны для работы анимации */
/* ======================================================= */

/* @keyframes для пульсации (волны) - fabWave */
@keyframes fabWave {
    0% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(91, 71, 156, 0.2), 0 0 0 0 rgba(91, 71, 156, 0.2)
    }
    40% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 0 0 15px rgba(91, 71, 156, 0.2), 0 0 0 0 rgba(91, 71, 156, 0.2)
    }
    80% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 0 0 30px rgba(91, 71, 156, 0), 0 0 0 26.7px rgba(91, 71, 156, 0.067)
    }
    100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 0 0 30px rgba(91, 71, 156, 0), 0 0 0 40px rgba(91, 71, 156, 0.0)
    }
}
@-webkit-keyframes fabWave {
    0% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(91, 71, 156, 0.2), 0 0 0 0 rgba(91, 71, 156, 0.2)
    }
    40% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 0 0 15px rgba(91, 71, 156, 0.2), 0 0 0 0 rgba(91, 71, 156, 0.2)
    }
    80% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 0 0 30px rgba(91, 71, 156, 0), 0 0 0 26.7px rgba(91, 71, 156, 0.067)
    }
    100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 0 0 30px rgba(91, 71, 156, 0), 0 0 0 40px rgba(91, 71, 156, 0.0)
    }
}

/* @keyframes для тряски (shake) */
@keyframes shake {
0% { transform: rotateZ(0deg); }
10% { transform: rotateZ(-30deg); }
20% { transform: rotateZ(15deg); }
30% { transform: rotateZ(-10deg); }
40% { transform: rotateZ(7.5deg); }
50% { transform: rotateZ(-6deg); }
60% { transform: rotateZ(5deg); }
70% { transform: rotateZ(-4.28571deg); }
80% { transform: rotateZ(3.75deg); }
90% { transform: rotateZ(-3.33333deg); }
100% { transform: rotateZ(0deg); }
}

@-webkit-keyframes shake {
0% { -webkit-transform: rotateZ(0deg); }
10% { -webkit-transform: rotateZ(-30deg); }
20% { -webkit-transform: rotateZ(15deg); }
30% { -webkit-transform: rotateZ(-10deg); }
40% { -webkit-transform: rotateZ(7.5deg); }
50% { -webkit-transform: rotateZ(-6deg); }
60% { -webkit-transform: rotateZ(5deg); }
70% { -webkit-transform: rotateZ(-4.28571deg); }
80% { -webkit-transform: rotateZ(3.75deg); }
90% { -webkit-transform: rotateZ(-3.33333deg); }
100% { -webkit-transform: rotateZ(0deg); }
}
/* ==================================== */
/* АДАПТИВНОСТЬ (MOBILE) */
/* ==================================== */
@media (max-width: 1024px) {
    .main-nav-full {
        display: none; 
    }
    .header__main {
        justify-content: space-between;
    }
    .hero-grid {
        grid-template-columns: 1fr; 
    }
    .banner-area {
        min-height: 400px;
    }
    .banner-content-wrapper {
        padding: 15px;
        gap: 10px;
    }
    .calculator-panel {
        order: -1; 
    }
    .hero-text-overlay h1 {
        font-size: 38px;
    }
    .hero-text-overlay .subtitle {
        font-size: 18px;
    }
    
    /* На планшетах делаем 2 ряда по 2 карточки */
    .banner-cards-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .offer-card h3, .feature-card h3 {
        font-size: 17px;
    }
    .price-highlight {
        font-size: 28px;
    }
    .card-icon {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 768px) {
    h2 {
        font-size: 28px;
    }
    .top-bar {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .work-schedule {
        margin: 5px 0;
    }
    .top-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .top-contacts a {
        margin: 5px 0;
    }
    
    /* На мобильных делаем 4 карточки в один столбец */
    .banner-cards-row {
        grid-template-columns: 1fr;
    }
    .offer-card, .feature-card {
        padding: 15px;
    }
    .hero-text-overlay h1 {
        font-size: 28px;
    }
    .hero-text-overlay .subtitle {
        font-size: 15px;
    }
    .offer-card h3, .feature-card h3 {
        font-size: 16px;
    }
    .price-highlight {
        font-size: 24px;
    }
    .detailed-service p, .feature-detail {
        font-size: 12px;
    }

    .transport-grid, .labour-grid, .reviews-grid, .workflow-grid, .info-blocks, .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements {
        flex-direction: column;
        gap: 30px;
    }
    .achievement-item .number {
        font-size: 50px;
    }
    
    .info-blocks h3 {
        text-align: center;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav {
        margin-top: 10px;
    }
    .footer-nav a {
        margin: 0 10px;
    }
}