
.privacy-policy {
    padding: 48px 20px 80px;
}

.privacy-policy__container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-policy__back {
    display: inline-block;
    margin-bottom: 32px;
    color: inherit;
    text-decoration: none;
}

.privacy-policy__back:hover {
    text-decoration: underline;
}

.privacy-policy h1 {
    margin-bottom: 32px;
    line-height: 1.25;
}

.privacy-policy h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 22px;
}

.privacy-policy p,
.privacy-policy li {
    font-size: 16px;
    line-height: 1.7;
}

.privacy-policy ul {
    padding-left: 24px;
}

.footer__privacy-text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ==========================================
   АНИМИРОВАННАЯ МИШЕНЬ
========================================== */

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Центрирует элементы, если они переносятся */
    gap: 20px;
    margin-top: 30px;
}

.process-step {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    position: relative;
    transition: all 0.3s ease;

    /* Базовая ширина карточки */
    flex: 1 1 280px;
    /* Ограничиваем максимальную ширину, чтобы карточки не растягивались слишком сильно */
    max-width: 350px;

    display: flex;
    flex-direction: column;
    align-items: center;
    /* Центрируем контент внутри карточки */
    text-align: center;
}

.process-step:hover {
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.process-step__number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

/* Адаптив для мобильных устройств */
@media (max-width: 600px) {
    .process-step {
        flex: 1 1 100%;
        /* На совсем маленьких экранах — по одному в ряд */
        max-width: none;
    }
}

/* Скрываем некрасивый стандартный скроллбар, если нужно */
.process-steps::-webkit-scrollbar {
    height: 6px;
}

.process-steps::-webkit-scrollbar-thumb {
    background-color: var(--primary-red);
    border-radius: 10px;
}

.target-visual {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Стилизация текста О Нас --- */
.about__text {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.about__mission {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 15px;
}

.about__mission-sub {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
}

.about__highlight {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(84, 23, 23, 0.05);
    border-left: 4px solid var(--primary-red);
    font-weight: 600;
    color: var(--primary-dark);
    font-style: italic;
}

/* --- Бегущая строка (Ticker) --- */
.stats-ticker {
    overflow: hidden;
    background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
    padding: 50px 0;
    margin: 40px 0;
    border-top: 3px solid var(--primary-red);
    border-bottom: 3px solid var(--primary-red);
    position: relative;
}

.stats-ticker__track {
    display: flex;
    width: max-content;
    animation: ticker 15s linear infinite;
    gap: 20px;
}

.stats-ticker__track:hover {
    animation-play-state: paused;
    /* Остановка при наведении */
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.stat-item {
    width: 300px;
    /* Фиксированная ширина для равномерности */
    text-align: center;
    flex-shrink: 0;
    padding: 0 20px;
    border-radius: 10px !important;

}

.stat-item__number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #ffffff !important;
    /* Белый цвет цифр */
    margin-bottom: 5px;
    background: none !important;
    /* Убираем градиент, если есть */
    -webkit-text-fill-color: #ffffff !important;
}

.stat-item__label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-item__desc {
    font-size: 13px;
    color: #ffffff;
}

/* --- Карточки принципов (Микроанимация) --- */
.principle-card {
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(84, 23, 23, 0.08);
    border-color: var(--primary-red);
}

.principle-card h3 {
    color: var(--primary-dark);
    margin: 15px 0 10px;
    font-size: 1.1rem;
}

.target-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    opacity: 0;
    animation: targetPulse 2.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.target-circle:nth-child(1) {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.target-circle:nth-child(2) {
    width: 65%;
    height: 65%;
    animation-delay: 0.4s;
    border-width: 3px;
}

.target-circle:nth-child(3) {
    width: 30%;
    height: 30%;
    background-color: var(--primary-dark);
    border: none;
    opacity: 1;
    animation: none;
    box-shadow: 0 0 15px rgba(84, 23, 23, 0.5);
}

@keyframes targetPulse {
    0% {
        transform: scale(0.3);
        opacity: 0.8;
    }

    80% {
        transform: scale(1.1);
        opacity: 0;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.package-card__features strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

/* Улучшение отображения чекбоксов и текста */
.addon-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3;
}

.addon-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--primary-red);
}

.addon-text-small small {
    display: block;
    color: #666;
    margin-top: 4px;
    line-height: 1.2;
}

/* Стилизация бонусной секции внутри аддонов */
.addons-bonus-section {
    margin-top: 25px;
    padding: 20px;
    border-top: 2px dashed rgba(184, 29, 29, 0.3);
    background: rgba(255, 248, 220, 0.3);
    /* Светло-желтый фон */
    border-radius: 10px;
    transition: all 0.5s ease;
}


@media (max-width: 768px) {
    #bonus-section {
        scroll-margin-top: 120px;
    }

    .addons-bonus-section {
        padding: 15px 10px;
        margin-top: 15px;
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    #bonus-section {
        scroll-margin-top: 100px;
    }
}

.bonus-label {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 16px;
}

.bonus-item {
    margin-bottom: 12px;
}

.bonus-item span {
    color: var(--primary-red);
    font-weight: 500;
}


/* Напоминание про мобильный фикс (если еще не добавил) */
@media (max-width: 768px) {
    .package-card__addons {
        padding: 0 5px;
    }
}

.package-card__bonus {
    background: linear-gradient(135deg, rgba(84, 23, 23, 0.05) 0%, rgba(128, 24, 24, 0.1) 100%);
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
}

.package-card__bonus h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 16px;
}

.package-card__footer-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    font-style: italic;
}

/* Базовый адаптив */
@media (max-width: 1024px) {
    .header__container {
        padding: 0 20px;
    }

    .hero__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {

    /* Скрываем обычное меню, если не настроен JS для бургера */
    .header__nav {
        display: none;
        /* Тут должна быть логика мобильного меню */
    }

    .header__right {
        display: none;
        /* Контакты прячем в бургер или вниз */
    }

    .about__principles,
    .why-grid,
    .process-steps {
        grid-template-columns: 1fr;
        /* Карточки в одну колонку */
        gap: 15px;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero__features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        font-size: 0.9rem;
    }
}

/* ==========================================
   ФИКС ШИРИНЫ НА МОБИЛЬНЫХ
========================================== */
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

main {
    width: 100%;
    overflow: hidden;
    /* Обрезаем всё, что пытается вылезти за экран */
}

/* Принудительно делаем Яндекс карты адаптивными, игнорируя их width=517 */
.geo-map__image ymaps,
.geo-map__image iframe,
.geo-map__image div {
    width: 100% !important;
    max-width: 100%;
}

/* Фикс минимальной ширины пакетов на мобилках */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr !important;
        display: block;
        /* Убиваем grid, если он сопротивляется */
    }

    .package-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

:root {
    --primary: #c90101;
    --primary-dark: #541717;
    --primary-red: #801818;
    --primary-red-white: #b81d1d;
    --accent-color: #ff4d4d;
    /* Для контрастных кнопок */
    --text-main: #333;
    --white: #ffffff;
    --section-gap: 60px;
    /* Уменьшенный отступ между блоками */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Raleway', ' __Raleway_5', sans-serif;
    color: #333333;
    line-height: 1.4;
    background-color: #ffffff;
    overflow-x: hidden;
}

.about,
.portfolio,
.geo-section,
.clients,
.contacts {
    padding: var(--section-gap) 0;
    /* Контролируем отступы через переменную */
}

h2.section-title {
    margin-bottom: 20px;
    /* Уменьшаем отступ под заголовком */
}

/* Плавность для всех интерактивных элементов */
.btn,
.principle-card,
.why-card,
.header__menu-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект при наведении на карточки услуг/принципов */
.principle-card:hover,
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(84, 23, 23, 0.15);
    border-color: var(--primary-red);
}

/* Анимация кнопок */
.btn--primary:hover {
    background-color: var(--primary-dark);
    filter: brightness(1.2);
    letter-spacing: 0.5px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* =====================================================
   2. ШАПКА САЙТА (HEADER) - Исправленная версия
   ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    /* Запрещаем перенос на десктопе */
}

/* Логотип */
.header__logo {
    flex-shrink: 0;
}

.header__logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* Навигация */
.header__nav {
    flex: 1;
    margin: 0 20px;
}

.header__menu {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__menu-item {
    position: relative;
    white-space: nowrap;
}

.header__menu-link {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    padding: 10px 12px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.header__menu-link:hover {
    color: var(--primary);
}

@media (min-width: 1025px) {
    .header__menu {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: stretch;
        gap: 0;
    }

    .header__menu-item {
        flex: 1 1 0%;
        text-align: center;
        white-space: nowrap;
    }

    .header__menu-link {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 6px;
    }
}

/* Выпадающее меню - МНОГОКОЛОНОЧНОЕ */
.header__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    min-width: 800px;
    /* Широкий для 4 колонок */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 колонки */
    gap: 20px;
}

.header__menu-item--dropdown:hover .header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.header__dropdown-category {
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

.header__dropdown-category:last-child {
    border-bottom: none;
}

.header__dropdown-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header__dropdown-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__dropdown-submenu li {
    margin-bottom: 8px;
}

.header__dropdown-submenu a {
    display: block;
    font-size: 13px;
    color: #666666;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header__dropdown-submenu a:hover {
    background-color: #f5f5f5;
    color: var(--primary);
    padding-left: 12px;
}

.header__dropdown-title--link {
    text-decoration: none;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-weight: 700;
    /* Делаем чуть жирнее для акцента */
}

.header__dropdown-title--link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
    /* Легкий сдвиг при наведении */
}

/* Правая часть шапки (контакты + кнопки) */
.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Контакты */
.header__contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header__contacts a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header__contacts-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.header__contacts a:hover {
    color: var(--primary);
}

/* Контакты в строку с телефоном */
.header__contacts-phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__messenger-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.header__messenger-link:hover {
    transform: scale(1.15);
}

.header__messenger-link .header__contacts-icon {
    width: 18px;
    height: 18px;
}

/* Адаптив: на планшетах скрываем как и остальные контакты */
@media (max-width: 1200px) {
    .header__contacts-phone-row {
        gap: 6px;
    }

    .header__messenger-link .header__contacts-icon {
        width: 16px;
        height: 16px;
        display: none;
    }
}

.header__phone {
    font-weight: 600;
    font-size: 13px;
}

/* Кнопки действий */
.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Корзина */
.header__cart {
    position: relative;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header__cart:hover {
    transform: scale(1.1);
}

.header__cart-icon {
    width: 22px;
    height: 22px;
    color: #333333;
}

.header__cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* Кнопка CTA */
.header__cta {
    background: rgb(233, 38, 38) 100%;
    color: #ffffff;
    /* margin-right: 2em; */
    padding: 9px 18px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 15px rgba(201, 1, 1, 0.3); */
    white-space: nowrap;
}

.header__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 1, 1, 0.4);
}

/* Бургер-меню */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

.header__burger span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */

@media (max-width: 1400px) {
    .header__dropdown {
        min-width: 700px;
        grid-template-columns: repeat(3, 1fr);
        /* 3 колонки на средних экранах */
    }
}

@media (max-width: 1200px) {
    .header__nav {
        margin: 0 15px;
    }

    .header__menu-link {
        padding: 10px 10px;
        font-size: 13px;
    }

    .header__dropdown {
        min-width: 600px;
        grid-template-columns: repeat(2, 1fr);
        /* 2 колонки */
    }

    .header__address,
    .header__email {
        display: none !important;
        /* Скрываем контакты на планшетах */
    }
}

@media (max-width: 1024px) {
    .header__container {
        flex-wrap: wrap;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        order: 3;
    }

    .header__nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .header__menu {
        flex-direction: column;
        gap: 5px;
    }

    .header__menu-item {
        width: 100%;
    }

    .header__menu-link {
        padding: 12px 15px;
        display: block;
        border-radius: 5px;
    }

    /* Выпадающее меню на мобильных */
    .header__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 15px;
        min-width: auto;
        display: none;
        grid-template-columns: 1fr;
    }

    .header__menu-item--dropdown.active .header__dropdown {
        display: grid;
    }

    .header__dropdown-column {
        margin-bottom: 15px;
    }

    .header__burger {
        display: flex;
    }

    .header__cta {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }

    .header__logo img {
        height: 40px;
    }

    .header__right {
        gap: 10px;
    }

    .header__actions {
        gap: 5px;
    }

    .header__cart-icon {
        width: 20px;
        height: 20px;
    }

    .header__cta {
        padding: 8px 12px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .header__logo img {
        height: 35px;
    }

    .header__cart {
        padding: 5px;
    }

    .header__cta {
        display: none;
        /* Скрываем кнопку CTA на очень маленьких экранах */
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   3. ПЛАВАЮЩАЯ КНОПКА ЗВОНКА
   ===================================================== */

.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(201, 1, 1, 0.4);
    z-index: 999;

    /* === ПУЛЬСАЦИЯ === */
    animation: phonePulse 2s ease-in-out infinite;
}

.floating-phone:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(201, 1, 1, 0.6);
    animation: none;
    /* Останавливаем пульсацию при наведении */
}

.floating-phone__icon {
    width: 30px;
    height: 30px;
}

.floating-phone:hover .floating-phone__icon {
    transform: scale(1.1);
}

/* Пульсация */
@keyframes phonePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(201, 1, 1, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(201, 1, 1, 0.5);
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .floating-phone {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .floating-phone__icon {
        width: 24px;
        height: 24px;
    }
}

/* =====================================================
   4. ГЛАВНЫЙ ЭКРАН (HERO SECTION) - Обновлённая версия
   ===================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px !important;
    /* Увеличил до 200px */
    margin-top: 0 !important;
    overflow: hidden;
    z-index: 1;
}

/* Фоновое изображение */
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Затемнение фона */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(84, 23, 23, 0.9) 0%, rgba(128, 24, 24, 0.6) 100%);
    z-index: 2;
}

/* Контент */
.hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero__content {
    max-width: 900px;
    color: #ffffff;
}

/* Заголовок */
.hero__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero__accent {
    color: var(--primary);
}

/* Подзаголовок */
.hero__subtitle {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Список преимуществ */
.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Чуть больше воздуха между крупными кнопками */
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 77, 77, 0.2);
    }

    50% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 25px rgba(255, 77, 77, 0.5);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 77, 77, 0.2);
    }
}

/* .hero__features li {
    font-size: 16px;
    color: #ffffff;
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
} */

/* Описание */
.hero__description {
    margin-bottom: 25px;
}

.hero__description-text {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.6;
    opacity: 0.95;
}

/* Информация о Микс-пакетах */
.hero__mix-info {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.hero__mix-text {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero__mix-text:last-child {
    margin-bottom: 0;
}

.hero__mix-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* Кнопки */
.hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero__buttons .btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */

@media (max-width: 1024px) {
    .hero__title {
        font-size: 40px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__description-text {
        font-size: 16px;
    }

    .hero__mix-info {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__features {
        flex-direction: column;
        gap: 10px;
    }

    .hero__features li {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero__description-text {
        font-size: 15px;
    }

    .hero__mix-text {
        font-size: 14px;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
    }

    .hero__title {
        font-size: 26px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .hero__features li {
        font-size: 14px;
        padding: 6px 15px;
    }

    .hero__description-text {
        font-size: 14px;
    }

    .hero__mix-info {
        padding: 15px;
    }

    .hero__mix-text {
        font-size: 13px;
    }
}

/* =====================================================
   5. ОБЩИЕ СТИЛИ СЕКЦИЙ
   ===================================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #333333;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666666;
    margin-bottom: 50px;
}

/* =====================================================
   6. О НАС
   ===================================================== */
.about__principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.principle-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.principle-card__icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.principle-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333333;
}

.principle-card p {
    font-size: 14px;
    color: #666666;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    background-color: var(--primary);
    padding: 40px;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
    color: #ffffff;
    background-color: var(--primary-red-white);
    padding: 20px;
    border-radius: 5px;
}

.stat-item__number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item__label {
    font-size: 14px;
    opacity: 0.9;
}

.about__process h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.process-step {
    position: relative;
    padding: 20px;
    text-align: center;
}

.process-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #666666;
    color: #ffffff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333333;
}

.process-step p {
    font-size: 14px;
    color: #666666;
}

/* =====================================================
   6. БЛОК "О НАС" - Обновлённая версия
   ===================================================== */

.about {
    padding: 80px 0;
    background-color: #ffffff;
}

.about__mission {
    font-size: 20px;
    text-align: center;
    color: #333333;
    margin-bottom: 50px;
    font-weight: 500;
}

/* Принципы */
.about__principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.principle-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.principle-card__icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.principle-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333333;
    font-weight: 600;
}

.principle-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Ключевые цифры */
.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 40px;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-item__number {
    display: block;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item__label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0.95;
}

.stat-item__desc {
    display: block;
    font-size: 13px;
    opacity: 0.8;
}

/* Инфографика */
.about__infographic {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    flex-wrap: wrap;
}

.infographic-item {
    text-align: center;
}

.infographic-item__number {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.infographic-item__arrow {
    display: inline-block;
    font-size: 24px;
    color: var(--primary);
    margin: 0 10px;
}

/* География (КАРТА - НЕ ТРОГАЕМ) */
.about__geo {
    margin-bottom: 60px;
}

.about__geo-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #333333;
}

/* Как мы работаем */
/* ==========================================
   ТАЙМЛАЙН "КАК МЫ РАБОТАЕМ"
   ========================================== */
.about__process {
    margin-bottom: 60px;
}

.about__process-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #333333;
}

/* Контейнер таймлайна */
.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 40px 20px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Горизонтальная соединительная линия (только на десктопе) */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-red) 0%,
            var(--primary-red-white) 50%,
            var(--primary-red) 100%);
    border-radius: 2px;
    z-index: 1;
}

/* Отдельный шаг */
.process-timeline__item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: processItemAppear 0.6s ease forwards;
}

/* Задержка появления для каждого шага */
.process-timeline__item:nth-child(1) {
    animation-delay: 0.1s;
}

.process-timeline__item:nth-child(2) {
    animation-delay: 0.25s;
}

.process-timeline__item:nth-child(3) {
    animation-delay: 0.4s;
}

.process-timeline__item:nth-child(4) {
    animation-delay: 0.55s;
}

.process-timeline__item:nth-child(5) {
    animation-delay: 0.7s;
}

.process-timeline__item:nth-child(6) {
    animation-delay: 0.85s;
}

.process-timeline__item:nth-child(7) {
    animation-delay: 1.0s;
}

@keyframes processItemAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кружок с номером */
.process-timeline__marker {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(128, 24, 24, 0.15);
}

.process-timeline__item:hover .process-timeline__marker {
    background: var(--primary-red);
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(128, 24, 24, 0.4);
}

.process-timeline__number {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-red);
    transition: color 0.3s ease;
}

.process-timeline__item:hover .process-timeline__number {
    color: #ffffff;
}

/* Контент шага */
.process-timeline__content {
    padding: 0 5px;
    max-width: 140px;
}

.process-timeline__content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.process-timeline__item:hover .process-timeline__content h4 {
    color: var(--primary-red);
}

.process-timeline__content p {
    font-size: 12px;
    color: #666666;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================
   АДАПТИВ: ПЛАНШЕТ (2 ряда по 4)
   ========================================== */
@media (max-width: 992px) {
    .process-timeline {
        flex-wrap: wrap;
        gap: 30px 20px;
        padding: 20px;
    }

    .process-timeline::before {
        display: none;
        /* Убираем горизонтальную линию */
    }

    .process-timeline__item {
        flex: 0 0 calc(25% - 20px);
        max-width: calc(25% - 20px);
    }

    .process-timeline__content {
        max-width: 100%;
    }

    .process-timeline__content h4 {
        font-size: 15px;
    }

    .process-timeline__content p {
        font-size: 13px;
    }
}

/* ==========================================
   АДАПТИВ: МОБИЛЬНЫЙ (вертикальный таймлайн)
   ========================================== */
@media (max-width: 768px) {
    .about__process-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .process-timeline {
        flex-direction: column;
        gap: 0;
        padding: 10px 0 10px 30px;
        position: relative;
    }

    /* Вертикальная линия слева */
    .process-timeline::before {
        display: block;
        top: 20px;
        bottom: 20px;
        left: 21px;
        right: auto;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg,
                var(--primary-red) 0%,
                var(--primary-red-white) 50%,
                var(--primary-red) 100%);
    }

    .process-timeline__item {
        flex: none;
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 15px;
        padding: 12px 0;
        max-width: 100%;
    }

    .process-timeline__marker {
        position: relative;
        left: -30px;
        margin-right: -30px;
        margin-bottom: 0;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        background: #ffffff;
    }

    .process-timeline__number {
        font-size: 15px;
    }

    .process-timeline__content {
        max-width: 100%;
        padding: 0;
        flex: 1;
    }

    .process-timeline__content h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .process-timeline__content p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Анимация появления слева */
    .process-timeline__item {
        transform: translateX(-20px);
    }

    @keyframes processItemAppear {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

@media (max-width: 480px) {
    .process-timeline {
        padding: 10px 0 10px 25px;
    }

    .process-timeline::before {
        left: 18px;
    }

    .process-timeline__marker {
        left: -25px;
        margin-right: -25px;
        width: 36px;
        height: 36px;
    }

    .process-timeline__number {
        font-size: 14px;
    }

    .process-timeline__content h4 {
        font-size: 15px;
    }

    .process-timeline__content p {
        font-size: 13px;
    }
}

/* Контейнер слайдера внутри карточки */
.case-slider {
    position: relative;
    width: 100%;
    height: 250px;
    /* Фиксированная высота для всех карточек */
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.case-slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.case-slider__track img {
    min-width: 100%;
    height: 100%;
    /* object-fit: cover; */
    min-height: 220px;
    /* Чтобы фото не искажались */
}

/* Кнопки переключения */
.case-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 10px 5px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.case-slider:hover .case-slider__btn {
    opacity: 1;
}

/* Внешний контейнер всей ленты */
.portfolio-ticker {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

/* Трек, который движется */
.portfolio-ticker__track {
    display: flex;
    gap: 30px;
    /* Расстояние между кейсами */
    width: max-content;
    will-change: transform;
}

/* Остановка всей ленты при наведении мыши */
.portfolio-ticker:hover .portfolio-ticker__track {
    animation-play-state: paused;
}

/* Настройка самой карточки внутри ленты */
.slider-card.portfolio-item {
    min-width: 350px;
    /* Ширина карточки */
    max-width: 350px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    /* Чтобы flex не сжимал их */
}

/* Анимация движения ленты */
@keyframes portfolioScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Сдвиг на половину (при условии дублирования контента) */
}

/* Улучшение внутренних кнопок (чтобы они были видны на фото) */
.case-slider__btn {
    z-index: 10;
    /* Кнопки должны быть поверх движущегося трека */
}

.case-slider__btn.prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.case-slider__btn.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

/* Счетчик */
.case-slider__counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

/* Тэги для красоты */
.case-tags {
    margin-bottom: 10px;
}

.tag {
    font-size: 10px;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary-red);
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 5px;
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333333;
    font-weight: 600;
}

.process-step p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Почему выбирают нас (ОБНОВЛЁННЫЙ СТИЛЬ) */
.about__why {
    text-align: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 50px 40px;
    border-radius: 15px;
}

.about__why-title {
    font-size: 28px;
    margin-bottom: 40px;
    color: #333333;
}

/* Сетка преимуществ (как в "Как мы работаем") */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.why-card {
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eeeeee;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.why-card__icon {
    font-size: 42px;
    margin-bottom: 15px;
    display: block;
}

.why-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333333;
    font-weight: 600;
}

.why-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.about__why-cta {
    font-size: 18px;
    color: #666666;
    margin-bottom: 30px;
    font-weight: 500;
}

.about__why .btn--large {
    padding: 18px 50px;
    font-size: 16px;
}


/* ==========================================
ЦВЕТОВОЕ ОФОРМЛЕНИЕ СТРАНИЦ
========================================== */

/* Шапка с красным акцентом */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border-bottom: 3px solid var(--primary-red);
}

/* Чередование фонов секций */
.about {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
}

.portfolio {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-white), var(--primary-red));
}

.clients {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-white) 100%);
    color: #ffffff;
}

.clients .section-title,
.clients .section-subtitle {
    color: #ffffff;
}

.contacts {
    background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
    position: relative;
}

/* Цветные заголовки секций */
.section-title {
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-white));
    border-radius: 2px;
}

/* Цветные карточки с красными акцентами */
.service-card {
    border-top: 4px solid var(--primary-red);
    box-shadow: 0 5px 20px rgba(184, 29, 29, 0.1);
}

.service-card:hover {
    border-top-color: var(--primary-red-white);
    box-shadow: 0 10px 30px rgba(184, 29, 29, 0.2);
}

/* Портфолио - цветные карточки */
.slider-card {
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.slider-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 29, 29, 0.2);
}

/* Клиенты - белые логотипы на красном фоне */
.clients__logo {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.clients__logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Цветные кнопки */
.btn--primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-white) 100%);
    box-shadow: 0 4px 15px rgba(184, 29, 29, 0.3);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-red-white) 0%, var(--primary-red) 100%);
    box-shadow: 0 6px 20px rgba(184, 29, 29, 0.5);
    transform: translateY(-2px);
}

/* Цветные иконки в карточках */
.service-card__icon {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-white) 100%);
    color: #ffffff;
}

/* Разделители секций */
.services-category {
    position: relative;
    padding-top: 50px;
}

.services-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

/* Цветные заголовки категорий */
.category-title {
    color: var(--primary-dark);
    position: relative;
    padding-left: 20px;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary-red), var(--primary-red-white));
    border-radius: 3px;
}

/* Цветная форма контактов */
.contacts__form-box {
    border-top: 5px solid var(--primary-red);
    box-shadow: 0 10px 40px rgba(184, 29, 29, 0.15);
}

/* Акцентные блоки */
.about__highlight {
    background: linear-gradient(135deg, rgba(184, 29, 29, 0.1) 0%, rgba(128, 24, 24, 0.15) 100%);
    border-left: 5px solid var(--primary-red);
    color: var(--primary-dark);
}

/* Цветные цифры в статистике */
.stat-item__number {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Подвал с градиентом */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-red) 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red-white), var(--primary-red), var(--primary-red-white));
}

/* Цветные ссылки в подвале */
.footer__links a:hover,
.footer__contacts a:hover {
    color: var(--primary-red-white);
    transform: translateX(5px);
}

/* Адаптивные цветовые акценты */
@media (max-width: 768px) {
    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .category-title::before {
        width: 4px;
        height: 20px;
    }
}

/* Эффект свечения для активных элементов */
.hero__feature-item:hover,
.service-card:hover,
.slider-card:hover {
    box-shadow: 0 0 30px rgba(184, 29, 29, 0.3);
}

/* Цветные маркеры в списках */
.package-card__features li::before {
    content: '▸';
    color: var(--primary-red);
    font-weight: bold;
    margin-right: 10px;
}

/* Градиентные разделители */
.services-cta {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #fff5f5 100%);
    border-top: 3px solid var(--primary-red);
    border-bottom: 3px solid var(--primary-red);
}

/* Цветные бейджи */
.package-card__badge {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-white) 100%);
    box-shadow: 0 4px 15px rgba(184, 29, 29, 0.4);
}

/* ==========================================
ТОЧКИ НАВИГАЦИИ ПОРТФОЛИО (кликабельные)
========================================== */
.portfolio-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.portfolio-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dddddd;
    border: 2px solid transparent;
    cursor: pointer;
    /* ← Указатель — видно, что кликабельно */
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.portfolio-dot:hover {
    background-color: #ff6b6b;
    /* ← Светло-красный при наведении */
    transform: scale(1.3);
}

.portfolio-dot.active {
    background-color: var(--primary-red);
    border-color: var(--primary-dark);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(128, 24, 24, 0.5);
}

/* Адаптив */
@media (max-width: 768px) {
    .portfolio-dots {
        gap: 8px;
        margin-top: 20px;
    }

    .portfolio-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .portfolio-dots {
        gap: 6px;
    }

    .portfolio-dot {
        width: 8px;
        height: 8px;
    }
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */

@media (max-width: 1024px) {
    .geo-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 30px;
    }

    .stat-item__number {
        font-size: 42px;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .about__mission {
        font-size: 18px;
    }

    .about__principles {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .principle-card {
        padding: 20px;
    }

    .principle-card__icon {
        font-size: 42px;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }

    .stat-item__number {
        font-size: 36px;
    }

    .about__infographic {
        flex-direction: column;
        gap: 15px;
    }

    .infographic-item__arrow {
        transform: rotate(90deg);
        display: block;
        margin: 10px auto;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-card {
        padding: 20px 15px;
    }

    .why-card__icon {
        font-size: 36px;
    }

    .about__why-cta {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .about__principles {
        grid-template-columns: 1fr;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .geo-map__legend-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .about__why .btn--large {
        width: 100%;
        padding: 15px 30px;
    }
}

/* =====================================================
   7. ПОРТФОЛИО
   ===================================================== */

.portfolio {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* === ВИДЕОПРОДАКШН (КОМПАКТНЫЙ) === */
.portfolio__video-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

.portfolio__section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
    text-align: center;
}

/* Контейнер видео (МЕНЬШЕ) */
.video-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 25px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    height: 100%;
}

.video-container__img {
    width: 100%;
    height: auto;
    /* Высота авто — зависит от картинки */
    display: block;
    object-fit: contain;
    /* Картинка помещается полностью без искажений */
    object-position: center;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    min-height: 225px;
}

/* Кнопка по центру */
.portfolio__video-section .btn {
    display: inline-block;
    margin: 0 auto;
}

/* === СЛАЙДЕР КЕЙСОВ === */
.portfolio__slider-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.portfolio__slider-desc {
    font-size: 14px;
    color: #666666;
    text-align: center;
    margin-bottom: 30px;
}

.slider-wrapper {
    position: relative;
    max-width: 100%;
}

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-card {
    min-width: 260px;
    max-width: 260px;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.slider-card__img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #eeeeee;
}

.slider-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slider-card:hover .slider-card__img img {
    transform: scale(1.1);
}

.slider-card__content {
    padding: 15px;
}

.slider-card__content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.slider-card__content p {
    font-size: 12px;
    color: #666666;
    line-height: 1.4;
    margin: 0;
}

/* Кнопки слайдера */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Адаптивность */
@media (max-width: 768px) {
    .portfolio {
        padding: 40px 0;
    }

    .portfolio__video-section,
    .portfolio__slider-section {
        padding: 25px 20px;
    }

    .portfolio__section-title {
        font-size: 20px;
    }

    .slider-card {
        min-width: 220px;
        max-width: 220px;
    }

    .slider-card__img {
        height: 140px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .slider-card {
        min-width: 200px;
        max-width: 200px;
    }

    .slider-card__img {
        height: 120px;
    }

    .portfolio__video-section .btn {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   АНИМАЦИИ
   ===================================================== */

@keyframes sliderFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-slide {
    animation: sliderFadeIn 0.5s ease forwards;
}

.slider-slide:nth-child(1) {
    animation-delay: 0.05s;
}

.slider-slide:nth-child(2) {
    animation-delay: 0.1s;
}

.slider-slide:nth-child(3) {
    animation-delay: 0.15s;
}

.slider-slide:nth-child(4) {
    animation-delay: 0.2s;
}

.slider-slide:nth-child(5) {
    animation-delay: 0.25s;
}

.slider-slide:nth-child(6) {
    animation-delay: 0.3s;
}


/* ==========================================
   ЭФФЕКТ РАСХОДЯЩИХСЯ КРУГОВ (RIPPLES)
   ========================================== */
/* ==========================================
   БЛОК "ЛОКАЛЬНЫЙ ОХВАТ" - ФОН С КРУГАМИ
   ========================================== */

.local-reach-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
    /* Темно-бордовый фон с градиентом */
    background: radial-gradient(ellipse at center, #2d1515 0%, #1a0a0a 50%, #0f0505 100%);
}

/* Контейнер для анимированных кругов */
.ripples-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Отдельный круг */
.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(184, 29, 29, 0.3);
    opacity: 0;
    animation: rippleWave 6s ease-out infinite;
}

/* Настройка каждого круга с равномерной задержкой */
.ripple:nth-child(1) {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
    border-color: rgba(184, 29, 29, 0.4);
}

.ripple:nth-child(2) {
    width: 200px;
    height: 200px;
    animation-delay: 1.2s;
    border-color: rgba(184, 29, 29, 0.3);
}

.ripple:nth-child(3) {
    width: 200px;
    height: 200px;
    animation-delay: 2.4s;
    border-color: rgba(184, 29, 29, 0.25);
}

.ripple:nth-child(4) {
    width: 200px;
    height: 200px;
    animation-delay: 3.6s;
    border-color: rgba(184, 29, 29, 0.2);
}

.ripple:nth-child(5) {
    width: 200px;
    height: 200px;
    animation-delay: 4.8s;
    border-color: rgba(184, 29, 29, 0.15);
}

/* Анимация расходящихся кругов */
@keyframes rippleWave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
        border-width: 3px;
    }

    100% {
        transform: translate(-50%, -50%) scale(8);
        opacity: 0;
        border-width: 0.5px;
    }
}

.is-open {
    display: block !important;
    max-height: 350px;
    overflow-y: scroll;
    font-size: 13px;

    .header__dropdown-category {
        padding-bottom: 0;

        li {
            margin-bottom: 0;
        }
    }

    .header__dropdown-title {
        margin-bottom: 0;
    }
}

/* Контент поверх кругов */
.ripples-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    /* height: 55%; */
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

@media (min-width: 1200px) and (max-width: 1500px) {
    .ripples-title {
        font-size: 48px !important;
    }

    .ripples-subtitle--accent {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .header__logo img {
        height: 70px;
    }
}

.ripples-title {
    font-size: 64px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 30px;
    text-shadow:
        0 0 40px rgba(184, 29, 29, 0.8),
        0 0 80px rgba(184, 29, 29, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.ripples-subtitle {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ripples-subtitle--accent {
    font-size: 22px;
    font-weight: 700;
    color: #ff6b6b;
    margin-top: 20px;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.ripples-info {
    background: rgba(128, 24, 24, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 29, 29, 0.5);
    border-radius: 20px;
    padding: 35px;
    margin-top: 30px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(184, 29, 29, 0.2);
}

.ripples-info__text {
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 20px;
}

.ripples-info__bonus {
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
    padding: 20px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* ==========================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ
   ========================================== */

@media (max-width: 1024px) {
    .local-reach-hero {
        min-height: 100vh !important;
        /* Оставляем 100vh */
        height: 100vh !important;
        padding: 100px 20px 60px !important;
        /* Чуть меньше padding */
    }

    .ripples-title {
        font-size: 48px !important;
    }
}

@media (max-width: 768px) {
    .local-reach-hero {
        min-height: 100vh !important;
        /* Оставляем 100vh */
        height: 100vh !important;
        padding: 100px 15px 40px !important;
    }

    .ripple {
        width: 150px !important;
        height: 150px !important;
    }

    .ripples-title {
        font-size: 36px !important;
        letter-spacing: 2px !important;
        margin-bottom: 20px !important;
    }

    .ripples-subtitle {
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }

    .ripples-subtitle--accent {
        font-size: 16px !important;
        margin-top: 15px !important;
        margin-bottom: 25px !important;
    }

    .ripples-info {
        padding: 20px 15px !important;
        margin-top: 20px !important;
    }

    .ripples-info__text {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }

    .ripples-info__bonus-link {
        font-size: 15px !important;
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .local-reach-hero {
        min-height: 100vh !important;
        /* Оставляем 100vh */
        height: 100vh !important;
        padding: 90px 12px 30px !important;
        /* Ещё компактнее */
    }

    .ripple {
        width: 120px !important;
        height: 120px !important;
    }

    .ripples-title {
        font-size: 28px !important;
    }

    .ripples-subtitle {
        font-size: 13px !important;
    }

    .ripples-subtitle--accent {
        font-size: 14px !important;
    }

    .ripples-info {
        padding: 15px 12px !important;
    }

    .ripples-info__text {
        font-size: 12px !important;
    }

    .ripples-info__bonus-link {
        font-size: 13px !important;
        padding: 12px !important;
    }
}

/* ==========================================
   МУЛЬТИСЕЛЕКТ (ВЫБОР НЕСКОЛЬКИХ РАЙОНОВ)
   ========================================== */
.multi-select {
    position: relative;
    width: 100%;
}

.multi-select__trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #ffffff;
    cursor: pointer;
    min-height: 46px;
    transition: border-color 0.3s ease;
    font-size: 14px;
    color: #333;
}

.multi-select__trigger:hover {
    border-color: var(--primary);
}

.multi-select.active .multi-select__trigger {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 1, 1, 0.1);
}

.multi-select__placeholder {
    color: #999;
    flex: 1;
}

.multi-select__selected {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1;
}

.multi-select__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-white) 100%);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.multi-select__tag-remove {
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.4s;
}

.multi-select__tag-remove:hover {
    opacity: 1;
}

.multi-select__arrow {
    color: #999;
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.multi-select.active .multi-select__arrow {
    transform: rotate(180deg);
}

.multi-select__dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.multi-select.active .multi-select__dropdown {
    display: block;
    animation: slideDown 0.2s ease;
}

.multi-select__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
    color: #333;
}

.multi-select__option:hover {
    background: #f5f5f5;
}

.multi-select__option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.multi-select__option input[type="checkbox"]:checked+span {
    color: var(--primary);
    font-weight: 600;
}

/* Скроллбар */
.multi-select__dropdown::-webkit-scrollbar {
    width: 6px;
}

.multi-select__dropdown::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Адаптив */
@media (max-width: 480px) {
    .multi-select__trigger {
        padding: 10px 12px;
        font-size: 13px;
    }

    .multi-select__tag {
        font-size: 11px;
        padding: 2px 8px;
    }
}

/* Ссылка-плашка с бонусом */
.ripples-info__bonus-link {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
    padding: 20px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bonusPulse 2s ease-in-out infinite;
    cursor: pointer;
}

.ripples-info__bonus-link:hover {
    background: rgba(255, 215, 0, 0.25);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    transform: scale(1.02);
}

/* Анимация пульсации */
@keyframes bonusPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 35px rgba(255, 215, 0, 0.5), 0 0 50px rgba(255, 215, 0, 0.3);
        transform: scale(1.03);
    }
}

/* Уменьшаем отступы в блоке ripples-info */
.ripples-info {
    background: rgba(128, 24, 24, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 29, 29, 0.5);
    border-radius: 20px;
    padding: 25px;
    /* Было 35px */
    margin-top: 20px;
    /* Было 30px */
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(184, 29, 29, 0.2);
}

.ripples-info__text {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 15px;
    /* Было 20px */
}

/* Подсветка секции бонусов при переходе по ссылке */
#bonus-section {
    /* Убираем scroll-margin-top, так как используем JS */
    scroll-margin-top: 80px;
    /* Запас на случай, если JS не сработает */
}

#bonus-section:target {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .ripples-info__bonus-link {
        font-size: 15px !important;
        padding: 15px !important;
    }

    .ripples-info {
        padding: 15px !important;
        margin-top: 15px !important;
    }

    .ripples-info__text {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    .ripples-info__bonus-link {
        font-size: 13px !important;
        padding: 12px !important;
    }
}

/* =====================================================
   8. КЛИЕНТЫ (Бесконечная карусель)
   ===================================================== */

.clients {
    padding: 60px 0;
    background-color: #ffffff;
    overflow: hidden;
    /* Скрываем выходящие за границы элементы */
}

.clients__carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.clients__track {
    display: flex;
    gap: 60px;
    width: max-content;
    /* animation: scrollCarousel 60s linear infinite; */
}

/* Анимация бесконечной прокрутки */
@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Сдвигаем на 50% (размер дубликатов) */
    }
}

/* Логотип клиента */
.clients__logo {
    height: 80px;
    /* Фиксированная высота */
    width: auto;
    object-fit: contain;
    filter: none;
    /* Убираем grayscale - логотипы цветные */
    opacity: 1;
    /* Полная непрозрачность */
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .clients {
        padding: 40px 0;
    }

    .clients__track {
        gap: 40px;
        animation-duration: 20s;
        /* Быстрее на мобильных */
    }

    .clients__logo {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .clients__track {
        gap: 30px;
        animation-duration: 15s;
        /* Ещё быстрее на маленьких экранах */
    }

    .clients__logo {
        height: 50px;
    }
}

/* =====================================================
   9. КОНТАКТЫ - Обновлённая версия
   ===================================================== */

.contacts {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

/* Заголовок секции */
.contacts__header {
    text-align: center;
    margin-bottom: 60px;
}

.contacts__title {
    font-size: 42px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
}

.contacts__subtitle {
    font-size: 18px;
    color: #666666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Обёртка контактов */
.contacts__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Левая колонка: Информация */
.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Блок контакта */
.contact-block {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.9s ease, box-shadow 0.6s ease;
}

.contact-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.contact-block__icon {
    font-size: 40px;
    flex-shrink: 0;
}

.contact-block__content {
    flex: 1;
}

.contact-block__content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.contact-block__content p {
    font-size: 15px;
    color: #666666;
    margin-bottom: 5px;
}

.contact-block__phone,
.contact-block__email {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
    transition: color 0.6s ease;
}

.contact-block__phone:hover,
.contact-block__email:hover {
    color: var(--primary-dark);
}

.contact-block__link {
    display: inline-block;
    font-size: 14px;
    color: var(--primary);
    text-decoration: underline;
    margin-top: 5px;
    transition: color 0.6s ease;
}

.contact-block__link:hover {
    color: var(--primary-dark);
}

.contact-block__note {
    font-size: 13px;
    color: #999999;
    margin-top: 5px;
}

/* Карта */
.contacts__map {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Правая колонка: Форма */
.contacts__form-wrapper {
    position: sticky;
    top: 100px;
}

.contacts__form-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contacts__form-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    text-align: center;
    margin-bottom: 30px;
}

.contacts__form .form__group {
    margin-bottom: 16px;
}

.contacts__form .form__group label {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
    display: block;
}

.contacts__form .form__group input,
.contacts__form .form__group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contacts__form .form__group input:focus,
.contacts__form .form__group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 1, 1, 0.1);
}

.contacts__form .form__group textarea {
    min-height: 140px;
    resize: vertical;
}

.contacts__form .btn--large {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.form__note {
    font-size: 12px;
    color: #999999;
    text-align: center;
    margin-top: 15px;
    line-height: 1.5;
}

.form__note a {
    color: var(--primary);
    text-decoration: underline;
}

.form__note a:hover {
    color: var(--primary-dark);
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */

@media (max-width: 1024px) {
    .contacts__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacts__form-wrapper {
        position: static;
    }

    .contacts__title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .contacts {
        padding: 60px 0;
    }

    .contacts__header {
        margin-bottom: 40px;
    }

    .contacts__title {
        font-size: 32px;
    }

    .contacts__subtitle {
        font-size: 16px;
    }

    .contact-block {
        padding: 20px;
        gap: 15px;
    }

    .contact-block__icon {
        font-size: 32px;
    }

    .contact-block__phone,
    .contact-block__email {
        font-size: 18px;
    }

    .contacts__form-box {
        padding: 30px 20px;
    }

    .contacts__form-title {
        font-size: 22px;
    }

    .contacts__map iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .contacts__title {
        font-size: 28px;
    }

    .contacts__subtitle {
        font-size: 14px;
    }

    .contact-block {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-block__icon {
        margin-bottom: 10px;
    }

    .contact-block__phone,
    .contact-block__email {
        font-size: 16px;
    }

    .contacts__form .btn--large {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* =====================================================
   АНИМАЦИИ
   ===================================================== */

@keyframes contactsFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contacts {
    animation: contactsFadeIn 0.6s ease forwards;
}

.contact-block {
    animation: contactsFadeIn 0.6s ease forwards;
}

.contact-block:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-block:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-block:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-block:nth-child(4) {
    animation-delay: 0.4s;
}

/* =====================================================
   10. ФОРМЫ
   ===================================================== */
.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form__group label {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.form__group input,
.form__group textarea,
.form__group select {
    padding: 12px 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
    border-color: var(--primary);
    outline: none;
}

.form__group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Поле выбора локации скрыто по умолчанию и появляется только при необходимости */
.location-field {
    display: none;
    background: linear-gradient(135deg, rgba(201, 1, 1, 0.05) 0%, rgba(128, 24, 24, 0.08) 100%);
    border-left: 3px solid var(--primary);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    animation: slideDown 0.3s ease;
}

.location-field.visible {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   11. КНОПКИ
   ===================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn--primary {
    background-color: var(--primary-red-white);
    color: #ffffff;
}

.btn--primary:hover {
    background-color: var(--primary-dark);
}

.btn--secondary {
    margin-top: 10px;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--secondary:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.btn--outline {
    background-color: transparent;
    color: #333333;
    border: 2px solid #333333;
}

.btn--outline:hover {
    background-color: #333333;
    color: #ffffff;
}

.btn--full {
    width: 100%;
}

/* =====================================================
   12. ПОДВАЛ
   ===================================================== */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo img {
    height: 90px;
    /* Увеличено для подвала */
    margin-bottom: 15px;
}

.footer__logo p {
    font-size: 14px;
    opacity: 0.8;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer__links a:hover {
    opacity: 1;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contacts a {
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer__contacts a:hover {
    opacity: 1;
}

.footer__copyright {
    text-align: center;
    padding-top: 60px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    font-size: 14px;
    opacity: 0.6;
}

/* =====================================================
   13. МОДАЛЬНЫЕ ОКНА
   ===================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal__content {
    position: relative;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #666666;
    transition: color 0.9s ease;
}

.modal__close:hover {
    color: var(--primary);
}

.modal__title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333333;
}

.cart-items__empty {
    text-align: center;
    color: #666666;
    padding: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
}

.cart-item h4 {
    font-size: 14px;
    color: #333333;
}

.cart-item .remove-btn {
    color: var(--primary);
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.cart-item .remove-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.cart-form {
    margin-top: 30px;
}

/* =====================================================
   14. УВЕДОМЛЕНИЯ
   ===================================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #333333;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast__message {
    font-size: 14px;
}

/* =====================================================
   15. АДАПТИВНОСТЬ
   ===================================================== */
@media (max-width: 1024px) {
    .header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .header__nav.active {
        display: block;
    }

    .header__menu {
        flex-direction: column;
        gap: 15px;
    }

    .header__address,
    .header__email {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .hero__container {
        flex-direction: column;
        text-align: center;
    }

    .hero__features {
        text-align: left;
        display: inline-block;
    }

    .hero__buttons {
        justify-content: center;
    }

    .contacts__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero__title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .header__cta {
        padding: 8px 15px;
        font-size: 13px;
    }

    .header__actions {
        gap: 10px;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }

    .stat-item__number {
        font-size: 36px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-phone {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .modal__content {
        padding: 30px 20px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero{
        padding-top: 70px !important;
    }

    .hero__title {
        font-size: 22px;
    }

    .hero__features li  {
        margin-bottom: 0 !important;
    }

    .hero__offer-badge, .hero__local-offer {
        display: none !important;
    }

    .hero__description-text {
        display: none;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .clients__logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__links,
    .footer__contacts {
        align-items: center;
    }
}

/* =====================================================
   16. УТИЛИТЫ
   ===================================================== */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* =====================================================
   17. СТРАНИЦА УСЛУГ (SERVICES)
   ===================================================== */

/* Заголовок страницы услуг */
/* ==========================================
КОМПАКТНЫЙ ЗАГОЛОВОК СТРАНИЦЫ УСЛУГ
========================================== */
.page-hero {
    padding: 80px 0 40px !important;
    /* Уменьшили отступы */
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    text-align: center;
}

.page-hero__title {
    font-size: 28px !important;
    /* Было 42px */
    font-weight: 700;
    margin-bottom: 10px !important;
    /* Уменьшили отступ */
    color: #333333;
    line-height: 1.3;
}

.page-hero__subtitle {
    font-size: 14px !important;
    /* Было 18px */
    color: #666666;
    max-width: 700px;
    margin: 0 auto 25px !important;
    /* Уменьшили отступ */
    line-height: 1.5;
}

/* Компактный прогресс-бар */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px !important;
    /* Уменьшили расстояние */
    max-width: 500px;
    margin: 0 auto !important;
    flex-wrap: wrap;
}

.progress-bar__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px !important;
}

.progress-bar__number {
    width: 32px !important;
    /* Было 40px */
    height: 32px !important;
    border-radius: 50%;
    background-color: #dddddd;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px !important;
    transition: all 0.3s ease;
}

.progress-bar__step--active .progress-bar__number {
    background-color: var(--primary);
    color: #ffffff;
}

.progress-bar__label {
    font-size: 12px !important;
    /* Было 14px */
    color: #666666;
    text-align: center;
    font-weight: 500;
}

.progress-bar__step--active .progress-bar__label {
    color: var(--primary);
    font-weight: 600;
}

.progress-bar__line {
    width: 40px !important;
    /* Было 60px */
    height: 2px;
    background-color: #dddddd;
    flex-shrink: 0;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 30px !important;
    }

    .page-hero__title {
        font-size: 22px !important;
    }

    .page-hero__subtitle {
        font-size: 13px !important;
    }

    .progress-bar {
        gap: 10px !important;
    }

    .progress-bar__number {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }

    .progress-bar__label {
        font-size: 11px !important;
    }

    .progress-bar__line {
        width: 25px !important;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 50px 0 25px !important;
    }

    .page-hero__title {
        font-size: 20px !important;
    }

    .progress-bar {
        flex-direction: column;
        gap: 15px !important;
    }

    .progress-bar__line {
        display: none;
        /* Скрываем линии на очень маленьких экранах */
    }
}

/* ==========================================
   БЛОК "ЛОКАЛЬНЫЙ ОХВАТ" - ПРОСТАЯ ВЕРСИЯ
   ========================================== */
.local-reach-simple {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.local-reach-simple__inner {
    max-width: 700px;
    margin: 0 auto;
}

.local-reach-simple__title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

.local-reach-simple__text {
    font-size: 17px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 15px;
}

.local-reach-simple__text--accent {
    font-weight: 600;
    color: #333333;
    margin-top: 10px;
    margin-bottom: 30px;
}

.local-reach-simple__btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    background-color: var(--primary-red-white);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.local-reach-simple__btn:hover {
    background-color: var(--primary-dark);
}

/* Адаптив */
@media (max-width: 768px) {
    .local-reach-simple {
        padding: 40px 0;
    }

    .local-reach-simple__title {
        font-size: 28px;
    }

    .local-reach-simple__text {
        font-size: 15px;
    }

    .local-reach-simple__btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* =====================================================
   18. КАТЕГОРИИ УСЛУГ
   ===================================================== */

.services-category {
    padding: 30px 0;
    border-bottom: 1px solid #eeeeee;
}

.services-category:last-child {
    border-bottom: none;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-icon {
    font-size: 24px;
}

/* Сетка карточек */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.service-card__header {
    display: flex;
    align-items: center;
    gap: 8px;

}

/* =====================================================
   19. КАРТОЧКА УСЛУГИ
   ===================================================== */

.service-card {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Эффект добавления в корзину */
.service-card.card--added {
    border-color: #28a745;
    background-color: #f0fff4;
}

/* Иконка услуги */
.service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 10px;
    font-size: 32px;
    transition: all 0.3s ease;
}

.service-card__icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-card:hover .service-card__icon {
    background-color: var(--primary);
    color: #ffffff;
}

.service-card:hover .service-card__icon img {
    filter: invert(1);
}

/* Заголовок карточки */
.service-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 5px;
}

/* Описание */
.service-card__description {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    flex-grow: 1;
}

/* Цена */
.service-card__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
}

/* Охват */
.service-card__reach {
    font-size: 13px;
    color: #999999;
    background-color: #f9f9f9;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
}

/* Кнопка в карточке */
.service-card .btn {
    margin-top: 10px;
}

/* =====================================================
ПОДСКАЗКИ В ФОРМЕ
===================================================== */
.form__hint {
    font-size: 12px;
    color: #999999;
    margin-top: 8px;
    font-style: italic;
}

.date-range {
    display: flex;
    gap: 15px;
    align-items: center;
}

.date-range input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 14px;
}

.range-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-top: 10px;
}

/* =====================================================
   20. CTA БЛОК ВНИЗУ СТРАНИЦЫ УСЛУГ - ИСПРАВЛЕНО
   ===================================================== */

.services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    text-align: center;
}

.services-cta__content {
    max-width: 1000px;
    /* Увеличили для 2 карточек в ряд */
    margin: 0 auto;
}

.services-cta__content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333333;
}

.services-cta__content p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
}

/* Сетка для карточек медиамикс */
.mix-packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 карточки в ряд */
    gap: 30px;
    margin-top: 40px;
}

/* Карточка микс-пакета */
.mix-package-card {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 🔑 ЦЕНТРИРОВАНИЕ ВСЕГО КОНТЕНТА */
    text-align: center;
    /* 🔑 ЦЕНТРИРОВАНИЕ ТЕКСТА */
}

.mix-package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* 🔑 ИКОНКА ПО ЦЕНТРУ (ТОЛЬКО ДЛЯ МЕДИАМИКСА) */
.mix-package-card__icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.mix-package-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
    text-align: center;
}

.mix-package-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
}

.mix-package-card__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

.mix-package-card .btn {
    margin-top: auto;
    width: 100%;
    max-width: 250px;
}

.services-cta .btn--large {
    padding: 15px 40px;
    font-size: 16px;
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */

@media (max-width: 1024px) {
    .mix-packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mix-packages-grid {
        grid-template-columns: 1fr;
        /* На мобильных - 1 колонка */
        gap: 20px;
    }

    .mix-package-card {
        padding: 30px 20px;
    }

    .mix-package-card__icon {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .mix-package-card {
        padding: 25px 15px;
    }

    .mix-package-card__icon {
        font-size: 42px;
    }

    .mix-package-card .btn {
        width: 100%;
    }
}

/* =====================================================
   21. АДАПТИВНОСТЬ ДЛЯ УСЛУГ
   ===================================================== */

@media (max-width: 1024px) {
    .page-hero__title {
        font-size: 36px;
    }

    .category-title {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 40px;
    }

    .page-hero__title {
        font-size: 28px;
    }

    .page-hero__subtitle {
        font-size: 16px;
    }

    .progress-bar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .progress-bar__line {
        display: none;
    }

    .category-title {
        font-size: 24px;
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    .services-cta__content h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .page-hero__title {
        font-size: 24px;
    }

    .service-card__icon {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .service-card__title {
        font-size: 18px;
    }

    .service-card__price {
        font-size: 16px;
    }

    .progress-bar__step {
        flex: 1 1 100%;
    }
}

/* =====================================================
   22. ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ
   ===================================================== */

/* Анимация появления карточек */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: cardFadeIn 0.5s ease forwards;
}

/* Задержка анимации для каждой карточки */
.services-grid .service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.services-grid .service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.services-grid .service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.services-grid .service-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Пульсация кнопки при наведении */
.service-card .btn:hover {
    animation: btnPulse 0.3s ease;
}

@keyframes btnPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Подсветка карточки при добавлении в корзину */
@keyframes cardHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.service-card.card--added {
    animation: cardHighlight 0.6s ease;
}

/* =====================================================
   23. СТРАНИЦА МИКС-ПАКЕТОВ (PACKAGES) - Обновлённая
   ===================================================== */

.packages-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    text-align: center;
}

.packages-section {
    padding: 10px 0;
    background-color: #ffffff;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Карточка пакета */
.package-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.package-card--popular {
    border-color: var(--primary);
}

/* Бейдж "Популярный выбор" */
.package-card__badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(201, 1, 1, 0.4);
}

/* Иконка пакета */
.package-card__icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 10px;
}

/* Заголовок карточки */
.package-card__header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #eeeeee;
}

.package-card__title {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 5px;
}

.package-card__subtitle {
    font-size: 15px;
    color: #666666;
    margin-bottom: 15px;
}

.package-card__price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Период пакета */
.package-card__period {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    color: #666666;
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
}

.package-card__period-icon {
    font-size: 20px;
}

/* Список преимуществ */
.package-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.package-card__features li {
    font-size: 14px;
    color: #333333;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
    line-height: 1.6;
}

.package-card__features li:last-child {
    border-bottom: none;
}

/* Результат пакета */
.package-card__result {
    background: linear-gradient(135deg, #f0fff4 0%, #e6f7ed 100%);
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    color: #28a745;
    line-height: 1.6;
}

.package-card__result strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

/* Дополнения к пакету */
.package-card__addons {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.package-card__addons h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
    margin-top: 0;
}

.addon-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    color: #666666;
    transition: all 0.3s ease;
}

.addon-checkbox:hover {
    color: var(--primary);
}

.addon-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.addon-checkbox span {
    flex: 1;
    line-height: 1.4;
}

/* Подсветка выбранного дополнения */
.addon-checkbox input[type="checkbox"]:checked+span {
    color: var(--primary);
    font-weight: 600;
}

/* Кнопка выбора пакета */
.package-select-btn {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

/* =====================================================
   24. ПОЧЕМУ ЭТО РАБОТАЕТ
   ===================================================== */

.why-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.synergy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.synergy-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.synergy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.synergy-card__formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    flex-wrap: wrap;
}

.synergy-card__channel {
    background-color: #f9f9f9;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #eeeeee;
    white-space: nowrap;
}

.synergy-card__arrow {
    color: var(--primary);
    font-size: 20px;
}

.synergy-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Результаты синергии */
.synergy-result {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.synergy-result__item {
    text-align: center;
}

.synergy-result__number {
    display: block;
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1;
}

.synergy-result__label {
    font-size: 16px;
    color: #666666;
}

/* =====================================================
   25. ФОРМА ИНДИВИДУАЛЬНОГО РАСЧЁТА
   ===================================================== */

.custom-calc-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.custom-calc-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.custom-calc__content {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.custom-calc__content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
}

.custom-calc__content>p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
}

/* =====================================================
   СЛАЙДЕР БЮДЖЕТА - УЛУЧШЕННАЯ СТИЛИЗАЦИЯ
   ===================================================== */

.form__group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) 0%, #dddddd 0%, #dddddd 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 20px 0;
    cursor: pointer;
    transition: background 0.1s ease;
}

/* === THUMB (ПОЛЗУНОК) - CHROME/SAFARI === */
.form__group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(201, 1, 1, 0.4);
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
}

.form__group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 20px rgba(201, 1, 1, 0.6);
}

.form__group input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.1);
    box-shadow: 0 2px 15px rgba(201, 1, 1, 0.5);
}

/* === THUMB (ПОЛЗУНОК) - FIREFOX === */
.form__group input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(201, 1, 1, 0.4);
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
}

.form__group input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 20px rgba(201, 1, 1, 0.6);
}

.form__group input[type="range"]::-moz-range-thumb:active {
    transform: scale(1.1);
}

/* === TRACK (ДОРОЖКА) - FIREFOX === */
.form__group input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #dddddd;
    outline: none;
}

/* === ЗНАЧЕНИЕ БЮДЖЕТА === */
.range-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 8px;
    border: 2px solid #eeeeee;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.range-value:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

/* === ПОДСКАЗКА === */
.form__hint {
    font-size: 12px;
    color: #999999;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* ==========================================
   СПЕЦПРЕДЛОЖЕНИЕ ДЛЯ ЛОКАЛЬНОГО БИЗНЕСА
   ========================================== */
.hero__local-offer {
    margin-top: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Бейдж с заголовком */
.hero__offer-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.hero__offer-badge__text {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero__offer-badge__label {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Плашка с контрастным фоном */
.hero__offer-plaque {
    background: rgba(128, 24, 24, 0.9);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-red-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero__offer-text {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
}

/* Кнопка действия */
.hero__offer-actions {
    text-align: center;
}

.hero__offer-btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-red-white) 0%, var(--primary-red) 100%);
    box-shadow: 0 6px 25px rgba(184, 29, 29, 0.5);
    transition: all 0.3s ease;
}

.hero__offer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(184, 29, 29, 0.7);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero__local-offer {
        padding: 20px;
        margin-top: 20px;
    }

    .hero__offer-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero__offer-badge__text {
        font-size: 16px;
    }

    .hero__offer-plaque {
        padding: 20px;
    }

    .hero__offer-text {
        font-size: 14px;
    }

    .hero__offer-btn {
        padding: 15px 30px;
        font-size: 15px;
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero__offer-badge__text {
        font-size: 14px;
    }

    .hero__offer-plaque {
        padding: 15px;
    }

    .hero__offer-text {
        font-size: 13px;
    }
}

/* =====================================================
   АНИМАЦИЯ ПРИ ИЗМЕНЕНИИ
   ===================================================== */
@keyframes sliderPulse {
    0% {
        box-shadow: 0 2px 10px rgba(201, 1, 1, 0.4);
    }

    50% {
        box-shadow: 0 2px 20px rgba(201, 1, 1, 0.6);
    }

    100% {
        box-shadow: 0 2px 10px rgba(201, 1, 1, 0.4);
    }
}

.form__group input[type="range"]:active::-webkit-slider-thumb {
    animation: sliderPulse 0.5s ease infinite;
}

.form__group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(201, 1, 1, 0.4);
    transition: all 0.3s ease;
}

.form__group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(201, 1, 1, 0.6);
}

.range-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-top: 10px;
}

/* Инфо-блок справа */
.custom-calc__info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-radius: 15px;
    padding: 40px;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 30px rgba(201, 1, 1, 0.3);
}

.custom-calc__info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

.custom-calc__info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.custom-calc__info li {
    font-size: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.6;
}

.custom-calc__info li:last-child {
    border-bottom: none;
}

.contact-direct {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-direct p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
    margin-top: 0;
}

.hero__features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.hero__features li {
    margin-bottom: 12px;
}

/* Стилизация каждой отдельной ссылки-кнопки */
/* Базовые стили кнопки */
.hero__feature-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    padding: 18px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1.15rem;
    width: 100%;
    max-width: 320px;
    position: relative;
    overflow: hidden;
}

/* Точка-маркер */
.feature-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 14px;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px var(--accent-color);
    flex-shrink: 0;
}

/* === АВТОМАТИЧЕСКАЯ ПОДСВЕТКА (класс .active) === */
.hero__feature-item.active {
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.35) 0%, rgba(255, 77, 77, 0.15) 100%) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow:
        0 10px 30px rgba(255, 77, 77, 0.5),
        0 0 25px rgba(255, 77, 77, 0.4),
        inset 0 0 20px rgba(255, 77, 77, 0.1) !important;
    color: #ffffff !important;
    animation: none !important;
}

.hero__feature-item.active .feature-dot {
    transform: scale(1.6) !important;
    box-shadow:
        0 0 15px var(--accent-color),
        0 0 30px var(--accent-color),
        0 0 45px var(--accent-color) !important;
    background-color: #ff0000 !important;
}

/* Эффект "блика" при активации */
.hero__feature-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shineEffect 1.5s ease-out;
}

@keyframes shineEffect {
    0% {
        left: -100%;
    }

    100% {
        left: 150%;
    }
}

/* Hover остаётся для интерактивности */
.hero__feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.25) 0%, rgba(255, 77, 77, 0.1) 100%);
    border-color: var(--accent-color);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(255, 77, 77, 0.4), 0 0 25px rgba(255, 77, 77, 0.3);
}

.hero__feature-item:hover .feature-dot {
    transform: scale(1.4);
    box-shadow: 0 0 15px var(--accent-color), 0 0 25px var(--accent-color);
}

/* Анимированная стрелка под спецпредложением */
.hero__offer-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0 20px;
    color: #ffffff;
    animation: bounceArrow 2s ease-in-out infinite;
}

.hero__offer-arrow svg {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

@keyframes bounceArrow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    40% {
        transform: translateY(10px);
        opacity: 1;
    }

    60% {
        transform: translateY(5px);
        opacity: 0.8;
    }
}

/* Сияющий эффект для стрелки */
.hero__offer-arrow::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation: arrowGlow 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes arrowGlow {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Кнопка спецпредложения для мобильной версии */
.hero__features--mobile-only {
    display: none;
    /* Показываем только на мобильных */
    margin-top: 15px;
    align-items: center;
}

.hero__feature-item--special {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.4) 0%, rgba(255, 77, 77, 0.2) 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    padding: 16px 20px !important;
    font-weight: 700 !important;
    animation: specialPulse 2s ease-in-out infinite;
}

.hero__feature-item--special .feature-dot {
    background-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    animation: dotBlink 1.5s ease-in-out infinite;
    margin-right: 0 !important;
}

@keyframes specialPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
        transform: scale(1.02);
    }
}

@keyframes dotBlink {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Показываем мобильную кнопку только на экранах до 768px */
@media (max-width: 768px) {
    .hero__features--mobile-only {
        display: flex !important;
    }

    .hero__feature-item--special {
        max-width: 100% !important;
        font-size: 1rem !important;
    }

    /* Уменьшаем основные кнопки на мобильных */
    .hero__features {
        gap: 8px;
    }

    .hero__feature-item {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
        max-width: 100% !important;
    }

    .feature-dot {
        width: 8px;
        height: 8px;
        margin-right: 10px;
    }

    /* Уменьшаем блок спецпредложения на мобильных */
    .hero__local-offer {
        margin-top: 20px;
        padding: 20px 15px;
    }

    .hero__offer-badge__text {
        font-size: 14px;
    }

    .hero__offer-plaque {
        display: none;
        /* Скрываем описание на мобильных */
    }

    .hero__offer-arrow {
        display: none;
        /* Скрываем стрелку на мобильных */
    }

    .hero__offer-btn {
        padding: 14px 25px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .hero__feature-item {
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
    }

    .hero__features-wrapper {
        gap: 8px;
    }
}

.contact-direct__phone,
.contact-direct__email {
    display: block;
    font-size: 18px;
    font-weight: 600;
    /* color: #ffffff; */
    margin: 10px 0;
    transition: opacity 0.3s ease;
}

.contact-direct__phone:hover,
.contact-direct__email:hover {
    opacity: 0.8;
}

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

@media (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .package-card {
        padding: 30px;
    }

    .custom-calc-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .custom-calc__info {
        position: static;
    }
}

@media (max-width: 768px) {
    .packages-hero {
        padding: 120px 0 40px;
    }

    .page-hero__title {
        font-size: 28px;
    }

    .package-card__title {
        font-size: 24px;
    }

    .package-card__price {
        font-size: 26px;
    }

    .synergy-grid {
        grid-template-columns: 1fr;
    }

    .synergy-result {
        gap: 40px;
    }

    .synergy-result__number {
        font-size: 42px;
    }

    .custom-calc__content {
        padding: 30px 20px;
    }

    .custom-calc__info {
        padding: 30px 20px;
    }

    .package-card__addons h4 {
        font-size: 15px;
    }

    .addon-checkbox {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .package-card {
        padding: 25px 20px;
    }

    .package-card__badge {
        right: 50%;
        transform: translateX(50%);
        top: -12px;
        font-size: 12px;
        padding: 6px 15px;
    }

    .package-card__icon {
        font-size: 48px;
    }

    .synergy-card__formula {
        flex-direction: column;
        gap: 10px;
    }

    .synergy-result {
        flex-direction: column;
        gap: 30px;
    }

    .package-select-btn {
        padding: 15px 30px;
        font-size: 15px;
    }
}

/* =====================================================
   АНИМАЦИИ ДЛЯ ПАКЕТОВ
   ===================================================== */

@keyframes packageFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.package-card {
    animation: packageFadeIn 0.6s ease forwards;
}

.package-card:nth-child(1) {
    animation-delay: 0.1s;
}

.package-card:nth-child(2) {
    animation-delay: 0.3s;
}

/* Пульсация популярного пакета */
@keyframes popularPulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 5px 30px rgba(201, 1, 1, 0.3);
    }
}

.package-card--popular {
    animation: packageFadeIn 0.6s ease forwards, popularPulse 2s ease infinite;
}

/* Анимация слайдера бюджета */
@keyframes budgetSlide {
    from {
        background: linear-gradient(to right, var(--primary) 0%, #dddddd 0%);
    }

    to {
        background: linear-gradient(to right, var(--primary) 100%, #dddddd 100%);
    }
}

.form__group input[type="range"]:active {
    animation: budgetSlide 0.3s ease forwards;
}

/* =====================================================
   29. ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ
   ===================================================== */

/* Ховер-эффект для формулы синергии */
.synergy-card__channel {
    transition: all 0.3s ease;
}

.synergy-card:hover .synergy-card__channel {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Плавное изменение фона слайдера */
.form__group input[type="range"] {
    transition: background 0.3s ease;
}

/* Стилизация select в форме */
.form__group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form__group select:focus {
    border-color: var(--primary);
}

/* Активное состояние кнопки отправки */
.btn--large:active {
    transform: scale(0.98);
}

/* Уведомление об успешном добавлении дополнения */
@keyframes addonHighlight {
    0% {
        background-color: transparent;
    }

    50% {
        background-color: rgba(40, 167, 69, 0.1);
    }

    100% {
        background-color: transparent;
    }
}

.addon-checkbox.highlight {
    animation: addonHighlight 0.5s ease;
}

/* =====================================================
   30. СТРАНИЦА "СПАСИБО" (THANKS)
   ===================================================== */

/* Специфичные стили для страницы спасибо */
.thanks-page {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Упрощённая шапка для страницы спасибо */
.header--simple {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header--simple .header__nav,
.header--simple .header__actions,
.header--simple .header__burger {
    display: none;
}

.header--simple .header__contacts {
    flex-direction: row;
    gap: 20px;
    margin-left: auto;
}

/* Основной контент страницы спасибо */
.thanks-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.thanks-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Иконка успеха */
.thanks-icon {
    margin-bottom: 30px;
}

.thanks-icon__svg {
    width: 120px;
    height: 120px;
    animation: successPop 0.6s ease forwards;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Заголовок */
.thanks-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* Текст */
.thanks-text {
    font-size: 18px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.thanks-text strong {
    color: var(--primary);
}

/* Дополнительная информация */
.thanks-info {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 40px;
    text-align: left;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.thanks-info__item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    font-size: 15px;
    color: #333333;
    border-bottom: 1px solid #eeeeee;
}

.thanks-info__item:last-child {
    border-bottom: none;
}

.thanks-info__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.thanks-info__item a {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.thanks-info__item a:hover {
    color: var(--primary-dark);
}

/* Кнопки действий */
.thanks-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.5s forwards;
    opacity: 0;
}

/* Таймер обратного отсчёта */
.thanks-timer {
    animation: fadeInUp 0.6s ease 0.6s forwards;
    opacity: 0;
}

.thanks-timer p {
    font-size: 14px;
    color: #999999;
    margin-bottom: 10px;
}

.thanks-timer__progress {
    width: 100%;
    height: 4px;
    background-color: #eeeeee;
    border-radius: 2px;
    overflow: hidden;
}

.thanks-timer__bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
    transition: width 1s linear;
}

/* Упрощённый подвал */
.footer--simple {
    background-color: #f5f5f5;
    padding: 30px 0;
}

.footer--simple .footer__content {
    display: none;
}

.footer--simple .footer__copyright {
    border-top: none;
    padding-top: 0;
}

/* =====================================================
   АНИМАЦИИ ДЛЯ СТРАНИЦЫ СПАСИБО
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   АДАПТИВНОСТЬ ДЛЯ СТРАНИЦЫ СПАСИБО
   ===================================================== */

@media (max-width: 768px) {
    .thanks-main {
        padding: 60px 0;
    }

    .thanks-content {
        padding: 40px 25px;
        margin: 0 15px;
    }

    .thanks-title {
        font-size: 28px;
    }

    .thanks-text {
        font-size: 16px;
    }

    .thanks-icon__svg {
        width: 100px;
        height: 100px;
    }

    .thanks-buttons {
        flex-direction: column;
    }

    .thanks-buttons .btn {
        width: 100%;
    }

    .header--simple .header__contacts {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .thanks-content {
        padding: 30px 20px;
    }

    .thanks-title {
        font-size: 24px;
    }

    .thanks-info {
        padding: 20px 15px;
    }

    .thanks-info__item {
        font-size: 14px;
        gap: 10px;
    }

    .thanks-info__icon {
        font-size: 18px;
    }
}

/* =====================================================
   31. ГЕОГРАФИЯ РАБОТЫ (GEO SECTION)
   ===================================================== */

.geo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.geo-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

/* ==================== КАРТА ==================== */
.geo-map {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.geo-map__container {
    position: relative;
    width: 100%;
}

.geo-map__image {
    width: 120%;
    position: relative;
}

.geo-map__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* ==================== МЕТКИ НА КАРТЕ ==================== */
.geo-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

/* Точка метки */
.geo-marker__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Основная метка (Казань - красная) */
.geo-marker--main .geo-marker__dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(201, 1, 1, 0.3);
}

/* Digital метки (зелёные) */
.geo-marker--digital .geo-marker__dot {
    width: 14px;
    height: 14px;
    background-color: #28a745;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.3);
}

/* Пульсация для основной метки */
.geo-marker__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(201, 1, 1, 0.4);
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

/* Подпись к метке */
.geo-marker__label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    background-color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3;
}

.geo-marker:hover .geo-marker__label {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

.geo-marker--main .geo-marker__label {
    opacity: 1;
    visibility: visible;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* Ховер-эффекты */
.geo-marker:hover .geo-marker__dot {
    transform: scale(1.2);
}

.geo-marker--main:hover .geo-marker__dot {
    box-shadow: 0 0 0 5px rgba(201, 1, 1, 0.4);
}

.geo-marker--digital:hover .geo-marker__dot {
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.4);
}

/* Тултип при наведении */
.geo-marker::after {
    content: attr(data-info);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: #333333;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 4;
    pointer-events: none;
}

.geo-marker::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333333;
    margin-bottom: -6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 4;
}

.geo-marker:hover::after,
.geo-marker:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* ==================== ЛЕГЕНДА КАРТЫ ==================== */
.geo-map__legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}

.geo-map__legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666666;
}

.geo-map__legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.geo-map__legend-dot--main {
    background-color: var(--primary);
    box-shadow: 0 0 5px rgba(201, 1, 1, 0.5);
}

.geo-map__legend-dot--digital {
    background-color: #28a745;
}

/* ==================== ИНФОРМАЦИЯ О РЕГИОНАХ ==================== */
.geo-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.geo-info__card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.geo-info__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.geo-info__icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.geo-info__card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.geo-info__card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.geo-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.geo-info__list li {
    font-size: 13px;
    color: #333333;
    padding: 5px 0;
}

/* ==================== CTA ПОД КАРТОЙ ==================== */
.geo-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    padding: 40px;
    color: #ffffff;
}

.geo-cta__text {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.geo-cta .btn {
    background-color: #ffffff;
    color: var(--primary);
}

.geo-cta .btn:hover {
    background-color: #f5f5f5;
}

/* ==================== МОДАЛЬНОЕ ОКНО ==================== */
#geoContactModal .modal__subtitle {
    font-size: 14px;
    color: #666666;
    margin-bottom: 25px;
    text-align: center;
}

#geoContactModal .modal__contacts {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eeeeee;
    text-align: center;
}

#geoContactModal .modal__contacts p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
}

#geoContactModal .modal__phone,
#geoContactModal .modal__email {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin: 10px 0;
    transition: color 0.3s ease;
}

#geoContactModal .modal__phone:hover,
#geoContactModal .modal__email:hover {
    color: var(--primary-dark);
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */

@media (max-width: 1024px) {
    .geo-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .geo-map {
        order: 1;
    }

    .geo-info {
        order: 2;
    }

    .geo-cta__text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .geo-section {
        padding: 60px 0;
    }

    .geo-map {
        padding: 20px;
    }

    .geo-info__card {
        padding: 20px;
    }

    .geo-info__icon {
        font-size: 32px;
    }

    .geo-cta {
        padding: 30px 20px;
    }

    .geo-cta__text {
        font-size: 15px;
    }

    .geo-marker__label {
        font-size: 11px;
        padding: 3px 6px;
    }

    .geo-marker--main .geo-marker__dot {
        width: 16px;
        height: 16px;
    }

    .geo-marker--digital .geo-marker__dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .geo-map__legend {
        flex-direction: column;
        gap: 8px;
    }

    .geo-cta .btn {
        width: 100%;
    }

    .geo-marker__label {
        display: none;
        /* Скрываем подписи на очень маленьких экранах */
    }

    .geo-marker--main .geo-marker__label {
        display: block;
        /* Оставляем только для Казани */
    }
}

/* =====================================================
   АНИМАЦИИ
   ===================================================== */

@keyframes geoFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.geo-section {
    animation: geoFadeIn 0.6s ease forwards;
}

.geo-info__card {
    transition: all 0.3s ease;
}

.geo-info__card:hover .geo-info__icon {
    transform: scale(1.1);
}

/* ==========================================
КОМПАКТНОСТЬ САЙТА
========================================== */
section {
    padding: 50px 0;
}

.section-title {
    margin-bottom: 12px;
    font-size: 32px;
}

.section-subtitle {
    margin-bottom: 30px;
    font-size: 16px;
}

.hero {
    padding: 100px 0 60px;
}

.hero__title {
    margin-bottom: 15px;
}

.hero__subtitle {
    margin-bottom: 15px;
}

.hero__features {
    gap: 10px;
}

.hero__mix-info {
    padding: 20px;
    margin-bottom: 25px;
}

.about__principles,
.process-steps,
.why-grid {
    gap: 15px;
}

.principle-card,
.process-step,
.why-card {
    padding: 20px;
}

.about__stats {
    padding: 30px 20px;
    gap: 20px;
}

.stat-item__number {
    font-size: 42px;
}

.portfolio {
    padding: 40px 0;
}

.portfolio__video-section,
.portfolio__slider-section {
    padding: 25px;
    margin-bottom: 25px;
}

.slider-card {
    min-width: 220px;
    max-width: 220px;
}

.slider-card__content {
    padding: 12px;
}

.geo-section {
    padding: 50px 0;
}

.geo-wrapper {
    gap: 25px;
    margin-bottom: 25px;
}

.geo-map,
.geo-info__card {
    padding: 20px;
}

.contacts {
    padding: 90px 0;
}

.contacts__wrapper {
    gap: 30px;
}

.contact-block {
    padding: 20px;
    gap: 15px;
}

.contacts__form-box {
    padding: 30px 25px;
}

/* Адаптив: ещё плотнее на планшетах/телефонах */
@media (max-width: 768px) {
    section {
        padding: 35px 0;
    }

    .section-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 30px 0;
    }

    .principle-card,
    .process-step,
    .why-card,
    .contact-block {
        padding: 15px;
    }
}

/* ==========================================
СКРЫТИЕ БЛОКА "КАК МЫ РАБОТАЕМ" НА МОБИЛЬНЫХ
========================================== */
@media (max-width: 768px) {
    .about__process {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .about__process {
        display: none !important;
    }
}

.portfolio-ticker__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.portfolio-ticker__btn:hover {
    background: var(--primary-red);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 29, 29, 0.4);
}

.portfolio-ticker__btn--prev {
    left: 15px;
}

.portfolio-ticker__btn--next {
    right: 15px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .portfolio-ticker__btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .portfolio-ticker__btn--prev {
        left: 8px;
    }

    .portfolio-ticker__btn--next {
        right: 8px;
    }
}


/* ==========================================
КОМПАКТНАЯ СЕКЦИЯ ПОРТФОЛИО (умещается на 1 экран)
========================================== */
.portfolio {
    padding: 15px 0 10px !important;
    /* Минимальные отступы сверху и снизу */
}

.portfolio .section-title {
    font-size: 28px !important;
    margin-bottom: 6px !important;
    padding-bottom: 8px !important;
}

.portfolio .section-subtitle {
    font-size: 14px !important;
    margin-bottom: 12px !important;
}

/* Уменьшаем высоту слайдера внутри карточки */
.case-slider {
    height: 200px !important;
    /* Было 250px */
}

/* Уменьшаем сам трек ленты */
.portfolio-ticker {
    padding: 5px 0 !important;
    /* Было 20px */
}

/* Карточки делаем чуть уже и компактнее */
.slider-card.portfolio-item {
    min-width: 250px !important;
    max-width: 320px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Компактный блок с текстом под фото */
.slider-card__content {
    padding: 10px 12px !important;
}

.slider-card__content h4 {
    font-size: 14px !important;
    margin-bottom: 4px !important;
    line-height: 1.3;
}

.slider-card__content p {
    font-size: 12px !important;
    line-height: 1.3;
}

/* Точки навигации — компактнее */
.portfolio-dots {
    margin-top: 10px !important;
    padding: 5px 0 !important;
    gap: 6px !important;
}

.portfolio-dot {
    width: 8px !important;
    height: 8px !important;
}

/* Стрелки прокрутки — чуть меньше */
.portfolio-ticker__btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
}

/* Видеопродакшн — тоже компактнее */
.portfolio__video-section {
    padding: 15px !important;
    margin-bottom: 10px !important;
}

.portfolio__section-title {
    font-size: 18px !important;
    margin-bottom: 10px !important;
}

.video-container {
    max-height: 300px;
    max-width: 600px !important;
    margin-bottom: 10px !important;
}

.portfolio__video-section .btn {
    padding: 8px 20px !important;
    font-size: 13px !important;
}

/* ==========================================
АДАПТИВ ДЛЯ МОБИЛЬНЫХ
========================================== */
@media (max-width: 768px) {
    .portfolio {
        padding: 10px 0 !important;
    }

    .portfolio .section-title {
        font-size: 22px !important;
    }

    .case-slider {
        height: 150px !important;
    }

    .slider-card.portfolio-item {
        min-width: 240px !important;
        max-width: 240px !important;
    }

    .portfolio-ticker__btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .case-slider {
        height: 130px !important;
    }

    .slider-card.portfolio-item {
        min-width: 220px !important;
        max-width: 220px !important;
    }
}


/* ==========================================
БЕГУЩАЯ ЛЕНТА КЛИЕНТОВ (С СТРЕЛКАМИ)
========================================== */
.clients-ticker {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.clients-ticker__track {
    display: flex;
    gap: 60px;
    width: max-content;
    will-change: transform;
    align-items: center;
}

.clients-ticker__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.clients-ticker__btn:hover {
    background: var(--primary-red);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 29, 29, 0.4);
}

.clients-ticker__btn--prev {
    left: 15px;
}

.clients-ticker__btn--next {
    right: 15px;
}

.clients__logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.clients__logo:hover {
    transform: scale(1.1);
}

/* Адаптив */
@media (max-width: 768px) {
    .clients-ticker__btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .clients-ticker__btn--prev {
        left: 5px;
    }

    .clients-ticker__btn--next {
        right: 5px;
    }

    .clients-ticker__track {
        gap: 40px;
    }

    .clients__logo {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .clients-ticker__track {
        gap: 30px;
    }

    .clients__logo {
        height: 50px;
    }
}


/* ==================== ФУТЕР (в стиле хедера) ==================== */
.footer {
    background: linear-gradient(135deg, #8B2635 0%, #6B1A28 100%);
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #b81d1d, #8B2635, #b81d1d);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* === ЛОГОТИП === */
.footer__logo-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__logo img {
    max-width: 140px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer__logo:hover img {
    opacity: 1;
}

.footer__logo-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* === МЕНЮ (ТОЧНО КАК В ХЕДЕРЕ) === */
.footer__menu-col {
    display: flex;
    align-items: flex-start;
}

.footer__nav {
    width: 100%;
}

.footer__menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__menu-item {
    position: relative;
}

.footer__menu-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    padding: 5px 0;
}

.footer__menu-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* === ВЫПАДАЮЩЕЕ МЕНЮ (ИДЕНТИЧНО ХЕДЕРУ) === */
.footer__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.footer__menu-item--dropdown:hover .footer__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.footer__dropdown-category {
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

.footer__dropdown-category:last-child {
    border-bottom: none;
}

.footer__dropdown-title {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #8B2635 !important;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.footer__dropdown-title--link {
    text-decoration: none;
    color: #8B2635 !important;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-weight: 700;
}

.footer__dropdown-title--link:hover {
    color: #6B1A28 !important;
    transform: translateX(5px);
}

.footer__dropdown-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__dropdown-submenu li {
    margin-bottom: 8px;
}

.footer__dropdown-submenu a {
    display: block;
    font-size: 13px;
    color: #666666 !important;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer__dropdown-submenu a:hover {
    background-color: #f5f5f5;
    color: #8B2635 !important;
    padding-left: 12px;
}

/* === КОНТАКТЫ === */
.footer__contacts-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer__contact-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer__contact-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.footer__contact-text {
    font-weight: 400;
}

/* === НИЖНЯЯ ЧАСТЬ === */
.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.footer__privacy-text {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.footer__privacy-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* ==================== АДАПТИВНОСТЬ ==================== */
@media (max-width: 1400px) {
    .footer__dropdown {
        min-width: 700px;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .footer__dropdown {
        min-width: 600px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__menu-col,
    .footer__contacts-col {
        align-items: center;
        text-align: center;
    }

    .footer__menu-list {
        align-items: center;
    }

    /* На планшетах dropdown по клику */
    .footer__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 15px;
        min-width: auto;
        display: none;
        grid-template-columns: 1fr;
        background: rgba(255, 255, 255, 0.08);
        margin-top: 10px;
    }

    .footer__menu-item--dropdown.active .footer__dropdown {
        display: grid;
    }

    .footer__dropdown-column {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 25px;
        overflow: visible;
    }

    .footer__top {
        gap: 25px;
    }

    .footer__logo img {
        max-width: 120px;
    }

    .footer__logo-desc {
        font-size: 12px;
        text-align: center;
    }

    .footer__menu-col {
        width: 100%;
    }

    .footer__menu-list {
        gap: 8px;
        width: 100%;
    }

    .footer__menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 8px;
    }

    .footer__menu-item:last-child {
        border-bottom: none;
    }

    .footer__menu-link {
        font-size: 14px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 15px;
        min-width: auto;
        display: none;
        grid-template-columns: 1fr;
        background: rgba(255, 255, 255, 0.08);
        margin-top: 10px;
    }

    .footer__menu-item--dropdown.active .footer__dropdown {
        display: grid;
    }

    .footer__dropdown-column {
        gap: 8px;
        margin-bottom: 15px;
    }

    .footer__dropdown-category {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .footer__dropdown-title {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: 5px;
    }

    .footer__dropdown-title--link {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .footer__dropdown-title--link:hover {
        color: #ffffff !important;
        transform: none;
    }

    .footer__dropdown-submenu {
        padding-left: 10px;
    }

    .footer__dropdown-submenu li {
        margin-bottom: 4px;
    }

    .footer__dropdown-submenu li a {
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 12px;
        padding: 4px 0;
    }

    .footer__dropdown-submenu li a:hover {
        color: #ffffff !important;
        padding-left: 0;
        background: none;
    }

    .footer__contacts-col {
        align-items: center;
        gap: 10px;
    }

    .footer__contact-link {
        font-size: 13px;
    }

    .footer__privacy-text {
        padding: 12px 15px;
    }

    .footer__privacy-text p {
        font-size: 10px;
    }

    .footer__menu-link:hover {
        text-shadow: none;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px 20px;
    }

    .footer__logo img {
        max-width: 100px;
    }

    .footer__dropdown {
        padding: 12px;
    }

    .footer__dropdown-title {
        font-size: 11px;
    }

    .footer__dropdown-submenu li a {
        font-size: 11px;
    }

    .footer__contact-link {
        font-size: 12px;
    }

    .footer__copyright p {
        font-size: 11px;
    }

    .footer__privacy-text p {
        font-size: 9px;
    }
}

/* Согласие на обработку персональных данных */
.pd-consent-note { margin: 18px 0 16px; font-size: 13px; line-height: 1.5; color: #666; }
.pd-consent-note__label { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.pd-consent-note__label input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #a7191d; }
.pd-consent-note a { color: #a7191d; text-decoration: underline; }
.pd-consent-modal { display: none; position: fixed; inset: 0; z-index: 100000; align-items: center; justify-content: center; padding: 20px; }
.pd-consent-modal.active { display: flex; }
.pd-consent-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.pd-consent-modal__dialog { position: relative; width: min(640px, 100%); max-height: min(82vh, 760px); background: #fff; border-radius: 8px; padding: 28px 24px 22px; box-shadow: 0 15px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; }
.pd-consent-modal__dialog h2 { font-size: 20px; line-height: 1.35; margin: 0 32px 16px 0; color: #333; }
.pd-consent-modal__close { position: absolute; right: 14px; top: 10px; border: 0; background: transparent; font-size: 30px; cursor: pointer; color: #666; }
.pd-consent-modal__body { overflow-y: auto; border: 1px solid #ccc; padding: 12px; font-size: 13px; line-height: 1.45; color: #666; }
.pd-consent-modal__body h2 { font-size: 16px; margin: 0 0 12px; }
.pd-consent-modal__body p { margin: 0 0 12px; }
.pd-consent-modal__body ul { margin: 0 0 12px; padding-left: 22px; }
.pd-consent-modal__actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.pd-consent-modal__actions button { min-height: 42px; padding: 10px 22px; cursor: pointer; }
.pd-consent-modal__decline { border: 1px solid #bbb; background: #fff; color: #555; border-radius: 4px; }
@media (max-width: 520px) {
  .pd-consent-modal { padding: 10px; }
  .pd-consent-modal__dialog { padding: 22px 14px 16px; max-height: 90vh; }
  .pd-consent-modal__dialog h2 { font-size: 17px; }
  .pd-consent-modal__actions { flex-direction: column; }
}
