/* Custom Variables */
:root {
    --color-primary: #4c4c4c;
    --color-accent: #efc372;
    --color-primary-light: #6a6a6a;
    --color-accent-light: #f2d085;
    --color-primary-dark: #2e2e2e;
    --color-accent-dark: #d4a85e;
    --text-light: #f8f9fa;
    --text-dark: #2d3436;
    --text-medium: #636e72;
    --shadow-light: rgba(76, 76, 76, 0.1);
    --shadow-medium: rgba(76, 76, 76, 0.2);
    --shadow-dark: rgba(76, 76, 76, 0.3);
}

/* Base styles */
* {
    box-sizing: border-box;
}

/* Убираем стандартные браузерные обводки у всех полей ввода */
input, textarea, select {
    outline: none;
}

input:focus, textarea:focus, select:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Content Visibility Optimizations - Only for non-animated elements */
.contact-form {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

.footer {
    content-visibility: auto;
    contain-intrinsic-size: 0 300px;
}

/* For sections with animations, use lighter optimization */
.section:not(.has-animations) {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* Reduce expensive operations */
img, video {
    max-width: 100%;
    height: auto;
}

/* УМНАЯ ОПТИМИЗАЦИЯ ПРОИЗВОДИТЕЛЬНОСТИ */
/* Отключаем только САМЫЕ тяжелые эффекты, оставляем красивые легкие */

/* Отключаем тяжелые backdrop-filter эффекты везде, КРОМЕ меню */
*:not(.dropdown-menu) {
    backdrop-filter: none !important;
}

/* Разрешаем backdrop-filter только для dropdown меню */
.dropdown-menu {
    backdrop-filter: blur(25px) saturate(180%) !important;
}

/* Отключаем тяжелые 3D трансформации и комплексные анимации */
.particle-interaction,
.salt-particles,
.salt-particle,
.industrial-animation,
.tilt-hover,
.transform-3d,
.card-shimmer {
    animation: none !important;
    transform: none !important;
    filter: none !important;
}

/* Ограничиваем will-change */
* {
    will-change: auto !important;
}

/* Разрешаем легкие переходы для красоты */
.btn,
.nav-link,
.premium-card {
    transition: all 0.3s ease !important;
}

/* Красивые, но не тяжелые тени */
.premium-card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

.btn {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* КРАСИВЫЕ АНИМИРОВАННЫЕ ПРОГРЕСС-БАРЫ для статистики */
.stat-progress {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.stat-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4ade80, #22c55e, #16a34a);
    border-radius: 2px;
    transition: width 2s ease-out !important; /* Разрешаем анимацию для прогресс-баров */
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.stat-sparkle {
    position: absolute;
    top: -1px;
    left: 0%;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ffffff, #4ade80);
    border-radius: 50%;
    opacity: 0.9;
    transition: left 2s ease-out !important; /* Разрешаем анимацию для искорки */
    box-shadow: 0 0 12px rgba(255,255,255,0.8), 0 0 6px rgba(74, 222, 128, 0.6);
    animation: sparkle 2s infinite !important; /* Разрешаем мерцание */
}

@keyframes sparkle {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Optimize text rendering */
body {
    text-rendering: optimizeSpeed;
    font-display: swap;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* Анимированный фон ОТКЛЮЧЕН для экономии ресурсов */
body::before {
    display: none !important; /* Полностью отключаем тяжелый анимированный фон */
}

/* Improved text readability */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Enhanced content sections */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 20px 40px var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-accent));
    animation: shimmer 2s ease-in-out infinite;
}

/* Premium Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--color-accent);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modern Header Styles - Performance Optimized */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, 
        rgba(45, 52, 70, 0.95) 0%, 
        rgba(35, 40, 55, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.header-fixed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(239, 195, 114, 0.1) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.header-fixed:hover::before {
    opacity: 1;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    position: relative;
}

.navbar-nav {
    display: flex;
    gap: 0.5rem;
}

/* Скрытие мобильного меню на больших экранах */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .navbar-nav {
        display: flex !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        display: inline-block;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .navbar-nav .dropdown-menu {
        position: absolute;
        background: linear-gradient(135deg, rgba(45,52,70,0.98) 0%, rgba(35,40,55,0.98) 100%);
        backdrop-filter: blur(25px) saturate(180%);
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        padding: 1rem;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        display: none;
        border-radius: 15px;
        min-width: 250px;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
    }
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(239, 195, 114, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(239, 195, 114, 0.15);
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 4px 12px rgba(239, 195, 114, 0.2);
    border: 1px solid rgba(239, 195, 114, 0.3);
    color: var(--text-light);
}

.nav-link:active {
    transform: translateY(0);
}

/* Enhanced Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo-container:hover {
    filter: brightness(1.1);
}

.logo-svg {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(239, 195, 114, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.logo-svg:hover {
    filter: drop-shadow(0 4px 20px rgba(239, 195, 114, 0.6));
}



/* Logo pulse animation */
@keyframes logoPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(239, 195, 114, 0.8);
    }
    100% {
        transform: scale(1);
    }
}

/* Hero Logo */
.hero-logo {
    position: absolute;
    top: 28rem;
    left: 50%;
    transform: translateX(-50%) scale(5);
    z-index: 999;
    text-align: center;
    max-width: none !important;
    width: auto !important;
    overflow: visible !important;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroLogoFadeIn 1.5s ease-in-out;
}

.company-logo {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: logoFadeIn 1.5s ease-in-out;
}

.company-logo-large {
    max-height: none !important;
    max-width: none !important;
    width: auto !important;
    height: auto !important;
    filter: 
        drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7))
        drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5))
        drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 20px rgba(239, 195, 114, 0.3));
    display: block;
    transform-origin: center center;
    margin: 0 auto;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(4);
    }
    100% {
        opacity: 1;
        transform: scale(5);
    }
}

@keyframes heroLogoFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(4) translateY(-2rem);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(5) translateY(0);
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    overflow: hidden; /* Изменено для видео */
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    contain: layout style paint;
}

/* Фоновое видео для мобильных устройств */
.hero-mobile-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: none; /* Показывается только на мобильных через медиа-запрос */
}

/* Фоновое видео для компьютеров */
.hero-desktop-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: none; /* Показывается только на десктопах через медиа-запрос */
}

/* Fallback фон пока видео не загрузилось */
.hero-static-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, 
        rgba(239, 195, 114, 0.1) 0%, 
        rgba(76, 76, 76, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(239, 195, 114, 0.08) 75%,
        rgba(76, 76, 76, 0.1) 100%
    );
    background-size: 300% 300%;
    animation: subtleGradient 20s ease-in-out infinite;
}

@keyframes subtleGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Матовое наложение поверх видео */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    z-index: 2;
    display: none; /* Скрыто по умолчанию */
}

/* Показываем ТОЛЬКО мобильное видео на мобильных устройствах */
@media (max-width: 768px) {
    .hero-mobile-video {
        display: block !important;
    }
    
    .hero-desktop-video {
        display: none !important; /* Принудительно скрываем десктопное видео */
    }
    
    .hero-video-overlay {
        display: block;
    }
}

/* Показываем ТОЛЬКО десктопное видео на компьютерах */
@media (min-width: 769px) {
    .hero-desktop-video {
        display: block !important;
    }
    
    .hero-mobile-video {
        display: none !important; /* Принудительно скрываем мобильное видео */
    }
    
    .hero-video-overlay {
        display: block;
    }
}

/* Убеждаемся что контент поверх видео */
.hero-content {
    z-index: 10;
    position: relative;
}

/* Industrial Animation */
.industrial-animation {
    display: none !important; /* ОТКЛЮЧЕНА для оптимизации производительности */
}

/* Infrastructure Points */
.warehouse {
    position: absolute;
    width: 80px;
    height: 60px;
    opacity: 0.9;
    will-change: transform, filter;
    transform: translateZ(0); /* GPU acceleration */
}

.warehouse-1 {
    top: 15%;
    left: 10%;
    animation: warehousePulse 4s ease-in-out infinite;
}

/* Infrastructure Icons */
.infrastructure-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infrastructure-icon i {
    font-size: 3rem;
    color: var(--color-primary);
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.infrastructure-icon .status-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    opacity: 0.8;
}

.infrastructure-icon .status-indicator i {
    font-size: 0.8rem;
    color: #4CAF50;
    animation: statusPulse 2s ease-in-out infinite;
}

.railway-station {
    position: absolute;
    width: 120px;
    height: 40px;
    top: 60%;
    left: 75%;
    opacity: 0.9;
    animation: stationActivity 6s ease-in-out infinite;
}

.railway-station .infrastructure-icon i {
    font-size: 3.5rem;
}

.river-port {
    position: absolute;
    width: 100px;
    height: 50px;
    bottom: 20%;
    left: 70%;
    opacity: 0.9;
    animation: portActivity 5s ease-in-out infinite;
}

.river-port .infrastructure-icon i {
    font-size: 2.8rem;
}

/* Infrastructure hover effects */
.warehouse:hover .infrastructure-icon i,
.railway-station:hover .infrastructure-icon i,
.river-port:hover .infrastructure-icon i {
    color: var(--color-accent);
}

/* Interactive Trucks */
.interactive-truck {
    position: absolute;
    width: 80px;
    height: 32px;
    opacity: 0.9;
    transition: all 0.3s ease;
    will-change: transform, top, left;
    transform: translateZ(0); /* GPU acceleration */
}

.interactive-truck.truck-1 {
    top: 25%;
    left: 15%;
    animation: truckRoute1 20s linear infinite;
}

.interactive-truck.truck-2 {
    top: 30%;
    left: 15%;
    animation: truckRoute2 25s linear infinite;
    animation-delay: 10s;
}

/* Truck Icons */
.truck-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.truck-icon i {
    font-size: 2.5rem;
    color: var(--color-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.truck-icon .cargo-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    opacity: 0.8;
}

.truck-icon .cargo-indicator i {
    font-size: 1rem;
    color: var(--color-accent);
    animation: cargoFloat 2s ease-in-out infinite;
}

/* Interactive Barges */
.interactive-barge {
    position: absolute;
    width: 120px;
    height: 50px;
    opacity: 0.9;
    will-change: transform, bottom, left;
    transform: translateZ(0); /* GPU acceleration */
}

.interactive-barge.barge-1 {
    bottom: 25%;
    left: 75%;
    animation: bargeRoute1 30s linear infinite;
}

/* Barge Icons */
.barge-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.barge-icon i {
    font-size: 2.8rem;
    color: var(--color-primary);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.barge-icon .cargo-indicator {
    position: absolute;
    top: -12px;
    right: -12px;
    opacity: 0.8;
}

.barge-icon .cargo-indicator i {
    font-size: 1.2rem;
    color: var(--color-accent);
    animation: cargoFloat 2s ease-in-out infinite;
}

.barge-icon .water-waves {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

.barge-icon .water-waves i {
    font-size: 1.5rem;
    color: rgba(76, 76, 76, 0.5);
    animation: waterWave 3s ease-in-out infinite;
}

/* Loading/Unloading Effects */
.loading-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loading-indicator {
    position: absolute;
    width: 100px;
    height: 40px;
    background: rgba(76, 76, 76, 0.9);
    border-radius: 8px;
    padding: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.warehouse-loading {
    top: 8%;
    left: 8%;
}

.railway-loading {
    top: 53%;
    left: 73%;
}

.port-loading {
    bottom: 27%;
    left: 68%;
}

.loading-indicator.active {
    opacity: 1;
    transform: translateY(0);
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(239, 195, 114, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 0%;
    height: 100%;
    background: var(--color-accent);
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out infinite;
}

.loading-text {
    font-size: 10px;
    color: var(--color-accent);
    text-align: center;
    font-weight: bold;
}

/* Cargo Loading States */
.interactive-truck .cargo-indicator,
.interactive-barge .cargo-indicator {
    transition: all 0.5s ease;
}

.interactive-truck.unloading .cargo-indicator,
.interactive-barge.unloading .cargo-indicator {
    opacity: 0.3;
    transform: scale(0.7);
}

.interactive-truck.unloading .cargo-indicator i,
.interactive-barge.unloading .cargo-indicator i {
    color: rgba(239, 195, 114, 0.5);
    animation: cargoUnload 1s ease-in-out infinite;
}

.interactive-truck.loading .cargo-indicator,
.interactive-barge.loading .cargo-indicator {
    opacity: 1;
    transform: scale(1.2);
}

.interactive-truck.loading .cargo-indicator i,
.interactive-barge.loading .cargo-indicator i {
    color: var(--color-accent);
    animation: cargoLoad 1s ease-in-out infinite;
}

/* Hover effects for transport icons */
.interactive-truck:hover .truck-icon i,
.interactive-barge:hover .barge-icon i {
    color: var(--color-accent);
}

.interactive-truck:hover .cargo-indicator,
.interactive-barge:hover .cargo-indicator {
    animation: cargoFloat 1s ease-in-out infinite;
}

/* Animated conveyor belt */
.facility-svg rect[x="40"][y="50"] {
    background: repeating-linear-gradient(
        90deg,
        #2e2e2e 0px,
        #2e2e2e 10px,
        #4c4c4c 10px,
        #4c4c4c 20px
    );
    animation: conveyorMove 2s linear infinite;
}

/* Animated crane */
.facility-svg rect[x="85"][y="5"] {
    transform-origin: center bottom;
    animation: craneSwing 6s ease-in-out infinite;
}

/* Water ripple effect */
.barge-svg path[d*="M0,35"] {
    animation: waterRipple 3s ease-in-out infinite;
}

/* Wheel rotation */
.truck-svg circle[fill="#2e2e2e"] {
    animation: spin 0.5s linear infinite;
}

/* Optimized industrial atmosphere */
.industrial-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(239, 195, 114, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(76, 76, 76, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: industrialGlow 12s ease-in-out infinite;
    will-change: opacity, transform;
    transform: translateZ(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Infrastructure scaling */
    .warehouse {
        width: 60px;
        height: 45px;
    }
    
    .warehouse-1 {
        top: 20%;
        left: 5%;
    }
    
    .railway-station {
        width: 90px;
        height: 30px;
        top: 65%;
        left: 70%;
    }
    
    .river-port {
        width: 80px;
        height: 40px;
        bottom: 25%;
        left: 65%;
    }
    
    /* Interactive transport scaling */
    .interactive-truck {
        width: 60px;
        height: 24px;
    }
    
    .interactive-truck.truck-1 {
        top: 30%;
        left: 10%;
    }
    
    .interactive-truck.truck-2 {
        top: 35%;
        left: 10%;
    }
    
    .interactive-barge {
        width: 90px;
        height: 38px;
    }
    
    .interactive-barge.barge-1 {
        bottom: 30%;
        left: 70%;
    }
    
    /* Mobile icon scaling */
    .truck-icon i {
        font-size: 2rem;
    }
    
    .truck-icon .cargo-indicator i {
        font-size: 0.8rem;
    }
    
    .barge-icon i {
        font-size: 2.2rem;
    }
    
    .barge-icon .cargo-indicator i {
        font-size: 1rem;
    }
    
    .barge-icon .water-waves i {
        font-size: 1.2rem;
    }
    
    /* Infrastructure mobile scaling */
    .infrastructure-icon i {
        font-size: 2.5rem;
    }
    
    .railway-station .infrastructure-icon i {
        font-size: 2.8rem;
    }
    
    .river-port .infrastructure-icon i {
        font-size: 2.2rem;
    }
    
    .infrastructure-icon .status-indicator i {
        font-size: 0.6rem;
    }
    
    /* Loading indicators */
    .loading-indicator {
        width: 80px;
        height: 30px;
        padding: 6px;
    }
    
    .warehouse-loading {
        top: 13%;
        left: 3%;
    }
    
    .railway-loading {
        top: 58%;
        left: 68%;
    }
    
    .port-loading {
        bottom: 32%;
        left: 63%;
    }
    
    .loading-text {
        font-size: 8px;
    }
    
    /* Salt particles */
    .salt-particle {
        width: 2px;
        height: 2px;
    }
    
    /* Mobile-specific truck routes */
    @keyframes truckRoute1 {
        0% {
            top: 30%;
            left: 10%;
            transform: rotate(0deg);
        }
        
        25% {
            top: 60%;
            left: 65%;
            transform: rotate(15deg);
        }
        
        30% {
            top: 60%;
            left: 65%;
            transform: rotate(15deg) scale(0.9);
        }
        
        35% {
            top: 60%;
            left: 65%;
            transform: rotate(15deg) scale(1);
        }
        
        60% {
            top: 30%;
            left: 10%;
            transform: rotate(-15deg);
        }
        
        65% {
            top: 30%;
            left: 10%;
            transform: rotate(-15deg) scale(0.9);
        }
        
        70% {
            top: 30%;
            left: 10%;
            transform: rotate(-15deg) scale(1);
        }
        
        100% {
            top: 30%;
            left: 10%;
            transform: rotate(0deg);
        }
    }
    
    @keyframes truckRoute2 {
        0% {
            top: 35%;
            left: 10%;
            transform: rotate(0deg);
        }
        
        20% {
            top: 50%;
            left: 60%;
            transform: rotate(25deg);
        }
        
        25% {
            top: 50%;
            left: 60%;
            transform: rotate(25deg) scale(0.9);
        }
        
        30% {
            top: 50%;
            left: 60%;
            transform: rotate(25deg) scale(1);
        }
        
        50% {
            top: 35%;
            left: 10%;
            transform: rotate(-25deg);
        }
        
        55% {
            top: 35%;
            left: 10%;
            transform: rotate(-25deg) scale(0.9);
        }
        
        60% {
            top: 35%;
            left: 10%;
            transform: rotate(-25deg) scale(1);
        }
        
        100% {
            top: 35%;
            left: 10%;
            transform: rotate(0deg);
        }
    }
    
    @keyframes bargeRoute1 {
        0% {
            bottom: 30%;
            left: 70%;
            transform: rotate(0deg);
        }
        
        30% {
            bottom: 25%;
            left: 35%;
            transform: rotate(-5deg);
        }
        
        60% {
            bottom: 20%;
            left: 5%;
            transform: rotate(-10deg);
        }
        
        100% {
            bottom: 30%;
            left: 70%;
            transform: rotate(0deg);
        }
    }
}

/* Salt Particles - ОТКЛЮЧЕНЫ для оптимизации производительности */
.salt-particles {
    display: none !important;
}

.salt-particle {
    display: none !important;
}

.salt-particle:nth-child(1) {
    left: 20%;
    animation: saltFall1 4s linear infinite;
}

.salt-particle:nth-child(2) {
    left: 30%;
    animation: saltFall2 5s linear infinite;
    animation-delay: 1s;
}

.salt-particle:nth-child(3) {
    left: 40%;
    animation: saltFall3 4.5s linear infinite;
    animation-delay: 2s;
}

.salt-particle:nth-child(4) {
    left: 50%;
    animation: saltFall1 5.5s linear infinite;
    animation-delay: 0.5s;
}

.salt-particle:nth-child(5) {
    left: 60%;
    animation: saltFall2 4s linear infinite;
    animation-delay: 1.5s;
}

.salt-particle:nth-child(6) {
    left: 70%;
    animation: saltFall3 4.8s linear infinite;
    animation-delay: 2.5s;
}

.salt-particle:nth-child(7) {
    left: 80%;
    animation: saltFall1 5.2s linear infinite;
    animation-delay: 0.8s;
}

.salt-particle:nth-child(8) {
    left: 90%;
    animation: saltFall2 4.3s linear infinite;
    animation-delay: 1.8s;
}

/* Additional industrial effects */
.industrial-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 15% 75%, rgba(239, 195, 114, 0.15) 0%, transparent 25%),
        radial-gradient(ellipse at 85% 75%, rgba(239, 195, 114, 0.15) 0%, transparent 25%),
        radial-gradient(ellipse at 50% 60%, rgba(76, 76, 76, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
    animation: industrialDust 12s ease-in-out infinite;
}

/* Truck exhaust smoke */
.truck::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: rgba(76, 76, 76, 0.4);
    border-radius: 50%;
    animation: smokeRise 2s ease-out infinite;
}

/* Barge water splash */
.barge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(76, 76, 76, 0.3);
    border-radius: 50%;
    animation: waterSplash 3s ease-out infinite;
}

/* Loading facility dust */
.loading-facility::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: rgba(239, 195, 114, 0.2);
    border-radius: 50%;
    animation: dustCloud 4s ease-out infinite;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-accent));
    animation: shimmer 2s ease-in-out infinite;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, rgba(239, 195, 114, 0.1), rgba(76, 76, 76, 0.1), rgba(239, 195, 114, 0.1), rgba(76, 76, 76, 0.1));
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-dark);
    max-width: 900px;
    padding: 42rem 2rem 2rem 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 20px 40px var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: visible;
}

/* Убрали декоративную полоску сверху секций */

.section.bg-gray {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    backdrop-filter: blur(20px);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Убрали декоративную полоску под заголовком секции */

.section-description {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--text-medium);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.section-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    opacity: 0.8;
}

.section-description::after {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.section-description:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-accent);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover, .btn-secondary:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
}

/* Убираем анимации для кнопки "Связаться с нами" */
.hero-buttons .btn-secondary.magnetic-btn.interactive-element.morphing-shape {
    animation: none !important;
    transition: none !important;
}

.hero-buttons .btn-secondary.magnetic-btn.interactive-element.morphing-shape:hover {
    animation: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.hero-buttons .btn-secondary.magnetic-btn .btn-ripple {
    display: none !important;
}

.magnetic-btn {
    position: relative;
    transition: all 0.3s ease;
}

.magnetic-btn .btn-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.6);
}

/* Cards */
.premium-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateZ(0);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    will-change: transform;
    contain: layout style paint;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-card:hover {
    box-shadow: 0 30px 60px var(--shadow-medium);
}

/* Убираем анимации движения для секции истории */
#roadmap .premium-card:hover {
    transform: none !important;
}

#roadmap .timeline-content:hover {
    transform: none !important;
}

#roadmap .achievement-tag:hover {
    transform: none !important;
}

.premium-card:hover::before {
    opacity: 0; /* Отключен hover эффект полоски */
}

.card-shimmer {
    /* Shimmer эффект отключен */
    display: none;
    animation: shimmer 1.5s infinite;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    flex-grow: 1;
}

.card-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Grids */
.products-grid, .delivery-grid, .clients-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}



.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

/* Delivery Cards */
.delivery-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.delivery-card .card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Document badges for delivery cards */
.document-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.doc-badge {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(239, 195, 114, 0.3);
    transition: all 0.3s ease;
    line-height: 1.3;
}

.doc-badge:hover {
    box-shadow: 0 4px 12px rgba(239, 195, 114, 0.4);
}

/* Turnkey Delivery Card with Background Image */
.turnkey-delivery {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.9) 0%, rgba(96, 96, 96, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.turnkey-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/pic/image765.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.3s ease;
    filter: blur(1px);
}

.turnkey-delivery:hover .turnkey-background-image {
    opacity: 0.25;
}

.turnkey-delivery .card-content {
    position: relative;
    z-index: 1;
}

.turnkey-delivery .card-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.turnkey-delivery .card-description {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

/* High specificity override for premium-card conflicts */
.premium-card.turnkey-delivery .turnkey-background-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('/pic/image765.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.15 !important;
    z-index: 0 !important;
    transition: opacity 0.3s ease !important;
}

.premium-card.turnkey-delivery:hover .turnkey-background-image {
    opacity: 0.25 !important;
}

/* Barge Delivery Card with Background Image */
.barge-delivery {
    background: linear-gradient(135deg, rgba(96, 125, 139, 0.9) 0%, rgba(69, 90, 100, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.barge-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/pic/image775.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.3s ease;
    filter: blur(1px);
}

.barge-delivery:hover .barge-background-image {
    opacity: 0.25;
}

.barge-delivery .card-content {
    position: relative;
    z-index: 1;
}

.barge-delivery .card-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.barge-delivery .card-description {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

/* High specificity override for premium-card conflicts */
.premium-card.barge-delivery .barge-background-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('/pic/image775.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.15 !important;
    z-index: 0 !important;
    transition: opacity 0.3s ease !important;
}

.premium-card.barge-delivery:hover .barge-background-image {
    opacity: 0.25 !important;
}

/* Covered Wagon Delivery Card with Background Image */
.covered-wagon-delivery {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9) 0%, rgba(101, 67, 33, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.covered-wagon-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/pic/image44.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.3s ease;
    filter: blur(1px);
}

.covered-wagon-delivery:hover .covered-wagon-background-image {
    opacity: 0.25;
}

.covered-wagon-delivery .card-content {
    position: relative;
    z-index: 1;
}

.covered-wagon-delivery .card-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.covered-wagon-delivery .card-description {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

/* High specificity override for premium-card conflicts */
.premium-card.covered-wagon-delivery .covered-wagon-background-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('/pic/image44.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.15 !important;
    z-index: 0 !important;
    transition: opacity 0.3s ease !important;
}

.premium-card.covered-wagon-delivery:hover .covered-wagon-background-image {
    opacity: 0.25 !important;
}

/* Categories */
.product-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* About */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-medium);
}

.text-large {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Statistics */
.stat-content {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.stat-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-growth {
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* Clients */
.client-logo {
    text-align: center;
    padding: 2rem;
}

.client-name {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 0.5rem;
    line-height: 1.3;
    text-align: center;
    max-width: 100%;
    /* Разрешаем перенос текста на несколько строк */
    white-space: normal !important;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    min-height: 2.5em;
    flex-grow: 1;
    flex-shrink: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    text-overflow: unset !important;
}

/* Стили для случаев, когда изображение не загружается */
.client-logo-img:not([src]), 
.client-logo-img[src=""],
.client-logo-img[src*="undefined"],
.client-logo-img[src*="null"] {
    display: none;
}

.client-logo-container:has(.client-logo-img:not([src])),
.client-logo-container:has(.client-logo-img[src=""]),
.client-logo-container:has(.client-logo-img[src*="undefined"]),
.client-logo-container:has(.client-logo-img[src*="null"]) {
    justify-content: center;
}

.client-logo-container:has(.client-logo-img:not([src])) .client-name,
.client-logo-container:has(.client-logo-img[src=""]) .client-name,
.client-logo-container:has(.client-logo-img[src*="undefined"]) .client-name,
.client-logo-container:has(.client-logo-img[src*="null"]) .client-name {
    margin-top: 0;
    font-size: 1.2rem;
}

/* =====================================================
   SERVICES SECTION STYLES
   ===================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(239, 195, 114, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    box-shadow: 0 12px 30px rgba(239, 195, 114, 0.5);
}

/* =====================================================
   UPDATED CLIENTS SECTION STYLES
   ===================================================== */

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Описание клиентов */
.clients-description {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.clients-description-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.clients-stats-text {
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 0;
}

.client-logo-container {
    text-align: center;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex: 1;
    min-height: 260px;
    gap: 0.5rem;
}

.client-logo-img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
    transition: filter 0.3s ease;
    filter: grayscale(20%) opacity(0.9);
    flex-shrink: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    will-change: filter;
}

.client-card:hover .client-logo-img {
    filter: grayscale(0%) opacity(1);
}

/* Специальные стили для SVG логотипов - закрашиваем в черный */
.client-logo-img[src*="soyuz.svg"],
.client-logo-img[src*="irkutsk.png"] {
    filter: grayscale(100%) brightness(0.1) contrast(200%);
}

.client-card:hover .client-logo-img[src*="soyuz.svg"],
.client-card:hover .client-logo-img[src*="irkutsk.png"] {
    filter: grayscale(0%) brightness(1) contrast(100%);
}

/* =====================================================
   CLIENTS CAROUSEL STYLES
   ===================================================== */

/* Широкий контейнер для секции клиентов */
.container-wide {
    max-width: 1400px !important; /* Увеличена ширина контейнера */
}

.clients-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0; /* Убраны отступы, кнопки теперь вне контейнера */
    min-height: 300px;
    padding-bottom: 100px;
}

    .clients-carousel {
        overflow: hidden;
        position: relative;
        border-radius: 20px;
        padding-bottom: 30px;
    }

.clients-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.clients-track .client-card {
    min-width: 280px;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

/* Секция клиентов нужна для позиционирования кнопок */
#clients {
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: calc(50% + 60px); /* Компенсируем высоту заголовков */
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 195, 114, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    box-shadow: 0 6px 20px rgba(239, 195, 114, 0.5);
}

.carousel-btn:active {
    opacity: 0.8;
}

.carousel-btn-prev {
    left: calc(50% - 700px - 40px); /* Близко к левому краю контейнера */
}

.carousel-btn-next {
    right: calc(50% - 700px - 40px); /* Близко к правому краю контейнера */
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(239, 195, 114, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(239, 195, 114, 0.6);
}

.indicator.active {
    background: var(--color-accent);
}

/* Плавная бесконечная анимация карусели */
@keyframes carouselAutoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Трек карусели без автопрокрутки */
/* Правило перенесено выше, дублирование убрано */

/* .clients-track:hover {
    animation-play-state: paused;
} - УБРАНО */

/* Адаптивность для больших экранов */
@media (min-width: 1200px) {
    .clients-track .client-card {
        min-width: 300px;
        width: 300px;
        height: 300px;
    }
    
    .client-name {
        font-size: 1.1rem;
        min-height: 2.5em;
    }
    
    .client-logo-container {
        min-height: 280px;
        padding: 2rem;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .clients-description {
        max-width: 100%;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .clients-description-text {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .clients-stats-text {
        font-size: 1.1rem;
    }

    .clients-carousel-container {
        width: 100%;
        padding: 0; /* Убраны отступы, кнопки вне контейнера */
        max-width: 100vw;
        min-height: 250px;
        padding-bottom: 90px;
    }
    
    .clients-track .client-card {
        min-width: 240px;
        width: 240px;
        height: 240px;
    }
    
    .clients-track {
        gap: 1rem;
    }
    
    .client-name {
        font-size: 0.9rem;
        white-space: normal !important;
        min-height: 2em;
        line-height: 1.2;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .carousel-btn-prev {
        left: 10px; /* На мобильных остаемся близко к краю */
    }

    .carousel-btn-next {
        right: 10px; /* На мобильных остаемся близко к краю */
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .clients-carousel-container {
        width: 100%;
        padding: 0; /* Убраны отступы */
        max-width: 100vw;
        min-height: 220px;
        padding-bottom: 80px;
    }
    
    .clients-track .client-card {
        min-width: 200px;
        width: 200px;
        height: 220px;
    }
    
    .clients-track {
        gap: 0.8rem;
    }
    
    .client-name {
        font-size: 0.85rem;
        white-space: normal !important;
        min-height: 2em;
        line-height: 1.2;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    
    .client-logo-container {
        padding: 1rem;
        min-height: 180px;
    }
    
    .client-logo-img {
        max-width: 80px;
        max-height: 60px;
        min-height: 50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-btn-prev {
        left: 5px; /* Минимальный отступ на очень маленьких экранах */
    }

    .carousel-btn-next {
        right: 5px; /* Минимальный отступ на очень маленьких экранах */
    }
}

/* Адаптивность для экстремально маленьких экранов */
@media (max-width: 360px) {
    .clients-carousel-container {
        width: 100%;
        padding: 0 1px;
        max-width: 100vw;
        min-height: 200px;
        padding-bottom: 70px;
    }
    
    .clients-track .client-card {
        min-width: 180px;
        width: 180px;
        height: 200px;
    }
    
    .clients-track {
        gap: 0.6rem;
    }
    
    .client-name {
        font-size: 0.75rem;
        white-space: normal !important;
        min-height: 2em;
        line-height: 1.2;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    
    .client-logo-container {
        padding: 0.8rem;
        min-height: 160px;
    }
    
    .client-logo-img {
        max-width: 70px;
        max-height: 50px;
        min-height: 40px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* =====================================================
   REGIONS SECTION ENHANCEMENTS
   ===================================================== */

.active-regions-panel {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 320px;
    max-height: 1000px;
    overflow-y: auto;
    flex-shrink: 0;
    margin-top: 0;
    z-index: 10;
}

.active-regions-panel h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
}

.regions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 390px;
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
}

.regions-list::-webkit-scrollbar {
    width: 6px;
}

.regions-list::-webkit-scrollbar-track {
    background: rgba(239, 195, 114, 0.1);
    border-radius: 3px;
}

.regions-list::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

.regions-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-light);
}

.region-tag {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(239, 195, 114, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.region-tag:hover {
    box-shadow: 0 4px 12px rgba(239, 195, 114, 0.5);
}

.region-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.region-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.region-tooltip.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
}

.info-block {
    margin-bottom: 2rem;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.info-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Contact */
.contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    color: #666;
}

.contact-item strong {
    color: var(--color-primary);
}

/* Forms */
.form-premium {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.form-input {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(239, 195, 114, 0.3);
    border-radius: 0.75rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: var(--text-medium);
    opacity: 0.7;
}

.form-input:focus {
    outline: none;
    border-color: rgba(239, 195, 114, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: var(--text-dark);
    padding: 2.5rem 0 1.5rem;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-accent));
    animation: shimmer 2s ease-in-out infinite;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section:first-child {
    flex: 0 0 auto;
    min-width: auto;
}

.footer-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    line-height: 1.6;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-section p {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(239, 195, 114, 0.2);
    color: var(--text-medium);
    font-size: 1rem;
}

/* Mobile footer styles */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section:first-child {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .footer-section {
        min-width: auto;
    }
}

/* Performance optimized animations */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.reveal-animation,
.scroll-fade-in,
.scroll-slide-left,
.scroll-slide-right {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes shimmer {
    /* Shimmer анимация отключена */
    0% { background-position: 0 0; }
    100% { background-position: 0 0; }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* New interactive animations */
@keyframes particleGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(239, 195, 114, 0.3);
    }
    50% { 
        box-shadow: 0 0 20px rgba(239, 195, 114, 0.8);
    }
}

/* Interactive Industrial Animation Keyframes */

/* Infrastructure Activity */
@keyframes warehousePulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 5px 15px rgba(239, 195, 114, 0.4));
    }
}

@keyframes stationActivity {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    30% {
        transform: scale(1.02);
        opacity: 1;
    }
    60% {
        transform: scale(1.01);
        opacity: 0.95;
    }
}

@keyframes portActivity {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
    }
    40% {
        transform: scale(1.03);
        filter: drop-shadow(0 4px 12px rgba(239, 195, 114, 0.3));
    }
}

/* Interactive Truck Routes */
@keyframes truckRoute1 {
    0% {
        top: 25%;
        left: 15%;
        transform: rotate(0deg);
    }
    
    /* Move to railway station */
    25% {
        top: 55%;
        left: 70%;
        transform: rotate(15deg);
    }
    
    /* Loading at railway */
    30% {
        top: 55%;
        left: 70%;
        transform: rotate(15deg) scale(0.95);
    }
    
    35% {
        top: 55%;
        left: 70%;
        transform: rotate(15deg) scale(1);
    }
    
    /* Return to warehouse */
    60% {
        top: 25%;
        left: 15%;
        transform: rotate(-15deg);
    }
    
    /* Loading at warehouse */
    65% {
        top: 25%;
        left: 15%;
        transform: rotate(-15deg) scale(0.95);
    }
    
    70% {
        top: 25%;
        left: 15%;
        transform: rotate(-15deg) scale(1);
    }
    
    100% {
        top: 25%;
        left: 15%;
        transform: rotate(0deg);
    }
}

@keyframes truckRoute2 {
    0% {
        top: 30%;
        left: 15%;
        transform: rotate(0deg);
    }
    
    /* Move to port */
    20% {
        top: 45%;
        left: 65%;
        transform: rotate(25deg);
    }
    
    /* Loading at port */
    25% {
        top: 45%;
        left: 65%;
        transform: rotate(25deg) scale(0.95);
    }
    
    30% {
        top: 45%;
        left: 65%;
        transform: rotate(25deg) scale(1);
    }
    
    /* Return to warehouse */
    50% {
        top: 30%;
        left: 15%;
        transform: rotate(-25deg);
    }
    
    /* Loading at warehouse */
    55% {
        top: 30%;
        left: 15%;
        transform: rotate(-25deg) scale(0.95);
    }
    
    60% {
        top: 30%;
        left: 15%;
        transform: rotate(-25deg) scale(1);
    }
    
    100% {
        top: 30%;
        left: 15%;
        transform: rotate(0deg);
    }
}

/* Interactive Barge Routes */
@keyframes bargeRoute1 {
    0% {
        bottom: 25%;
        left: 75%;
        transform: rotate(0deg);
    }
    
    /* Move downstream */
    30% {
        bottom: 20%;
        left: 40%;
        transform: rotate(-5deg);
    }
    
    /* Continue downstream */
    60% {
        bottom: 15%;
        left: 5%;
        transform: rotate(-10deg);
    }
    
    /* Return upstream */
    100% {
        bottom: 25%;
        left: 75%;
        transform: rotate(0deg);
    }
}

/* Loading Progress Animation */
@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

/* Cargo Float Animation */
@keyframes cargoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

/* Water Wave Animation */
@keyframes waterWave {
    0%, 100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) scaleX(1.2);
        opacity: 0.8;
    }
}

/* Cargo Load Animation */
@keyframes cargoLoad {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-5px) scale(1.3);
        opacity: 0.8;
    }
}

/* Cargo Unload Animation */
@keyframes cargoUnload {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(3px) scale(0.8);
        opacity: 0.3;
    }
}

/* Status Pulse Animation */
@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes saltFall1 {
    0% {
        top: -10px;
        opacity: 0;
        transform: translateX(0);
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translateX(5px);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: translateX(-3px);
    }
}

@keyframes saltFall2 {
    0% {
        top: -10px;
        opacity: 0;
        transform: translateX(0);
    }
    15% {
        opacity: 0.6;
    }
    40% {
        transform: translateX(-4px);
    }
    60% {
        transform: translateX(2px);
    }
    85% {
        opacity: 0.6;
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: translateX(0);
    }
}

@keyframes saltFall3 {
    0% {
        top: -10px;
        opacity: 0;
        transform: translateX(0);
    }
    12% {
        opacity: 0.6;
    }
    35% {
        transform: translateX(3px);
    }
    65% {
        transform: translateX(-2px);
    }
    88% {
        opacity: 0.6;
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: translateX(1px);
    }
}

@keyframes conveyorMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

@keyframes craneSwing {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes waterRipple {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(20px);
    }
}

@keyframes industrialGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes industrialDust {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    33% {
        opacity: 0.9;
        transform: translateY(-5px);
    }
    66% {
        opacity: 0.7;
        transform: translateY(3px);
    }
}

@keyframes smokeRise {
    0% {
        opacity: 0.6;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translateY(-15px) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(2);
    }
}

@keyframes waterSplash {
    0% {
        opacity: 0.5;
        transform: translateY(0) scale(1);
    }
    30% {
        opacity: 0.8;
        transform: translateY(-8px) scale(1.3);
    }
    60% {
        opacity: 0.4;
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }
}

@keyframes dustCloud {
    0% {
        opacity: 0.3;
        transform: translateY(0) scale(1);
    }
    25% {
        opacity: 0.6;
        transform: translateY(-10px) scale(1.4);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20px) scale(1.8);
    }
    75% {
        opacity: 0.4;
        transform: translateY(-25px) scale(2);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(2.5);
    }
}

@keyframes liquidBubble {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

@keyframes magneticPull {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1.02);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(239, 195, 114, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(239, 195, 114, 0.8), 0 0 50px rgba(239, 195, 114, 0.3);
    }
}

@keyframes morphShape {
    0% {
        border-radius: 0.75rem;
    }
    50% {
        border-radius: 2rem;
    }
    100% {
        border-radius: 0.75rem;
    }
}

@keyframes tiltGlow {
    0% {
        box-shadow: 0 10px 30px rgba(76, 76, 76, 0.1);
    }
    100% {
        box-shadow: 0 30px 60px rgba(76, 76, 76, 0.3), 0 0 30px rgba(239, 195, 114, 0.4);
    }
}

/* Interactive Element Styles */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
    animation: magneticPull 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-effect {
    animation: glowPulse 2s ease-in-out infinite;
}

.morphing-shape {
    animation: morphShape 3s ease-in-out infinite;
}

.particle-interaction {
    /* Particle interaction отключено для производительности */
    position: relative;
}

.particle-interaction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(239, 195, 114, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    transform: scale(0.8);
}

.particle-interaction:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* 3D Transform Effects */
.transform-3d {
    /* 3D transform styles disabled */
    transform-style: flat;
    perspective: none;
}

.tilt-hover {
    transition: transform 0.3s ease;
}

.tilt-hover:hover {
    /* 3D tilt effect disabled */
    transform: none;
}

/* Liquid Animation Effects */
.liquid-background {
    position: relative;
    overflow: hidden;
}

.liquid-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(239, 195, 114, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.liquid-background:hover::after {
    transform: translateX(100%);
}

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

@keyframes backgroundShift {
    0% {
        background-position: 0% 50%;
        transform: scale(1);
    }
    33% {
        background-position: 100% 50%;
        transform: scale(1.02);
    }
    66% {
        background-position: 100% 0%;
        transform: scale(1.01);
    }
    100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
}

/* Scroll animations */
.scroll-fade-in {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate3d(0, 30px, 0);
    will-change: transform, opacity;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.scroll-slide-left {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate3d(-50px, 0, 0);
    will-change: transform, opacity;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.scroll-slide-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate3d(50px, 0, 0);
    will-change: transform, opacity;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.reveal-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text effects */
.text-shimmer {
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animated-counter {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-accent);
}

/* Low Performance Mode */
.low-performance-mode * {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

.low-performance-mode .interactive-truck,
.low-performance-mode .interactive-barge {
    animation: none !important;
}

.low-performance-mode .industrial-animation::before,
.low-performance-mode .industrial-animation::after {
    display: none !important;
}

.low-performance-mode .salt-particles {
    display: none !important;
}

.low-performance-mode .premium-card {
    backdrop-filter: none !important;
}

/* Performance Optimizations for Low-End Devices */
@media (max-resolution: 150dpi), (max-width: 768px) {
    .header-fixed {
        backdrop-filter: none;
        background: rgba(45, 52, 70, 0.98);
    }
    
    .nav-link {
        backdrop-filter: none;
        transition: background-color 0.2s ease;
        will-change: auto;
    }
    
    .nav-link:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-delay: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        will-change: auto !important;
        transform: none !important;
    }
}

/* Statistics Grid Styles */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.statistic-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Убрали декоративную полоску сверху карточек статистики */

.statistic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.stat-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
    opacity: 0.8;
}

.stat-chart-wrapper {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-chart {
    width: 100%;
    height: auto;
    max-height: 200px;
}

.axis-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    fill: var(--text-medium);
}

.stat-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stat-value-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-value-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-value-item.projected {
    border: 2px solid var(--color-accent);
    background: rgba(239, 195, 114, 0.1);
}

.stat-year {
    display: block;
    font-size: 0.75rem;
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stat-number {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-summary {
    text-align: center;
}

.growth-indicator {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent) 0%, #f4d47d 100%);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(239, 195, 114, 0.3);
}

/* Statistics Animation Classes */
.stat-animate-line {
    animation: drawStatLine 6s ease-in-out forwards;
}

.stat-animate-area {
    animation: fillStatArea 4s ease-in-out 2.5s forwards;
}

.stat-animate-point {
    animation: showStatPoint 1.2s ease-out forwards;
}

@keyframes drawStatLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fillStatArea {
    to {
        opacity: 1;
    }
}

@keyframes showStatPoint {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes statPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Highlight 2025 projections */
#revenue-2025, #clients-2025, #shipment-2025 {
    animation: statPulse 4s ease-in-out infinite;
    animation-delay: 6s;
}

/* Data Point Hover Effects */
.data-points circle {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.data-points circle:hover {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
    transform: scale(1.1);
}

/* Responsive Statistics */
@media (max-width: 768px) {
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .statistic-card {
        padding: 1.5rem;
    }
    
    .stat-card-title {
        font-size: 1.3rem;
    }
    
    .stat-card-subtitle {
        font-size: 0.8rem;
    }
    
    .stat-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-value-item {
        padding: 1rem 0.75rem;
    }
    
    .stat-year {
        font-size: 0.7rem;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .axis-label {
        font-size: 9px;
    }
    
    .growth-indicator {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .statistic-card {
        padding: 1rem;
    }
    
    .stat-values {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-value-item {
        padding: 0.75rem;
    }
    
    .growth-indicator {
        font-size: 0.75rem;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #efc372;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
    .header-fixed {
        margin: 0 0.5rem;
        border-radius: 0 0 15px 15px;
    }
    
    .navbar {
        padding: 0.6rem 0;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(45,52,70,0.98) 0%, rgba(35,40,55,0.98) 100%);
        backdrop-filter: blur(25px) saturate(180%);
        border: 1px solid rgba(255,255,255,0.1);
        border-top: none;
        border-radius: 0 0 15px 15px;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 1000;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .navbar-nav.mobile-active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: #ffffff;
        text-decoration: none;
        border: none;
        background: transparent;
        transition: color 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        color: #efc372;
    }
    
    .navbar-nav .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: block;
    }
    
    .navbar-nav .dropdown-section {
        margin-bottom: 1rem;
    }
    
    .navbar-nav .dropdown-header {
        font-size: 0.9rem;
        color: #efc372;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }
    
    .navbar-nav .dropdown-link {
        display: block;
        padding: 0.5rem 0;
        color: rgba(255,255,255,0.8);
        text-decoration: none;
        font-size: 1rem;
        border: none;
        background: transparent;
        transition: color 0.3s ease;
    }
    
    .navbar-nav .dropdown-link:hover {
        color: #efc372;
        background: transparent;
    }
    
    .navbar-brand {
        width: auto;
        text-align: left;
    }
    
    .logo-container {
        width: 50px;
        height: 50px;
        margin: 0;
    }
    
    .logo-svg {
        height: 35px;
    }
    

    
    /* Улучшенные стили для мобильного меню */
    .mobile-menu-toggle:hover .hamburger-line {
        background: #ffffff;
    }
    
    .mobile-menu-toggle:active .hamburger-line {
        transform: scale(0.9);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .section-description {
        font-size: 1.1rem;
        padding: 1.5rem 1.5rem;
        margin-bottom: 2rem;
        border-radius: 20px;
        max-width: 95%;
    }
    
    .section-description::after {
        font-size: 3.5rem;
        top: -10px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .section-description {
        font-size: 1rem;
        padding: 1.2rem;
        line-height: 1.6;
    }
    
    .section-description::after {
        font-size: 3rem;
        top: -8px;
        left: 10px;
    }
    
    /* Мобильное меню для очень маленьких экранов */
    .mobile-menu-toggle {
        width: 28px;
        height: 28px;
        right: 0.5rem;
    }
    
    .hamburger-line {
        height: 2.5px;
    }
    
    .navbar-nav {
        padding: 0.8rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    
    .navbar-nav .dropdown-link {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .logo-container {
        width: 45px;
        height: 45px;
    }
    
    .logo-svg {
        height: 30px;
    }
}

/* Regions Section Styles */
.regions-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.regions-map-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.regions-map {
    position: relative;
    flex: 1;
    min-width: 0;
}

.map-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* SVG Russia Map */
.russia-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Regions Map Container */
.regions-map {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Region Tooltip */
.region-tooltip {
    position: absolute;
    background: rgba(42, 42, 42, 0.95);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--color-accent);
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    white-space: nowrap;
}

.region-tooltip.show {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 10px));
}





.regions-info {
    padding: 2rem;
}

.region-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 700;
}

.region-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.region-stats {
    display: flex;
    gap: 2rem;
}

.region-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.region-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(239, 195, 114, 0.2);
}

.region-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.region-stat .stat-label {
    font-size: 1rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Regions responsive */
@media (max-width: 768px) {
    .regions-content {
        gap: 1.5rem;
    }
    
    .regions-map-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .active-regions-panel {
        width: 100%;
        max-height: 300px;
    }
    
    .region-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .region-title {
        font-size: 1.5rem;
    }
    
    .russia-svg {
        max-height: 600px;
    }
    
    .region-tooltip {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .map-container {
        padding: 1rem;
    }
}

/* Animation for map markers */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* ===============================
   PRODUCT PAGES STYLES
   =============================== */

/* Breadcrumbs */
.breadcrumbs-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px 0;
    margin-top: 80px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-link {
    color: #2d3446;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: #efc372;
}

.breadcrumb-separator {
    color: #6c757d;
}

.breadcrumb-current {
    color: #495057;
    font-weight: 600;
}

/* Product Hero Section */
.product-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 0;
    color: white;
}

.product-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.product-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #efc372, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.badge-success {
    background: linear-gradient(45deg, #28a745, #1e7e34);
    color: white;
}

.badge-info {
    background: linear-gradient(45deg, #17a2b8, #117a8b);
    color: white;
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid #efc372;
    box-shadow: 0 10px 30px rgba(239, 195, 114, 0.3);
    width: 300px;
    height: 300px;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #333, #555);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #efc372;
    box-shadow: 0 10px 30px rgba(239, 195, 114, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    color: #efc372;
    margin-bottom: 15px;
}

.image-placeholder span {
    color: #cccccc;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Product Main Image - для настоящих изображений */
.product-main-img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image:hover .product-main-img {
    transform: scale(1.1);
}

.product-image:hover {
    box-shadow: 0 15px 40px rgba(239, 195, 114, 0.4);
}

/* Product Overview */
.product-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f5f5f5 100%);
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-content h2 {
    margin-bottom: 30px;
}

.overview-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.overview-content .text-large {
    font-size: 1.3rem;
    color: #333;
    font-weight: 500;
}

.features-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
}

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

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.features-list i {
    color: #28a745;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.application-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #efc372, #d4a354);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.app-icon i {
    font-size: 2rem;
    color: white;
}

.app-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.app-description {
    color: #666;
    line-height: 1.6;
}

/* Technical Specifications */
.product-specifications {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
}

.specifications-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.spec-table-wrapper {
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.1);
}

.spec-table th,
.spec-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.spec-table th {
    background: linear-gradient(135deg, #efc372, #d4a354);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.spec-table tr:nth-child(even) {
    background: #f8f9fa;
}

.spec-table tr:hover {
    background: #e9ecef;
}

.spec-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.1);
    height: fit-content;
}

.spec-info h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.spec-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-info li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.spec-info li::before {
    content: "•";
    color: #efc372;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Delivery Options */
.product-delivery {
    padding: 80px 0;
}

.delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

.delivery-option {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.delivery-option:hover {
    transform: translateY(-5px);
}

.delivery-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #efc372, #d4a354);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.delivery-icon i {
    font-size: 2.5rem;
    color: white;
}

.delivery-option h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.delivery-option p {
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
.product-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(239, 195, 114, 0.3);
    box-shadow: none;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.4rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.contact-info .contact-item:hover {
    background: #e9ecef;
}

.contact-info .contact-item i {
    color: #efc372;
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
}

.contact-info .contact-item span {
    color: #333;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-hero-content,
    .overview-grid,
    .specifications-content,
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .applications-grid,
    .delivery-options {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        width: 250px;
        height: 250px;
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .product-main-img {
        width: 350px;
        height: 350px;
    }
    
         .breadcrumbs {
         font-size: 12px;
         flex-wrap: wrap;
     }
 }

/* Card Actions for Product Cards */
.card-actions {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

 .btn-small {
     padding: 8px 16px;
     font-size: 0.9rem;
     border-radius: 6px;
     text-decoration: none;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
     font-weight: 500;
 }

/* Dropdown Navigation Menu */
.nav-item.dropdown {
    position: relative;
    display: inline-block;
}

.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-link.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, rgba(45,52,70,0.98) 0%, rgba(35,40,55,0.98) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    min-width: 280px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-radius: 15px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255,255,255,0.1);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.dropdown:hover .dropdown-toggle i,
.nav-item.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-section {
    margin-bottom: 20px;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-header {
    font-size: 14px;
    font-weight: 600;
    color: #efc372;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #efc372;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-link {
    display: block;
    padding: 8px 12px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.dropdown-link:hover {
    background: linear-gradient(45deg, #efc372, #d4a354);
    color: #ffffff;
    transform: translateX(5px);
}

.dropdown-link:last-child {
    margin-bottom: 0;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 10px 0;
        background: transparent;
        min-width: auto;
    }
    
    .nav-item.dropdown:hover .dropdown-toggle i {
        transform: none;
    }
    
    .dropdown-header {
        color: #efc372;
        border-bottom-color: #666;
    }
    
    .dropdown-link {
        color: #ccc;
        padding: 8px 20px;
    }
    
         .dropdown-link:hover {
         background: rgba(239, 195, 114, 0.2);
         color: #efc372;
         transform: none;
     }
 }

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 25px;
    background: white;
    padding: 25px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #efc372;
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-left-color: #d4a354;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #efc372, #d4a354);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .process-steps {
        gap: 15px;
        margin-top: 30px;
    }
    
    .process-step {
        flex-direction: row;
        align-items: flex-start;
        padding: 20px 25px;
        gap: 20px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .step-content p {
        font-size: 0.9rem;
    }
}

/* Tariff Details */
.tariff-details {
    margin-top: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tariff-details h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.tariff-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tariff-details li {
    padding: 8px 0;
    color: #666;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.tariff-details li:last-child {
    border-bottom: none;
}

/* ========================================
   ROADMAP TIMELINE STYLES
   ======================================== */

/* Стили линии дорожной карты - закомментированы (удалены по запросу)
.roadmap-line { ... }
.roadmap-line-responsive { ... }
.roadmap-svg-container { ... }
.roadmap-timeline-svg { ... }
.timeline-path { ... }
@keyframes drawPath { ... }
*/

/* Roadmap Section */
#roadmap {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

#roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(239, 195, 114, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(76, 76, 76, 0.05) 0%, transparent 50%);
    z-index: 1;
}

#roadmap .container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Container */
.roadmap-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 20px 10px;
}

/* Timeline Line - SVG Path */
.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Линия ПОЗАДИ блоков */
    pointer-events: none;
}

.timeline-svg {
    width: 100%;
    height: 100%;
    /* Пропорции из оригинального дизайна 2063x1191 */
    aspect-ratio: 2063 / 1191;
}

.timeline-path {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(212, 165, 116, 0.3));
}

.timeline-progress-path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Отладочные стили для системы огибания препятствий */
.obstacle-debug {
    border: 2px dashed #ff4444 !important;
    background: rgba(255, 68, 68, 0.1) !important;
    position: absolute !important;
    pointer-events: none !important;
    z-index: 1000 !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease;
}

.obstacle-debug::before {
    content: '🚧';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4444;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.obstacle-debug:hover {
    background: rgba(255, 68, 68, 0.2) !important;
    border-color: #ff2222 !important;
}

/* ======================================== ULTRA TIMELINE CONNECTOR STYLES ======================================== */

/* Анимации для пульсирования */
@keyframes pulse {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Анимация для свечения */
@keyframes glow-pulse {
    0%, 100% { 
        filter: drop-shadow(0 0 5px currentColor);
    }
    50% { 
        filter: drop-shadow(0 0 15px currentColor) drop-shadow(0 0 25px currentColor);
    }
}

/* Анимация для движения штрихов */
@keyframes dash-flow {
    0% { 
        stroke-dashoffset: 0;
    }
    100% { 
        stroke-dashoffset: 100;
    }
}

/* Стили для интерактивных эффектов */
.timeline-path.interactive {
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.timeline-path.interactive:hover {
    filter: brightness(1.2) drop-shadow(0 0 8px currentColor);
}

/* Отладочная панель */
.ultra-timeline-debug-panel {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.ultra-timeline-debug-panel:hover {
    background: rgba(0, 0, 0, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7) !important;
}

/* Визуальные отладочные элементы */
.debug-control-point {
    fill: #ff4757;
    stroke: #ffffff;
    stroke-width: 1;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.debug-control-point:hover {
    opacity: 1;
    transform: scale(1.2);
}

.debug-grid {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 0.5;
    opacity: 0.3;
}

.debug-bounds {
    fill: none;
    stroke: #00ff88;
    stroke-width: 1;
    stroke-dasharray: 5, 5;
    opacity: 0.6;
}

/* Стили для различных типов кривых */
.timeline-path.curve-cubic {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.timeline-path.curve-sine {
    stroke-linecap: butt;
    stroke-linejoin: miter;
}

.timeline-path.curve-arc {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.timeline-path.curve-catmull-rom {
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: blur(0.5px);
}

/* Эффекты для разных пресетов */
.timeline-elegant .timeline-path {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.timeline-dynamic .timeline-path {
    animation: glow-pulse 2s ease-in-out infinite;
}

.timeline-minimal .timeline-path {
    opacity: 0.7;
}

.timeline-futuristic .timeline-path {
    filter: drop-shadow(0 0 10px currentColor) drop-shadow(0 0 20px currentColor);
    animation: glow-pulse 3s ease-in-out infinite;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .ultra-timeline-debug-panel {
        position: fixed !important;
        top: 5px !important;
        right: 5px !important;
        left: 5px !important;
        max-width: none !important;
        font-size: 10px !important;
        padding: 10px !important;
    }
    
    .timeline-path.interactive:hover {
        filter: none; /* Отключаем hover эффекты на мобильных */
    }
}

/* Анимации появления */
.timeline-fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для прогресс-индикатора */
.timeline-progress-indicator {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
    animation: pulse 1.5s ease-in-out infinite;
}

/* Стили для частиц потока */
.timeline-flow-particle {
    fill: #4CAF50;
    opacity: 0.8;
    animation: flow-move 3s linear infinite;
}

@keyframes flow-move {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Высокопроизводительные анимации */
.timeline-path.gpu-accelerated {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Темная тема для отладочной панели */
@media (prefers-color-scheme: dark) {
    .ultra-timeline-debug-panel {
        background: rgba(20, 20, 20, 0.95) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        color: #e0e0e0 !important;
    }
}

/* ======================================== BITRIX24 FORMS INTEGRATION STYLES ======================================== */

/* Стили для состояний формы */
.form-message {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 15px;
    animation: slideInUp 0.3s ease-out;
}

.form-message.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: 1px solid #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border: 1px solid #f44336;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Состояния полей ввода */
.form-input.error {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2) !important;
    animation: shake 0.5s ease-in-out;
}

/* Состояния кнопки отправки */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Убрана цветная обводка полей ввода */
.form-input:focus {
    border-color: rgba(239, 195, 114, 0.3);
    box-shadow: none;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:valid {
    border-color: rgba(239, 195, 114, 0.3);
}

.form-input:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 195, 114, 0.3);
}

/* Стили для select */
.form-input[type="select"], select.form-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 36px;
}

/* Hover эффекты для кнопок */
.btn-primary:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

/* Адаптивность для форм */
@media (max-width: 768px) {
    .form-message {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .btn-loading::after {
        width: 14px;
        height: 14px;
    }
    
    .form-input {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
}

/* Стили для успешной отправки */
.form-success-animation {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Индикатор обязательных полей */
.form-input[required]::before {
    content: '*';
    color: #f44336;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

/* Стили для tooltips с подсказками */
.form-tooltip {
    position: relative;
    display: inline-block;
}

.form-tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.form-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Прогресс индикатор для многошаговых форм */
.form-progress {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.form-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Стили для GDPR checkbox */
.gdpr-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 15px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.gdpr-checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Стили для счетчика символов */
.char-counter {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.char-counter.warning {
    color: #ff9800;
}

.char-counter.error {
    color: #f44336;
}



/* Timeline Item */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Position years for zigzag pattern */
.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(odd) .timeline-year {
    margin-right: 40px;
    margin-left: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 0;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-year {
    margin-left: 40px;
    margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 0;
}

/* Timeline Year */
.timeline-year {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-radius: 50%;
    box-shadow: 
        0 10px 30px rgba(239, 195, 114, 0.3),
        0 0 0 8px rgba(255, 255, 255, 0.9),
        0 0 0 12px rgba(239, 195, 114, 0.2);
    z-index: 10; /* ВЫСОКИЙ Z-INDEX - кружки поверх линии */
    transition: all 0.3s ease;
}

.timeline-year:hover {
    transform: scale(1.1);
    box-shadow: 
        0 15px 40px rgba(239, 195, 114, 0.4),
        0 0 0 8px rgba(255, 255, 255, 0.9),
        0 0 0 16px rgba(239, 195, 114, 0.3);
}

.year-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Current year special styling - ОТКЛЮЧЕНО */
/*
.timeline-item.current-year .timeline-year {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(76, 175, 80, 0.3),
            0 0 0 8px rgba(255, 255, 255, 0.9),
            0 0 0 12px rgba(76, 175, 80, 0.2);
    }
    50% {
        box-shadow: 
            0 15px 40px rgba(76, 175, 80, 0.4),
            0 0 0 8px rgba(255, 255, 255, 0.9),
            0 0 0 20px rgba(76, 175, 80, 0.3);
    }
}
*/

/* Timeline Content */
.timeline-content {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2; /* Above timeline line */
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(239, 195, 114, 0.1);
}

.timeline-content:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(239, 195, 114, 0.3);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent white;
}

/* Timeline Content Multiple (для годов с несколькими событиями) */
.timeline-content-multiple {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.timeline-sub-content {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(239, 195, 114, 0.1);
}

.timeline-sub-content:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 8px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(239, 195, 114, 0.3);
}

/* Стрелка для множественного контента (только для первого элемента) */
.timeline-content-multiple::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-content-multiple::before {
    left: auto;
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent white;
}

/* Timeline Header */
.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(239, 195, 114, 0.2);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(239, 195, 114, 0.3);
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(239, 195, 114, 0.4);
}

/* Timeline Description */
.timeline-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* Achievement Tags */
.timeline-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.achievement-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(239, 195, 114, 0.1), rgba(239, 195, 114, 0.05));
    border: 1px solid rgba(239, 195, 114, 0.3);
    color: var(--color-accent-dark);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-tag:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: white;
    box-shadow: 0 5px 15px rgba(239, 195, 114, 0.4);
}

.achievement-tag::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: left 0.5s ease;
}

.achievement-tag:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .roadmap-timeline {
        padding: 20px 0;
    }
    
    .timeline-container {
        gap: 40px;
    }
    
    .timeline-line {
        display: none; /* Hide SVG line on mobile */
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column !important;
    }
    
        .timeline-item:nth-child(even) .timeline-content,
    .timeline-content {
        margin: 0;
        max-width: 100%;
    }

    .timeline-content-multiple {
        gap: 15px;
        max-width: 100%;
        margin: 0;
    }

    .timeline-sub-content {
        padding: 20px;
    }

    .timeline-content::before,
    .timeline-content-multiple::before {
        display: none; /* Hide arrows on mobile */
    }

    .timeline-year {
        width: 100px;
        height: 100px;
    }
    
    .year-number {
        font-size: 1.2rem;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .timeline-title {
        font-size: 1.3rem;
    }
    
    .timeline-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .achievement-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .timeline-year {
        width: 80px;
        height: 80px;
    }
    
    .year-number {
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-description p {
        font-size: 1rem;
    }
    
    /* Mobile adaptation for document badges */
    .doc-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        line-height: 1.2;
    }
    
    .document-badges {
        gap: 0.4rem;
        margin-top: 0.8rem;
    }
}