/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Professional Financial Theme */
    --primary-color: #1e3a8a; /* Deep Blue */
    --primary-light: #3b82f6;
    --secondary-color: #374151; /* Graphite */
    --accent-color: #10b981; /* Green for success/trust */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Отступ сверху при скролле к якорям */
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

html.no-transition {
    transition: none !important;
}

html.fade-out {
    opacity: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

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

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

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding-top: 40px;
    padding-bottom: var(--spacing-3xl);
    background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.hero-bars {
    position: absolute;
    left: 50%;
    bottom: -120px;
    transform: translateX(-50%);
    width: 900px;
    max-width: 100vw;
    height: 700px;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    pointer-events: none;
}

.hero-bar {
    border: none;
    border-radius: 24px;
    background: rgba(59, 130, 246, 0.18);
    width: 120px;
    margin: 0 18px;
    height: 0;
    opacity: 1;
    transition: height 1.8s cubic-bezier(0.4,0,0.2,1);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.5) 85%, rgba(0,0,0,0.15) 96%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.5) 85%, rgba(0,0,0,0.15) 96%, rgba(0,0,0,0) 100%);
}
.hero-bar-1 {}
.hero-bar-2 {}
.hero-bar-3 {}
.hero-bar-4 {}

.grow-1, .grow-2, .grow-3, .grow-4 { /* больше не нужны animation и --bar-height */ }

.hero-graphic {
    display: none !important;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.hero-emblema {
    position: relative;
    z-index: 1;
    width: 400px;
    height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Section Styles */
.section-header {
    margin-top: 90px;
    margin-bottom: 1.5em;
    text-align: center;
}

.section-header .section-title.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.1em;
    margin-top: 0;
    line-height: 1.15;
}

.section-header .terms-date {
    color: #6b7280;
    font-size: 1.05rem;
    margin: 0 auto 1.7em auto;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 2em;
}
.legal-content h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}
.legal-content p, .legal-content ul {
    font-size: 1rem;
    margin-bottom: 1em;
    color: #222;
}
.legal-content ul {
    padding-left: 1.2em;
}

@media (max-width: 600px) {
  .section-header {
    margin-top: 70px;
  }
  .section-header .section-title.page-title {
    font-size: 1.2rem;
  }
  .legal-content {
    padding-left: 0.2em;
    padding-right: 0.2em;
  }
  .legal-content h2 {
    font-size: 1rem;
  }
}

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

/* Services Section */
.services {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-white);
    position: relative;
    overflow: hidden;
}

/* Background animation for services section */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(30, 58, 138, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

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

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

.service-card {
    background: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    transition: all 0.3s ease;
    animation: floatIcon 3s ease-in-out infinite;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.service-card:hover .service-icon::after {
    opacity: 0.3;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
    animation: pulseIcon 1s ease-in-out;
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    transition: color 0.3s ease;
    position: relative;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.service-card:hover .service-title::after {
    width: 100%;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover .service-description {
    color: var(--text-primary);
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.service-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-link:hover {
    gap: var(--spacing-sm);
    color: var(--primary-light);
}

/* Animation keyframes */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered animations for service cards */
.service-card:nth-child(1) { 
    animation-delay: 0.1s; 
    animation-name: slideInFromLeft;
}
.service-card:nth-child(2) { 
    animation-delay: 0.2s; 
    animation-name: fadeInUp;
}
.service-card:nth-child(3) { 
    animation-delay: 0.3s; 
    animation-name: slideInFromRight;
}
.service-card:nth-child(4) { 
    animation-delay: 0.4s; 
    animation-name: fadeInUp;
}

/* Floating particles background */
.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(59, 130, 246, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(16, 185, 129, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(30, 58, 138, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(59, 130, 246, 0.1), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(16, 185, 129, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: floatParticles 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-100px);
    }
}

/* Enhanced Why Us Section */
.why-us {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.02) 0%, 
        rgba(16, 185, 129, 0.03) 50%, 
        rgba(59, 130, 246, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background elements */
.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.why-us .container {
    position: relative;
    z-index: 2;
}

/* Floating geometric shapes */
.why-us::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 25px 50px, rgba(59, 130, 246, 0.1), transparent),
        radial-gradient(2px 2px at 75px 25px, rgba(16, 185, 129, 0.1), transparent),
        radial-gradient(2px 2px at 125px 75px, rgba(30, 58, 138, 0.1), transparent),
        radial-gradient(3px 3px at 175px 30px, rgba(59, 130, 246, 0.1), transparent),
        radial-gradient(2px 2px at 225px 70px, rgba(16, 185, 129, 0.1), transparent);
    background-repeat: repeat;
    background-size: 250px 100px;
    animation: floatShapes 25s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatShapes {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    position: relative;
    transition: all 0.4s ease;
    animation: floatIcon 4s ease-in-out infinite;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotateGradient 3s linear infinite;
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.feature-item:hover .feature-icon::before {
    opacity: 0.3;
}

.feature-icon i {
    font-size: 2.2rem;
    color: white;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-item:hover .feature-icon i {
    transform: scale(1.2);
    animation: pulseIcon 1s ease-in-out;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    transition: color 0.3s ease;
    position: relative;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.feature-item:hover .feature-title::after {
    width: 60px;
}

.feature-item:hover .feature-title {
    color: var(--primary-color);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: var(--font-size-base);
    transition: color 0.3s ease;
}

.feature-item:hover .feature-description {
    color: var(--text-primary);
}

/* Enhanced staggered animations for feature items */
.feature-item:nth-child(1) { 
    animation-delay: 0.1s; 
    animation-name: slideInFromLeft;
}
.feature-item:nth-child(2) { 
    animation-delay: 0.2s; 
    animation-name: fadeInUp;
}
.feature-item:nth-child(3) { 
    animation-delay: 0.3s; 
    animation-name: slideInFromRight;
}
.feature-item:nth-child(4) { 
    animation-delay: 0.4s; 
    animation-name: slideInFromLeft;
}
.feature-item:nth-child(5) { 
    animation-delay: 0.5s; 
    animation-name: fadeInUp;
}
.feature-item:nth-child(6) { 
    animation-delay: 0.6s; 
    animation-name: slideInFromRight;
}

/* Additional keyframes for enhanced animations */
@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

/* Enhanced section header */
.why-us .section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.why-us .section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    position: relative;
}

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

.why-us .section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .feature-item {
        padding: var(--spacing-lg);
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .why-us .section-title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-item {
        padding: var(--spacing-md);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* CTA Section */
.cta {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: white;
}

.cta-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

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

.footer-logo .logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-md);
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Адаптация анимированных линий для мобильных */
    .blockchain-line {
        opacity: 0.4;
        animation-duration: 15s;
    }
    
    .blockchain-line.vertical {
        height: 40px;
        animation-duration: 12s;
    }
    
    .blockchain-line.diagonal {
        width: 60px;
        animation-duration: 25s;
    }
    
    .connection-dot {
        width: 1px;
        height: 1px;
        animation-duration: 3s;
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        width: 100vw;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        background: white;
        text-align: center;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 3000;
        transition: height 0.3s cubic-bezier(.4,2,.6,1), padding 0.3s;
    }
    .nav-menu.active {
        height: calc(100vh - 70px);
        padding: 0 !important;
        overflow: auto;
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
    }
    .nav-menu .nav-item,
    .nav-menu .nav-link {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: none !important;
    }
    
    .nav-menu .nav-item:first-child {
        margin-top: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-graphic {
        width: 300px;
        height: 300px;
    }
    
    .hero-graphic i {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .cta-title {
        font-size: var(--font-size-3xl);
    }
    .nav-menu {
        padding-top: 24px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* Отключение анимации на очень маленьких экранах для производительности */
    .blockchain-line,
    .blockchain-line.vertical,
    .blockchain-line.diagonal {
        display: none;
    }
    
    .connection-dot {
        display: none;
    }
    
    .hero {
        padding: 100px 0 var(--spacing-2xl);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
    
    .hero-graphic {
        width: 250px;
        height: 250px;
    }
    
    .hero-graphic i {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

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

.service-card,
.feature-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-text {
    color: #2563eb;
    font-weight: 700;
    font-size: 2rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

.fade-in-emblema {
    opacity: 0;
    animation: fadeInEmblema 1.2s ease 0.2s forwards;
}
@keyframes fadeInEmblema {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.services-cards {
    padding: 60px 0 40px 0;
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

/* Анимированные цифровые цепочки - упрощенная версия */
.services-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.1) 50%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.08) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Движущиеся линии блокчейна */
.blockchain-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.blockchain-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.6) 20%, 
        rgba(16, 185, 129, 0.7) 50%, 
        rgba(59, 130, 246, 0.6) 80%, 
        transparent 100%);
    animation: moveLine 8s linear infinite;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
}

.blockchain-line:nth-child(1) {
    top: 20%;
    width: 150px;
    animation-delay: 0s;
    animation-duration: 10s;
}

.blockchain-line:nth-child(2) {
    top: 40%;
    width: 120px;
    animation-delay: -2s;
    animation-duration: 12s;
}

.blockchain-line:nth-child(3) {
    top: 60%;
    width: 180px;
    animation-delay: -4s;
    animation-duration: 8s;
}

.blockchain-line:nth-child(4) {
    top: 80%;
    width: 100px;
    animation-delay: -6s;
    animation-duration: 14s;
}

.blockchain-line:nth-child(5) {
    top: 30%;
    width: 140px;
    animation-delay: -1s;
    animation-duration: 11s;
}

.blockchain-line:nth-child(6) {
    top: 70%;
    width: 160px;
    animation-delay: -3s;
    animation-duration: 9s;
}

/* Вертикальные линии */
.blockchain-line.vertical {
    width: 3px;
    height: 80px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.5) 20%, 
        rgba(16, 185, 129, 0.6) 50%, 
        rgba(59, 130, 246, 0.5) 80%, 
        transparent 100%);
    animation: moveVerticalLine 6s linear infinite;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.3);
}

.blockchain-line.vertical:nth-child(7) {
    left: 25%;
    animation-delay: -1s;
    animation-duration: 8s;
}

.blockchain-line.vertical:nth-child(8) {
    left: 50%;
    animation-delay: -3s;
    animation-duration: 10s;
}

.blockchain-line.vertical:nth-child(9) {
    left: 75%;
    animation-delay: -5s;
    animation-duration: 7s;
}

.blockchain-line.vertical:nth-child(10) {
    left: 15%;
    animation-delay: -2s;
    animation-duration: 9s;
}

/* Диагональные линии */
.blockchain-line.diagonal {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.4) 30%, 
        rgba(16, 185, 129, 0.5) 70%, 
        transparent 100%);
    transform: rotate(45deg);
    animation: moveDiagonalLine 15s linear infinite;
    box-shadow: 0 0 4px rgba(59, 130, 246, 0.3);
}

.blockchain-line.diagonal:nth-child(11) {
    top: 25%;
    left: 20%;
    animation-delay: -2s;
    animation-duration: 18s;
}

.blockchain-line.diagonal:nth-child(12) {
    top: 65%;
    left: 60%;
    animation-delay: -8s;
    animation-duration: 12s;
}

.blockchain-line.diagonal:nth-child(13) {
    top: 45%;
    left: 40%;
    animation-delay: -5s;
    animation-duration: 20s;
}

/* Анимации движения - упрощенные */
@keyframes moveLine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

@keyframes moveVerticalLine {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes moveDiagonalLine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(100vh) rotate(45deg);
        opacity: 0;
    }
}

/* Точки соединения */
.connection-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.connection-dot:nth-child(14) {
    top: 35%;
    left: 30%;
    animation-delay: 0s;
}

.connection-dot:nth-child(15) {
    top: 55%;
    left: 55%;
    animation-delay: 0.5s;
}

.connection-dot:nth-child(16) {
    top: 75%;
    left: 70%;
    animation-delay: 1s;
}

.connection-dot:nth-child(17) {
    top: 45%;
    left: 80%;
    animation-delay: 1.5s;
}

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

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 3;
}

.service-card-detailed {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    padding: 36px 28px 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1.5px solid var(--border-color);
    position: relative;
    overflow: hidden;
    min-height: 520px;
}
.service-card-detailed:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-6px) scale(1.025);
    border-color: var(--primary-light);
}
.service-icon-large {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.service-icon-large i {
    color: #fff;
    font-size: 2rem;
}
.service-title-large {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.service-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 18px;
}
.service-description-detailed {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 18px;
}
.service-list {
    margin-left: 18px;
    margin-bottom: 12px;
}
.service-list li {
    margin-bottom: 6px;
    font-size: 1rem;
}
.features-grid-small {
    display: flex;
    gap: 18px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.feature-small {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f6fd;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.98rem;
    color: var(--primary-color);
    font-weight: 500;
}
.feature-small i {
    color: var(--primary-light);
    font-size: 1.1rem;
}
.service-cta {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.service-cta .btn {
    min-width: 180px;
}

.process-roadmap {
    padding: 60px 0 40px 0;
    background: #fff;
}
.roadmap-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin-top: 48px;
    gap: 0;
}
.roadmap-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 7%;
    right: 7%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    z-index: 0;
    border-radius: 2px;
    transform: translateY(-50%);
}
.roadmap-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    min-width: 180px;
    animation: fadeInUp 1s both;
}
.roadmap-step:nth-child(1) { animation-delay: 0.1s; }
.roadmap-step:nth-child(2) { animation-delay: 0.3s; }
.roadmap-step:nth-child(3) { animation-delay: 0.5s; }
.roadmap-step:nth-child(4) { animation-delay: 0.7s; }
.roadmap-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(59,130,246,0.10);
    border: 4px solid #fff;
}
.roadmap-content {
    background: #f9fafb;
    border-radius: 14px;
    padding: 18px 16px 12px 16px;
    box-shadow: 0 1px 4px rgba(59,130,246,0.06);
    margin-bottom: 0;
    min-width: 160px;
    min-height: 90px;
    text-align: center;
}
.roadmap-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.roadmap-content p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
    
    /* Адаптация анимированных линий для планшетов */
    .blockchain-line {
        opacity: 0.6;
    }
    
    .blockchain-line.vertical {
        height: 60px;
    }
    
    .blockchain-line.diagonal {
        width: 80px;
    }
    
    .connection-dot {
        width: 2px;
        height: 2px;
    }
    
    .roadmap-line {
        flex-direction: column;
        gap: 48px;
    }
    .roadmap-line::before {
        top: 0;
        left: 50%;
        right: auto;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
        transform: translateX(-50%);
    }
    .roadmap-step {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 0;
    }
    .roadmap-circle {
        margin-bottom: 0;
        margin-right: 24px;
    }
    .roadmap-content {
        min-width: 0;
        text-align: left;
    }
}

.about-company-block {
    padding: 60px 0 40px 0;
    background: var(--background-light);
}
.about-company-grid {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-text {
    flex: 2;
    min-width: 320px;
}
.about-stats-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 220px;
}
.stat-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    padding: 28px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1.5px solid var(--border-color);
    transition: box-shadow 0.3s, transform 0.3s;
}
.stat-card:hover {
    box-shadow: var(--shadow-large);
    transform: scale(1.04);
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.stat-label {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.team-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
    margin-top: 36px;
}
.team-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-light);
    padding: 32px 20px 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1.5px solid var(--border-color);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.team-card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-5px) scale(1.025);
    border-color: var(--primary-light);
}
.member-photo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.member-photo i {
    color: #fff;
    font-size: 2rem;
}
.member-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}
.member-position {
    color: var(--primary-light);
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 500;
}
.member-description {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 12px;
}
.member-expertise {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.expertise-tag {
    background: #f3f6fd;
    color: var(--primary-color);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 0.92rem;
    font-weight: 500;
}

.experience-timeline-roadmap {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
    position: relative;
}
.experience-timeline-roadmap::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    border-radius: 2px;
    z-index: 0;
}
.timeline-item-roadmap {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s both;
}
.timeline-item-roadmap:nth-child(1) { animation-delay: 0.1s; }
.timeline-item-roadmap:nth-child(2) { animation-delay: 0.3s; }
.timeline-item-roadmap:nth-child(3) { animation-delay: 0.5s; }
.timeline-item-roadmap:nth-child(4) { animation-delay: 0.7s; }
.timeline-year {
    min-width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(59,130,246,0.10);
    border: 4px solid #fff;
    margin-right: 8px;
    margin-top: 0;
}
.timeline-content {
    background: #f9fafb;
    border-radius: 14px;
    padding: 18px 16px 12px 16px;
    box-shadow: 0 1px 4px rgba(59,130,246,0.06);
    min-width: 220px;
    min-height: 70px;
}
.timeline-content h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    margin-bottom: 0;
}

.values-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 36px;
}
.value-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    padding: 28px 18px 22px 18px;
    text-align: center;
    border: 1.5px solid var(--border-color);
    transition: box-shadow 0.3s, transform 0.3s;
}
.value-card:hover {
    box-shadow: var(--shadow-large);
    transform: scale(1.04);
}
.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.value-icon i {
    color: #fff;
    font-size: 1.3rem;
}
.value-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.value-card p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .about-company-grid {
        flex-direction: column;
        gap: 32px;
    }
    .experience-timeline-roadmap::before {
        left: 16px;
    }
    .timeline-item-roadmap {
        gap: 16px;
    }
}

section, .experience-section-spaced {
    margin-bottom: 80px;
    margin-top: 80px;
}

.experience-timeline-zigzag {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0 60px 0;
}
.experience-timeline-zigzag::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 0;
}
.timeline-item-zigzag {
    position: relative;
    width: 50%;
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    animation: timelineFadeIn 1s forwards;
}
.timeline-item-zigzag.left {
    left: 0;
    flex-direction: row-reverse;
    animation-delay: 0.2s;
}
.timeline-item-zigzag.right {
    left: 50%;
    animation-delay: 0.5s;
}
.timeline-item-zigzag.left .timeline-content-zigzag {
    margin-right: 32px;
    align-items: flex-end;
}
.timeline-item-zigzag.right .timeline-content-zigzag {
    margin-left: 32px;
    align-items: flex-start;
}
.timeline-year {
    min-width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(59,130,246,0.10);
    border: 4px solid #fff;
    margin-top: 0;
    z-index: 2;
}
.timeline-content-zigzag {
    background: #f9fafb;
    border-radius: 14px;
    padding: 18px 24px 12px 24px;
    box-shadow: 0 1px 8px rgba(59,130,246,0.10);
    min-width: 260px;
    min-height: 70px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.timeline-content-zigzag h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.timeline-content-zigzag p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    margin-bottom: 0;
}
.timeline-content-zigzag::after {
    content: '';
    position: absolute;
    top: 28px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}
.timeline-item-zigzag.left .timeline-content-zigzag::after {
    right: -20px;
    border-left: 10px solid #f9fafb;
    border-right: 0;
}
.timeline-item-zigzag.right .timeline-content-zigzag::after {
    left: -20px;
    border-right: 10px solid #f9fafb;
    border-left: 0;
}
@keyframes timelineFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 900px) {
    .experience-timeline-zigzag::before {
        left: 16px;
    }
    .timeline-item-zigzag {
        width: 100%;
        left: 0 !important;
        flex-direction: row !important;
        margin-bottom: 40px;
    }
    .timeline-item-zigzag.left .timeline-content-zigzag,
    .timeline-item-zigzag.right .timeline-content-zigzag {
        margin-left: 24px;
        margin-right: 0;
        align-items: flex-start;
    }
}

.contact-section-modern {
    padding: 60px 0 40px 0;
    background: var(--background-light);
}
.contact-content-modern {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contact-info-cards {
    flex: 1.2;
    min-width: 320px;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}
.contact-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    padding: 32px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1.5px solid var(--border-color);
    transition: box-shadow 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    min-height: 170px;
    height: 100%;
    text-align: center;
}
.contact-card > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }
.contact-card:hover {
    box-shadow: var(--shadow-large);
    transform: scale(1.04);
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.contact-icon i {
    color: #fff;
    font-size: 1.2rem;
}
.contact-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}
.contact-card p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    margin-bottom: 0;
}

.contact-form-modern-container {
    flex: 1.5;
    min-width: 340px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    padding: 36px 32px 32px 32px;
    border: 1.5px solid var(--border-color);
    animation: fadeInUp 1.2s 0.5s forwards;
    opacity: 0;
    transform: translateY(30px);
}
.contact-form-modern-container.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}
.contact-form-modern h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-align: left;
}
.form-row {
    display: flex;
    gap: 18px;
    margin-bottom: 0;
}
.form-group-modern {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    padding-top: 14px;
}
@media (max-width: 700px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
.form-group-modern select,
.form-group-modern textarea {
    width: 100%;
}
.form-group-modern label[for="service"] {
    margin-bottom: 6px;
    position: static;
    left: auto;
    bottom: auto;
    font-size: 1rem;
    color: var(--text-secondary);
    background: none;
    padding: 0;
    pointer-events: auto;
    transition: none;
}
.form-group-modern input,
.form-group-modern textarea,
.form-group-modern select {
    width: 100%;
    padding: 14px 14px 14px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    background: #f9fafb;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: none;
    resize: none;
    z-index: 1;
}
.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.form-group-modern label {
    position: absolute;
    left: 18px;
    bottom: 16px;
    font-size: 1rem;
    color: var(--text-secondary);
    background: transparent;
    pointer-events: none;
    transition: all 0.22s cubic-bezier(.4,0,.2,1);
    padding: 0 6px;
    z-index: 2;
}
.form-group-modern input:focus + label,
.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern textarea:focus + label,
.form-group-modern textarea:not(:placeholder-shown) + label {
    top: -7px;
    left: 12px;
    bottom: auto;
    font-size: 0.93rem;
    color: var(--primary-color);
    background: #fff;
    padding: 0 8px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(59,130,246,0.04);
    line-height: 1.1;
    max-width: calc(100% - 24px);
    /* white-space: nowrap; убрано */
}
@media (max-width: 700px) {
    .form-group-modern label {
        left: 12px;
        font-size: 0.98rem;
    }
    .form-group-modern input:focus + label,
    .form-group-modern input:not(:placeholder-shown) + label,
    .form-group-modern textarea:focus + label,
    .form-group-modern textarea:not(:placeholder-shown) + label {
        top: -5px;
        left: 8px;
        font-size: 0.91rem;
        max-width: calc(100% - 12px);
    }
}
.form-group-modern select:focus + label,
.form-group-modern select:not([value=""]) + label {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-size: 1rem;
    color: var(--text-secondary);
    background: transparent;
    padding: 0 4px;
}
.form-group-modern select:invalid + label {
    color: var(--text-secondary);
}
.checkbox-group-modern {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
#privacy-label {
    margin: 0;
    padding: 0;
    display: inline;
    line-height: 1.4;
}
.checkbox-group-modern input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}
.checkbox-group-modern label {
    position: static;
    font-size: 1rem;
    color: var(--text-secondary);
    background: none;
    padding: 0;
    margin: 0;
    transition: none;
    line-height: 1.4;
    flex: 1;
    pointer-events: auto;
}
.checkbox-group-modern a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
}
.checkbox-group-modern a:hover {
    color: var(--primary-light);
}
.btn-animate {
    transition: background 0.3s, transform 0.2s;
}
.btn-animate:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 900px) {
    .contact-content-modern {
        flex-direction: column;
        gap: 32px;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-modern-container {
        padding: 24px 10px 20px 10px;
    }
}

.faq-section, .map-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.1s 0.5s forwards;
}

.faq-list-modern {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.faq-item-modern {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-light);
    border: 1.5px solid var(--border-color);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.faq-item-modern.active {
    box-shadow: var(--shadow-large);
    border-color: var(--primary-light);
}
.faq-question-modern {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 22px 28px;
    cursor: pointer;
    transition: background 0.2s;
    gap: 18px;
}
.faq-question-modern:hover {
    background: #f3f6fd;
}
.faq-question-modern i {
    font-size: 1.1rem;
    transition: transform 0.3s;
}
.faq-item-modern.active .faq-question-modern i {
    transform: rotate(180deg);
}
.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    background: #f9fafb;
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 0 28px;
    transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.faq-item-modern.active .faq-answer-modern {
    padding: 0 28px 18px 28px;
    max-height: 300px;
}

.map-section-modern {
    position: relative;
    padding: 60px 0 40px 0;
    /* background: var(--background-light); убрано */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.1s 0.7s forwards;
    overflow: hidden;
}
.map-section-modern::before {
    content: '';
    position: absolute;
    left: -40%;
    top: -40%;
    width: 180%;
    height: 180%;
    background: linear-gradient(120deg, #b3cfff 0%, #e3eaff 40%, #f3f6fd 60%, #b3cfff 100%);
    opacity: 0.55;
    z-index: 0;
    animation: mapBgMove 8s linear infinite alternate;
    border-radius: 30%;
}
.map-section-modern::after {
    content: '';
    position: absolute;
    left: 10%;
    top: 30%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #b3cfff55 0%, #e3eaff00 80%);
    filter: blur(32px);
    opacity: 0.35;
    z-index: 0;
    animation: mapBgCircle 10s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes mapBgMove {
    0% { transform: translateX(0) scale(1.05); }
    100% { transform: translateX(120px) scale(1.12); }
}
@keyframes mapBgCircle {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-40px) scale(1.08); }
}
.map-section-modern > .container,
.map-section-modern .map-content-modern {
    position: relative;
    z-index: 1;
}
.map-content-modern {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}
@media (max-width: 900px) {
    .map-content-modern {
        flex-direction: column;
        gap: 18px;
    }
}
.map-modern {
    flex: 1;
    min-width: 400px;
    max-width: 650px;
}
.map-embed {
    width: 100%;
    height: 340px;
}
@media (max-width: 700px) {
    .map-modern {
        min-width: 0;
        max-width: 100%;
    }
    .map-embed {
        height: 220px;
    }
}
.map-embed iframe {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    border: 0;
}
.map-embed i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}
.map-embed p {
    font-size: 1.08rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4px;
}
.map-embed small {
    color: var(--text-secondary);
    font-size: 0.98rem;
}
@media (max-width: 700px) {
    .faq-list-modern {
        max-width: 100%;
    }
    .map-embed {
        min-width: 0;
        padding: 24px 8px 16px 8px;
    }
}

/* Language Switcher - красивый стиль с флагами */
.language-toggle {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-lg);
    position: relative;
    z-index: 10;
}

.language-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--background-color, #fff);
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 40px 8px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    min-width: 90px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    outline: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23999" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
}

.language-select:focus,
.language-select:hover {
    border-color: var(--primary-dark, #3b3bff);
    background-color: var(--primary-light, #f5f7ff);
    color: var(--primary-dark, #3b3bff);
    box-shadow: 0 4px 16px rgba(99,102,241,0.08);
}

.language-select option {
    color: #222;
    font-weight: 500;
}

.language-toggle i.fa-globe {
    display: none;
}

@media (max-width: 768px) {
    .language-toggle {
        margin-left: var(--spacing-sm);
    }
    .language-select {
        font-size: 0.95rem;
        min-width: 60px;
        padding: 6px 32px 6px 14px;
    }
}

/* Running Text Banner */
.running-text-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 44px 0 44px 0;
    margin-bottom: var(--spacing-xl);
    z-index: 9999;
    isolation: isolate;
}

.running-text-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 10000;
}

.running-text {
    display: flex;
    white-space: nowrap;
    /* animation: scrollText 30s linear infinite; */
    position: relative;
    z-index: 10001;
}

.running-text span {
    color: white;
    font-weight: 500;
    font-size: var(--font-size-lg);
    margin-right: var(--spacing-xl);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10002;
    transform: translateZ(0);
}

.running-text span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-0.5px) translateZ(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10003;
}

.running-text-link {
    color: white;
    font-weight: 500;
    font-size: var(--font-size-lg);
    margin-right: var(--spacing-xl);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
    z-index: 10002;
    transform: translateZ(0);
}

.running-text-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-0.5px) translateZ(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
    z-index: 10003;
}

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

/* Responsive adjustments for running text */
@media (max-width: 768px) {
    .running-text span {
        font-size: var(--font-size-base);
        margin-right: var(--spacing-lg);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .running-text {
        animation: scrollText 20s linear infinite;
    }
}

@media (max-width: 480px) {
    .running-text span {
        font-size: var(--font-size-sm);
        margin-right: var(--spacing-md);
        padding: var(--spacing-xs);
    }
    
    .running-text {
        animation: scrollText 15s linear infinite;
    }
}

@media (max-width: 480px) {
    /* Скрыть эмблему и ступеньки на главной */
    .hero-emblema,
    .hero-bars {
        display: none !important;
    }
    /* Уменьшить шрифты и отступы в hero */
    .hero-title {
        font-size: 2rem;
        word-break: break-word;
        text-align: left;
    }
    .hero-description {
        font-size: 1rem;
        text-align: left;
        word-break: break-word;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .btn {
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
        justify-content: center;
    }
    .container, .hero-container {
        padding: 0 10px;
        box-sizing: border-box;
        max-width: 100vw;
    }
    body {
        overflow-x: hidden;
    }
    /* Карточки услуг и секции */
    .services-grid, .features-grid, .team-grid-cards, .about-stats-grid, .values-grid-cards {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }
    .service-card, .feature-item, .team-card, .stat-card, .value-card {
        padding: 16px;
        font-size: 1rem;
    }
    /* Заголовки секций */
    .section-title {
        font-size: 1.3rem;
        word-break: break-word;
    }
    /* Шапка */
    .nav-logo .logo-img {
        height: 32px;
    }
    .nav-logo .logo-text {
        font-size: 1.1rem;
    }
    .nav-container {
        height: 54px;
        padding: 0 8px;
    }
    .nav-menu {
        font-size: 1.1rem;
    }
    /* Убрать горизонтальный скролл везде */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    .roadmap-circle {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
        border-radius: 50% !important;
        font-size: 1.1rem !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 14px;
    }
    .nav-menu {
        top: 54px !important;
    }
    .nav-menu.active {
        height: calc(100vh - 54px) !important;
        padding-bottom: 0 !important;
    }
} 

.form-success-msg {
    display: none;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(16,185,129,0.10);
    text-align: center;
    margin: 24px auto 0 auto;
    max-width: 420px;
    z-index: 100;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s;
}
.form-success-msg.show {
    display: block;
    opacity: 1;
}

/* Стили для страницы благодарности */
.thank-you-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-gradient);
}

.thank-you-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.thank-you-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Стили для страницы благодарности */
.thank-you-section {
    min-height: calc(100vh - 300px);
    padding: 80px 0;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
}

.thank-you-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.thank-you-message {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thank-you-actions .btn {
    min-width: 200px;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .thank-you-section {
        padding: 40px 20px;
    }
    
    .thank-you-content {
        padding: 2rem;
    }
    
    .thank-you-title {
        font-size: 1.75rem;
    }
    
    .thank-you-actions .btn {
        width: 100%;
    }
}

.address-tile {
    min-width: 260px;
    max-width: 340px;
    background: linear-gradient(90deg, #f3f6fd 0%, #fff 100%);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(59,130,246,0.10);
    padding: 26px 24px 22px 20px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.08rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
    border-left: 6px solid var(--primary-color);
    transition: box-shadow 0.2s;
}
.address-tile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.address-tile-header i {
    font-size: 1.35em;
    color: var(--primary-color);
}
.address-tile-header span {
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.address-tile-body {
    line-height: 1.6;
    color: var(--text-primary);
    font-size: 1.07em;
    font-weight: 400;
}
.address-tile:hover {
    box-shadow: 0 8px 32px rgba(59,130,246,0.16);
}

.map-section-modern > .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    opacity: 0;
    animation: fadeInUpTitle 1s cubic-bezier(0.4,0,0.2,1) 0.1s forwards;
}
.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}
.page-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    text-align: center;
    margin: 0 auto var(--spacing-2xl) auto;
    max-width: 700px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUpTitle 1s cubic-bezier(0.4,0,0.2,1) 0.4s forwards;
}
@keyframes fadeInUpTitle {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-bg-icons-desktop, .experience-bg-icons-desktop {
    display: none;
}
@media (min-width: 1100px) {
    .faq-bg-icons-desktop {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
    }
    .faq-bg-icon {
        position: absolute;
        color: #b3d4fc;
        opacity: 0.7;
        filter: none;
        transition: opacity 0.7s, transform 0.7s;
        user-select: none;
        pointer-events: none;
        z-index: 0;
        animation: floatFaqIcon 5s ease-in-out infinite;
    }
    .faq-bg-icon-1 { left: 2vw; top: 30px; font-size: 140px; transform: rotate(-18deg); opacity: 0.6; animation-delay: 0s; }
    .faq-bg-icon-2 { right: 2vw; top: 60px; font-size: 110px; transform: rotate(15deg); opacity: 0.6; animation-delay: 1.2s; }
    .faq-bg-icon-3 { left: 5vw; bottom: 40px; font-size: 90px; transform: rotate(-8deg); opacity: 0.45; animation-delay: 2.1s; }
    .faq-bg-icon-4 { right: 5vw; bottom: 30px; font-size: 80px; transform: rotate(10deg); opacity: 0.4; animation-delay: 3.1s; }
    .faq-bg-icon-5 { left: 18vw; top: 120px; font-size: 70px; transform: rotate(-12deg); opacity: 0.35; animation-delay: 1.7s; }
    .faq-bg-icon-6 { right: 18vw; bottom: 120px; font-size: 60px; transform: rotate(22deg); opacity: 0.3; animation-delay: 2.7s; }
    .faq-list-modern { position: relative; z-index: 2; }
}
@keyframes floatFaqIcon {
    0% { transform: translateY(0) scale(1) rotate(var(--icon-rot,0deg)); }
    50% { transform: translateY(-18px) scale(1.03) rotate(calc(var(--icon-rot,0deg) + 4deg)); }
    100% { transform: translateY(0) scale(1) rotate(var(--icon-rot,0deg)); }
}

@media (min-width: 1100px) {
    .experience-bg-icons-desktop {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
    }
    .experience-bg-icon {
        position: absolute;
        color: #b3d4fc;
        opacity: 0.7;
        filter: none;
        transition: opacity 0.7s, transform 0.7s;
        user-select: none;
        pointer-events: none;
        z-index: 0;
        animation: floatExpIcon 6s ease-in-out infinite;
    }
    .experience-bg-icon-1 { left: 3vw; top: 30px; font-size: 120px; transform: rotate(-12deg); opacity: 0.6; animation-delay: 0.3s; }
    .experience-bg-icon-2 { right: 3vw; top: 80px; font-size: 100px; transform: rotate(18deg); opacity: 0.6; animation-delay: 1.5s; }
    .experience-bg-icon-3 { left: 40vw; top: 180px; font-size: 80px; transform: rotate(-8deg); opacity: 0.45; animation-delay: 2.3s; }
    .experience-bg-icon-4 { right: 40vw; bottom: 60px; font-size: 70px; transform: rotate(10deg); opacity: 0.4; animation-delay: 3.3s; }
    .experience-bg-icon-5 { left: 15vw; bottom: 120px; font-size: 90px; transform: rotate(-20deg); opacity: 0.35; animation-delay: 2.1s; }
    .experience-bg-icon-6 { right: 15vw; bottom: 100px; font-size: 60px; transform: rotate(25deg); opacity: 0.3; animation-delay: 3.7s; }
    .experience-bg-icon-7 { left: 60vw; top: 60px; font-size: 70px; transform: rotate(8deg); opacity: 0.32; animation-delay: 1.9s; }
    .experience-timeline-zigzag, .roadmap-line { position: relative; z-index: 2; }
    .experience-section, .process-roadmap { position: relative; z-index: 1; }
}
@keyframes floatExpIcon {
    0% { transform: translateY(0) scale(1) rotate(var(--icon-rot,0deg)); }
    50% { transform: translateY(-22px) scale(1.04) rotate(calc(var(--icon-rot,0deg) + 6deg)); }
    100% { transform: translateY(0) scale(1) rotate(var(--icon-rot,0deg)); }
}

@media (min-width: 1100px) {
    .process-bg-icons-desktop {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
    }
    .process-bg-icon {
        position: absolute;
        color: #b3d4fc;
        opacity: 0.13;
        filter: none;
        transition: opacity 0.7s, transform 0.7s;
        user-select: none;
        pointer-events: none;
        z-index: 0;
        animation: floatProcessIcon 7s ease-in-out infinite;
    }
    .process-bg-icon-1 { left: 13vw; top: 90px; font-size: 120px; transform: rotate(-10deg); animation-delay: 0s; }
    .process-bg-icon-2 { left: 36vw; top: 180px; font-size: 110px; transform: rotate(8deg); animation-delay: 1.5s; }
    .process-bg-icon-3 { left: 59vw; top: 120px; font-size: 110px; transform: rotate(-7deg); animation-delay: 2.7s; }
    .process-bg-icon-4 { left: 81vw; top: 90px; font-size: 120px; transform: rotate(12deg); animation-delay: 4.1s; }
    .process-roadmap { position: relative; z-index: 1; }
}
@keyframes floatProcessIcon {
    0% { transform: translateY(0) scale(1) rotate(var(--icon-rot,0deg)); }
    50% { transform: translateY(-16px) scale(1.03) rotate(calc(var(--icon-rot,0deg) + 4deg)); }
    100% { transform: translateY(0) scale(1) rotate(var(--icon-rot,0deg)); }
}

@media (max-width: 1099px) {
  .process-bg-icons-desktop {
    display: none !important;
  }
}

.expertise-tag {
    background: #f3f6fd;
    color: var(--primary-color);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 0.92rem;
    font-weight: 500;
}

/* Team Specialists Section */
.team-specialists-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.team-specialists-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,0 50,14.4 50,28.9 25,43.3 0,28.9 0,14.4" fill="none" stroke="%23667eea" stroke-width="0.5" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: 0.6;
    z-index: 0;
}

.team-specialists-section .container {
    position: relative;
    z-index: 1;
}

.team-specialists-section .section-title {
    color: var(--primary-color);
    text-shadow: none;
}

.team-specialists-section .section-subtitle {
    color: var(--text-secondary);
}

.specialists-showcase {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 60px;
}

.specialist-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
    animation: slideInSpecialist 0.8s forwards;
}

.specialist-item:nth-child(1) { animation-delay: 0.1s; }
.specialist-item:nth-child(2) { animation-delay: 0.2s; }
.specialist-item:nth-child(3) { animation-delay: 0.3s; }
.specialist-item:nth-child(4) { animation-delay: 0.4s; }
.specialist-item:nth-child(5) { animation-delay: 0.5s; }

.specialist-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.specialist-item:hover::before {
    transform: scaleX(1);
}

.specialist-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.12);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(102, 126, 234, 0.2);
}

.specialist-visual {
    position: relative;
    flex-shrink: 0;
}

.specialist-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
    border: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.specialist-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.13), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.specialist-icon-wrapper i {
    color: #fff;
    font-size: 2rem;
    z-index: 1;
    position: relative;
}

.specialist-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    border: 2px solid #fff;
}

.specialist-content {
    flex: 1;
}

.specialist-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.3;
    position: relative;
}

.specialist-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.specialist-item:hover .specialist-title::after {
    width: 100px;
}

.specialist-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.specialist-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

@media (max-width: 768px) {
    .team-specialists-section {
        padding: 60px 0;
    }
    
    .specialists-showcase {
        gap: 24px;
        margin-top: 40px;
    }
    
    .specialist-item {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }
    
    .specialist-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .specialist-icon-wrapper i {
        font-size: 1.8rem;
    }
    
    .specialist-title {
        font-size: 1.2rem;
    }
    
    .specialist-description {
        font-size: 1rem;
    }
    
    .specialist-tags {
        justify-content: center;
    }
    
    .tag {
        font-size: 0.85rem;
        padding: 5px 14px;
    }
}

@media (max-width: 480px) {
    .specialist-item {
        padding: 24px 20px;
    }
    
    .specialist-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .specialist-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .specialist-title {
        font-size: 1.1rem;
    }
    
    .specialist-description {
        font-size: 0.95rem;
    }
}

/* --- Consulting Articles Section --- */
.articles-section {
    background: linear-gradient(120deg, #f9fafb 60%, #e0e7ef 100%);
    padding: var(--spacing-2xl) 0;
    min-height: 100vh;
}
.articles-section .container {
    max-width: 800px;
    margin: 0 auto;
}
.consulting-article {
    background: var(--background-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    transition: box-shadow 0.3s, transform 0.3s;
    animation: fadeInUp 0.7s;
    position: relative;
}
.consulting-article:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-4px) scale(1.01);
}
.consulting-article .article-title {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.consulting-article .article-title i {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3em;
}
.consulting-article .article-content {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1.7;
    white-space: pre-wrap;
}
@media (max-width: 700px) {
    .articles-section .container {
        padding: 0 var(--spacing-sm);
    }
    .consulting-article {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    .consulting-article .article-title {
        font-size: var(--font-size-xl);
    }
    .consulting-article .article-content {
        font-size: var(--font-size-base);
    }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Articles Section Animated Background Icons --- */
.articles-bg-icons {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.articles-bg-icon {
    position: absolute;
    opacity: 0.08;
    font-size: 140px;
    color: var(--primary-color);
    filter: blur(0.5px);
    animation: floatArticleIcon 15s ease-in-out infinite alternate;
    transition: opacity 0.3s;
}
.articles-bg-icon-1 {
    left: 5%; top: 8%;
    animation-delay: 0s;
    font-size: 160px;
    color: var(--primary-color);
}
.articles-bg-icon-2 {
    right: 8%; top: 20%;
    font-size: 120px;
    color: var(--accent-color);
    animation-delay: 2.5s;
}
.articles-bg-icon-3 {
    left: 12%; top: 45%;
    font-size: 100px;
    color: var(--secondary-color);
    animation-delay: 5s;
}
.articles-bg-icon-4 {
    right: 12%; top: 65%;
    font-size: 90px;
    color: var(--primary-light);
    animation-delay: 7.5s;
}
.articles-bg-icon-5 {
    left: 35%; top: 12%;
    font-size: 110px;
    color: var(--accent-color);
    animation-delay: 10s;
}
.articles-bg-icon-6 {
    right: 35%; top: 80%;
    font-size: 130px;
    color: var(--secondary-color);
    animation-delay: 12.5s;
}
/* Добавляем дополнительные иконки для лучшего покрытия */
.articles-bg-icon-7 {
    left: 65%; top: 30%;
    font-size: 80px;
    color: var(--primary-color);
    animation-delay: 3s;
}
.articles-bg-icon-8 {
    left: 20%; top: 75%;
    font-size: 95px;
    color: var(--accent-color);
    animation-delay: 8.5s;
}
.articles-bg-icon-9 {
    right: 20%; top: 40%;
    font-size: 105px;
    color: var(--secondary-color);
    animation-delay: 6s;
}
.articles-bg-icon-10 {
    left: 55%; top: 60%;
    font-size: 85px;
    color: var(--primary-light);
    animation-delay: 11s;
}
.articles-bg-icon-11 {
    right: 55%; top: 15%;
    font-size: 115px;
    color: var(--primary-color);
    animation-delay: 4s;
}
.articles-bg-icon-12 {
    left: 45%; top: 85%;
    font-size: 75px;
    color: var(--accent-color);
    animation-delay: 9s;
}
@keyframes floatArticleIcon {
    0% { 
        transform: translateY(0) scale(1) rotate(-5deg); 
        opacity: 0.08;
    }
    50% {
        transform: translateY(-20px) scale(1.05) rotate(0deg);
        opacity: 0.12;
    }
    100% { 
        transform: translateY(40px) scale(1.1) rotate(5deg); 
        opacity: 0.08;
    }
}
.articles-section {
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .nav-menu {
        top: 70px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .nav-menu.active .nav-item:first-child {
        margin-top: 18px !important;
    }
}
@media (max-width: 480px) {
    .nav-menu {
        top: 54px !important;
    }
    .nav-menu.active {
        height: calc(100vh - 54px) !important;
    }
}

body.menu-open .back-to-top {
    display: none !important;
}

@media (max-width: 480px) {
    .nav-menu__divider {
        width: 80%;
        height: 1.5px;
        background: linear-gradient(90deg, #2563eb 0%, #b3c6f7 100%);
        margin: 24px auto 12px auto;
        border-radius: 2px;
        opacity: 0.7;
        list-style: none;
    }
    .nav-menu__close-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
        list-style: none;
    }
    .nav-menu__close {
        background: #2563eb;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 2px 8px rgba(37,99,235,0.10);
        transition: background 0.2s;
    }
    .nav-menu__close:active,
    .nav-menu__close:hover {
        background: #1741a6;
    }
}

@media (min-width: 481px) {
    .nav-menu__divider,
    .nav-menu__close-wrapper {
        display: none !important;
    }
}

/* Медиа-запросы для лучшего распределения иконок */
@media (max-width: 1200px) {
    .articles-bg-icon {
        font-size: 120px;
    }
    .articles-bg-icon-1 { font-size: 140px; }
    .articles-bg-icon-6 { font-size: 110px; }
}

@media (max-width: 900px) {
    .articles-bg-icon {
        font-size: 100px;
    }
    .articles-bg-icon-1 { font-size: 120px; }
    .articles-bg-icon-6 { font-size: 100px; }
    .articles-bg-icon-11 { font-size: 95px; }
}

@media (max-width: 768px) {
    .articles-bg-icon {
        font-size: 80px;
        opacity: 0.06;
    }
    .articles-bg-icon-1 { font-size: 100px; }
    .articles-bg-icon-6 { font-size: 90px; }
    .articles-bg-icon-11 { font-size: 85px; }
    
    /* Перераспределяем иконки для мобильных устройств */
    .articles-bg-icon-1 { left: 3%; top: 5%; }
    .articles-bg-icon-2 { right: 5%; top: 15%; }
    .articles-bg-icon-3 { left: 8%; top: 35%; }
    .articles-bg-icon-4 { right: 8%; top: 55%; }
    .articles-bg-icon-5 { left: 30%; top: 8%; }
    .articles-bg-icon-6 { right: 30%; top: 70%; }
    .articles-bg-icon-7 { left: 60%; top: 25%; }
    .articles-bg-icon-8 { left: 15%; top: 65%; }
    .articles-bg-icon-9 { right: 15%; top: 35%; }
    .articles-bg-icon-10 { left: 50%; top: 50%; }
    .articles-bg-icon-11 { right: 50%; top: 10%; }
    .articles-bg-icon-12 { left: 40%; top: 75%; }
}

@media (max-width: 480px) {
    .articles-bg-icon {
        font-size: 60px;
        opacity: 0.05;
    }
    .articles-bg-icon-1 { font-size: 80px; }
    .articles-bg-icon-6 { font-size: 70px; }
    .articles-bg-icon-11 { font-size: 75px; }
}

/* --- About Company Section Background Icons --- */
.about-company-block {
    position: relative;
    overflow: hidden;
}
.about-bg-icons {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.about-bg-icon {
    position: absolute;
    opacity: 0.07;
    font-size: 120px;
    color: var(--primary-color);
    filter: blur(0.5px);
    animation: floatAboutIcon 18s ease-in-out infinite alternate;
    transition: opacity 0.3s;
}
.about-bg-icon-1 { left: 5%; top: 10%; font-size: 140px; color: var(--primary-color); animation-delay: 0s; }
.about-bg-icon-2 { right: 8%; top: 35%; font-size: 110px; color: var(--accent-color); animation-delay: 3s; }
.about-bg-icon-3 { left: 20%; top: 65%; font-size: 100px; color: var(--secondary-color); animation-delay: 6s; }
.about-bg-icon-4 { right: 20%; top: 75%; font-size: 90px; color: var(--primary-light); animation-delay: 9s; }
@keyframes floatAboutIcon {
    0% { transform: translateY(0) scale(1); opacity: 0.07; }
    50% { transform: translateY(-18px) scale(1.04); opacity: 0.12; }
    100% { transform: translateY(0) scale(1); opacity: 0.07; }
}
@media (max-width: 900px) {
    .about-bg-icon { font-size: 70px; }
    .about-bg-icon-1 { font-size: 90px; }
    .about-bg-icon-2 { font-size: 80px; }
    .about-bg-icon-3 { font-size: 70px; }
    .about-bg-icon-4 { font-size: 60px; }
}
@media (max-width: 600px) {
    .about-bg-icon { font-size: 40px; }
    .about-bg-icon-1 { font-size: 55px; }
    .about-bg-icon-2 { font-size: 45px; }
    .about-bg-icon-3 { font-size: 40px; }
    .about-bg-icon-4 { font-size: 35px; }
}

@media (max-width: 480px) {
    .running-text-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .running-text-container::-webkit-scrollbar {
        display: none;
    }
    .running-text {
        min-width: max-content;
        width: max-content;
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
    .running-text-arrow {
        display: none !important;
    }
}

.legal-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.7em;
    margin-top: 0.5em;
    line-height: 1.15;
}
.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2.2em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}
.legal-content p {
    font-size: 1rem;
    margin-bottom: 1.1em;
    color: #222;
}
.terms-date {
    display: block;
    text-align: center;
    color: #6b7280;
    font-size: 1.25rem;
    margin: 0 auto 1.5em auto;
    margin-top: 0.5em;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.section-header .terms-date {
    margin-top: 0.2em;
    margin-bottom: 1.5em;
}

@media (max-width: 600px) {
  .legal-content h1 {
    font-size: 1.4rem;
  }
  .legal-content h2 {
    font-size: 1.05rem;
  }
}

/* Running Text Banner (Buttons Version) */
.running-text-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.running-text-btn {
    color: white;
    font-weight: 500;
    font-size: var(--font-size-lg);
    padding: var(--spacing-xs) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}
.running-text-btn:hover {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
@media (max-width: 768px) {
    .running-text-buttons {
        gap: 14px;
    }
    .running-text-btn {
        font-size: var(--font-size-base);
        padding: var(--spacing-xs) var(--spacing-md);
    }
}
@media (max-width: 480px) {
    .running-text-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
    }
    .running-text-btn {
        width: 100%;
        max-width: 95vw;
        min-width: 0;
        font-size: var(--font-size-base);
        padding: 12px 0;
        margin: 0 auto;
        box-sizing: border-box;
        border-radius: var(--radius-md);
        justify-content: center;
        display: flex;
    }
}

.articles-header {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 36px;
}
.articles-header .section-title.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2em;
    position: relative;
    display: inline-block;
    opacity: 1;
    animation: none;
}
.articles-header .section-title.page-title::after {
    content: '';
    display: block;
    margin: 0 auto;
    margin-top: 8px;
    width: 90px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
@media (max-width: 700px) {
    .articles-header .section-title.page-title {
        font-size: 2rem;
    }
    .articles-header {
        margin-top: 8px;
        margin-bottom: 24px;
    }
    .articles-header .section-title.page-title::after {
        width: 60px;
        height: 3px;
        margin-top: 6px;
    }
}