/* =========================================
   1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ (LIGHT)
   ========================================= */
:root {
    /* Основные цвета */
    --primary: #ff1f1f;
    --primary-dark: #cc0000;
    --primary-glow: rgba(255, 31, 31, 0.3);
    
    /* Фоны */
    --bg-main: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f9f9f9;
    --bg-section-light: #fafafa;
    --bg-section-dark: #f0f0f0;
    
    /* Текст */
    --text-main: #000000;
    --text-muted: #666666;
    --text-dark: #000000;

    /* Границы и линии */
    --border-color: #e0e0e0;
    --border-hover: #ff1f1f;

    /* Тени и Эффекты */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px var(--primary-glow);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* =========================================
   2. АБСТРАКТНЫЙ ФОН (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
.abstract-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-main);
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    animation: pulseGlow 10s infinite alternate;
}

.glow-1 {
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.glow-2 {
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #ffcccc, transparent 70%);
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    border: 2px solid var(--primary);
    filter: blur(2px);
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: floatShape 20s infinite linear;
}

.shape-2 {
    bottom: 30%;
    right: 15%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px dashed var(--primary);
    animation: floatShapeReverse 25s infinite linear;
}

@keyframes pulseGlow {
    0% { opacity: 0.05; transform: scale(1); }
    100% { opacity: 0.1; transform: scale(1.1); }
}

@keyframes floatShape {
    0% { transform: rotate(0deg) translate(0, 0); }
    50% { transform: rotate(180deg) translate(20px, 20px); }
    100% { transform: rotate(360deg) translate(0, 0); }
}

@keyframes floatShapeReverse {
    0% { transform: rotate(360deg) translate(0, 0); }
    50% { transform: rotate(180deg) translate(-20px, -20px); }
    100% { transform: rotate(0deg) translate(0, 0); }
}

/* =========================================
   3. ТИПОГРАФИКА И ОБЩИЕ ЭЛЕМЕНТЫ
   ========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 {
    font-size: 3rem;
    letter-spacing: -1px;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 31, 31, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.btn-accent {
    background: rgba(255, 31, 31, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

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

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.text-highlight {
    color: var(--primary);
}

/* =========================================
   4. ШАПКА И НАВИГАЦИЯ (ЧЕРНАЯ ШАПКА)
   ========================================= */
header {
    background: #000000;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1002;
}

.logo img { 
    height: 71px; 
    transition: var(--transition);
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone {
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone:hover { 
    color: var(--primary); 
    text-shadow: 0 0 10px var(--primary-glow); 
}

.desktop-special-button {
    transition: var(--transition);
    display: flex;
    align-items: center;
    z-index: 1002;
}

.desktop-special-button img {
    width: 50px;
    height: 45px;
}

.desktop-special-button:hover img {
    border-color: var(--primary);
    transform: scale(1.05);
}

.mobile-special-button {
    display: none;
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-special-button img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

nav { 
    position: relative; 
}

.nav-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    color: white;
    font-weight: 600;
}

.nav-trigger:hover {
    background: rgba(255, 31, 31, 0.3);
    border-color: var(--primary);
    color: var(--primary);
}

.nav-trigger:hover i { 
    color: var(--primary); 
}
.nav-trigger i { 
    transition: var(--transition); 
    color: white;
}

/* =========================================
   ВЫДЕЛЕННАЯ КНОПКА ЛИЧНОГО КАБИНЕТА (КРАСНАЯ)
   ========================================= */

/* Стиль для десктопной кнопки в меню */
.nav-block a[href="cabinet/index.php"] {
    background: var(--primary);
    border: 2px solid var(--primary);
}

.nav-block a[href="cabinet/index.php"] span {
    color: #ffffff;
    font-weight: 700;
}

.nav-block a[href="cabinet/index.php"] i {
    color: #ffffff;
}

.nav-block a[href="cabinet/index.php"]:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(255, 31, 31, 0.3);
}

.nav-block a[href="cabinet/index.php"]:hover span {
    color: #ffffff;
}

.nav-block a[href="cabinet/index.php"]:hover i {
    color: #ffffff;
}

/* Стиль для мобильной кнопки */
.mobile-nav-block a[href="cabinet/index.php"] {
    background: var(--primary);
    border: 2px solid var(--primary);
}

.mobile-nav-block a[href="cabinet/index.php"] span {
    color: #ffffff;
    font-weight: 700;
}

.mobile-nav-block a[href="cabinet/index.php"] i {
    color: #ffffff;
}

.mobile-nav-block a[href="cabinet/index.php"]:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(255, 31, 31, 0.3);
}

.mobile-nav-block a[href="cabinet/index.php"]:hover span {
    color: #ffffff;
}

.mobile-nav-block a[href="cabinet/index.php"]:hover i {
    color: #ffffff;
}

.nav-blocks {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 500px;
    background: #111;
    border: 1px solid #333;
    border-radius: var(--radius);
    padding: 20px;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
}

.nav-blocks.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.nav-block { 
    list-style: none; 
    display: flex; 
}

.nav-block a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    text-decoration: none;
    color: #cccccc;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    flex: 1;
    border: 1px solid transparent;
}

.nav-block a span {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: #eeeeee;
}

.nav-block a i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.nav-block a:hover {
    background: rgba(255, 31, 31, 0.1);
    border-color: var(--primary);
    color: white;
    transform: translateX(5px);
}

.nav-block a:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 10px;
    z-index: 1002;
    position: relative;
    margin-left: auto;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 100px 20px 40px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav-block {
    list-style: none;
    margin-bottom: 10px;
}

.mobile-nav-block a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-block a i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.mobile-nav-block a:hover {
    background: rgba(255, 31, 31, 0.3);
    border-color: var(--primary);
    transform: translateX(10px);
}

.mobile-contacts {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 31, 31, 0.2);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.mobile-phone:hover {
    background: rgba(255, 31, 31, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 31, 31, 0.4);
}

.mobile-phone i {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-trigger,
    .header-right-group {
        display: none;
    }
    
    .mobile-special-button {
        display: block;
    }
    
    .desktop-special-button {
        display: none;
    }
    
    body.mobile-menu-active .mobile-special-button {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 60px;
        padding: 10px 0;
    }
    
    .logo img {
        height: 61px;
    }
    
    .mobile-menu-btn {
        font-size: 1.4rem;
        padding: 8px;
    }
    
    .mobile-special-button {
        bottom: 15px;
        left: 15px;
        padding: 8px;
    }
    
    .mobile-special-button img {
        width: 45px;
        height: 45px;
    }
    
    .mobile-menu-overlay {
        padding: 80px 15px 30px;
    }
    
    .mobile-nav-block a {
        padding: 16px;
        font-size: 1rem;
    }
    
    .mobile-phone {
        font-size: 1.1rem;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 61px;
    }
    
    .mobile-menu-btn {
        font-size: 1.3rem;
    }
    
    .mobile-special-button {
        bottom: 10px;
        left: 10px;
    }
    
    .mobile-special-button img {
        width: 40px;
        height: 40px;
    }
}

/* =========================================
   MODERN FULL-WIDTH HERO (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
.hero {
    min-height: 95vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 245, 245, 0.95) 30%, 
        rgba(255, 235, 235, 0.9) 100%),
        url('https://images.unsplash.com/photo-1617654116852-5da4658b8fb9?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.hero-content.full-width {
    width: 100%;
    padding: 0 40px;
}

.hero-top-strip {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.strip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8);
    transition: var(--transition);
}

.strip-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 31, 31, 0.2);
}

.strip-badge.primary {
    background: linear-gradient(135deg, var(--primary) 0%, #cc0000 100%);
    color: white;
    border: none;
}

.strip-badge.secondary {
    background: linear-gradient(135deg, #e0e0e0 0%, #cccccc 100%);
    border: 1px solid #aaa;
    color: #333;
}

.strip-badge.accent {
    background: linear-gradient(135deg, rgba(255, 31, 31, 0.1) 0%, transparent 100%);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.hero-center-section {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-part {
    display: block;
    color: #000000;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.title-red {
    display: block;
    color: var(--primary);
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(255, 31, 31, 0.2);
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-infographics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.infographic-item {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.infographic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.infographic-item:hover::before {
    transform: translateX(100%);
}

.infographic-item:hover {
    border-color: rgba(255, 31, 31, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.infographic-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.value-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
}

.value-currency, .value-unit {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
}

.infographic-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
}

.icon-small {
    color: var(--primary);
    font-size: 0.9rem;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: #000000;
}

.feature-content p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
}

.hero-actions-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-large {
    min-width: 250px;
    padding: 20px 30px;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    font-size: 1rem;
    font-weight: 700;
    color: inherit;
}

.btn-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 3px;
    color: inherit;
}

.scrolling-text-container {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: scrollText 40s linear infinite;
}

.scrolling-text span {
    padding: 0 20px;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .hero-infographics,
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-main-title {
        font-size: 2.8rem;
    }
    
    .title-red {
        font-size: 3.2rem;
    }
    
    .hero-actions-row {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-content.full-width {
        padding: 0 20px;
    }
    
    .hero-top-strip {
        gap: 10px;
    }
    
    .strip-badge {
        padding: 6px 15px;
        font-size: 0.7rem;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .title-red {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-infographics,
    .hero-features-grid {
        grid-template-columns: 1fr;
    }
    
    .infographic-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
    }
    
    .title-red {
        font-size: 2rem;
    }
    
    .value-main {
        font-size: 1.8rem;
    }
}

/* =========================================
   АБСТРАКТНЫЙ ФОН С ТРЕУГОЛЬНИКАМИ
   ========================================= */
.hero-abstract-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.abstract-shape {
    position: absolute;
    background: rgba(80, 80, 80, 0.25);
    opacity: 0.25;
    filter: blur(1px);
    animation-duration: 25s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    mix-blend-mode: multiply;
}

/* Правильные треугольники с clip-path */
.shape-1 {
    top: 10%;
    left: 8%;
    width: 160px;
    height: 140px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    animation-name: floatTriangle1;
}

.shape-2 {
    bottom: 20%;
    right: 10%;
    width: 160px;
    height: 160px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle2;
    animation-delay: 3s;
}

.shape-3 {
    top: 40%;
    right: 18%;
    width: 140px;
    height: 140px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle3;
    animation-delay: 5s;
}

.shape-4 {
    bottom: 35%;
    left: 15%;
    width: 120px;
    height: 120px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle4;
    animation-delay: 7s;
}

.shape-5 {
    top: 65%;
    left: 25%;
    width: 100px;
    height: 100px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle5;
    animation-delay: 2s;
}

.shape-6 {
    top: 25%;
    right: 30%;
    width: 90px;
    height: 90px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle6;
    animation-delay: 8s;
}

.shape-7 {
    bottom: 50%;
    right: 35%;
    width: 110px;
    height: 110px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle7;
    animation-delay: 4s;
}

.shape-8 {
    top: 75%;
    right: 15%;
    width: 130px;
    height: 130px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle8;
    animation-delay: 6s;
}

.shape-9 {
    top: 15%;
    left: 35%;
    width: 70px;
    height: 70px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle9;
    animation-delay: 9s;
}

.shape-10 {
    bottom: 20%;
    left: 40%;
    width: 60px;
    height: 60px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle10;
    animation-delay: 11s;
}

.shape-11 {
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle11;
    animation-delay: 10s;
}

.shape-12 {
    top: 35%;
    right: 45%;
    width: 50px;
    height: 50px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-name: floatTriangle12;
    animation-delay: 13s;
}

/* Перевернутые треугольники */
.shape-13 {
    top: 20%;
    left: 60%;
    width: 100px;
    height: 100px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    animation-name: floatTriangle13;
    animation-delay: 12s;
}

.shape-14 {
    bottom: 30%;
    right: 25%;
    width: 85px;
    height: 85px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    animation-name: floatTriangle14;
    animation-delay: 14s;
}

.shape-15 {
    top: 70%;
    left: 70%;
    width: 65px;
    height: 65px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    animation-name: floatTriangle15;
    animation-delay: 15s;
}

.shape-16 {
    top: 45%;
    right: 60%;
    width: 95px;
    height: 95px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    animation-name: floatTriangle16;
    animation-delay: 16s;
}

/* Треугольники повернутые на 90 градусов */
.shape-17 {
    top: 30%;
    left: 20%;
    width: 75px;
    height: 75px;
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
    animation-name: floatTriangle17;
    animation-delay: 17s;
}

.shape-18 {
    bottom: 40%;
    right: 50%;
    width: 85px;
    height: 85px;
    clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
    animation-name: floatTriangle18;
    animation-delay: 18s;
}

.abstract-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(100, 100, 100, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 100, 100, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    opacity: 0.25;
}

/* Анимации для всех треугольников */
@keyframes floatTriangle1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 50px) rotate(45deg); }
    50% { transform: translate(50px, 100px) rotate(90deg); }
    75% { transform: translate(-50px, 50px) rotate(135deg); }
}

@keyframes floatTriangle2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-80px, -40px) rotate(60deg); }
    66% { transform: translate(40px, -80px) rotate(120deg); }
}

@keyframes floatTriangle3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(70px, 30px) rotate(30deg); }
    50% { transform: translate(30px, 70px) rotate(60deg); }
    75% { transform: translate(-30px, 30px) rotate(90deg); }
}

@keyframes floatTriangle4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-60px, -30px) rotate(45deg); }
    66% { transform: translate(30px, -60px) rotate(90deg); }
}

@keyframes floatTriangle5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(90px, 40px) rotate(20deg); }
    50% { transform: translate(40px, 90px) rotate(40deg); }
    75% { transform: translate(-40px, 40px) rotate(60deg); }
}

@keyframes floatTriangle6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-70px, -35px) rotate(50deg); }
    66% { transform: translate(35px, -70px) rotate(100deg); }
}

@keyframes floatTriangle7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(60px, 25px) rotate(15deg); }
    50% { transform: translate(25px, 60px) rotate(30deg); }
    75% { transform: translate(-25px, 25px) rotate(45deg); }
}

@keyframes floatTriangle8 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-50px, -25px) rotate(70deg); }
    66% { transform: translate(25px, -50px) rotate(140deg); }
}

@keyframes floatTriangle9 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(40px, 20px) rotate(10deg); }
    50% { transform: translate(20px, 40px) rotate(20deg); }
    75% { transform: translate(-20px, 20px) rotate(30deg); }
}

@keyframes floatTriangle10 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, -15px) rotate(40deg); }
    66% { transform: translate(15px, -30px) rotate(80deg); }
}

@keyframes floatTriangle11 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 25px) rotate(25deg); }
    50% { transform: translate(25px, 50px) rotate(50deg); }
    75% { transform: translate(-25px, 25px) rotate(75deg); }
}

@keyframes floatTriangle12 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -10px) rotate(35deg); }
    66% { transform: translate(10px, -20px) rotate(70deg); }
}

@keyframes floatTriangle13 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(40px, 20px) rotate(90deg); }
    50% { transform: translate(20px, 40px) rotate(180deg); }
    75% { transform: translate(-20px, 20px) rotate(270deg); }
}

@keyframes floatTriangle14 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-35px, -15px) rotate(-45deg); }
    66% { transform: translate(15px, -35px) rotate(-90deg); }
}

@keyframes floatTriangle15 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(25px, 10px) rotate(120deg); }
    50% { transform: translate(10px, 25px) rotate(240deg); }
    75% { transform: translate(-10px, 10px) rotate(360deg); }
}

@keyframes floatTriangle16 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-45px, -20px) rotate(-60deg); }
    66% { transform: translate(20px, -45px) rotate(-120deg); }
}

@keyframes floatTriangle17 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(35px, 15px) rotate(75deg); }
    50% { transform: translate(15px, 35px) rotate(150deg); }
    75% { transform: translate(-15px, 15px) rotate(225deg); }
}

@keyframes floatTriangle18 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-40px, -18px) rotate(-30deg); }
    66% { transform: translate(18px, -40px) rotate(-60deg); }
}

@media (max-width: 1024px) {
    .abstract-shape {
        opacity: 0.3;
    }
    
    .shape-1 { width: 140px; height: 140px; }
    .shape-2 { width: 120px; height: 120px; }
    .shape-3, .shape-4, .shape-5, .shape-6, .shape-7, .shape-8 {
        display: block;
    }
    
    .shape-9, .shape-10, .shape-11, .shape-12 {
        display: none; /* Скрываем самые маленькие на планшетах */
    }
    
    .shape-13, .shape-14, .shape-15, .shape-16, .shape-17, .shape-18 {
        display: block;
    }
}

@media (max-width: 768px) {
    .abstract-shape {
        opacity: 0.35;
    }
    
    .shape-3, .shape-5, .shape-7, .shape-9, .shape-11, .shape-13, .shape-15, .shape-17 {
        display: none;
    }
    
    .shape-1, .shape-2, .shape-4, .shape-6, .shape-8, .shape-10, .shape-12, .shape-14, .shape-16, .shape-18 {
        display: block;
    }
    
    .abstract-grid {
        background-size: 40px 40px;
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .abstract-shape {
        opacity: 0.4;
    }
    
    .shape-1 { width: 100px; height: 100px; }
    .shape-2 { width: 90px; height: 90px; }
    .shape-4 { width: 80px; height: 80px; }
    .shape-6 { width: 70px; height: 70px; }
    .shape-8 { width: 85px; height: 85px; }
    
    .shape-10, .shape-12, .shape-14, .shape-16, .shape-18 {
        display: none; /* Оставляем только самые крупные на мобильных */
    }
}

/* =========================================
   6. О НАС (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
.about { background: transparent; }

.about-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    grid-auto-flow: dense;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow);
}

.main-card {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: center;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.main-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.main-card p { font-size: 1.1rem; color: #333; }

.card-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 180px;
    color: rgba(0, 0, 0, 0.02);
    transform: rotate(-15deg);
    pointer-events: none;
}

.feature-card {
    grid-column: span 1;
    grid-row: span 1;
}

.feature-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
    border: 1px solid rgba(255, 31, 31, 0.2);
}

.feature-card h4 { font-size: 1.2rem; margin-bottom: 10px; color: #000000; }
.feature-card p { font-size: 0.95rem; margin: 0; color: #333; }

.image-card {
    grid-column: span 2;
    grid-row: span 1;
    padding: 0;
    min-height: 250px;
    border: none;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: var(--transition);
}

.image-card:hover img { opacity: 1; transform: scale(1.05); }

.overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.image-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
}

/* =========================================
   7. ПРЕИМУЩЕСТВА - ПОЛНАЯ ВЕРСИЯ С КРУЖКАМИ (СВЕТЛАЯ)
   ========================================= */
.advantages { 
    background: var(--bg-section-light);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Контейнер для timeline на десктопе */
.advantages-container {
    position: relative;
}

/* ДЕСКТОПНАЯ ВЕРСИЯ - ПОЛНАЯ TIMELINE С КРУЖКАМИ */
@media (min-width: 769px) {
    .advantages-timeline {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .advantages-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(255, 31, 31, 0.3) 10%, 
            rgba(255, 31, 31, 0.3) 90%, 
            transparent 100%);
        transform: translateX(-50%);
        z-index: 1;
    }
    
    .advantages-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px 100px;
        position: relative;
        z-index: 2;
    }
    
    .advantage-item {
        position: relative;
        padding: 35px 30px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius);
        transition: var(--transition);
        min-height: 220px;
        display: flex;
        flex-direction: column;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .advantage-item:nth-child(1) { animation-delay: 0.1s; }
    .advantage-item:nth-child(2) { animation-delay: 0.2s; }
    .advantage-item:nth-child(3) { animation-delay: 0.3s; }
    .advantage-item:nth-child(4) { animation-delay: 0.4s; }
    .advantage-item:nth-child(5) { animation-delay: 0.5s; }
    .advantage-item:nth-child(6) { animation-delay: 0.6s; }
    
    .advantage-item-left {
        text-align: right;
        margin-right: 50px;
    }
    
    .advantage-item-right {
        text-align: left;
        margin-left: 50px;
    }
    
    /* КРУЖКИ НА ДЕСКТОПЕ */
    .advantage-item::before {
        content: '';
        position: absolute;
        width: 24px;
        height: 24px;
        background: var(--bg-card);
        border: 4px solid var(--primary);
        border-radius: 50%;
        z-index: 3;
        transition: var(--transition);
        box-shadow: 0 0 0 4px var(--bg-section-light);
    }
    
    .advantage-item-left::before {
        right: -62px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .advantage-item-right::before {
        left: -62px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* СОЕДИНИТЕЛЬНЫЕ ЛИНИИ НА ДЕСКТОПЕ */
    .advantage-item::after {
        content: '';
        position: absolute;
        width: 40px;
        height: 2px;
        background: rgba(255, 31, 31, 0.3);
        transition: var(--transition);
        z-index: 2;
    }
    
    .advantage-item-left::after {
        right: -40px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .advantage-item-right::after {
        left: -40px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Иконка внутри элемента */
    .advantage-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
        background: rgba(255, 31, 31, 0.1);
        border-radius: 15px;
        margin-bottom: 20px;
        transition: var(--transition);
        border: 1px solid rgba(255, 31, 31, 0.2);
    }
    
    /* Для левой колонки - иконка справа */
    .advantage-item-left .advantage-icon {
        align-self: flex-end;
        margin-left: auto;
        margin-right: 0;
    }
    
    /* Для правой колонки - иконка слева */
    .advantage-item-right .advantage-icon {
        align-self: flex-start;
        margin-left: 0;
        margin-right: auto;
    }
    
    .advantage-icon i {
        font-size: 2rem;
        color: var(--primary);
        transition: var(--transition);
    }
    
    /* Заголовок и текст */
    .advantage-item h3 {
        color: #000000;
        font-size: 1.4rem;
        margin-bottom: 15px;
        font-weight: 700;
        line-height: 1.3;
    }
    
    .advantage-item p {
        color: var(--text-muted);
        font-size: 1.1rem;
        line-height: 1.6;
        margin: 0;
    }
    
    /* Стили при наведении */
    .advantage-item:hover {
        transform: translateY(-8px);
        border-color: var(--primary);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    
    .advantage-item:hover::before {
        background: var(--primary);
        box-shadow: 0 0 20px rgba(255, 31, 31, 0.7), 0 0 0 4px var(--bg-section-light);
    }
    
    .advantage-item:hover::after {
        background: var(--primary);
        width: 50px;
    }
    
    .advantage-item:hover .advantage-icon {
        background: rgba(255, 31, 31, 0.2);
        transform: scale(1.1);
        border-color: var(--primary);
    }
    
    .advantage-item:hover .advantage-icon i {
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px rgba(255, 31, 31, 0.5));
    }
}

/* МОБИЛЬНАЯ ВЕРСИЯ - ТОЛЬКО ЛИНИЯ И КРУЖКИ (без соединительных линий) */
@media (max-width: 768px) {
    .advantages {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .advantages-container {
        padding: 0 15px;
    }
    
    /* Центральная линия слева */
    .advantages-timeline {
        position: relative;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding-left: 30px; /* Отступ для линии и кружков */
    }
    
    .advantages-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 15px; /* Линия слева */
        width: 2px;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(255, 31, 31, 0.3) 10%, 
            rgba(255, 31, 31, 0.3) 90%, 
            transparent 100%);
        z-index: 1;
    }
    
    /* Простая вертикальная колонка */
    .advantages-list {
        display: flex;
        flex-direction: column;
        gap: 25px;
        position: relative;
        z-index: 2;
    }
    
    .advantage-item {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius);
        padding: 25px 25px 25px 40px; /* Больше padding слева для кружка */
        transition: var(--transition);
        text-align: left;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
        position: relative;
        width: 100%;
        margin-left: 15px; /* Отступ от линии */
    }
    
    .advantage-item:nth-child(1) { animation-delay: 0.1s; }
    .advantage-item:nth-child(2) { animation-delay: 0.2s; }
    .advantage-item:nth-child(3) { animation-delay: 0.3s; }
    .advantage-item:nth-child(4) { animation-delay: 0.4s; }
    .advantage-item:nth-child(5) { animation-delay: 0.5s; }
    .advantage-item:nth-child(6) { animation-delay: 0.6s; }
    
    /* КРУЖКИ НА МОБИЛЬНЫХ (маленькие) */
    .advantage-item::before {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        background: var(--bg-card);
        border: 3px solid var(--primary);
        border-radius: 50%;
        z-index: 3;
        transition: var(--transition);
        box-shadow: 0 0 0 2px var(--bg-section-light);
        left: -30px; /* Позиционируем слева на линии */
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* УБИРАЕМ СОЕДИНИТЕЛЬНЫЕ ЛИНИИ НА МОБИЛЬНЫХ */
    .advantage-item::after {
        display: none !important;
    }
    
    /* Сбрасываем специфичные стили для левой/правой колонок */
    .advantage-item-left,
    .advantage-item-right {
        text-align: left !important;
        margin: 0 !important;
        padding: 25px 25px 25px 40px !important;
    }
    
    /* Иконки слева */
    .advantage-icon {
        width: 60px;
        height: 60px;
        background: rgba(255, 31, 31, 0.1);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 0 15px 0 !important;
        transition: var(--transition);
        border: 1px solid rgba(255, 31, 31, 0.2);
    }
    
    /* Сбрасываем выравнивание иконок */
    .advantage-item-left .advantage-icon,
    .advantage-item-right .advantage-icon {
        align-self: flex-start !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
    }
    
    .advantage-icon i {
        font-size: 1.8rem;
        color: var(--primary);
        transition: var(--transition);
    }
    
    .advantage-item h3 {
        color: #000000;
        font-size: 1.2rem;
        margin-bottom: 10px;
        font-weight: 700;
        text-align: left;
    }
    
    .advantage-item p {
        color: var(--text-muted);
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        text-align: left;
        clear: both;
    }
    
    /* Эффект при наведении для мобильных */
    .advantage-item:hover {
        border-color: var(--primary);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }
    
    .advantage-item:hover::before {
        background: var(--primary);
        box-shadow: 0 0 15px rgba(255, 31, 31, 0.5), 0 0 0 2px var(--bg-section-light);
    }
    
    .advantage-item:hover .advantage-icon {
        background: rgba(255, 31, 31, 0.2);
        transform: scale(1.1);
        border-color: var(--primary);
    }
    
    .advantage-item:hover .advantage-icon i {
        transform: scale(1.1);
        filter: drop-shadow(0 0 6px rgba(255, 31, 31, 0.5));
    }
}

/* Адаптивность для маленьких мобильных */
@media (max-width: 480px) {
    .advantages {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .advantages-timeline {
        padding-left: 25px;
    }
    
    .advantages-list {
        gap: 20px;
    }
    
    .advantage-item {
        padding: 20px 20px 20px 35px;
        margin-left: 10px;
    }
    
    /* Кружки на маленьких экранах еще меньше */
    .advantage-item::before {
        width: 14px;
        height: 14px;
        border-width: 2px;
        left: -25px;
        box-shadow: 0 0 0 1px var(--bg-section-light);
    }
    
    .advantage-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 12px !important;
    }
    
    .advantage-icon i {
        font-size: 1.6rem;
    }
    
    .advantage-item h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .advantage-item p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 360px) {
    .advantages-timeline {
        padding-left: 20px;
    }
    
    .advantage-item {
        padding: 18px 18px 18px 30px;
        margin-left: 8px;
    }
    
    .advantage-item::before {
        width: 12px;
        height: 12px;
        left: -22px;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
    }
    
    .advantage-icon i {
        font-size: 1.5rem;
    }
}

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

/* =========================================
   8. ЦЕНЫ (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
.prices { background: transparent; }

.price-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.price-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    max-width: 450px;
    width: 100%;
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--primary);
    background: radial-gradient(circle at top right, rgba(255, 31, 31, 0.05), var(--bg-card));
    box-shadow: 0 0 30px rgba(255, 31, 31, 0.1);
}

.price-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 31, 31, 0.4);
}

.price-header h3 { font-size: 1.8rem; margin-bottom: 5px; color: #000000; }
.price-header p { color: var(--text-muted); }

.price-amount { margin: 25px 0; }

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000000;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.price-image img {
    max-width: 80%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.price-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    background: rgba(0,0,0,0.02);
    padding: 20px;
    border-radius: var(--radius-sm);
}

.price-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
}

.price-features li:last-child { margin-bottom: 0; }
.price-features li i { color: var(--primary); }

.price-notes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 450px;
}

.note {
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.03);
    padding: 15px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--text-muted);
}

.note i { color: var(--primary); margin-top: 3px; }
.note p { margin: 0; font-size: 0.9rem; color: #666; }

/* =========================================
   ОБНОВЛЕННАЯ СЕКЦИЯ АВТОПАРКА (СВЕТЛАЯ)
   ========================================= */
.fleet {
    background: var(--bg-section-light) !important;
    position: relative;
    overflow: hidden;
}

.fleet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 31, 31, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 31, 31, 0.02) 0%, transparent 50%);
    z-index: 0;
}

.fleet .container {
    position: relative;
    z-index: 1;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.fleet-card-modern {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fleet-card-modern:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.fleet-card-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    /* Адаптивная высота */
    height: 0;
    padding-bottom: 60%; /* Соотношение 5:3 (300px при ширине 500px) */
}

.fleet-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 20px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
}

.fleet-card-modern:hover .fleet-card-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.fleet-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fleet-card-badge i {
    font-size: 0.7rem;
}

.fleet-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fleet-card-header {
    margin-bottom: 15px;
}

.fleet-card-header h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fleet-card-header h3 i {
    color: var(--primary);
    font-size: 1.2rem;
}

.fleet-card-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.fleet-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.fleet-card-spec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #333;
    border: 1px solid transparent;
    transition: var(--transition);
}

.fleet-card-modern:hover .fleet-card-spec {
    background: rgba(255, 31, 31, 0.1);
    border-color: rgba(255, 31, 31, 0.3);
    color: #000;
}

.fleet-card-spec i {
    color: var(--primary);
    font-size: 0.9rem;
}

.fleet-card-features {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.fleet-card-features h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fleet-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fleet-feature-item {
    font-size: 0.8rem;
    color: #555;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fleet-card-modern:hover .fleet-feature-item {
    background: rgba(255, 31, 31, 0.05);
    border-color: rgba(255, 31, 31, 0.2);
    color: #333;
}

/* =========================================
   СЕКЦИЯ ИНСТРУКТОРОВ С ПЕРЕКЛЮЧЕНИЕМ
   ========================================= */
.instructors {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.instructors .container {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header h2 {
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 15px;
}

.section-header .section-subtitle {
    color: #666;
    text-align: center;
    font-size: 1.1rem;
}

/* Основной контейнер: список + карточка */
.instructor-showcase {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    align-items: flex-start;
}

/* Левая колонка - список кнопок + навигация */
.instructor-left-col {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.instructor-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.instructor-list-btn {
    width: 100%;
    text-align: left;
    background: white;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.instructor-list-btn:hover {
    border-color: #ff1f1f;
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(255,31,31,0.15);
}

.instructor-list-btn.active {
    border-color: #ff1f1f;
    background: #fff0f0;
    box-shadow: 0 8px 25px rgba(255,31,31,0.2);
}

.btn-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.btn-role {
    font-size: 0.8rem;
    color: #666;
}

.instructor-list-btn.active .btn-name {
    color: #ff1f1f;
}

/* Кнопки навигации под списком (десктоп) */
.card-nav-under-list {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

/* Кнопки навигации - базовые стили */
.card-nav {
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid #ff1f1f;
    border-radius: 50%;
    color: #ff1f1f;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255,31,31,0.2);
}

.card-nav:hover {
    background: #ff1f1f;
    color: white;
    transform: scale(1.1);
}

/* Мобильные кнопки (скрыты на десктопе) */
.card-nav-mobile {
    display: none;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    width: 100%;
}

/* Правая колонка - контейнер карточки */
.instructor-card-container {
    flex: 1;
    position: relative;
    width: 100%;
}

/* ДЕСКТОП: все карточки одного фиксированного размера */
@media (min-width: 1025px) {
    .instructor-card-container {
        min-height: 600px;
    }
    
    .instructor-card-modern-v2 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 600px;
        background: #ffffff;
        border-radius: 24px;
        border: 2px solid transparent;
        overflow: hidden;
        box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        display: flex;
    }
    
    .instructor-card-modern-v2.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Вертикальное фото для всех карточек на десктопе */
    .instructor-card-modern-v2.vertical-photo {
        flex-direction: row;
        align-items: stretch;
    }
    
    .instructor-card-modern-v2.vertical-photo .instructor-info {
        width: 60%;
        padding: 30px;
        overflow-y: auto;
        box-sizing: border-box;
        border-radius: 24px 0 0 24px;
    }
    
    .instructor-card-modern-v2.vertical-photo .instructor-photo {
        width: 40%;
        position: relative;
        overflow: hidden;
        border-radius: 0 24px 24px 0;
    }
    
    .instructor-card-modern-v2.vertical-photo .instructor-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* ПЛАНШЕТ И МОБИЛЬНЫЕ: карточки подстраиваются под контент */
@media (max-width: 1024px) {
    .instructor-showcase {
        flex-direction: column;
        gap: 30px;
    }
    
    .instructor-left-col {
        flex: none;
        width: 100%;
    }
    
    .instructor-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .instructor-list-btn {
        width: calc(50% - 6px);
        min-width: 200px;
    }
    
    .card-nav-under-list {
        justify-content: center;
    }
    
    .instructor-card-container {
        min-height: auto;
        position: relative;
    }
    
    .instructor-card-modern-v2 {
        position: relative;
        width: 100%;
        height: auto;
        background: #ffffff;
        border-radius: 24px;
        border: 2px solid transparent;
        overflow: hidden;
        box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        display: none;
        margin-bottom: 20px;
    }
    
    .instructor-card-modern-v2.active {
        opacity: 1;
        visibility: visible;
        display: flex;
    }
    
    /* На планшете и мобильных фото сверху */
    .instructor-card-modern-v2.vertical-photo {
        flex-direction: column;
    }
    
    .instructor-card-modern-v2.vertical-photo .instructor-info {
        width: 100%;
        padding: 25px;
        border-radius: 0 0 24px 24px;
    }
    
    .instructor-card-modern-v2.vertical-photo .instructor-photo {
        width: 100%;
        height: 350px;
        border-radius: 24px 24px 0 0;
    }
    
    .instructor-card-modern-v2.vertical-photo .instructor-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* =========================================
   МОБИЛЬНЫЕ (до 768px) - КНОПКИ КАК НА ДЕСКТОПЕ
   ========================================= */
@media (max-width: 768px) {
    .instructor-list {
        flex-direction: column;
        align-items: center;
    }
    
    .instructor-list-btn {
        width: 100%;
        max-width: 350px;
    }
    
    .card-nav-under-list {
        display: none;
    }
    
    .card-nav-mobile {
        display: flex;
        margin-bottom: 25px;
    }
    
    .instructor-card-modern-v2.vertical-photo .instructor-photo {
        height: 300px;
    }
    
    /* КНОПКИ: обычные, как на десктопе */
    .card-nav-mobile .card-nav {
        width: 48px;
        height: 48px;
        background: white;
        border: 2px solid #ff1f1f;
        color: #ff1f1f;
        font-size: 1.2rem;
        box-shadow: 0 4px 12px rgba(255,31,31,0.2);
    }
    
    .card-nav-mobile .card-nav i {
        font-size: 1.2rem;
    }
    
    .card-nav-mobile .card-nav:hover {
        background: #ff1f1f;
        color: white;
        transform: scale(1.1);
    }
}

/* =========================================
   ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (до 480px)
   ========================================= */
@media (max-width: 480px) {
    .instructor-card-modern-v2.vertical-photo .instructor-photo {
        height: 250px;
    }
    
    .instructor-info {
        padding: 20px 18px 25px;
    }
    
    .instructor-name {
        font-size: 1.2rem;
    }
    
    .card-nav-mobile .card-nav {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .card-nav-mobile .card-nav i {
        font-size: 1.1rem;
    }
    
    .card-nav-mobile {
        gap: 20px;
    }
}
/* =========================================
   БОЛЬШИЕ ЭКРАНЫ (1400px и выше)
   ========================================= */
@media (min-width: 1400px) {
    .instructor-card-container {
        min-height: 650px;
    }
    
    .instructor-card-modern-v2 {
        height: 650px;
    }
}

/* =========================================
   ВСЕ СТИЛИ КАРТОЧЕК (ОБЩИЕ)
   ========================================= */
.instructor-exp-badge {
    display: inline-block;
    background: #ff1f1f;
    color: white;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 31, 31, 0.3);
    margin-bottom: 15px;
    align-self: flex-start;
}

.instructor-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.instructor-card-modern-v2:hover .instructor-name {
    color: #ff1f1f;
}

.instructor-specialty {
    color: #444444;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

/* Навыки */
.instructor-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.skill-item {
    font-size: 0.8rem;
    color: #333333;
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 30px;
    border: 1px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.skill-item i {
    color: #ff1f1f;
    font-size: 0.7rem;
}

.instructor-card-modern-v2:hover .skill-item {
    background: #ffeeee;
    border-color: #ff1f1f;
    transform: translateY(-2px);
}

/* Цитата */
.instructor-quote-v2 {
    margin-top: auto;
    padding: 20px 0 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.instructor-quote-v2 i {
    color: #ff1f1f;
    font-size: 1.2rem;
    margin-top: 3px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.instructor-quote-v2 span {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    transition: color 0.3s ease;
}

.instructor-card-modern-v2:hover .instructor-quote-v2 i {
    transform: translateX(5px);
}

.instructor-card-modern-v2:hover .instructor-quote-v2 span {
    color: #333333;
}

/* Анимации появления (если используются) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

/* Специальная корректировка для фото Киселева */
.instructor-card-modern-v2:first-child .instructor-photo img {
    object-position: center 40%;
    object-fit: cover;
}
/* =========================================
   DROM ПЛАТФОРМА (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
.reviews-drom {
    background: var(--bg-section-light);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.reviews-drom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 31, 31, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 31, 31, 0.02) 0%, transparent 50%);
    z-index: 0;
}

.drom-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.drom-header {
    text-align: center;
    margin-bottom: 60px;
}

.drom-platform-presentation {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.05);
    padding: 15px 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.drom-platform-presentation:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 31, 31, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.drom-logo-wrapper {
    position: relative;
    padding: 10px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.drom-logo {
    height: 35px;
    display: block;
}

.drom-logo img {
    height: 100%;
    opacity: 0.95;
}

.drom-platform-info {
    text-align: left;
}

.drom-platform-name {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 5px;
    font-weight: 600;
}

.drom-platform-description {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.4;
}

.drom-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #000000 0%, rgba(0, 0, 0, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.drom-header p {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.drom-feature-card {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.drom-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.drom-feature-card:hover::before {
    transform: translateX(0);
}

.drom-feature-card:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 31, 31, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon-container {
    width: 80px;
    height: 80px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
    position: relative;
}

.feature-icon-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 20px;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.drom-feature-card:hover .feature-icon-container {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 31, 31, 0.15);
}

.drom-feature-card:hover .feature-icon-container::after {
    opacity: 0.3;
    transform: scale(1);
}

.drom-feature-card h3 {
    font-size: 1.4rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.drom-feature-card p {
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.drom-cta-section {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.04) 0%, 
        rgba(0, 0, 0, 0.01) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    margin-top: 30px;
}

.drom-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 31, 31, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 31, 31, 0.03) 0%, transparent 50%);
    z-index: -1;
}

.drom-cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.drom-cta-content h3 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 700;
}

.drom-cta-content p {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.drom-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #d00000 0%, #ff1f1f 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 280px;
}

.drom-action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
    z-index: -1;
}

.drom-action-button:hover::before {
    left: 100%;
}

.drom-action-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 31, 31, 0.5);
}

.drom-action-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.drom-action-button:hover i {
    transform: translateX(5px);
}

.drom-disclaimer {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.drom-disclaimer p {
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.drom-feature-card:nth-child(1) {
    animation: floatCard 8s ease-in-out infinite;
}

.drom-feature-card:nth-child(2) {
    animation: floatCard 8s ease-in-out infinite 2s;
}

.drom-feature-card:nth-child(3) {
    animation: floatCard 8s ease-in-out infinite 4s;
}

@media (max-width: 992px) {
    .drom-section {
        padding: 60px 20px;
    }
    
    .drom-header h2 {
        font-size: 2.5rem;
    }
    
    .drom-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .drom-header h2 {
        font-size: 2.2rem;
    }
    
    .drom-header p {
        font-size: 1.1rem;
    }
    
    .drom-content {
        grid-template-columns: 1fr;
    }
    
    .drom-platform-presentation {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .drom-platform-info {
        text-align: center;
    }
    
    .drom-cta-section {
        padding: 30px 20px;
    }
    
    .drom-cta-content h3 {
        font-size: 1.6rem;
    }
    
    .drom-action-button {
        width: 100%;
        min-width: auto;
        padding: 16px 25px;
    }
}

@media (max-width: 480px) {
    .drom-section {
        padding: 40px 15px;
    }
    
    .drom-header h2 {
        font-size: 1.8rem;
    }
    
    .drom-feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon-container {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* =========================================
   FAQ (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
.faq {
    background: var(--bg-section-dark);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 31, 31, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 31, 31, 0.01) 0%, transparent 40%);
    z-index: 0;
}

.faq .container {
    position: relative;
    z-index: 1;
}

.faq-container-modern {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item-modern {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.faq-item-modern:hover {
    border-color: rgba(255, 31, 31, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item-modern.active {
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.faq-question-modern {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    min-height: 80px;
}

.faq-question-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.faq-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item-modern.active .faq-icon {
    background: rgba(255, 31, 31, 0.2);
    transform: scale(1.1);
}

.faq-question-modern h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #000000;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.faq-toggle {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item-modern:hover .faq-toggle {
    background: rgba(255, 31, 31, 0.1);
}

.faq-item-modern.active .faq-toggle {
    transform: rotate(180deg);
    background: rgba(255, 31, 31, 0.2);
}

.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-10px);
}

.faq-item-modern.active .faq-answer-modern {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.faq-answer-content {
    padding: 0 30px 30px 100px;
    position: relative;
}

.faq-answer-content::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 31, 31, 0.2);
    border-radius: 1px;
}

.faq-answer-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
}

@keyframes faqGlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .faq-question-modern {
        padding: 20px;
        min-height: 70px;
    }
    
    .faq-question-header {
        gap: 15px;
    }
    
    .faq-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .faq-question-modern h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 75px;
    }
    
    .faq-answer-content::before {
        left: 20px;
    }
}

@media (max-width: 480px) {
    .faq-question-modern {
        padding: 18px;
        min-height: 60px;
    }
    
    .faq-question-header {
        gap: 12px;
    }
    
    .faq-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .faq-question-modern h3 {
        font-size: 1rem;
    }
    
    .faq-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .faq-answer-content {
        padding: 0 15px 15px 62px;
    }
    
    .faq-answer-content::before {
        left: 15px;
    }
    
    .faq-answer-content p {
        font-size: 0.95rem;
    }
}

/* =========================================
   КОНТАКТЫ (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
.contacts-full {
    padding: 0;
    position: relative;
    height: 550px;
    background: #ffffff;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.contacts-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-full {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(90%) hue-rotate(180deg) brightness(1.2) contrast(1.2);
    transition: 0.5s;
}

.map-full:hover {
    filter: grayscale(100%) invert(90%) hue-rotate(180deg) brightness(1.3) contrast(1.2);
}

.map-full iframe {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: auto;
}

.contact-overlay-card {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 400px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary);
    padding: 40px;
    color: #000000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-overlay-card h3 {
    color: #000000;
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.contact-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.contact-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-row:last-child { margin-bottom: 0; }

.c-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-row strong {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-row p { margin: 0; color: #000000; font-size: 1.05rem; }
.contact-row a { color: #000000; text-decoration: none; transition: 0.3s; }
.contact-row a:hover { color: var(--primary); }
.sub-text { font-size: 0.85rem; color: #666; display: block; margin-top: 3px; }

/* =========================================
   ОБНОВЛЕННАЯ СЕКЦИЯ CTA (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
.cta-modern {
    background: linear-gradient(135deg, 
        #fff5f5 0%, 
        #ffeded 30%, 
        #ffe5e5 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    border-top: 1px solid rgba(255, 31, 31, 0.1);
    border-bottom: 1px solid rgba(255, 31, 31, 0.1);
}

.cta-wrapper {
    position: relative;
    z-index: 2;
}

.cta-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: ctaPulseGlow 8s infinite alternate;
}

.cta-glow-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation-delay: 0s;
}

.cta-glow-2 {
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ffcccc 0%, transparent 70%);
    animation-delay: 2s;
}

.cta-particle {
    position: absolute;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    animation: ctaFloat 20s infinite linear;
}

.particle-1 {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 15%;
    animation-duration: 15s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    right: 20%;
    animation-duration: 20s;
    animation-delay: 5s;
}

.particle-3 {
    width: 10px;
    height: 10px;
    bottom: 30%;
    left: 40%;
    animation-duration: 18s;
    animation-delay: 8s;
}

.cta-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

@keyframes ctaPulseGlow {
    0% { 
        opacity: 0.1; 
        transform: scale(1); 
    }
    100% { 
        opacity: 0.2; 
        transform: scale(1.1); 
    }
}

@keyframes ctaFloat {
    0% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    25% { 
        transform: translate(100px, 50px) rotate(90deg); 
    }
    50% { 
        transform: translate(50px, 100px) rotate(180deg); 
    }
    75% { 
        transform: translate(-50px, 50px) rotate(270deg); 
    }
    100% { 
        transform: translate(0, 0) rotate(360deg); 
    }
}

.cta-content-modern {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 31, 31, 0.1);
    border: 1px solid rgba(255, 31, 31, 0.3);
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.cta-badge:hover {
    background: rgba(255, 31, 31, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 31, 31, 0.2);
}

.cta-badge i {
    font-size: 0.9rem;
}

.cta-header {
    text-align: center;
    margin-bottom: 50px;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.cta-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 31, 31, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(0, 0, 0, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.cta-infographics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.cta-info-card {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 31, 31, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.cta-info-card:hover::before {
    opacity: 1;
}

.cta-info-card:hover {
    border-color: rgba(255, 31, 31, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.cta-info-card:hover .cta-info-icon {
    background: rgba(255, 31, 31, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.cta-info-content {
    flex: 1;
}

.cta-info-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000000;
    line-height: 1;
    margin-bottom: 5px;
}

.cta-info-label {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.3;
}

.cta-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

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

.cta-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cta-feature:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.cta-feature-check {
    width: 30px;
    height: 30px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.cta-feature-text {
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.9);
    line-height: 1.5;
}

.cta-feature-text strong {
    color: #000000;
    font-weight: 600;
}

.cta-actions-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cta-primary-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-primary-btn,
.cta-secondary-btn {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-primary-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #cc0000 100%);
    box-shadow: 0 10px 30px rgba(255, 31, 31, 0.3);
    color: white;
}

.cta-secondary-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000000;
}

.cta-primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 31, 31, 0.4);
}

.cta-secondary-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 31, 31, 0.3);
}

.cta-btn-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cta-btn-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cta-secondary-btn .cta-btn-icon {
    background: rgba(255, 31, 31, 0.1);
    color: var(--primary);
}

.cta-btn-text {
    flex: 1;
    text-align: left;
}

.cta-btn-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: inherit;
    margin-bottom: 5px;
}

.cta-btn-subtitle {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

.cta-secondary-btn .cta-btn-subtitle {
    color: rgba(0, 0, 0, 0.7);
}

.cta-contacts-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
}

.cta-contact-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.cta-social {
    display: flex;
    gap: 10px;
}

.cta-social-link {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.cta-social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 31, 31, 0.3);
}

.cta-guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-guarantee-card {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.cta-guarantee-card:hover {
    border-color: rgba(255, 31, 31, 0.3);
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.03);
}

.cta-guarantee-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.cta-guarantee-card:hover .cta-guarantee-icon {
    background: rgba(255, 31, 31, 0.2);
    transform: scale(1.1);
}

.cta-guarantee-text h4 {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 600;
}

.cta-guarantee-text p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
    
    .cta-infographics {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .cta-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-guarantees {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cta-modern {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-infographics {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-info-value {
        font-size: 2rem;
    }
    
    .cta-contacts-social {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-guarantees {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-feature-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-modern {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-badges {
        gap: 10px;
    }
    
    .cta-badge {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .cta-primary-btn,
    .cta-secondary-btn {
        padding: 20px;
    }
    
    .cta-btn-content {
        gap: 15px;
    }
    
    .cta-btn-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .cta-btn-title {
        font-size: 1.1rem;
    }
    
    .cta-btn-subtitle {
        font-size: 0.8rem;
    }
    
    .cta-feature {
        padding: 12px;
    }
    
    .cta-info-card {
        padding: 20px;
    }
}

/* =========================================
   FOOTER (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
footer {
    background: #f5f5f5;
    padding: 80px 0 30px;
    border-top: 1px solid #ddd;
    overflow: hidden;
}

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

.footer-section {
    padding: 0 15px;
    min-width: 0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    width: 100%;
}

.footer-logo img { 
    height: 60px; 
    max-width: 100%;
}

.footer-logo > div {
    width: 100%;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #000000;
    line-height: 1.3;
}

.footer-logo p {
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
    line-height: 1.4;
}

.footer-section > p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #000000;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.footer-section h3 {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.footer-section ul li a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-section ul li a:hover {
    color: #000000;
    transform: translateX(5px);
}

.footer-section ul li i {
    color: var(--primary);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-section ul li:not(a) {
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-section ul li:not(a) i {
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    padding-left: 15px;
    padding-right: 15px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright p {
    margin: 0;
    max-width: 100%;
    overflow-wrap: break-word;
}

.developer-credit p {
    margin: 0;
    font-size: 0.85rem;
}

.developer-credit a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.developer-credit a:hover {
    color: #000000;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-section:nth-child(1) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-section:nth-child(1) {
        grid-column: 1;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul li a {
        justify-content: center;
        text-align: center;
    }
    
    .footer-section ul li:not(a) {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-section ul li:not(a) i {
        margin-top: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section:nth-child(2) ul li {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .footer-section:nth-child(2) ul li a,
    .footer-section:nth-child(2) ul li:not(a) {
        text-align: center;
    }
    
    .footer-section:nth-child(3) ul,
    .footer-section:nth-child(4) ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-logo h3 {
        font-size: 1.1rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .footer-section ul li {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .footer-section ul li i {
        font-size: 0.9rem;
    }
    
    .footer-section > p {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .footer-section ul li a[href^="tel:"],
    .footer-section ul li a[href^="mailto:"] {
        word-break: break-all;
        hyphens: auto;
    }
}

@media (max-width: 360px) {
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo h3 {
        font-size: 1rem;
    }
    
    .footer-section h3 {
        font-size: 0.95rem;
    }
    
    .footer-section ul li {
        font-size: 0.85rem;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
}

.footer-section * {
    max-width: 100%;
}

@supports (-webkit-touch-callout: none) {
    .footer-section ul li {
        -webkit-hyphens: auto;
        hyphens: auto;
    }
}

@-moz-document url-prefix() {
    .footer-content {
        gap: 35px;
    }
}

/* =========================================
   ОБНОВЛЕННОЕ МОДАЛЬНОЕ ОКНО (СВЕТЛАЯ ВЕРСИЯ)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #ffffff;
    border: 1px solid rgba(255, 31, 31, 0.2);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    transform: translateY(30px) scale(0.95);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal::-webkit-scrollbar {
    width: 8px;
}

.modal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.modal::-webkit-scrollbar-thumb {
    background: rgba(255, 31, 31, 0.3);
    border-radius: 4px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 31, 31, 0.5);
}

.modal {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 31, 31, 0.3) rgba(0, 0, 0, 0.05);
}

.modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: #000000;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
}

.modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, rgba(255, 31, 31, 0.05), transparent);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    top: 0;
    background: #ffffff;
    z-index: 100;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.modal-header h2 {
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-subtitle {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-phone-highlight {
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(255, 31, 31, 0.08), rgba(255, 31, 31, 0.02));
    border-bottom: 1px solid rgba(255, 31, 31, 0.1);
}

.phone-highlight-content {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.phone-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #cc0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 31, 31, 0.3);
    animation: pulsePhone 2s infinite;
}

@keyframes pulsePhone {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 31, 31, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 31, 31, 0.5);
    }
}

.phone-info h3 {
    font-size: 1.4rem;
    color: #000000;
    margin-bottom: 10px;
}

.highlight-phone {
    display: block;
    font-size: 2rem;
    color: #000000;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.highlight-phone:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.phone-description {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.modal-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.02);
}

.modal-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.modal-info-card:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 31, 31, 0.2);
    transform: translateY(-2px);
}

.modal-info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.modal-info-content h4 {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 5px;
}

.modal-info-content p {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    line-height: 1.3;
}

.modal-contacts-section {
    padding: 30px 40px;
}

.modal-contacts-section h3 {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.modal-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.modal-contact-item:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 31, 31, 0.2);
}

.modal-contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 31, 31, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.whatsapp-item .modal-contact-icon {
    background: rgba(79, 91, 255, 0.1);
    color: #017ce0;
}

.modal-contact-content {
    flex: 1;
}

.modal-contact-content h4 {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-main {
    display: block;
    font-size: 1.2rem;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 5px;
}

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

.phone-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 5px;
}

.max-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 5px;
}

.whatsapp-link:hover {
    color: #000000;
    transform: translateX(5px);
}

.whatsapp-link i {
    font-size: 0.8rem;
}

.whatsapp-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
}

.email-link {
    display: block;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 5px;
    word-break: break-all;
}

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

.email-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
}

.address-text {
    color: #000000;
    font-weight: 600;
    margin-bottom: 5px;
}

.address-subtext {
    display: block;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.map-link:hover {
    color: #000000;
}

.map-link i {
    font-size: 0.9rem;
}

.modal-schedule {
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.schedule-header i {
    color: var(--primary);
    font-size: 1.2rem;
}

.schedule-header h4 {
    font-size: 1.1rem;
    color: #000000;
    margin: 0;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.schedule-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.schedule-item.highlight {
    background: rgba(255, 31, 31, 0.1);
    border: 1px solid rgba(255, 31, 31, 0.2);
}

.schedule-days {
    font-size: 0.9rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 5px;
}

.schedule-time {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.modal-cta {
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 31, 31, 0.05), transparent);
    text-align: center;
}

.cta-content h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 15px;
}

.cta-content > p {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #000000;
    font-size: 1.05rem;
}

.cta-benefits li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-call-btn,
.cta-whatsapp-btn {
    padding: 18px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-width: 220px;
    justify-content: center;
}

.cta-call-btn {
    background: linear-gradient(135deg, var(--primary), #cc0000);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 31, 31, 0.3);
}

.cta-whatsapp-btn {
    background: #017ce0;
    color: white;
}

.cta-call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 31, 31, 0.4);
}

.cta-whatsapp-btn:hover {
    transform: translateY(-3px);
    background: #017ce0;
}

.modal-footer-info {
    padding: 25px 40px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
}

.footer-info-item i {
    color: var(--primary);
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .modal {
        max-width: 700px;
        max-height: 85vh;
    }
    
    .modal-header h2 {
        font-size: 2rem;
    }
    
    .modal-contacts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-info-cards {
        grid-template-columns: repeat(3, 1fr);
        padding: 20px 30px;
    }
    
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .schedule-item:nth-child(3) {
        grid-column: span 2;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-call-btn,
    .cta-whatsapp-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: 60px;
    }
    
    .modal {
        max-height: calc(100vh - 80px);
        margin: 0 auto;
        border-radius: 20px;
        max-width: 600px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .modal-header,
    .modal-phone-highlight,
    .modal-info-cards,
    .modal-contacts-section,
    .modal-schedule,
    .modal-cta,
    .modal-footer-info {
        padding: 25px 30px;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
    }
    
    .phone-highlight-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .highlight-phone {
        font-size: 1.8rem;
    }
    
    .modal-info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .schedule-item:nth-child(3) {
        grid-column: 1;
    }
    
    .modal-footer-info {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .modal {
        max-height: calc(100vh - 40px);
        border-radius: 16px;
    }
    
    .modal-header,
    .modal-phone-highlight,
    .modal-info-cards,
    .modal-contacts-section,
    .modal-schedule,
    .modal-cta,
    .modal-footer-info {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.6rem;
    }
    
    .modal-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .phone-icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .highlight-phone {
        font-size: 1.6rem;
    }
    
    .modal-info-cards {
        grid-template-columns: 1fr;
    }
    
    .modal-info-card {
        padding: 15px;
    }
    
    .modal-contact-item {
        padding: 15px;
    }
    
    .phone-main {
        font-size: 1.1rem;
    }
    
    .schedule-days {
        font-size: 0.85rem;
    }
    
    .schedule-time {
        font-size: 0.9rem;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-benefits li {
        font-size: 1rem;
    }
    
    .cta-call-btn,
    .cta-whatsapp-btn {
        padding: 16px 20px;
        font-size: 1rem;
        min-width: auto;
        width: 100%;
    }
    
    .modal-footer-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-info-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 5px;
        padding-top: 50px;
    }
    
    .modal {
        max-height: calc(100vh - 30px);
        border-radius: 14px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .modal-subtitle {
        font-size: 0.95rem;
    }
    
    .modal-phone-highlight,
    .modal-info-cards,
    .modal-contacts-section,
    .modal-schedule,
    .modal-cta,
    .modal-footer-info {
        padding: 15px;
    }
    
    .phone-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .phone-info h3 {
        font-size: 1.2rem;
    }
    
    .highlight-phone {
        font-size: 1.4rem;
    }
    
    .phone-description {
        font-size: 0.9rem;
    }
    
    .modal-info-card {
        padding: 12px;
        gap: 12px;
    }
    
    .modal-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .modal-info-content h4 {
        font-size: 0.95rem;
    }
    
    .modal-info-content p {
        font-size: 0.8rem;
    }
    
    .modal-contact-item {
        padding: 12px;
        gap: 12px;
    }
    
    .modal-contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .modal-contact-content h4 {
        font-size: 0.85rem;
    }
    
    .phone-main {
        font-size: 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-content > p {
        font-size: 1rem;
    }
    
    .cta-benefits li {
        font-size: 0.95rem;
        gap: 10px;
    }
    
    .cta-buttons {
        gap: 10px;
    }
    
    .footer-info-item {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .footer-info-item i {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-subtitle {
        font-size: 0.9rem;
    }
    
    .modal-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .highlight-phone {
        font-size: 1.3rem;
    }
    
    .phone-main {
        font-size: 0.95rem;
    }
    
    .schedule-days {
        font-size: 0.85rem;
    }
    
    .schedule-time {
        font-size: 0.9rem;
    }
    
    .cta-benefits li {
        font-size: 0.9rem;
    }
}

@supports (-webkit-touch-callout: none) {
    .modal-overlay {
        padding-top: max(env(safe-area-inset-top), 20px);
        padding-bottom: max(env(safe-area-inset-bottom), 20px);
    }
    
    .modal {
        margin-top: env(safe-area-inset-top, 0);
        margin-bottom: env(safe-area-inset-bottom, 0);
    }
    
    .modal-close {
        top: max(env(safe-area-inset-top), 15px);
    }
}

/* =========================================
   АНИМАЦИИ
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    
    .header-right-group {
        order: 5;
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .nav-trigger {
        display: none;
    }
    
    .nav-blocks {
        position: static;
        width: 100%;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0;
        grid-template-columns: 1fr;
    }
    
    .nav-block {
        margin-bottom: 10px;
    }
    
    .nav-block a {
        padding: 18px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 1.1rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .about-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .main-card {
        grid-column: span 3;
        grid-row: 1;
    }
    
    .image-card {
        grid-column: span 3;
        order: 100;
    }
    
    .contacts-full {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .contacts-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .map-full {
        height: 400px;
        filter: grayscale(100%) invert(90%) hue-rotate(180deg) brightness(1.2);
    }
    
    .contact-overlay-card {
        position: relative;
        transform: none;
        left: 0;
        top: 0;
        width: 100%;
        border-left: none;
        border-top: 4px solid var(--primary);
        border-radius: 0;
        background: #ffffff;
        box-shadow: none;
        color: #000000;
    }
    
    .contact-overlay-card h3,
    .contact-row p,
    .contact-row a {
        color: #000000;
    }
}

@media (max-width: 1024px) {
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #000000;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 80px 20px 40px;
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    .nav-block a:hover {
        background: rgba(255, 31, 31, 0.1);
        border-color: var(--primary);
        transform: translateX(10px);
    }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .about-grid-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .main-card {
        grid-column: 1;
        grid-row: 1;
    }
    
    .feature-card {
        grid-column: 1;
    }
    
    .image-card {
        grid-column: 1;
        height: 200px;
        order: 100;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .price-amount .amount {
        font-size: 2.8rem;
    }
    
    .contact-overlay-card {
        padding: 25px;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        transform: none;
        top: auto;
        bottom: 20px;
        border-radius: var(--radius);
        color: #000000;
    }
    
    .contact-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .c-icon {
        margin: 0 auto;
    }
    
    .modal-overlay {
        padding: 20px;
        align-items: flex-start;
        padding-top: 60px;
    }
    
    .modal {
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        padding: 25px 20px 30px;
        position: relative;
        max-height: 90vh;
        overflow-y: auto;
        margin-top: auto;
        transform: translateY(100%);
    }
    
    .modal-overlay.active .modal {
        transform: translateY(0);
    }
    
    .modal-close {
        position: fixed;
        top: 20px;
        right: 20px;
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        width: 45px;
        height: 45px;
        z-index: 2001;
    }
    
    .modal-contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 10px;
    }
    
    .modal-contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .price-amount .amount {
        font-size: 2.5rem;
    }
    
    .about-card, .advantage-item, .price-card, .fleet-card-modern, .instructor-card-modern {
        padding: 25px 20px;
    }
    
    .contact-overlay-card {
        padding: 20px;
        color: #000000;
    }
    
    .contact-row {
        gap: 10px;
    }
    
    .c-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}


@media (max-width: 1024px) {
    /* Отключение ховера для мобильного меню */
    .mobile-nav-block a:hover {
        transform: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Отключение ховера для кнопок навигации в мобильном меню */
    .mobile-nav-block a:active {
        background: rgba(255, 31, 31, 0.1) !important;
        border-color: var(--primary) !important;
    }
    
    /* Отключение ховера для контактного телефона в мобильном меню */
    .mobile-phone:hover {
        transform: none !important;
        background: rgba(255, 31, 31, 0.1) !important;
        box-shadow: none !important;
    }
    
    .mobile-phone:active {
        background: rgba(255, 31, 31, 0.2) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 5px 20px rgba(255, 31, 31, 0.3) !important;
    }
}

/* Для очень маленьких экранов (до 768px) */
@media (max-width: 768px) {
    /* Отключение ховера для специальной кнопки на мобильных */
    .mobile-special-button:hover {
        opacity: 1 !important;
        transform: none !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }
    
    .mobile-special-button:active {
        border-color: var(--primary) !important;
        transform: scale(1.1) !important;
    }
    
    /* Отключение ховера для кнопок мобильного меню */
    .mobile-nav-block a {
        -webkit-tap-highlight-color: rgba(255, 31, 31, 0.1);
    }
    
    .mobile-nav-block a:active {
        background: rgba(255, 31, 31, 0.1) !important;
        border-color: var(--primary) !important;
        transform: translateX(5px) !important;
    }
}

.strip-badge.red-white {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    color: #c41e3a;
    border: 2px solid #c41e3a;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.15);
}

.strip-badge.red-white i {
    color: #c41e3a;
    background: rgba(196, 30, 58, 0.1);
    padding: 4px;
    border-radius: 50%;
}


/* =========================================
   ВВЕРХ
   ========================================= */
/* CSS */
.up-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid red;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
}

.up-button.visible {
    opacity: 1;
    pointer-events: auto;
}

.up-button:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
    background-color: #fff0f0;
}

/* Стили для иконки FAS */
.up-button i {
    font-size: 24px;
    color: red;
    transition: transform 0.3s ease;
}

.up-button:hover i {
    transform: translateY(-3px);  /* Эффект подпрыгивания при наведении */
}

/* =========================================
   ИСО ПРОФТЕХ - ОНЛАЙН ОБУЧЕНИЕ
   ========================================= */
.online-section {
    background: var(--bg-section-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.online-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 50%, rgba(255, 31, 31, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.online-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 50px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.online-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.online-wrapper:hover {
    border-color: rgba(255, 31, 31, 0.3);
    box-shadow: var(--shadow);
}

.online-content {
    flex: 1;
}

/* Чип сверху */
.online-badge-header {
    margin-bottom: 15px;
}

.online-chip {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #cc0000);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 31, 31, 0.3);
}

/* Заголовок */
.online-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #000000;
}

.online-subtitle {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.online-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 500px;
}

/* ЯРКИЕ БЕЙДЖИКИ (овалы) */
.online-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 31, 31, 0.1);
    border: 1.5px solid rgba(255, 31, 31, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    transition: var(--transition);
    cursor: default;
}

.online-badge i {
    color: var(--primary);
    font-size: 1rem;
}

.online-badge:hover {
    background: rgba(255, 31, 31, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 31, 31, 0.2);
}

/* Кнопка */
.online-learn-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition);
}

.online-learn-btn i {
    transition: transform 0.3s ease;
}

.online-learn-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 31, 31, 0.3);
}

.online-learn-btn:hover i {
    transform: translateX(5px);
}

/* Логотип справа */
.online-icon {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    background: rgba(255, 31, 31, 0.05);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 31, 31, 0.1);
}

.online-logo {
    width: 120px;
    height: auto;
    transition: var(--transition);
    display: block;
}

.online-wrapper:hover .online-icon {
    background: rgba(255, 31, 31, 0.1);
    transform: scale(1.05);
}

.online-wrapper:hover .online-logo {
    transform: scale(1.05);
}

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

    .online-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        gap: 30px;
    }

    /* Меняем порядок: логотип будет сверху */
    .online-wrapper {
        display: flex;
        flex-direction: column;
    }
    
    .online-icon {
        order: 1;
        margin-bottom: 10px;
    }
    
    .online-content {
        order: 2;
    }

    .online-description {
        max-width: 100%;
    }

    .online-badges {
        justify-content: center;
    }

    .online-icon {
        width: 140px;
        height: 140px;
    }

    .online-logo {
        width: 90px;
    }

    .online-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .online-wrapper {
        padding: 30px 20px;
    }

    .online-title {
        font-size: 1.5rem;
    }

    .online-badges {
        flex-direction: column;
        align-items: stretch;
    }

    .online-badge {
        justify-content: center;
    }

    .online-icon {
        width: 110px;
        height: 110px;
    }

    .online-logo {
        width: 70px;
    }

    .online-learn-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Дополнительные стили для унификации иконок MAX и VK --- */
/* Общий стиль для всех социальных ссылок с иконками (Футер, CTA, Модалка) */
.social-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: #000000;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.social-link-icon i,
.social-link-icon img {
    transition: transform 0.3s ease;
}

/* Универсальный ховер — красный фон */
.social-link-icon:hover {
    background: var(--primary, #ff1f1f);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 31, 31, 0.3);
    border-color: var(--primary);
}

.social-link-icon:hover img {
    filter: brightness(0) invert(1); /* Делает чёрную иконку Max белой при ховере */
    transform: scale(1.1);
}

.social-link-icon:hover i {
    transform: scale(1.1);
}

.modal-contact-item.max-item .modal-contact-icon img {
    filter: brightness(0) saturate(100%) invert(24%) sepia(97%) saturate(7397%) hue-rotate(1deg) brightness(99%) contrast(115%);
    transition: var(--transition);
}
