
/* Стили для иконок преимуществ */
.advantage-item {
    padding: 15px 20px;
    margin-bottom: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-size: 18px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    font-family: 'Roboto', sans-serif;
    border-left: 4px solid #4CAF50;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-weight: bold;
    /* Добавьте эти свойства: */
    flex-shrink: 0; /* Запрет сжатия в flex-контейнере */
    min-width: 28px; /* Фиксированная минимальная ширина */
    font-size: 18px; /* Контроль размера символа */
    box-sizing: border-box; /* Защита от изменения размеров */
}

@media (max-width: 768px) {
    .icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
    }
    
    .advantage-item {
        font-size: 16px; /* Оптимальный размер для мобильных */
        padding: 12px 15px; /* Уменьшенные отступы */
    }
}/* Стили для секции FAQ */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate; /* Создает новый контекст наложения */
}

.faq-title {
    position: relative;
    padding-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px !important;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4CAF50;
    border-radius: 2px;
}

/* Стили для аккордеона */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    margin-bottom: 15px;
    border-radius: 8px !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-control {
    padding: 20px 25px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    color: #2c3e50 !important;
    background-color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.faq-control:hover {
    background-color: #f1f3f5 !important;
}

.faq-control[data-active] {
    background-color: #4CAF50 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25) !important;
}

.dmc-Accordion-chevron {
    color: #4CAF50;
}

.faq-control[data-active] .dmc-Accordion-chevron {
    color: white !important;
}

.faq-answer {
    padding: 20px 25px !important;
    font-size: 16px !important;
    color: #495057 !important;
    line-height: 1.7 !important;
    background: #f8f9fa !important;
}

/* Декоративные элементы */
.faq-section::before,
.faq-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1; /* Помещаем под основной контент */
}

.faq-section::before {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(76, 175, 80, 0.1);
}

.faq-section::after {
    bottom: -70px;
    left: -70px;
    width: 250px;
    height: 250px;
    background: rgba(76, 175, 80, 0.08);
}

.title-container,
.faq-accordion {
    position: relative;
    z-index: 1; /* Помещаем контент поверх декораций */
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-control {
        padding: 15px 20px !important;
        font-size: 16px !important;
    }
    
    .faq-answer {
        padding: 15px 20px !important;
        font-size: 15px !important;
    }
    
    .faq-section {
        padding: 60px 20px;
    }
}/* Секция */
.happy-clients-section {
    padding: 60px 20px;
    background-color:#f5f5f5;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
}

/* Сетка */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Карточка клиента */
.client-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.client-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.client-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.client-card:hover .client-image {
    transform: scale(1.05);
}

.client-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
    opacity: 0.95;
}

.client-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.client-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #eee;
}

.client-button {
    background: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.client-button:hover {
    background: white;
    color: #333;
}

/* Лайтбокс */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
    color: white;
}

.lightbox-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.lightbox-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ccc;
}

/* Адаптивность */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .client-card {
        height: 250px;
    }
    
    .lightbox-image {
        max-width: 95%;
        max-height: 70%;
    }
    
    .lightbox-name {
        font-size: 1.4rem;
    }
    
    .lightbox-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Уменьшаем минимальную ширину */
        gap: 15px; /* Сужаем отступы */
    }

    .client-card {
        height: 220px; /* Уменьшаем высоту */
    }

    .client-name {
        font-size: 1rem; /* Меньший заголовок */
    }

    .client-text {
        font-size: 0.8rem; /* Компактный текст */
    }

    .client-button {
        font-size: 0.75rem; /* Меньшая кнопка */
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .lightbox-image {
        max-width: 90%; /* Больше места под текст */
        max-height: 60%; /* Не занимает весь экран */
    }

    .lightbox-caption {
        padding: 15px;
    }

    .lightbox-name {
        font-size: 1.2rem; /* Уменьшаем заголовок */
    }

    .lightbox-text {
        font-size: 0.95rem; /* Компактный текст */
        padding: 0 10px;
    }

    .lightbox-close {
        font-size: 30px; /* Удобный размер для нажатия */
        top: 10px;
        right: 20px;
    }

    /* Добавляем прокрутку для длинного текста */
    .lightbox-caption {
        overflow-y: auto;
        max-height: 30vh;
    }
}

/* Предотвращаем горизонтальный скролл */
body {
    overflow-x: hidden;
    padding: 0 10px; /* Добавляем отступы */
}

/* Увеличиваем зону клика для кнопок */
.client-button {
    touch-action: manipulation; /* Ускоряет реакцию на тап */
}

/* Лучшая адаптация изображений */
.client-image {
    object-position: center; /* Центрируем изображение */
}

/* Фиксируем положение крестика при скролле */
.lightbox-close {
    position: fixed;
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem; /* Меньший заголовок */
    }

    .clients-grid {
        grid-template-columns: 1fr; /* Вертикальная колонка */
        gap: 10px;
    }

    .client-card {
        height: 200px; /* Еще меньше */
    }

    .lightbox-image {
        max-width: 95%;
        max-height: 50%;
    }

    .lightbox-caption {
        max-height: 25vh;
    }
}.header {
    background-color: transparent; /* Изначально фон прозрачный */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 6vh;
    transition: background-color 0.3s ease; /* Плавный переход */
    border: none;
    padding: 0 20px;
}

/* Группа для кнопок справа */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px; /* Расстояние между кнопками */
    margin-left: auto; /* Перемещаем кнопки вправо */
    order: 2; /* Явно указываем порядок отображения */
}



/* Кнопка меню */
.app-menu-button {
    background-color: rgba(39, 167, 231, 0); /* Новый цвет кнопки */
    border: none;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Плавный переход при наведении */
}

.app-menu-button:hover {
    background-color: rgba(79, 94, 101, 0.8); /* Темнее при наведении */
}

.header.scrolled {
    background-color: #2c3e50; /* Цвет фона при скролле */
}

.header-title {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
    margin-left: 20px;

    
    text-shadow: 
        -1px -1px 0 #2c3e50,  
         1px -1px 0 #2c3e50,
        -1px  1px 0 #2c3e50,
         1px  1px 0 #2c3e50;
}

.header-links {
    position: absolute; /* Позиционируем центральный элемент абсолютно */
    left: 50%; /* Смещаем его на 50% ширины родителя */
    transform: translateX(-50%); /* Центрируем точно посередине */
    display: flex;
    gap: 20px;
}

.header-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 16px;
}

.header-links a:hover {
    text-decoration: underline;
}



.modal-menu {
    position: fixed;
    top: 0;
    right: -300px; /* Начальное положение за пределами экрана */
    width: 300px; /* Ширина модального окна */
    height: 100%; /* Полная высота экрана */
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2); /* Тень слева */
    transition: transform 0.3s ease-in-out; /* Анимация */
    z-index: 1000; /* Чтобы окно было поверх других элементов */
}

.modal-menu.open {
    transform: translateX(-300px); /* Перемещаем окно в видимую область */
}

@media (max-width: 600px) {
    .header {
        height: 50px; /* Уменьшенная высота */
        padding: 0 10px; /* Уменьшенные отступы */
    }

    .header-title {
        font-size: 26px; /* Еще меньший размер текста */
        margin-left: 0; /* Убираем отступ слева */
    }

    .header-links {
        display: none; /* Скрываем центральные ссылки */
    }

    .app-menu-button {
        display: none; /* Показываем кнопку меню */
    }

    /* Стили для модального меню */
    .modal-menu {
        position: fixed;
        top: 0;
        right: -300px; /* Начальное положение за пределами экрана */
        width: 100%; /* Ширина на весь экран */
        max-width: 300px; /* Максимальная ширина */
        height: 100%; /* Полная высота экрана */
        background-color: white;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2); /* Тень слева */
        transition: transform 0.3s ease-in-out; /* Анимация */
        z-index: 1000; /* Чтобы окно было поверх других элементов */
        padding: 20px; /* Внутренние отступы */
    }

    .modal-menu.open {
        transform: translateX(-100%); /* Перемещаем окно в видимую область */
    }

    .modal-menu a {
        display: block; /* Размещаем ссылки вертикально */
        margin-bottom: 15px; /* Отступы между ссылками */
        font-size: 16px; /* Размер текста */
        color: black;
        text-decoration: none;
    }

    .modal-menu a:hover {
        text-decoration: underline;
    }
}/* Главный блок */
.hero-section {
    background: url('/assets/images/shutterstock_705507505.jfif') no-repeat center center/cover;
    color: white;
    text-align: center;
    width: 100%; /* Убедитесь, что ширина занимает весь экран */
    height: 100vh; /* Высота равна высоте видимой области экрана */
    display: flex; /* Используем Flexbox для центрирования содержимого */
    align-items: center; /* Центрируем по вертикали */
    justify-content: center; /* Центрируем по горизонтали */
    overflow: hidden; /* Убираем полосы прокрутки внутри секции */
}

/* Заголовок */
.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Добавляем тень для лучшей читаемости */
}

/* Динамическая часть текста */
.typewriter-text {
    font-weight: bold;
    white-space: nowrap; /* Запрещаем перенос текста */
    overflow: hidden; /* Скрываем лишний текст */
    border-right: 2px solid white; /* Эффект каретки печатной машинки */
    animation: blink-caret 0.75s step-end infinite; /* Мигание каретки */
}

.hero-buttons {
    display: flex;
    gap: 10px; /* Расстояние между кнопками */
    justify-content: center; /* Центрируем кнопки */
    margin-top: 20px;
}

.cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease-out;
    min-width: 350px;
    
    background: linear-gradient(135deg, #c31432 0%, #f00000 100%);
    box-shadow: 0 6px 20px rgba(240, 0, 0, 0.3);
}
    
.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.8s;
    z-index: -1;
}


@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(195, 20, 50, 0.7);
    }
    70% {
        box-shadow: 0 0 0 30px rgba(195, 20, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(195, 20, 50, 0);
    }
}

.cta-button.pulse {
    animation: pulse-red 2s infinite;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(240, 0, 0, 0.5);
}

.cta-button:hover::after {
    left: 120%;
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 3px 15px rgba(240, 0, 0, 0.3);
}

.cta-button i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .cta-button {
        padding: 10px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .cta-button i {
        margin-right: 8px;
        font-size: 0.9em;
    }
}


/* Анимация мигания каретки */
@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}/* Основные стили */
.how-to-buy-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 1.875rem;
    color: #252424;
    padding-left: 1rem;
    margin-bottom: 2rem;
    text-align: center; /* Текст по центру */
}

/* Контейнер карточек */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
    min-height: 300px; /* Минимальная высота для отладки */
}

/* Элементы карточек */
.step-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background-color: rgba(211, 211, 211, 0.258); /* Фон для визуализации */
    min-height: 100px; /* Минимальная высота для карточки */
    padding: 1rem; /* Внутренние отступы */
}

.step-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    min-height: 50px; /* Минимальная высота для контента */
}

/* Адаптивность */
@media (min-width: 768px) {
    .steps-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        max-width: 200px;
    }
    
    .step-icon {
        margin-bottom: 1rem;
    }
}

/* Стили текста */
.step-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #252424;
    margin-bottom: 0.5rem;
    text-align: left; /* Текст по левому краю */
}

.dmc-Button-root.step-title {
    color: #dc2626;
    padding: 0;
    background: none !important;
}

.step-description {
    font-size: 0.875rem;
    color:#252424;
    line-height: 1.5;
    text-align: left; /* Текст по левому краю */
}

/* Анимации */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Базовые стили элементов */
.step-item {
    opacity: 0; /* Начальное состояние - невидимы */
}

/* Десктопная анимация */
@media (min-width: 768px) {
    .step-item.active {
        animation: slideInRight 0.6s ease-out forwards;
    }
}

/* Мобильная анимация */
@media (max-width: 767px) {
    .step-item.active {
        animation: slideUp 0.6s ease-out forwards;
    }
}/* Модальное окно */
.modal-contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-contact-form .modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Поле ввода */
.form-input {
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
}

.form-textarea {
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
    height: 150px; /* Увеличиваем высоту текстового поля */
    resize: vertical; /* Позволяет пользователю изменять высоту только по вертикали */
}

.form-input:focus,
.form-textarea:focus {
    border-color: #2c3e50;
    outline: none;
    box-shadow: 0 0 5px rgba(44, 62, 80, 0.5);
}

@media (max-width: 600px) {
    .form-input,
    .form-textarea {
        font-size: 14px; /* Уменьшаем размер текста на маленьких экранах */
        height: auto; /* Автоматическая высота для лучшей адаптации */
        padding: 8px; /* Уменьшаем отступы */
    }

    .form-textarea {
        height: 120px; /* Уменьшаем высоту текстового поля */
    }
}

/* Контейнер для строки с кнопками */
.modal-button-row {
    display: flex; /* Используем Flexbox */
    justify-content: space-between; /* Распределяем кнопки по краям */
    align-items: center; /* Выравниваем кнопки по вертикали */
}

.contact-button {
    flex: 1; /* Кнопки занимают равное пространство */
    margin: 0 5px; /* Отступы между кнопками */
    text-align: center; /* Текст внутри кнопок по центру */
    font-size: 14px; /* Размер текста */
    padding: 10px; /* Внутренние отступы */
}

.button-phone-call-center-container {
    display: flex; /* Используем Flexbox */
    justify-content: center; /* Центрируем содержимое по горизонтали */
}

@media (max-width: 600px) {
    .modal-button-row {
        flex-direction: column; /* Кнопки располагаются друг под другом */
        align-items: stretch; /* Кнопки растягиваются на всю ширину */
    }
    
    .contact-button {
        flex: none; /* Отключаем растяжение */
        font-size: 12px; /* Меньший размер текста */
        padding: 8px; /* Уменьшаем внутренние отступы */
    }

    .telephon-call-button {
        width: 100%;
    }
}

/* Кнопки */
.telephon-call-button {
    background-color: #2c3e50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 auto;
    transition: background-color 0.3s ease-in-out;
}

.telephon-call-button {
    background-color: rgb(220, 38, 38);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: background-color 0.3s ease-in-out;
}

.whatsapp-button{
    background-color: rgba(22, 163, 74, 1);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: background-color 0.3s ease-in-out;
}


.telegram-button{
    background-color: rgba(39, 167, 231, 1);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}


.form-button:hover {
    background-color: #1a252f;
}

/* Стили для Fieldset */
.dmc-fieldset {
    display: flex;
    flex-direction: column; /* Элементы внутри располагаются вертикально */
    padding: 15px; /* Внутренние отступы */
    border: 1px solid #ccc; /* Легкая граница */
    border-radius: 5px; /* Закругленные углы */
    overflow: hidden; /* Предотвращаем выход элементов за границы */
}

/* Дополнительные стили для Textarea */
.form-textarea {
    width: 100%;
    min-height: 100px; /* Минимальная высота */
    max-height: 200px; /* Максимальная высота */
    resize: vertical; /* Позволяет пользователю изменять высоту */
    overflow-y: auto; /* Добавляем скролл при необходимости */
}/* Базовые стили секции */
.video-section {
    text-align: center;
    padding: 0; /* Убираем отступы вокруг секции */
    background: linear-gradient(
        to bottom,
        var(--top-color),
        var(--bottom-color)
    );
    overflow: hidden;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.875rem;
    color: #333;
    line-height: 1.2;
}

/* Карусель видео */
.video-carousel {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0; /* Убираем отступы внутри карусели */
    height: auto; /* Подстраиваем высоту под содержимое */
}

.video-carousel .dmc-Carousel-slide,
.video-carousel .dmc-Center {
    padding: 0;
    margin: 0;
    height: 100%;
}

/* Миниатюры видео */
.video-thumbnail-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.625rem;
    aspect-ratio: 16/9; /* Горизонтальный формат */
    width: 100%;
    height: auto; /* Подстраиваем высоту под ширину */
    background-color: #000; /* Черный фон для пустых областей */
}

.video-carousel video {
    width: 100%;
    height: 100%; /* Занимает всю доступную высоту */
    object-fit: cover; /* Заполняет контейнер, обрезая лишнее */
    border-radius: 0.625rem 0.625rem 0 0;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
    display: block;
    transition: transform 0.3s ease;
}

.video-carousel video:hover {
    transform: scale(1.02);
}

/* Эффект наложения для миниатюр */
.video-thumbnail-wrapper {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.video-thumbnail-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: inherit;
    transition: background 0.3s ease;
}

.video-thumbnail-wrapper:hover::after {
    background: rgba(0, 0, 0, 0.5);
}

/* Стили для кнопки воспроизведения */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Модальное окно */
.dmc-Modal-root {
    padding: 0;
    margin: 0;
}

.dmc-Modal-body {
    padding: 0;
    margin: 0;
}

.dmc-Modal-content {
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    max-width: none;
    width: 100%;
}

.dmc-Modal-inner {
    padding: 0;
    margin: 0;
    max-width: none;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Контейнер видео в модальном окне */
.modal-video-container {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-video {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    display: block;
    background: #000;
}

/* Затемненный фон */
.dmc-Modal-overlay {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Адаптивность */
@media (max-width: 48rem) {
    .video-section {
        padding: 1.875rem 0.625rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .video-carousel {
        padding: 0 0.3125rem;
    }

    .video-carousel video {
        max-height: none; /* Убираем ограничение по высоте */
    }

    #modal-video {
        max-height: 60vh;
        width: 95vw;
    }
}/* Секция услуг */
.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.services-subtitle {
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

/* Сетка 2x2 на десктопах */
.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две колонки */
    gap: 2rem;
    padding: 0;
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 100%);
    transition: all 0.4s ease;
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Иконка без кружка */
.service-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* Делаем иконку белой */
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 700;
}

.service-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.service-button {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.service-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Эффекты при наведении */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover .service-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.service-card:hover .service-content {
    transform: translateY(0);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-container {
    animation: fadeInUp 0.8s ease forwards;
}

/* Адаптивность */
@media (max-width: 992px) {
    .services-section {
        padding: 4rem 1.25rem;
    }
    
    .services-container {
        gap: 1.5rem;
    }
    
    .service-card {
        height: 360px;
    }
}

/* Мобильная версия - одна колонка */
@media (max-width: 768px) {
    .services-section {
        padding: 3rem 1rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-container {
        grid-template-columns: 1fr; /* Одна колонка */
        max-width: 500px; /* Уже чем на десктопе */
        margin: 0 auto;
        gap: 1.5rem;
    }
    
    .service-card {
        height: 320px;
        border-radius: 14px;
    }
    
    .service-content {
        padding: 1.75rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.2rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        height: 280px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .services-title {
        font-size: 1.8rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
    }
}/* Общие стили */
body {
    position: relative;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #ffffff;
}

.page-container {
    margin: 0 auto;
}










/* Разделитель */
hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 20px 0;
}

/* Контейнер кнопок */
.contact-form-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Заголовок способов связи */
.contact-form h6 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
    color: #2c3e50;
}

/* Подвал */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 16px;
}

.footer-links a:hover {
    text-decoration: underline;
}/* Стили для красивой кнопки Telegram */
.telegram-button {
    position: relative;
    transition: all 0.4s ease;
}

.telegram-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.telegram-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Эффект "блеска" при наведении */
.telegram-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.8s;
    z-index: -1;
}

.telegram-button:hover::after {
    left: 120%;
}

/* Анимация иконки */
.telegram-icon {
    transition: transform 0.3s ease;
}

.telegram-button:hover .telegram-icon {
    transform: translateX(5px);
}