:root {
    --primary-color: #e74c3c; /* Красный */
    --secondary-color: #c0392b; /* Темно-красный */
    --service-color: #3498db; /* Синий для автосервиса */
    --dark-color: #000000; /* Чистый черный */
    --light-color: #111111; /* Очень темно-серый */
    --gray-color: #666666; /* Серый */
    --text-color: #ffffff; /* Белый текст */
    --text-light: #cccccc; /* Светло-серый текст */
    --border-color: #333333; /* Темная рамка */
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --service-block-bg: rgba(17, 17, 17, 0.6); /* Полупрозрачный темный фон для блоков */
    --service-block-border: rgba(255, 255, 255, 0.1); /* Очень тонкая полупрозрачная рамка */
    --service-block-border-hover: #e74c3c; /* Цвет рамки при наведении для лизинга */
    --service-block-border-hover-service: #3498db; /* Цвет рамки при наведении для автосервиса */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    overflow-x: visible;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 15px 0;
    transition: var(--transition);
    /* Легкое затемнение сверху для лучшей читаемости на фоне видео */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0) 100%);
    border-radius: 0px 0px 30px 30px;
}

.header.scrolled {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 75%, rgba(0, 0, 0, 0.5) 100%);
    backdrop-filter: none;
}

.navbar {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 80px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
    gap: 20px;
}

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    z-index: 11;
}

.nav-center:hover {
    /* Убраны фоновые эффекты при наведении */
}

.lang-btn {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 10px 22px;
    border-radius: 25px;
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    min-width: 55px;
    text-align: center;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.03);
}

.lang-btn.active {
    color: var(--primary-color);
    font-weight: 700;
}

.lang-btn.active:hover {
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.05);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    padding: 8px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(231, 76, 60, 0.1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #e66757, var(--primary-color));
    transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    border-radius: 3px;
}

.nav-link:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-left: 10px;
    padding: 8px 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons:hover {
    /* Убраны фоновые эффекты при наведении */
}

.social-icon {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: relative;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}

/* Убираем все сложные фоны и сохраняем цвета брендов при наведении */
.social-icon:nth-child(1):hover { /* Telegram */
    color: #0088cc;
}
.social-icon:nth-child(2):hover { /* WhatsApp */
    color: #25d366;
}
.social-icon:nth-child(3):hover { /* VK */
    color: #4c75a3;
}
.social-icon:nth-child(4):hover { /* YouTube */
    color: #ff0000;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background-color: transparent;
    padding-top: 80px; /* Компенсация для fixed header */
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    padding-left: 0;
    padding-bottom: 0;
}

/* Темный фон для hero-секции - УБРАН */
.dark-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* Приветственная рамка (увеличенная в 2 раза) с эффектом прерывания */
.welcome-overlay {
    position: absolute;  /* вместо relative */
    top: 1%;  /* 15% от высоты hero-секции */
    left: 0;
    width: 100%;
    margin-top: 0;
}

.welcome-overlay.active {
    opacity: 1;
}

.green-frame-transparent {
    border: 10px solid var(--primary-color);
    padding: 207px 288px 92px 288px; /* Увеличено на 15% */
    border-radius: 0; /* Острые углы */
    background-color: rgba(0, 0, 0, 0.4); /* Полупрозрачный фон для эффекта прерывания */
    backdrop-filter: blur(2px);
    transform: scale(0.9);
    animation: scaleUp 1.2s ease forwards, pulseBorder 3s infinite ease-in-out, glowFrame 2s infinite ease-in-out;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(231, 76, 60, 0.4),
        0 0 80px rgba(231, 76, 60, 0.2),
        inset 0 0 40px rgba(231, 76, 60, 0.1);
    position: relative;
    overflow: hidden;
    mix-blend-mode: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 575px; /* Увеличено на 15% */
}

.green-frame-transparent::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: transparent;
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    filter: blur(0);
}

.green-frame-transparent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
    border-radius: 22px;
}

@keyframes scaleUp {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulseBorder {
    0%, 100% {
        border-color: var(--primary-color);
        box-shadow: 
            0 0 15px rgba(231, 76, 60, 0.3),
            0 0 40px rgba(231, 76, 60, 0.2),
            0 0 80px rgba(231, 76, 60, 0.1);
    }
    50% {
        border-color: #e66757;
        box-shadow: 
            0 0 25px rgba(231, 76, 60, 0.5),
            0 0 60px rgba(231, 76, 60, 0.3),
            0 0 100px rgba(231, 76, 60, 0.2);
    }
}

@keyframes glowFrame {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(231, 76, 60, 0.3),
            0 0 40px rgba(231, 76, 60, 0.2),
            0 0 60px rgba(231, 76, 60, 0.1),
            inset 0 0 30px rgba(231, 76, 60, 0.05);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(231, 76, 60, 0.5),
            0 0 60px rgba(231, 76, 60, 0.3),
            0 0 90px rgba(231, 76, 60, 0.2),
            inset 0 0 50px rgba(231, 76, 60, 0.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.welcome-text-large {
    font-size: clamp(25px, 5vw, 50px); /* Увеличен размер текста для лучшей читаемости */
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 3px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(231, 76, 60, 0.4);
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.welcome-text-large .line {
    display: block;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
}

.welcome-text-large .line.line-1 {
    margin-bottom: -0.05em;
}

.welcome-text-large .line.line-2 {
    margin-bottom: -0.05em;
}

.welcome-text-large .line.line-3 {
    margin-bottom: 0;
}

/* Неоновое загорание букв с волной */
.welcome-text-large .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: neonWave 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: calc(var(--i) * 0.08s);
    position: relative;
    text-shadow: 
        0 0 10px rgba(231, 76, 60, 0.8),
        0 0 20px rgba(231, 76, 60, 0.6),
        0 0 30px rgba(231, 76, 60, 0.4),
        0 0 40px rgba(231, 76, 60, 0.2);
    filter: brightness(1.2);
}

.welcome-text-large .letter:hover {
    animation: neonPulse 0.5s ease-in-out infinite;
    text-shadow: 
        0 0 15px rgba(231, 76, 60, 1),
        0 0 30px rgba(231, 76, 60, 0.8),
        0 0 45px rgba(231, 76, 60, 0.6),
        0 0 60px rgba(231, 76, 60, 0.4),
        0 0 75px rgba(231, 76, 60, 0.2);
    filter: brightness(1.5);
    transform: scale(1.1);
}

@keyframes neonWave {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
        text-shadow: 
            0 0 5px rgba(231, 76, 60, 0.3),
            0 0 10px rgba(231, 76, 60, 0.2),
            0 0 15px rgba(231, 76, 60, 0.1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.05);
        text-shadow: 
            0 0 15px rgba(231, 76, 60, 0.9),
            0 0 30px rgba(231, 76, 60, 0.7),
            0 0 45px rgba(231, 76, 60, 0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow: 
            0 0 10px rgba(231, 76, 60, 0.8),
            0 0 20px rgba(231, 76, 60, 0.6),
            0 0 30px rgba(231, 76, 60, 0.4),
            0 0 40px rgba(231, 76, 60, 0.2);
    }
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 15px rgba(231, 76, 60, 1),
            0 0 30px rgba(231, 76, 60, 0.8),
            0 0 45px rgba(231, 76, 60, 0.6),
            0 0 60px rgba(231, 76, 60, 0.4),
            0 0 75px rgba(231, 76, 60, 0.2);
        filter: brightness(1.5);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(231, 76, 60, 1),
            0 0 40px rgba(231, 76, 60, 0.9),
            0 0 60px rgba(231, 76, 60, 0.7),
            0 0 80px rgba(231, 76, 60, 0.5),
            0 0 100px rgba(231, 76, 60, 0.3);
        filter: brightness(1.8);
    }
}

/* Advantages Section */
.advantages {
    position: relative;
    padding: 100px 0;
    overflow: visible;
    background-color: var(--dark-color);
    z-index: 0;
}

.advantages-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Фоновое изображение удалено - фон просто черный */
    background: transparent;
    z-index: -1;
}

.advantages-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

/* Плавные переходы между секциями - усиленные градиенты */
.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.advantages::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 80px;
    color: var(--text-color);
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
        background: linear-gradient(90deg, var(--primary-color), #e66757);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.advantage-card {
    height: 320px;
}

.advantage-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: none;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.advantage-card:hover .advantage-card-inner {
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
}

.advantage-icon {
    position: relative;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin: 30px 0 20px;
    z-index: 2;
    transition: none;
    display: inline-block;
    text-shadow: 0 0 8px rgba(231, 76, 60, 0.5), 0 0 15px rgba(231, 76, 60, 0.3);
    filter: drop-shadow(0 0 3px rgba(231, 76, 60, 0.3));
}

.advantage-card:hover .advantage-icon {
    transform: none;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(231, 76, 60, 0.5), 0 0 15px rgba(231, 76, 60, 0.3);
    filter: drop-shadow(0 0 3px rgba(231, 76, 60, 0.3));
}

.advantage-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.advantage-card:hover .advantage-title {
    color: var(--text-color);
}

.advantage-description {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

.advantage-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(231, 76, 60, 0.3), rgba(231, 76, 60, 0.15));
    border-top: 1px solid rgba(231, 76, 60, 0.4);
    border-radius: 0 0 20px 20px;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
}

.advantage-card:hover .advantage-hover {
    transform: translateY(100%);
}

.advantage-hover p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Service Choice Section - Минималистичный технологичный дизайн */
.service-choice {
    position: relative;
    padding: 100px 0;
    background-color: var(--dark-color);
    z-index: 0;
}

.service-choice-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fon3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.7); /* Затемнение изображения */
}

.service-choice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Дополнительное затемнение */
    z-index: -1;
}

/* Затемненные градиенты по краям для плавного перехода */
.service-choice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.service-choice::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.service-choice-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Общие стили для блоков услуг - минималистичные */
.service-block {
    flex: 0 0 48.5%;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

/* Эффект вырезов для "обволакивающего" OR */
.service-block.leasing-block {
    border-right: none;
    border-radius: 0;
    margin-right: -5px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 50%, calc(100% - 5px) 100%, 0 100%);
}

.service-block.service-block-right {
    border-left: none;
    border-radius: 0;
    margin-left: -5px;
    position: relative;
    clip-path: polygon(5px 0, 100% 0, 100% 100%, 5px 100%, 0 50%);
}

/* Тонкие технологичные анимации при наведении */
.service-block:hover {
    background: rgba(30, 30, 30, 0.7);
    transform: translateY(-5px);
}

.service-block.leasing-block:hover {
    border-color: var(--service-block-border-hover);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.15);
}

.service-block.service-block-right:hover {
    border-color: var(--service-block-border-hover-service);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.15);
}

/* Изображения в минималистичном стиле */
.block-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: grayscale(30%) contrast(1.1);
}

.service-block:hover .block-image img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1);
}

/* Типографика в минималистичном стиле */
.block-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.service-block.leasing-block .block-title::after {
    background: var(--primary-color); /* Красный для полоски в блоке лизинга */
}

.service-block.service-block-right .block-title::after {
    background: var(--service-color);
}

.service-block:hover .block-title::after {
    width: 80px;
}

/* Кнопки в минималистичном технологичном стиле */
.service-block .btn {
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 180px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background: transparent;
}

.leasing-block .btn-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.leasing-block .btn-primary:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.service-block-right .btn-secondary {
    color: var(--service-color);
    border-color: var(--service-color);
}

.service-block-right .btn-secondary:hover {
    background: var(--service-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Новая концепция: единая рамка с обволакивающим OR */

/* Единый контейнер для обоих блоков */
.unified-frame-container {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 500px;
    background: transparent;
    border: none;
    border-radius: 8px;
    backdrop-filter: none;
    overflow: visible;
    padding: 0;
    gap: 0;
}

/* Внутренние блоки услуг */
.service-inside {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

/* Изображения внутри единой рамки */
.unified-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 0;
    border: 2px solid rgba(128, 128, 128, 0.3);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.unified-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: grayscale(30%) contrast(1.1);
}

.service-inside:hover .unified-image img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1);
}

/* Заголовки внутри единой рамки */
.unified-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.unified-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.leasing-inside .unified-title::after {
    background: var(--primary-color);
}

.service-inside-right .unified-title::after {
    background: var(--service-color);
}

.service-inside:hover .unified-title::after {
    width: 80px;
}

/* Стеклянные кнопки в единой рамке */
.unified-btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: inline-block;
    min-width: 160px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Стеклянная зеленая кнопка для лизинга */
.leasing-inside .unified-btn {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(231, 76, 60, 0.25) 0%,
        rgba(231, 76, 60, 0.15) 50%,
        rgba(231, 76, 60, 0.25) 100%
    );
    border: 1px solid rgba(231, 76, 60, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.leasing-inside .unified-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(231, 76, 60, 0.35) 0%,
        rgba(231, 76, 60, 0.25) 50%,
        rgba(231, 76, 60, 0.35) 100%
    );
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(231, 76, 60, 0.25),
        0 0 20px rgba(231, 76, 60, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(231, 76, 60, 0.5);
}

/* Стеклянная синяя кнопка для автосервиса */
.service-inside-right .unified-btn {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(52, 152, 219, 0.25) 0%,
        rgba(52, 152, 219, 0.15) 50%,
        rgba(52, 152, 219, 0.25) 100%
    );
    border: 1px solid rgba(52, 152, 219, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-inside-right .unified-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(52, 152, 219, 0.35) 0%,
        rgba(52, 152, 219, 0.25) 50%,
        rgba(52, 152, 219, 0.35) 100%
    );
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(52, 152, 219, 0.25),
        0 0 20px rgba(52, 152, 219, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(52, 152, 219, 0.5);
}

/* Эффект нажатия для всех стеклянных кнопок */
.unified-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/* Обволакивающий OR */
.or-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0;
    padding: 0;
}

.or-text {
    position: relative;
    z-index: 3;
    background: var(--dark-color);
    color: var(--text-color);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.or-wrapper:hover .or-text {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: rgba(30, 30, 30, 0.95);
}

/* Коннекторы для эффекта обволакивания - СКРЫТЫ */
.or-connector,
.or-connector-top,
.or-connector-bottom,
.or-connector-left,
.or-connector-right {
    display: none !important;
}

@keyframes connectorPulse {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }
}

/* Анимация при наведении на всю единую рамку */
.unified-frame-container:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 992px) {
    .service-choice-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-block {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        min-height: 350px;
        clip-path: none !important;
        border-radius: 2px !important;
        border: 1px solid var(--service-block-border) !important;
        margin: 0 !important;
    }
    
    .or-separator {
        flex: 0 0 auto;
        height: auto;
        min-height: auto;
        padding: 20px 0;
        width: 100%;
        order: 2;
    }
    
    .or-separator::before {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        height: 100%;
        transform: translateX(-50%);
    }
    
    /* Адаптивные стили для новой концепции */
    .unified-frame-container {
        flex-direction: column;
        gap: 30px;
        padding: 40px 30px;
        min-height: auto;
    }
    
    .service-inside {
        width: 100%;
        padding: 20px 15px;
        min-height: 300px;
    }
    
    .or-wrapper {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 20px auto;
        order: 2;
        width: 100%;
        height: auto;
        padding: 15px 0;
    }
    
    .or-text {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }
    
    .or-connector {
        display: none;
    }
    
    .or-wrapper:hover .or-connector {
        display: none;
    }
    
    /* Адаптивные стили для стеклянных кнопок */
    .unified-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    .btn-contact {
        padding: 10px 25px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    .service-block .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    /* Адаптивные стили для кнопок в секции руля */
    .steering-section .btn-contact {
        animation: none;
        backdrop-filter: blur(5px);
    }
    
    .steering-section .btn-contact:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 576px) {
    .service-block {
        padding: 30px 20px;
        min-height: 300px;
    }
    
    .block-image {
        height: 150px;
        margin-bottom: 20px;
    }
    
    .block-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .service-block .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: 160px;
    }
    
    .or-separator span {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}


/* Эффекты при наведении */
.service-block:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.5);
    border-color: var(--service-block-border-hover);
}

.service-block.leasing-block:hover {
    border-color: var(--primary-color);
    background: rgba(40, 40, 40, 0.9);
}

.service-block.service-block-right:hover {
    border-color: #3498db;
    background: rgba(40, 40, 40, 0.9);
}

.block-image {
    width: 100%;
    height: 250px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 35px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-block:hover .block-image {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.12);
}

.service-block:hover .block-image img {
    transform: scale(1.08);
}

.block-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.block-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.service-block.leasing-block .block-title::before {
    background: linear-gradient(90deg, var(--primary-color), transparent); /* Красный для полоски в блоке лизинга */
}

.service-block.service-block-right .block-title::before {
    background: linear-gradient(90deg, #3498db, transparent);
}

.service-block:hover .block-title::before {
    width: 100px;
}

/* Стили для кнопок - элегантные и доступные */
.service-block .btn {
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 60px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-block;
    min-width: 220px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Кнопка для лизинга - элегантная красная */
.leasing-block .btn-primary {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.95) 0%, 
        rgba(192, 57, 43, 0.95) 100%);
    border: 2px solid rgba(231, 76, 60, 0.3);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.leasing-block .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leasing-block .btn-primary:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.25);
    border-color: rgba(231, 76, 60, 0.5);
}

.leasing-block .btn-primary:hover::before {
    opacity: 1;
}

/* Кнопка для автосервиса - дружелюбная голубая */
.service-block-right .btn-secondary {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.95) 0%, 
        rgba(41, 128, 185, 0.95) 100%);
    border: 2px solid rgba(52, 152, 219, 0.3);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-block-right .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-block-right .btn-secondary:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.25);
    border-color: rgba(52, 152, 219, 0.5);
}

.service-block-right .btn-secondary:hover::before {
    opacity: 1;
}

/* Элегантный разделитель OR между блоками */
.or-separator {
    flex: 0 0 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 15px;
    height: 100%;
    min-height: 400px;
}

.or-separator::before {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(0, 0, 0, 0.2), 
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.2), 
        transparent);
    z-index: 1;
}

.or-separator span {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(245, 250, 245, 0.95) 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.1);
    font-weight: 800;
    font-size: 1.3rem;
    color: #1a1a1a;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.or-separator:hover span {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(245, 250, 245, 0.98) 100%);
}

/* Эффект "обволакивания" для блоков */
.service-block.leasing-block {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    margin-right: -1px;
}

.service-block.service-block-right {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
    margin-left: -1px;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 992px) {
    .service-choice-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .service-block {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        min-height: 350px;
        border-radius: 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin: 0 !important;
        border-radius: 25px !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .service-block.leasing-block {
        border-radius: 25px !important;
        border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
        margin-right: 0 !important;
    }
    
    .service-block.service-block-right {
        border-radius: 25px !important;
        border-left: 1px solid rgba(0, 0, 0, 0.1) !important;
        margin-left: 0 !important;
    }
    
    .or-separator {
        flex: 0 0 auto;
        height: auto;
        min-height: auto;
        padding: 30px 0;
        width: 100%;
        order: 2;
    }
    
    .or-separator::before {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }
    
    .or-separator span {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .service-block {
        padding: 30px 20px;
        min-height: 300px;
    }
    
    .block-image {
        height: 150px;
        margin-bottom: 20px;
    }
    
    .block-title {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }
    
    .service-block .btn {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .or-separator {
        font-size: 2rem;
    }
}

/* Steering Section */
.steering-section {
    position: relative;
    padding: 100px 0;
    background-size: auto, auto, 100% 100% !important;
    background-position: center, center, center !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
    background-attachment: scroll, scroll, scroll !important;
    color: #fff;
    transition: background-image 1.5s ease-in-out;
    overflow: hidden;
    z-index: 1;
}

/* Плавные переходы между секциями и по краям фотографий для steering-section - усиленные градиенты */
.steering-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.steering-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.steering-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.steering-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.steering-info {
    margin: 20px 0;
    text-align: left;
    width: 100%;
    max-width: 600px;
}

.steering-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 4px 0;
    line-height: 1.4;
}

.steering-content .btn-contact {
    margin-top: 10px;
    align-self: flex-start;
}

.green-frame-large {
    border: 4px solid var(--primary-color);
    padding: 25px 50px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    max-width: 600px;
}

.steering-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.steering-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}


/* Owners Section */
.owners {
    position: relative;
    padding: 100px 0;
    overflow: visible;
    background-color: var(--dark-color);
    z-index: 0;
}

/* Плавные переходы между секциями */
.owners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.owners::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.owners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* Owner Cards with Transparent Glass Effect */
.owner-card {
    text-align: center;
    padding: 60px 50px;
    border-radius: 30px;
    background: transparent;
    border: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.owner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(231, 76, 60, 0.02) 0%,
        transparent 70%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.owner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    border-radius: 25px;
}

.owner-card:hover {
    transform: translateY(-15px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.owner-card:hover::before {
    opacity: 1;
}

/* Owner Image */
.owner-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.owner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.owner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1.05) contrast(1.1);
}

.owner-card:hover .owner-image img {
    transform: scale(1.15);
}

/* Name with Typing Animation Effect */
.owner-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    opacity: 0;
    animation: typingAnimation 0.8s ease-out forwards;
}

.owner-card:nth-child(1) .owner-name {
    animation-delay: 0.3s;
}

.owner-card:nth-child(2) .owner-name {
    animation-delay: 0.5s;
}

.owner-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.owner-card:hover .owner-name::after {
    width: 80%;
}

/* Position with Gradient Text */
.owner-position {
    font-size: 1.3rem;
    color: transparent;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        #e66757,
        var(--primary-color)
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    animation: gradientText 3s ease infinite;
    position: relative;
    opacity: 0;
    animation: typingAnimation 0.8s ease-out 0.2s forwards;
}

/* Bio with Fade In */
.owner-bio {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
    position: relative;
    padding: 0 15px;
    opacity: 0;
    animation: typingAnimation 0.8s ease-out 0.4s forwards;
}

.owner-bio::before,
.owner-bio::after {
    content: '"';
    position: absolute;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
    opacity: 0.5;
}

.owner-bio::before {
    top: -15px;
    left: 0;
}

.owner-bio::after {
    bottom: -15px;
    right: 0;
}

/* Animated Contacts */
.owner-contacts {
    opacity: 0;
    animation: typingAnimation 0.8s ease-out 0.6s forwards;
}

.owner-contacts p {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.owner-contacts p:hover {
    background: rgba(231, 76, 60, 0.15);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.owner-contacts i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    transition: all 0.4s ease;
    animation: pulseIcon 2s infinite ease-in-out;
}

.owner-contacts p:hover i {
    color: #fff;
    transform: scale(1.3) rotate(10deg);
    animation: none;
}

.owner-contacts p:nth-child(1) i {
    animation-delay: 0.1s;
}

.owner-contacts p:nth-child(2) i {
    animation-delay: 0.2s;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
}

.footer-text {
    line-height: 1.7;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-text i {
    margin-right: 10px;
    color: var(--primary-color);
}

.map-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.map-link:hover {
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social .social-icon {
    color: #ddd;
    font-size: 1.3rem;
    text-decoration: none;
}

.footer-social .social-icon:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Стеклянная белая кнопка "Связаться" */
.btn-contact {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: inline-block;
    min-width: 160px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-contact:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.25) 100%
    );
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(255, 255, 255, 0.15),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-contact:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-admin {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    display: inline-block;
    margin-bottom: 15px;
}

.btn-admin:hover {
    background-color: #c0392b;
}

/* Анимации и дополнительные эффекты */

/* Анимация для зеленой рамки в секции руля */
@keyframes frameGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(231, 76, 60, 0.3),
                    inset 0 0 20px rgba(231, 76, 60, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(231, 76, 60, 0.5),
                    inset 0 0 30px rgba(231, 76, 60, 0.2);
    }
}

/* Анимация пульсации кнопки "Связаться" */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 5px 25px rgba(255, 255, 255, 0.4);
    }
}

/* Анимация появления элементов при скролле */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Анимация увеличения фото при наведении в секции владельцев */
@keyframes photoZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

/* Применение анимаций для секции с рулем */
.steering-section .green-frame-large {
    animation: fadeInRight 1s ease-out;
}

.steering-section .green-frame-large {
    animation: frameGlow 3s infinite ease-in-out;
}

.steering-section .btn-contact {
    animation: buttonPulse 2s infinite ease-in-out;
}

.steering-section .btn-contact:hover {
    animation: none;
    box-shadow: 0 5px 25px rgba(255, 255, 255, 0.5) !important;
}

/* Анимации для секции владельцев при скролле */
.owners-grid {
    animation: fadeInUp 1s ease-out;
}

.owner-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.owner-card:nth-child(1) {
    animation-delay: 0.2s;
}

.owner-card:nth-child(2) {
    animation-delay: 0.4s;
}

.owner-card:hover .owner-image img {
    animation: photoZoom 0.5s ease-out forwards;
}

/* Анимации для футера */
.footer-grid {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.footer-column:nth-child(1) {
    animation: fadeInLeft 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

.footer-column:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 1s forwards;
    opacity: 0;
}

.footer-column:nth-child(3) {
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
    opacity: 0;
}

.footer-column:nth-child(4) {
    animation: fadeInRight 0.8s ease-out 1.4s forwards;
    opacity: 0;
}

/* Эффект для кнопки "Админ" */
.btn-admin {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-admin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-admin:hover::before {
    width: 300px;
    height: 300px;
}

.btn-admin:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

/* Плавная анимация появления для всех секций */
.advantages, .service-choice, .steering-section, .owners {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.advantages {
    animation-delay: 0.1s;
}

.service-choice {
    animation-delay: 0.2s;
}

.steering-section {
    animation-delay: 0.3s;
}

.owners {
    animation-delay: 0.4s;
}

/* Стили для страницы лизинга */
.leasing-hero {
    position: relative;
    padding: 150px 0 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
                url('https://images.unsplash.com/photo-1553440569-bcc63803a83d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.leasing-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.leasing-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.leasing-cards {
    padding: 100px 0;
    background-color: var(--light-color);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.car-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--service-block-border);
    transition: all 0.3s ease;
}

.car-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.2);
}

.car-image {
    height: 250px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-info {
    padding: 30px;
    text-align: center;
}

.car-model {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.car-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.car-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.leasing-benefits {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Стили для страницы автосервиса */
.service-hero {
    position: relative;
    padding: 150px 0 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
                url('https://images.unsplash.com/photo-1560958089-b8a1929cea89?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.service-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.service-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.service-examples {
    padding: 100px 0;
    background-color: var(--light-color);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.example-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--service-block-border);
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-10px);
    border-color: #3498db;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
}

.example-image {
    height: 250px;
    overflow: hidden;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.example-card:hover .example-image img {
    transform: scale(1.1);
}

.example-info {
    padding: 30px;
    text-align: left;
}

.example-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.example-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.example-details {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.example-details p {
    margin-bottom: 10px;
    color: var(--text-light);
}

.example-details strong {
    color: var(--text-color);
}

.service-types {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95));
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.type-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: left;
}

.type-card:hover {
    border-color: #3498db;
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.type-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 25px;
}

.type-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.type-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-list li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.type-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Анимации для новых страниц */
.leasing-hero, .service-hero {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.leasing-cards, .service-examples {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.leasing-benefits, .service-types {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

/* Новые анимации для улучшенной секции владельцев */
@keyframes particlesMove {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 300px 300px, 200px 200px, 250px 250px, 150px 150px;
    }
}

@keyframes gradientBorder {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes typingAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientText {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Стили для видео-фона с машиной */
.car-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7);
    opacity: 1;
    transition: opacity 0.8s ease;
}

/* Общий контейнер для header и hero */
.header-hero-wrapper {
    position: static;
    min-height: 100vh;
}

/* Новые стили для видео-фона с автомобилем (как в предоставленном HTML) - теперь общий для header и hero */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

/* Затемнение фона для лучшей читаемости текста */
.dark-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

/* Дополнительные стили для плавного появления */
.green-frame-transparent {
    animation: frameAppear 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Плавное затемнение в нижней части hero-секции с черным цветом у секции "Наши преимущества" */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 0.95) 15%, 
        rgba(0, 0, 0, 0.85) 30%, 
        rgba(0, 0, 0, 0.7) 45%, 
        rgba(0, 0, 0, 0.5) 60%, 
        rgba(0, 0, 0, 0.3) 75%, 
        rgba(0, 0, 0, 0.15) 90%, 
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Responsive will be in separate file */

/* ============================================
   Модальное окно соглашения о конфиденциальности
   ============================================ */

/* Основные цвета для модального окна (красные акценты) */
:root {
    --privacy-red: #e74c3c;
    --privacy-red-dark: #c0392b;
    --privacy-red-light: #ff6b6b;
    --privacy-red-transparent: rgba(231, 76, 60, 0.1);
    --privacy-modal-bg: rgba(0, 0, 0, 0.95);
    --privacy-modal-border: #333333;
    --privacy-text-light: #cccccc;
}

/* Оверлей модального окна */
.privacy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.privacy-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Само модальное окно */
.privacy-modal {
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background-color: var(--privacy-modal-bg);
    border-radius: 12px;
    border: 1px solid var(--privacy-modal-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.privacy-modal-overlay.active .privacy-modal {
    transform: translateY(0);
    opacity: 1;
}

/* Заголовок модального окна */
.privacy-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--privacy-modal-border);
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.05));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.privacy-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--privacy-red);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-modal-icon {
    font-size: 1.3rem;
}

.privacy-modal-close {
    background: transparent;
    border: none;
    color: var(--privacy-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.privacy-modal-close:hover {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--privacy-red);
}

/* Контент модального окна */
.privacy-modal-content {
    padding: 25px;
}

.privacy-modal-scroll {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* Стили для скроллбара */
.privacy-modal-scroll::-webkit-scrollbar {
    width: 6px;
}

.privacy-modal-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.privacy-modal-scroll::-webkit-scrollbar-thumb {
    background: var(--privacy-red);
    border-radius: 3px;
}

/* Краткая версия соглашения */
.privacy-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--privacy-modal-border);
}

.privacy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.privacy-highlight {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--privacy-modal-border);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.privacy-highlight:hover {
    border-color: var(--privacy-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.1);
}

.privacy-highlight-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--privacy-red), var(--privacy-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.privacy-highlight-content h4 {
    color: var(--privacy-red);
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
}

.privacy-highlight-content p {
    color: var(--privacy-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Ключевые моменты */
.privacy-key-points {
    margin-bottom: 25px;
}

.privacy-key-points h3 {
    color: var(--privacy-red);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.privacy-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-points-list li {
    color: var(--text-color);
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 0.95rem;
}

.privacy-points-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--privacy-red);
    font-weight: bold;
    font-size: 1rem;
}

/* Уведомление о cookies */
.privacy-cookies-notice {
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.cookies-icon {
    color: var(--privacy-red);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cookies-content h4 {
    color: var(--privacy-red);
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.cookies-content p {
    color: var(--privacy-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Кнопки действий */
.privacy-modal-actions {
    padding: 20px 25px;
    border-top: 1px solid var(--privacy-modal-border);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
}

.btn-privacy-accept {
    flex: 1;
    background: linear-gradient(135deg, var(--privacy-red), var(--privacy-red-dark));
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-privacy-accept:hover {
    background: linear-gradient(135deg, var(--privacy-red-dark), #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-privacy-details {
    flex: 1;
    background: transparent;
    color: var(--privacy-text-light);
    border: 1px solid var(--privacy-modal-border);
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-privacy-details:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--privacy-red);
    border-color: var(--privacy-red);
    transform: translateY(-2px);
}

/* Футер модального окна */
.privacy-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--privacy-modal-border);
    background: rgba(0, 0, 0, 0.5);
}

.privacy-footer-note {
    color: var(--privacy-text-light);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.privacy-footer-note i {
    color: var(--privacy-red);
}

/* Стили для страницы политики конфиденциальности */
.privacy-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95));
    position: relative;
    overflow: hidden;
}

.privacy-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(231, 76, 60, 0.1), transparent 70%);
}

.privacy-title {
    font-size: 2.5rem;
    color: var(--privacy-red);
    margin-bottom: 10px;
    text-align: center;
    font-weight: 800;
}

.privacy-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 5px;
}

.privacy-update {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-align: center;
}

.privacy-content {
    padding: 60px 0;
    background-color: var(--dark-color);
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section-title {
    color: var(--privacy-red);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.privacy-text {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.privacy-list li {
    color: var(--text-color);
    padding: 8px 0 8px 25px;
    position: relative;
    margin-bottom: 5px;
}

.privacy-list li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--privacy-red);
    font-size: 1.2rem;
}

.privacy-contacts {
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.privacy-contacts p {
    margin: 10px 0;
    color: var(--text-color);
}

.privacy-actions {
    text-align: center;
    margin-top: 30px;
}

.privacy-actions .btn {
    background: linear-gradient(135deg, var(--privacy-red), var(--privacy-red-dark));
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.privacy-actions .btn:hover {
    background: linear-gradient(135deg, var(--privacy-red-dark), #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .privacy-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .privacy-modal-header {
        padding: 15px 20px;
    }
    
    .privacy-modal-content {
        padding: 20px;
    }
    
    .privacy-modal-actions {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    .privacy-highlights {
        grid-template-columns: 1fr;
    }
    
    .privacy-title {
        font-size: 2rem;
    }
    
    .privacy-section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .privacy-modal-title {
        font-size: 1.3rem;
    }
    
    .privacy-intro {
        font-size: 1rem;
    }
    
    .privacy-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-highlight-icon {
        margin: 0 auto 10px;
    }
}

/* Map Section Styles */
.map-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.map-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.map-iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
}

/* Responsive styles for map */
@media (max-width: 768px) {
    .map-section {
        padding: 40px 0;
    }
    
    .map-iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-section {
        padding: 30px 0;
    }
    
    .map-iframe {
        height: 300px;
    }
    
    .map-container {
        border-radius: 8px;
    }
}

/* Карусель "Наши преимущества" */
.advantages-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0 60px;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--gray-color);
}

.carousel-indicators {
    display: flex;
    gap: 12px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Адаптивность карусели */
@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
    
    .carousel-navigation {
        gap: 20px;
        margin-top: 30px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        flex: 0 0 100%;
    }
    
    .advantages-carousel {
        padding: 10px 0 50px;
    }
    
    .carousel-navigation {
        gap: 15px;
        margin-top: 25px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }

    
}

/* ============================================
   АДАПТИВНАЯ КАРУСЕЛЬ ПРЕИМУЩЕСТВ
   Десктоп (>768px) → статичная сетка
   Мобильные (≤768px) → карусель с кнопками
   ============================================ */

/* По умолчанию (мобильные) — карусель работает как обычно */
.advantages-carousel--adaptive .carousel-container {
    overflow: hidden;
}
.advantages-carousel--adaptive .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.advantages-carousel--adaptive .carousel-slide {
    flex: 0 0 100%; /* на мобильных один слайд */
}
.advantages-carousel--adaptive .carousel-navigation {
    display: flex;
}

/* Десктоп: превращаем карусель в статичную сетку */
@media (min-width: 769px) {
    .advantages-carousel--adaptive .carousel-container {
        overflow: visible;
    }
    .advantages-carousel--adaptive .carousel-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        transform: none !important;
        width: 100% !important;
    }
    .advantages-carousel--adaptive .carousel-slide {
        flex: none;
        width: auto !important;
        margin-right: 0;
    }
    /* Скрываем элементы управления каруселью */
    .advantages-carousel--adaptive .carousel-navigation {
        display: none !important;
    }
    /* Убираем возможные инлайн-стили, установленные JS */
    .advantages-carousel--adaptive .carousel-track[style] {
        transform: none !important;
        width: 100% !important;
    }
}

/* Адаптивность внутри сетки (если экран меньше 1024px, но больше 768px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .advantages-carousel--adaptive .carousel-track {
        grid-template-columns: repeat(2, 1fr);
    }
}