*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #ff4e00; /* Цвет для CTA кнопок */
    --dark-bg: #222;
    --text-color: #333;
}

html { scroll-behavior: smooth; }
* {
    box-sizing: border-box; /* Чтобы паддинги не расширяли блоки */
}

html, body {
    overflow-x: hidden; /* Только здесь! */
    width: 100%;
}

body {

    width: 100%;
    position: relative;
    font-family: 'Arial',
    sans-serif;
    margin: 0;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Хедер для десктопа */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Логотип чуть крупнее */
.logo-img {
    height: 95px;   /* увеличили высоту */
    width: auto;
    display: block;
}

/* Контейнер хедера */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 20px 60px; /* больше воздуха по бокам */
    gap: 20px;          /* увеличили расстояние между элементами */
}

/* Лого остаётся первым */
.logo {
    order: 0;
    flex-shrink: 0;
}

.description {
    font-size: 40px;         /* читаемый размер для десктопа */
    line-height: 1.5;        /* комфортная высота строки */
    font-weight: 600;        /* чуть жирнее для акцента */
    color: #333;             /* можно затемнить для контраста */
    max-width: 700px;        /* шире, чтобы не сжимался */
    margin: 0 30px;          /* воздух по бокам */
    text-align: center;      /* если это слоган — центрируем */
    flex: 1;
    display: block;
}

.hero-intro {
    padding: 120px 20px;     /* больше воздуха */
    margin-top: 50px;       /* чуть больше отступ от хедера */
    text-align: center;
}

.hero-intro h1 {
    font-size: 44px;         /* крупный заголовок */
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-text {
    font-size: 32px;         /* солидный размер текста */
    color: #333;
    max-width: 80%;        /* шире для баланса */
    margin: 0 auto 40px;
    line-height: 1.7;
    text-align: center;
}

.cta-button {
    background: #ff6600; /* Оранжевый */
    color: white;
    width: 30%;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.25);
}

.photo-carousel {
    padding: 60px 0 40px;
    background: #fdfdfd;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: -80px;
    position: relative;
}

/* Лента со слайдами */
.carousel-container {
    display: flex;
    gap: 20px;
    padding: 0 40px;
    overflow-x: auto;         /* ВКЛЮЧАЕМ прокрутку */
    scroll-snap-type: x mandatory; /* Магнит к слайдам */
    scroll-behavior: smooth;  /* Плавность для JS-кнопок */
    justify-content: flex-start;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Каждый слайд */
.carousel-slide {
    flex: 0 0 700px;   /* фиксированная ширина для десктопа */
    border-radius: 12px;
    overflow: hidden;
    background: #222;
    scroll-snap-align: center;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    /* Увеличенные размеры */
    width: 150px;
    height: 150px;

    background: rgba(34, 34, 34, 0.9); /* Делаем чуть прозрачным, чтобы не "давило" */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;

    /* Увеличенная стрелка */
    font-size: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Добавим тень для объема */
}

/* Эффект при наведении */
.nav-btn:hover {
    background: #222;
    transform: translateY(-50%) scale(1.1); /* Кнопка немного увеличивается */
    opacity: 1;
}

/* Сдвигаем их чуть дальше от краев, если они слишком большие */
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Обёртка для фото */
.img-frame {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* соотношение сторон 3:2 */
    border-radius: 12px;
    overflow: hidden;
    background: #222;
}

.img-frame img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Метки */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    font-family: sans-serif;
}
.b-vorher { background: rgba(0,0,0,0.6); }
.b-nachher { background: #28a745; }

/* Пагинация */
.modern-pagination {
    width: 120px;
    height: 6px;
    background: #e0e0e0;
    margin: 30px auto 0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-pill {
    position: absolute;
    height: 100%;
    width: 30%;
    background: #222;
    border-radius: 10px;
    left: 0;
    transition: transform 0.2s ease;
}


/*!!!!!!!! КАТЕГРИИИ!!!!!!!!!*/
/*!!!!!!!! КАТЕГРИИИ!!!!!!!!!*/
/*!!!!!!!! КАТЕГРИИИ!!!!!!!!!*/
/*!!!!!!!! КАТЕГРИИИ!!!!!!!!!*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 15px;

}

.services-section {
    padding: 30px 15px;
    background: #fff;
}



/* Дорогой градиент: от прозрачного к глубокому черному снизу */

.service-card {
    position: relative;
    height: 240px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Плавность для всех изменений внутри */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;

}

.card-hint {
    display: inline-block;
    color: #ffffff; /* Делаем чистый белый */
    opacity: 0.85;  /* Но чуть-чуть прозрачности для мягкости, 0.7 было мало */
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px; /* Увеличим разрядку — это признак дорогого дизайна */
    margin-top: 12px;
    font-weight: 500;

    /* Добавим маленькую черточку перед текстом для стиля */
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 8px;
}

/* При нажатии на карточку подсказка становится ярче */
.service-card:active .card-hint {
    color: #ffffff;
    transform: translateY(2px); /* Легкий эффект нажатия */
}

/* Эффект при клике/наведении (на мобилках сработает при тапе) */
.service-card:active, .service-card:hover {
    transform: scale(0.98); /* Карточка чуть вдавливается */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-card:active .overlay, .service-card:hover .overlay {
    background: rgba(0, 0, 0, 0.6); /* Темнеет при нажатии */
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 10px;

    max-width: 100%;

}

.card-content h3 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    z-index: 2; /* Текст ДОЛЖЕН быть выше оверлея */
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Тень под буквами */
    margin: 0;
    line-height: 1.2;


}

.section-title {
    text-align: center;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 25px;
    font-weight: 800;
    font-size: 38px;
    text-transform: none;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    line-height: 1.1;
}
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    transition: background 0.3s ease;
}














.offer-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.offer-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.offer-desc {
    color: #444;
    font-weight: 600;
    margin-bottom: 20px;
}

.trust-list {
    text-align: left;
    display: inline-block;
    margin-bottom: 20px;
}

.trust-list li {
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
}

.form-hint {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 15px;
    font-size: 14px;
    color: #0056b3;
    margin-bottom: 25px;
    border: 1px dashed #0056b3;
}


/*############## ПОД ОПИСАНИЕМ ###########*/
/*############## ПОД ОПИСАНИЕМ ###########*/
/*############## ПОД ОПИСАНИЕМ ###########*/
/*############## ПОД ОПИСАНИЕМ ###########*/
/*############## ПОД ОПИСАНИЕМ ###########*/




/* Контейнер панели разворачивания */
.detail-panel {
    max-height: 0;
    overflow: hidden;
    background: #fdfdfd; /* Чуть светлее фона для акцента */
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    margin-top: 0;
}

/* Состояние, когда панель открыта */
.detail-panel.active {
    max-height: 85%; /* Достаточно для мобильного текста */
    opacity: 1;
    margin-top: 25px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.detail-content {
    padding: 35px 25px;
    position: relative;
    text-align: center; /* Центрируем контент для мобилок */
}

/* Кнопка закрытия (крестик) */
.close-panel {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 45px;
    cursor: pointer;
    color: #ccc;
    line-height: 1;
}

#panel-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
}

#panel-text {
    font-size: 25px; /* Для мобильных 25px может быть многовато, но оставим по вкусу */
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;

    /* 1. Ограничиваем ширину "колонки" */
    max-width: 1000px;

    /* 2. Центрируем саму эту колонку в родительском блоке */
    margin-left: auto;
    margin-right: auto;

    /* 3. Текст внутри этой колонки прижимаем влево */
    text-align: left;

    /* Дополнительно: чтобы длинные слова не ломали колонку */
    word-wrap: break-word;
    hyphens: auto;
}








/*############## Schnell & Gründlich ###########*/
/*############## Schnell & Gründlich ###########*/
/*############## Schnell & Gründlich ###########*/
/*############## Schnell & Gründlich ###########*/
/*############## Schnell & Gründlich ###########*/


.offer-card {
    background: #ffffff;
    border-radius: 50px; /* Увеличили с 25px */
    padding: 70px 40px;  /* Увеличили в 2 раза (было 35 20) */
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    max-width: 1000px;   /* Задаем большую ширину, иначе он будет узким */
    margin: 0 auto;
}

.offer-title {
    font-size: 48px;     /* Было 24px */
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.offer-desc {
    font-size: 32px;     /* Добавили размер (удвоили стандарт) */
    color: #444;
    font-weight: 600;
    margin-bottom: 40px;
}

.trust-list {
    text-align: left;
    display: inline-block;
    margin-bottom: 40px;
}

.trust-list li {
    font-size: 30px;     /* Было 15px */
    margin-bottom: 20px;
    color: #333;
}

.form-hint {
    background: #f0f7ff;
    padding: 30px;       /* Было 15px */
    border-radius: 30px; /* Было 15px */
    font-size: 28px;     /* Было 14px */
    color: #0056b3;
    margin-bottom: 50px;
    border: 2px dashed #0056b3; /* Сделали рамку чуть толще */
}






/*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/
/*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/
/*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/
/*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/
/*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/



.section-title-small {
    font-size: 66px; /* 22px * 3 */
    font-weight: 800;
    text-align: center;
    margin-bottom: 90px; /* Увеличили отступ */
    color: #1a1a1a;
}

.process-compact {
    padding: 90px 45px; /* Увеличили внутренние отступы секции */
    background: #fff;
}

.compact-grid {
    display: flex;
    flex-direction: row;
    gap: 75px; /* Увеличили расстояние между шагами */
    justify-content: center; /* Центрирует весь ряд шагов */
    align-items: flex-start;
}

.c-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 840px; /* Увеличили 280 * 3, чтобы текст не был слишком узким */
    flex: 1;
}

.c-num {
    background: var(--primary-color, #ff6600);
    color: white;
    /* Размеры в 3 раза больше */
    width: 108px;  /* 36px * 3 */
    height: 108px; /* 36px * 3 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 900;
    font-size: 54px; /* 18px * 3 */
    margin-bottom: 36px; /* 12px * 3 */
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.2);
}

.c-text h4 {
    margin: 0;
    font-size: 51px; /* 17px * 3 */
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.c-text p {
    margin: 15px 0 0;
    font-size: 42px; /* 14px * 3 */
    color: #666;
    line-height: 1.4;
}





/*!!!!!!!!!!!!!! ФОРМА !!!!!!!!!!!!!!*/
/*!!!!!!!!!!!!!! ФОРМА !!!!!!!!!!!!!!*/
/*!!!!!!!!!!!!!! ФОРМА !!!!!!!!!!!!!!*/
/*!!!!!!!!!!!!!! ФОРМА !!!!!!!!!!!!!!*/
/*!!!!!!!!!!!!!! ФОРМА !!!!!!!!!!!!!!*/
/*!!!!!!!!!!!!!! ФОРМА !!!!!!!!!!!!!!*/




/*ФОРМА*/

.form-section {
    padding: 80px 15px; /* Было 40px 15px */
    background: #fff;
    margin-top: -170px;
}

.form-container {
    background: #f9f9f9;
    padding: 60px 40px; /* Было 30px 20px */
    border-radius: 50px; /* Было 25px */
    max-width: 1000px;   /* Было 500px — теперь форма солидная и широкая */
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.form-title {
    font-size: 44px; /* Было 22px */
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
}

.form-subtitle {
    text-align: center;
    color: #666;
    font-size: 28px; /* Было 14px */
    margin-bottom: 50px;
}

.input-group {
    margin-bottom: 30px; /* Было 15px */
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 30px 40px; /* Было 15px 20px */
    border-radius: 30px; /* Было 15px */
    border: 2px solid #ddd; /* Сделали рамку чуть толще — 2px */
    font-size: 32px; /* Было 16px */
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    display: block;
    box-sizing: border-box;
}

/* Увеличиваем высоту текстового поля отдельно, если нужно больше места */
.input-group textarea {
    min-height: 200px;
}

.form-privacy {
    text-align: center;
    font-size: 22px; /* Было 11px */
    color: #999;
    margin-top: 30px;
}

.cta-button {
    background: #ff6600;
    color: white;
    width: 100%;
    padding: 36px; /* Было 18px */
    border: none;
    border-radius: 100px; /* Было 50px */
    font-weight: 800;
    font-size: 32px; /* Было 16px */
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(255, 102, 0, 0.25);
}

.file-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border: 3px dashed #ddd;
    border-radius: 30px;
    color: #666;
    font-size: 28px;

    /* КЛЮЧЕВЫЕ ПАРАМЕТРЫ ДЛЯ КЛИКАБЕЛЬНОСТИ */
    cursor: pointer;          /* Меняет курсор на "руку" */
    user-select: none;        /* Запрещает выделение текста при клике */
    transition: all 0.2s ease; /* Плавная реакция на нажатие */
}

/* Эффект при наведении (Hover) */
.file-custom:hover {
    border-color: #ff6600;
    color: #1a1a1a;
    background: #fff9f5;
    transform: translateY(-2px); /* Легкий подъем */
}

/* Эффект при нажатии (Active) — самое важное для ощущения кнопки */
.file-custom:active {
    transform: translateY(1px); /* Кнопка "вжимается" */
    background: #f0f0f0;
    border-style: solid; /* Меняем пунктир на сплошную линию при нажатии */
}

.file-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
    display: none !important; /* Прячем совсем */
}


/*стили для предпросмотра фото*/

.preview-grid {
    display: flex;
    flex-wrap: wrap; /* Чтобы фото переносились на вторую строку */
    gap: 20px;       /* Увеличил отступ в 2 раза */
    margin-top: 15px;
}

.preview-item {
    position: relative;
    width: 200px;    /* Было 100px -> стало 200px */
    height: 200px;   /* Было 100px -> стало 200px */
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.remove-btn {
    position: absolute;
    top: -10px;      /* Сместил чуть дальше, так как кнопка стала больше */
    right: -10px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;     /* Было 22px -> сделал крупнее для десктопа */
    height: 32px;    /* Было 22px -> сделал крупнее для десктопа */
    cursor: pointer;
    font-size: 18px; /* Увеличил шрифт крестика */
    line-height: 30px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

































/*!!!!!!!!!!! АДАПТИИИИИИИИИИИИИИИВВВВВВВВВВВВВВВ !!!!!!!!!!!!!!!!!*/
/*!!!!!!!!!!! АДАПТИИИИИИИИИИИИИИИВВВВВВВВВВВВВВВ !!!!!!!!!!!!!!!!!*/
/*!!!!!!!!!!! АДАПТИИИИИИИИИИИИИИИВВВВВВВВВВВВВВВ !!!!!!!!!!!!!!!!!*/
/*!!!!!!!!!!! АДАПТИИИИИИИИИИИИИИИВВВВВВВВВВВВВВВ !!!!!!!!!!!!!!!!!*/
/*!!!!!!!!!!! АДАПТИИИИИИИИИИИИИИИВВВВВВВВВВВВВВВ !!!!!!!!!!!!!!!!!*/
@media (max-width: 768px) {

    .header {
        position: fixed;
        top: 0; width: 100%;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .logo-img {
        height: 50px; /* Оптимальная высота для хедера */
        width: auto;  /* Пропорции сохраняются автоматически */
        display: block;
    }


    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap; /* Запрещаем перенос на новую строку */
        padding: 8px 15px;
        gap: 10px; /* Отступ между элементами */
    }


    .logo {
        order: 0; /* Возвращаем на первое место */
        flex-shrink: 0;
    }


    .description {
        max-width: 50%;
        font-weight: 500;
        color: #444;
        text-align: center;
        flex: 1;
        margin-top: 0;
        border-top: none;
        padding-top: 0;
        font-size: 14px;
        line-height: 1.2;
        display: block;
    }


    .hero-intro {
        padding: 50px 20px;
        margin-top: 25px;
    }

    .hero-intro h1 {
        font-size: 16px;
    }
    .hero-text {
        font-size: 15px;
        color: #444;
        width: 100%;       /* Занимает 100% ширины родителя */
        max-width: none;   /* Убираем ограничение в 700px */
        margin: 0 0 20px;  /* Убираем авто-отступы по бокам, оставляем только снизу */
        line-height: 1.4;
        text-align: justify; /* Растягивает слова по ширине строки */
        margin-bottom: 10px;

    }


    .photo-carousel {
        padding: 60px 0 20px;
        background: #fdfdfd;
        overflow: hidden; /* Чтобы ничего не вылетало за края */
        box-sizing: border-box;
        margin-top: -40px;
    }

    /* Сама лента со слайдами */
    .carousel-container {
        display: flex;
        gap: 12px;
        padding: 15px; /* Боковые отступы, чтобы крайние слайды не липли к монитору */
        overflow-x: auto; /* Позволяет крутить мышкой/тачем */
        scroll-snap-type: x mandatory; /* Мягкое примагничивание */
        scrollbar-width: none; /* Убираем стандартный скроллбар в Firefox */
        cursor: grab; /* Курсор в виде руки */
        user-select: none; /* Запрещаем выделение текста/картинок при перетаскивании */
        margin-top: -50px;
    }


    .carousel-container::-webkit-scrollbar {
        display: none;
    }

    .carousel-slide {
        flex: 0 0 390px;
        min-width: 85vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .nav-btn {
        display: none; /* Полностью скрывает кнопки */
    }



    /* ФИКС: Вместо aspect-ratio используем обёртку с фиксированной высотой */
    .img-frame {
        position: relative;
        width: 100%;
        /* Это создаст область с фиксированным соотношением сторон 3:2 */
        padding-top: 66.66%;
        border-radius: 12px;
        overflow: hidden;
        background: #222; /* фон, чтобы видеть рамку если фото не грузится */
    }

    .img-frame img {
        /* Форсируем растяжение на весь контейнер */
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        /* Обрезаем лишнее, чтобы не было искажений */
        object-fit: cover !important;
        display: block;
    }

    /* Метки */
    .badge {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 10;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 11px;
        font-weight: bold;
        color: #fff;
        text-transform: uppercase;
        font-family: sans-serif;
    }

    .b-vorher { background: rgba(0,0,0,0.6); }
    .b-nachher { background: #28a745; }

    .modern-pagination {
        width: 60px;          /* Общая ширина индикатора */
        height: 4px;          /* Высота линии */
        background: #e0e0e0;  /* Цвет дорожки */
        margin: auto;    /* Отступ сверху и центровка */
        border-radius: 10px;
        position: relative;
        overflow: hidden;
    }

    .progress-pill {
        position: absolute;
        height: 100%;
        width: 30%;           /* Размер "бегунка" */
        background: #222;     /* Цвет бегунка (антрацит/черный — это очень по-немецки) */
        border-radius: 10px;
        left: 0;
        will-change: transform;
        transition: transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }





    /*!!!!!!!! КАТЕГРИИИ!!!!!!!!!*/
    /*!!!!!!!! КАТЕГРИИИ!!!!!!!!!*/
    /*!!!!!!!! КАТЕГРИИИ!!!!!!!!!*/
    /*!!!!!!!! КАТЕГРИИИ!!!!!!!!!*/


    .services-section {
        padding: 30px 15px;
        background: #fff;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px;
    }

    /* Дорогой градиент: от прозрачного к глубокому черному снизу */

    .service-card {
        position: relative;
        height: 160px;
        border-radius: 20px;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Плавность для всех изменений внутри */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

    .card-hint {
        display: inline-block;
        color: #ffffff; /* Делаем чистый белый */
        opacity: 0.85;  /* Но чуть-чуть прозрачности для мягкости, 0.7 было мало */
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 2px; /* Увеличим разрядку — это признак дорогого дизайна */
        margin-top: 12px;
        font-weight: 500;

        /* Добавим маленькую черточку перед текстом для стиля */
        border-top: 1px solid rgba(255, 255, 255, 0.4);
        padding-top: 8px;
    }

    /* При нажатии на карточку подсказка становится ярче */
    .service-card:active .card-hint {
        color: #ffffff;
        transform: translateY(2px); /* Легкий эффект нажатия */
    }

    /* Эффект при клике/наведении (на мобилках сработает при тапе) */
    .service-card:active, .service-card:hover {
        transform: scale(0.98); /* Карточка чуть вдавливается */
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .service-card:active .overlay, .service-card:hover .overlay {
        background: rgba(0, 0, 0, 0.6); /* Темнеет при нажатии */
    }

    .card-content {
        position: relative;
        z-index: 2;
        padding: 10px;
        width: 100%;
    }

    .card-content h3 {
        color: #ffffff;
        font-size: 12px;
        font-weight: 800;
        text-align: center;
        text-transform: uppercase;
        z-index: 2; /* Текст ДОЛЖЕН быть выше оверлея */
        position: relative;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Тень под буквами */
        margin: 0;
        line-height: 1.2;
    }

    .section-title {
        text-align: center;
        width: 100%;
        margin-top: 5px;
        margin-bottom: 25px;
        font-weight: 800;
        font-size: 28px;
        text-transform: none;
        letter-spacing: -0.5px;
        color: #1a1a1a;
        line-height: 1.1;
    }
    .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1;
        transition: background 0.3s ease;
    }























    /*############## ПОД ОПИСАНИЕМ ###########*/
    /*############## ПОД ОПИСАНИЕМ ###########*/
    /*############## ПОД ОПИСАНИЕМ ###########*/
    /*############## ПОД ОПИСАНИЕМ ###########*/
    /*############## ПОД ОПИСАНИЕМ ###########*/


    /* Контейнер панели разворачивания */
    .detail-panel {
        max-height: 0;
        overflow: hidden;
        background: #fdfdfd; /* Чуть светлее фона для акцента */
        border-radius: 25px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        margin-top: 0;
    }

    /* Состояние, когда панель открыта */
    .detail-panel.active {
        max-height: 85%; /* Достаточно для мобильного текста */
        opacity: 1;
        margin-top: 25px;
        margin-bottom: 20px;
        border: 1px solid #eee;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .detail-content {
        padding: 35px 25px;
        position: relative;
        text-align: left; /* Центрируем контент для мобилок */
    }

    /* Кнопка закрытия (крестик) */
    .close-panel {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 32px;
        cursor: pointer;
        color: #ccc;
        line-height: 1;
    }

    #panel-title {
        font-size: 22px;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 15px;
        text-transform: uppercase;
    }

    #panel-text {
        font-size: 15px;
        line-height: 1.6;
        color: #555;
        margin-bottom: 25px;
    }









    /*############## Schnell & Gründlich ###########*/
    /*############## Schnell & Gründlich ###########*/
    /*############## Schnell & Gründlich ###########*/
    /*############## Schnell & Gründlich ###########*/
    /*############## Schnell & Gründlich ###########*/

    .offer-card {
        background: #ffffff;
        border-radius: 25px;
        padding: 35px 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .offer-title {
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 10px;
        color: #1a1a1a;
    }

    .offer-desc {
        color: #444;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .trust-list {
        text-align: left;
        display: inline-block;
        margin-bottom: 20px;
    }

    .trust-list li {
        font-size: 15px;
        margin-bottom: 10px;
        color: #333;
    }

    .form-hint {
        background: #f0f7ff;
        padding: 15px;
        border-radius: 15px;
        font-size: 14px;
        color: #0056b3;
        margin-bottom: 25px;
        border: 1px dashed #0056b3;
    }













    /*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/
    /*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/
    /*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/
    /*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/
    /*###################### ЦИФРЫ 1 2 3 ШАГИ #####################*/

    .section-title-small {
        font-size: 22px;
        font-weight: 800;
        text-align: center; /* Центрируем сам заголовок */
        margin-bottom: 30px; /* Отступ до первого шага */
        color: #1a1a1a;
    }

    .process-compact {
        padding: 30px 15px;
        background: #fff;
    }

    .compact-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: center; /* Центрирует карточки в контейнере */
    }

    .c-step {
        display: flex;
        flex-direction: column;
        align-items: center; /* Центрирует цифру над текстом */
        text-align: center;  /* Центрирует сам текст внутри */
        max-width: 280px;
    }

    .c-num {
        background: var(--primary-color, #ff6600);
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        font-size: 18px;
        margin-bottom: 12px;
        box-shadow: 0 4px 10px rgba(255, 102, 0, 0.2);
    }

    .c-text h4 {
        margin: 0;
        font-size: 17px;
        font-weight: 700;
        color: #1a1a1a;
    }

    .c-text p {
        margin: 5px 0 0;
        font-size: 14px;
        color: #666;
        line-height: 1.4;
    }


















    /*ФОРМА*/

    .form-section {
        padding: 80px 15px;
        background: #fff;
    }

    .form-container {
        background: #f9f9f9;
        padding: 30px 20px;
        border-radius: 25px;
        max-width: 500px;
        margin: 0 auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    /*.form-title {*/
    /*    font-size: 20px;*/
    /*    font-weight: 800;*/
    /*    text-align: center;*/
    /*    margin-bottom: 45px;*/
    /*}*/

    .form-subtitle {
        text-align: center;
        color: #666;
        font-size: 14px;
        margin-bottom: 35px;
    }

    .input-group {
        margin-bottom: 15px;
    }

    .input-group input,
    .input-group textarea {
        width: 100%;
        padding: 15px 20px;
        border-radius: 15px;
        border: 1px solid #ddd;
        font-size: 16px;
        outline: none;
        transition: border-color 0.3s;
        /* Убираем стандартные тени на iOS */
        -webkit-appearance: none;
        display: block; /* Убираем лишние зазоры строчных элементов */
        box-sizing: border-box; /* ГЛАВНОЕ: теперь 100% — это честный край к краю */
    }

    .input-group input:focus,
    .input-group textarea:focus {
        border-color: #ff6600; /* Твой оранжевый при фокусе */
    }

    .form-privacy {
        text-align: center;
        font-size: 11px;
        color: #999;
        margin-top: 15px;
    }

    /* Твоя кнопка из прошлого шага */
    .cta-button {
        background: #ff6600; /* Оранжевый */
        color: white;
        width: 100%;
        padding: 18px;
        border: none;
        border-radius: 50px;
        font-weight: 800;
        font-size: 16px;
        text-transform: uppercase;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(255, 102, 0, 0.25);
    }

    .file-upload input[type="file"] {
        display: none;
    }

    .file-upload {
        display: block;
        cursor: pointer;
        margin-top: 10px;
    }

    .file-custom {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px;
        background: #fff;
        border: 2px dashed #ddd; /* Пунктирная рамка намекает на загрузку */
        border-radius: 15px;
        color: #666;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .file-custom:hover {
        border-color: #ff6600; /* Цвет меняется на наш оранжевый */
        color: #1a1a1a;
        background: #fff9f5;
    }

    /* Иконка камеры или скрепки */
    .file-custom i {
        font-style: normal;
        font-size: 18px;
    }

    .compact-grid {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 40px;
    }



    /*стили для предпросмотра фото*/

    .preview-grid {
        display: flex;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
        margin-top: 15px;
    }

    .preview-item {
        position: relative;
        width: 100px;
        height: 100px;
    }

    .preview-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #ddd;
    }

    .remove-btn {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #ff4d4d;
        color: white;
        border: none;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        cursor: pointer;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }


}

