* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-blue: #2196F3;
    --dark-blue: #0a0e2a;
    --darker-blue: #050710;
    --light-blue: #2196F3;
    --accent-blue: #1976D2;
    --white: #ffffff;
    --red-accent: #E50A1A;
    --text-gray: #90a4ae;
    --text-light: #cfd8dc;
    --border-color: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.02);
    --section-light: #f0f4f8;
    --section-light-alt: #e8eef5;
    --card-radius: 8px;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 12px 40px rgba(26, 35, 126, 0.12);
    --section-gradient: linear-gradient(135deg, rgba(10, 14, 42, 0.98) 0%, rgba(26, 35, 126, 0.92) 50%, rgba(13, 20, 64, 0.95) 100%);
    /* Gradient colors for animations */
    --gradient-blue-1: #2196F3;
    --gradient-blue-2: #1565c0;
    --gradient-blue-3: #2F79F3;
    --gradient-blue-4: #1976D2;
    --gradient-purple-1: #7B68EE;
    --gradient-purple-2: #5C6BC0;
    /* Ergonomic spacing scale (8px base) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 40px;
    --space-2xl: 56px;
    --space-3xl: 72px;
    --space-4xl: 96px;
    --space-5xl: 120px;
    --section-padding-y: 96px;
    --section-padding-y-bottom: 112px;
    --content-max: 720px;
    --container-padding: 32px;
}

/* Global gradient animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

@keyframes colorPulse {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(10deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(33, 150, 243, 0.6);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7fa;
    color: #1a237e;
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header — светлая тема */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(26, 35, 126, 0.08);
}

.header::after {
    display: none;
}

.header.scrolled {
    padding: var(--space-sm) 0;
    box-shadow: 0 2px 20px rgba(26, 35, 126, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    height: 72px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.logo-image:hover {
    opacity: 0.9;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.language-switcher {
    display: flex;
    gap: 2px;
    background-color: rgba(26, 35, 126, 0.04);
    padding: 4px;
    border-radius: 6px;
    border: 1px solid rgba(26, 35, 126, 0.12);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #546e7a;
    padding: var(--space-xs) var(--space-sm);
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background-color: rgba(26, 35, 126, 0.06);
    color: #1a237e;
}

.lang-btn.active {
    background-color: var(--light-blue);
    color: var(--white);
    border: 1px solid var(--accent-blue);
}

.lang-btn:focus-visible {
    outline: 2px solid var(--light-blue);
    outline-offset: 2px;
}

.cta-button {
    background-color: var(--light-blue);
    color: var(--white);
    border: 1px solid var(--accent-blue);
    padding: var(--space-sm) var(--space-md);
    min-height: 44px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.35);
    transform: translateY(-1px);
}

.cta-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(3px);
}

.cta-button:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: var(--section-padding-y);
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 75%;
    filter: brightness(0.42);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 14, 42, 0.82) 0%, rgba(26, 35, 126, 0.72) 50%, rgba(13, 20, 64, 0.78) 100%);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(57, 73, 171, 0.1) 0%, transparent 50%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-logo {
    flex-shrink: 0;
}

.hero-logo-image {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-content {
    max-width: 900px;
    position: relative;
    animation: fadeInUp 1s ease;
    margin-left: auto;
    text-align: right;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 2px;
    border: 1px solid var(--border-color);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(33, 150, 243, 0.9) 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 900px;
    margin-left: auto;
    animation: gradientShift 5s ease infinite;
    filter: drop-shadow(0 2px 4px rgba(33, 150, 243, 0.3));
}

.hero-tagline {
    font-size: 20px;
    font-weight: 500;
    background: linear-gradient(135deg, var(--gradient-blue-1) 0%, var(--gradient-blue-3) 50%, var(--gradient-blue-2) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    max-width: 560px;
    margin-left: auto;
    animation: gradientShift 4s ease infinite;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    max-width: var(--content-max);
    margin-bottom: var(--space-xl);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-left: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0.5;
}

.hero-scroll-indicator span {
    width: 2px;
    height: 8px;
    background: var(--white);
    animation: scrollDown 2s infinite;
}

.btn-primary, .btn-secondary {
    padding: var(--space-sm) var(--space-lg);
    min-height: 48px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-blue-1) 0%, var(--gradient-blue-2) 50%, var(--gradient-blue-3) 100%);
    background-size: 200% 200%;
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

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

.btn-primary:hover {
    background-position: 100% 50%;
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.5), 0 0 0 4px rgba(33, 150, 243, 0.1);
    transform: translateY(-2px);
    animation: glowPulse 2s ease infinite;
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
}

.btn-large {
    padding: 16px 40px;
    font-size: 14px;
}


/* Stats Section */
.stats {
    padding: 100px 0;
    background-color: var(--dark-blue);
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 48px 32px;
    position: relative;
    transition: color 0.2s ease;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.stat-item:hover .stat-number {
    color: var(--white);
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1;
    transition: color 0.2s ease;
    display: block;
}

.stat-number::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent-blue);
    margin: 16px auto 0;
    opacity: 0.6;
}

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    line-height: 1.4;
}

/* Mission strip */
.mission-strip {
    padding: 24px 0;
    background-color: var(--dark-blue);
    border-bottom: 1px solid var(--border-color);
}

.mission-text {
    font-size: 15px;
    color: var(--text-light);
    letter-spacing: -0.01em;
    margin: 0;
    max-width: 800px;
}

/* Testimonials Section */
/* Testimonials Section - Modern Style */
.testimonials-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(47, 121, 243, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(47, 121, 243, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.testimonials-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-blue-3) 0%, var(--gradient-blue-2) 50%, var(--gradient-blue-1) 100%);
    background-size: 200% 200%;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: var(--space-md);
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 12px rgba(47, 121, 243, 0.3);
    position: relative;
    overflow: hidden;
}

.testimonials-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: shimmer 3s ease infinite;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a237e 0%, var(--gradient-blue-1) 50%, #1a237e 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    animation: gradientShift 6s ease infinite;
}

.testimonials-subtitle {
    font-size: 1rem;
    color: #546e7a;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-track {
    position: relative;
    overflow: hidden;
}

.testimonials-slider .testimonial-card {
    display: none;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 16px;
    padding: var(--space-2xl);
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.08);
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.testimonials-slider .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gradient-blue-1), var(--gradient-blue-2), var(--gradient-blue-3), var(--gradient-blue-1));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 4s ease infinite;
    z-index: -1;
}

.testimonials-slider .testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.15);
}

.testimonials-slider .testimonial-card.active::before {
    opacity: 1;
}

.testimonials-slider .testimonial-quote-icon {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(47, 121, 243, 0.15) 0%, rgba(33, 150, 243, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(47, 121, 243, 0.2));
    animation: colorPulse 4s ease infinite;
}

.testimonials-slider .testimonial-quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonials-slider .testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonials-slider .testimonial-profile {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.testimonials-slider .testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(47, 121, 243, 0.1);
}

.testimonials-slider .testimonial-info {
    flex: 1;
}

.testimonials-slider .testimonial-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a237e;
    margin: 0 0 var(--space-xs);
    display: block;
    visibility: visible;
    opacity: 1;
}

.testimonials-slider .testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonials-slider .testimonial-stars svg {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    fill: currentColor;
    animation: gradientShift 3s ease infinite;
    filter: drop-shadow(0 1px 2px rgba(255, 215, 0, 0.3));
}

.testimonials-slider .testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #37474f;
    margin: 0;
    display: block;
    visibility: visible;
    opacity: 1;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.testimonials-nav-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.15), transparent);
    max-width: 200px;
}

.testimonials-nav-buttons {
    display: flex;
    gap: var(--space-sm);
}

.testimonials-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(47, 121, 243, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%);
    color: #2F79F3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 35, 126, 0.08);
    position: relative;
    overflow: hidden;
}

.testimonials-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gradient-blue-3) 0%, var(--gradient-blue-2) 50%, var(--gradient-blue-1) 100%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    animation: gradientShift 3s ease infinite;
}

.testimonials-nav-btn:hover {
    color: #ffffff;
    border-color: #2F79F3;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(47, 121, 243, 0.4);
}

.testimonials-nav-btn:hover::before {
    opacity: 1;
}

.testimonials-nav-btn svg {
    position: relative;
    z-index: 1;
}

.testimonials-nav-btn svg {
    width: 20px;
    height: 20px;
}

.testimonials-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .testimonials-title {
        font-size: 1.75rem;
    }

    .testimonials-subtitle {
        font-size: 0.9rem;
        padding: 0 var(--space-md);
    }

    .testimonials-slider .testimonial-card {
        padding: var(--space-lg);
    }

    .testimonials-slider .testimonial-profile {
        flex-direction: column;
        text-align: center;
    }

    .testimonials-slider .testimonial-avatar {
        width: 60px;
        height: 60px;
    }

    .testimonials-slider .testimonial-quote-icon {
        width: 50px;
        height: 50px;
        top: var(--space-md);
        right: var(--space-md);
    }

    .testimonials-nav-line {
        max-width: 100px;
    }
}


/* Common Cases Section - Modern Cards */
.common-cases-modern-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.common-cases-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(33, 150, 243, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(33, 150, 243, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.common-cases-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    align-items: start;
}

.common-cases-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: sticky;
    top: var(--space-xl);
}

.common-case-item {
    background: #ffffff;
    border: 2px solid rgba(26, 35, 126, 0.1);
    border-radius: 16px;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.common-case-item:hover {
    border-color: rgba(33, 150, 243, 0.3);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.1);
    transform: translateX(4px);
}

.common-case-item.active {
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(33, 150, 243, 0.02) 100%);
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.15);
}

.common-case-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
    border-radius: 12px;
    color: var(--accent-blue);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.common-case-item.active .common-case-item-icon {
    background: linear-gradient(135deg, var(--gradient-blue-1) 0%, var(--gradient-blue-2) 50%, var(--gradient-blue-3) 100%);
    background-size: 200% 200%;
    color: #ffffff;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.common-case-item.active .common-case-item-icon::before {
    opacity: 1;
}

.common-case-item:hover .common-case-item-icon::before {
    opacity: 0.5;
}

.common-case-item-icon svg {
    width: 24px;
    height: 24px;
}

.common-case-item[data-case="2"] .common-case-item-icon svg {
    width: 28px;
    height: 28px;
}

.common-case-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a237e;
    transition: color 0.3s ease;
}

.common-case-item.active .common-case-item-title {
    color: var(--accent-blue);
    font-weight: 700;
}

.common-cases-content {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 20px;
    padding: var(--space-3xl);
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.08);
    min-height: 400px;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.common-cases-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(21, 101, 192, 0.05), rgba(33, 150, 243, 0.1));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: gradientShift 5s ease infinite;
}

.common-case-detail {
    display: none;
    animation: fadeIn 0.4s ease;
}

.common-case-detail.active {
    display: block;
}

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

.common-case-detail-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a237e 0%, var(--gradient-blue-1) 50%, #1a237e 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    animation: gradientShift 5s ease infinite;
}

.common-case-detail-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #37474f;
    margin-bottom: var(--space-lg);
}

.common-case-detail-solution {
    font-size: 1rem;
    line-height: 1.7;
    color: #546e7a;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(33, 150, 243, 0.02) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
}

.common-case-detail-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.common-case-detail-link::after {
    content: '→';
    transition: transform 0.3s ease;
    display: inline-block;
}

.common-case-detail-link:hover {
    gap: var(--space-sm);
}

.common-case-detail-link:hover::after {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .common-cases-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .common-cases-list {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: var(--space-sm);
    }

    .common-case-item {
        min-width: 200px;
        flex-shrink: 0;
    }

    .common-case-item:hover {
        transform: translateY(-2px);
    }

    .common-cases-content {
        padding: var(--space-xl);
        min-height: auto;
    }

    .common-case-detail-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .common-cases-modern-section {
        padding: var(--space-2xl) 0;
    }
    
    .common-case-item {
        padding: var(--space-md);
    }
    
    .common-case-item-icon {
        width: 40px;
        height: 40px;
    }
    
    .common-case-item-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .common-case-item-title {
        font-size: 0.9375rem;
    }
}

/* Know-How Section - Interactive */
.knowhow-interactive-section {
    padding: var(--space-3xl) 0;
    background: #101C35;
    position: relative;
    overflow: hidden;
}

/* Wavy lines background pattern */
.knowhow-interactive-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(32, 50, 90, 0.3) 10px,
            rgba(32, 50, 90, 0.3) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(32, 50, 90, 0.2) 10px,
            rgba(32, 50, 90, 0.2) 20px
        );
    opacity: 0.4;
    pointer-events: none;
}

.knowhow-interactive-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 144, 226, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.knowhow-interactive-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.knowhow-main-title {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: var(--space-3xl);
    margin-left: 0;
    margin-right: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    padding: var(--space-xl) var(--space-2xl);
    background: #1A2F4B;
    border-radius: 0;
    overflow: hidden;
    display: block;
}

.knowhow-main-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50px, 50px);
    pointer-events: none;
}

.knowhow-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30px, 30px);
    pointer-events: none;
}

.knowhow-main-title span {
    display: block;
}

.knowhow-interactive-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-2xl);
}

.knowhow-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.knowhow-tab {
    background: #ffffff;
    border: none;
    padding: var(--space-lg) var(--space-xl);
    padding-right: calc(var(--space-xl) + 35px);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 50%, calc(100% - 35px) 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 50%, calc(100% - 35px) 100%, 0 100%);
}

.knowhow-tab:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.knowhow-tab.active {
    background: #4A90E2;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(74, 144, 226, 0.5);
    transform: translateX(4px);
}

.knowhow-tab-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a237e;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.knowhow-tab.active .knowhow-tab-icon {
    color: #ffffff;
}

.knowhow-tab-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.knowhow-tab[data-case="2"] .knowhow-tab-icon svg {
    width: 40px;
    height: 40px;
}

.knowhow-tab-text {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a237e;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
    line-height: 1.4;
}

.knowhow-tab.active .knowhow-tab-text {
    color: #ffffff;
}

.knowhow-content {
    background: #ffffff;
    border-radius: 0;
    padding: var(--space-2xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-height: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.knowhow-detail {
    display: none;
    animation: fadeInKnowhow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.knowhow-detail.active {
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.knowhow-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.knowhow-detail-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #37474f;
    margin: 0;
    flex: 1;
}

@media (max-width: 1024px) {
    .knowhow-interactive-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: 0 var(--space-lg);
    }
    
    .knowhow-main-title {
        font-size: 2rem;
        padding: var(--space-lg) var(--space-xl);
    }
    
    .knowhow-content {
        min-height: 280px;
    }
}

@media (max-width: 600px) {
    .knowhow-interactive-section {
        padding: var(--space-2xl) 0;
    }
    
    .knowhow-main-title {
        font-size: 1.5rem;
        letter-spacing: 0.3px;
        margin-bottom: var(--space-xl);
        padding: var(--space-md) var(--space-lg);
    }
    
    .knowhow-interactive-wrapper {
        padding: 0 var(--space-md);
    }
    
    .knowhow-tab {
        padding: var(--space-md) var(--space-lg);
        gap: var(--space-md);
    }
    
    .knowhow-tab-icon {
        width: 40px;
        height: 40px;
    }
    
    .knowhow-tab-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .knowhow-tab-text {
        font-size: 1rem;
    }
    
    .knowhow-content {
        padding: var(--space-lg);
        min-height: 250px;
    }
    
    .knowhow-detail-title {
        font-size: 1.375rem;
        margin-bottom: var(--space-md);
    }
    
    .knowhow-detail-text {
        font-size: 1rem;
        line-height: 1.65;
    }
}


/* Accounting & Finance Section — compact know-how style */
.accounting-section {
    padding: var(--space-xl) 0 var(--space-2xl);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%);
    border-top: 1px solid rgba(26, 35, 126, 0.06);
}

.accounting-header {
    max-width: 640px;
    margin: 0 auto var(--space-md);
    text-align: center;
}

.accounting-header .section-title {
    color: #1a237e;
    margin-bottom: var(--space-xs);
    font-size: 1.5rem;
}

.accounting-intro {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #546e7a;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.accounting-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}

.accounting-card {
    background: #ffffff;
    border-radius: 10px;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid rgba(26, 35, 126, 0.06);
    box-shadow: 0 2px 12px rgba(26, 35, 126, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.accounting-card:hover {
    border-color: rgba(33, 150, 243, 0.15);
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.06);
}

.accounting-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: var(--space-sm);
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(33, 150, 243, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.accounting-card-accounts .accounting-list-wrap,
.accounting-card .accounting-list-wrap {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 8px;
    cursor: grab;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(33, 150, 243, 0.4) rgba(26, 35, 126, 0.06);
    transition: padding-right 0.2s ease;
}

.accounting-card-accounts .accounting-list-wrap:hover,
.accounting-card .accounting-list-wrap:hover {
    padding-right: 10px;
}

.accounting-card-accounts .accounting-list-wrap:active,
.accounting-card .accounting-list-wrap:active {
    cursor: grabbing;
}

.accounting-card-accounts .accounting-list-wrap::before,
.accounting-card .accounting-list-wrap::before {
    content: '';
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), transparent);
    pointer-events: none;
    z-index: 1;
    margin-bottom: -20px;
}

.accounting-card-accounts .accounting-list-wrap::after,
.accounting-card .accounting-list-wrap::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    margin-top: -30px;
    z-index: 1;
}

.accounting-card-accounts .accounting-list-wrap::-webkit-scrollbar,
.accounting-card .accounting-list-wrap::-webkit-scrollbar {
    width: 6px;
}

.accounting-card-accounts .accounting-list-wrap::-webkit-scrollbar-track,
.accounting-card .accounting-list-wrap::-webkit-scrollbar-track {
    background: rgba(26, 35, 126, 0.06);
    border-radius: 3px;
}

.accounting-card-accounts .accounting-list-wrap::-webkit-scrollbar-thumb,
.accounting-card .accounting-list-wrap::-webkit-scrollbar-thumb {
    background: rgba(33, 150, 243, 0.4);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.accounting-card-accounts .accounting-list-wrap::-webkit-scrollbar-thumb:hover,
.accounting-card .accounting-list-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(33, 150, 243, 0.6);
}

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

.accounting-list li {
    margin-bottom: 2px;
}

.accounting-list a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.8125rem;
    line-height: 1.45;
    display: inline-flex;
    align-items: flex-start;
    gap: 5px;
    transition: color 0.2s ease;
}

.accounting-list a::before {
    content: '↗';
    font-size: 10px;
    opacity: 0.6;
    flex-shrink: 0;
}

.accounting-list a:hover {
    color: #0d47a1;
}

.accounting-list .doc-meta {
    display: none;
}

.accounting-past-lists {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 8px;
    cursor: grab;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(33, 150, 243, 0.4) rgba(26, 35, 126, 0.06);
    transition: padding-right 0.2s ease;
}

.accounting-past-lists:hover {
    padding-right: 10px;
}

.accounting-past-lists:active {
    cursor: grabbing;
}

.accounting-past-lists::before {
    content: '';
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), transparent);
    pointer-events: none;
    z-index: 1;
    margin-bottom: -20px;
}

.accounting-past-lists::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    margin-top: -30px;
    z-index: 1;
}

.accounting-past-lists::-webkit-scrollbar {
    width: 6px;
}

.accounting-past-lists::-webkit-scrollbar-track {
    background: rgba(26, 35, 126, 0.06);
    border-radius: 3px;
}

.accounting-past-lists::-webkit-scrollbar-thumb {
    background: rgba(33, 150, 243, 0.4);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.accounting-past-lists::-webkit-scrollbar-thumb:hover {
    background: rgba(33, 150, 243, 0.6);
}

.accounting-past-subtitle {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1a237e;
    margin: var(--space-sm) 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.accounting-past-subtitle:first-child {
    margin-top: 0;
}

.accounting-past-list {
    margin-bottom: var(--space-xs);
}

.accounting-past-more {
    margin: var(--space-sm) 0 0;
    padding-top: var(--space-xs);
    border-top: 1px solid rgba(26, 35, 126, 0.06);
}

.accounting-past-link {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.accounting-past-link::after {
    content: '→';
}

.accounting-past-link:hover {
    color: #0d47a1;
}

.accounting-cta-wrap {
    text-align: center;
    margin-top: var(--space-xl);
}

.accounting-link-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 12px rgba(33, 150, 243, 0.2);
}

.accounting-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.3);
}

@media (max-width: 900px) {
    .accounting-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    .accounting-card-accounts .accounting-list-wrap,
    .accounting-card .accounting-list-wrap {
        max-height: 180px;
        cursor: grab;
    }
    .accounting-card-accounts .accounting-list-wrap:active,
    .accounting-card .accounting-list-wrap:active {
        cursor: grabbing;
    }
    .accounting-past-lists {
        max-height: 200px;
        cursor: grab;
    }
    .accounting-past-lists:active {
        cursor: grabbing;
    }
}

/* Services Section — светлая тема */
.services {
    padding: var(--section-padding-y) 0 var(--section-padding-y-bottom);
    background-color: #ffffff;
    position: relative;
    border-top: 1px solid rgba(26, 35, 126, 0.06);
}

.services::before,
.services::after {
    display: none;
}

.services .section-title { color: #1a237e; }
.services .section-subtitle { color: #546e7a; }

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-bottom: var(--space-md);
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gradient-blue-1), var(--gradient-blue-2), transparent);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    border-radius: 2px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: #1a237e;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 17px;
    color: #546e7a;
    max-width: var(--content-max);
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.01em;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 24px rgba(26, 35, 126, 0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(21, 101, 192, 0.05) 50%, rgba(47, 121, 243, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #2196F3, #1565c0, #2F79F3, #1976D2);
    background-size: 300% 300%;
    border-radius: var(--card-radius);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: gradientShift 3s ease infinite;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(33, 150, 243, 0.25);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 20, 64, 0.8) 100%);
}

.service-content {
    padding: var(--space-lg) var(--space-lg);
    position: relative;
    background: #ffffff;
    z-index: 1;
    transition: background 0.4s ease;
}

.service-card:hover .service-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.service-icon {
    margin-bottom: 20px;
    display: block;
    color: var(--accent-blue);
    opacity: 0.95;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover .service-icon {
    color: #2196F3;
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a237e;
    line-height: 1.3;
    transition: color 0.4s ease, transform 0.4s ease;
    position: relative;
}

.service-card:hover .service-title {
    color: var(--accent-blue);
    transform: translateX(4px);
    background: linear-gradient(135deg, #2196F3, #1565c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-description {
    font-size: 15px;
    line-height: 1.65;
    color: #546e7a;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.service-link {
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.service-link::before {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    top: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(21, 101, 192, 0.1) 100%);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-link {
    gap: 10px;
    color: #2196F3;
    transform: translateX(4px);
}

.service-card:hover .service-link::before {
    opacity: 1;
}

.service-link span {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-link span {
    transform: translateX(4px);
}

/* Features Section */
.features {
    padding: 120px 0;
    background-color: var(--darker-blue);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.feature-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--light-blue);
    padding: 8px 16px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-blue);
    color: var(--white);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.feature-item:hover {
    border-color: var(--accent-blue);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background-color: var(--light-blue);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    color: var(--white);
    border: 1px solid var(--accent-blue);
}

.feature-text h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
    letter-spacing: -0.01em;
}

.feature-text p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background-color: var(--dark-blue);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonials-grid .testimonial-card {
    background: var(--card-bg);
    border-radius: 2px;
    padding: 36px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
}

.testimonials-grid .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--accent-blue);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.testimonials-grid .testimonial-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.testimonials-grid .testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-image {
    width: 64px;
    height: 64px;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    font-size: 48px;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 16px;
    font-family: Georgia, serif;
    opacity: 0.5;
}

.testimonials-grid .testimonial-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 24px;
    font-style: normal;
    letter-spacing: -0.01em;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--white);
    letter-spacing: -0.01em;
}

.author-role {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Information For Section — light block */
.information-for {
    padding: var(--space-3xl) 0 var(--section-padding-y-bottom);
    background-color: var(--section-light);
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(26, 35, 126, 0.08);
    border-bottom: 1px solid rgba(26, 35, 126, 0.08);
}


.information-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
    margin-top: -120px;
}

.info-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.info-card .info-icon-wrapper,
.info-card .info-content {
    position: relative;
    z-index: 1;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.info-card-blue::before {
    background-color: var(--accent-blue);
}

.info-card-green::before {
    background-color: #4caf50;
}

.info-card-orange::before {
    background-color: #ff6f00;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.info-card-blue:hover {
    border-color: var(--accent-blue);
}

.info-card-green:hover {
    border-color: #4caf50;
}

.info-card-orange:hover {
    border-color: #ff6f00;
}

.info-card-green .info-title {
    color: #4caf50;
}

.info-card-orange .info-title {
    color: #ff6f00;
}

.info-icon-wrapper {
    margin-bottom: 30px;
}

.info-icon {
    width: 64px;
    height: 64px;
    stroke: currentColor;
}

.info-card-blue .info-icon {
    color: var(--accent-blue);
}

.info-card-green .info-icon {
    color: #4caf50;
}

.info-card-orange .info-icon {
    color: #ff6f00;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    opacity: 0.9;
    color: #546e7a;
    margin-bottom: 4px;
}

.info-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

.info-card-blue .info-title {
    color: #1a237e;
}

.info-card-green .info-title {
    color: #4caf50;
}

.info-card-orange .info-title {
    color: #ff6f00;
}

.info-description {
    font-size: 15px;
    line-height: 1.75;
    color: #546e7a;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Mission Section */
.mission-section {
    padding: var(--section-padding-y) 0 var(--section-padding-y-bottom);
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 50%);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background-image: radial-gradient(circle, rgba(26, 35, 126, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
    max-width: 1400px;
    position: relative;
    z-index: 1;
}

.mission-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mission-image-top {
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.mission-image-top .mission-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mission-badge {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--gradient-blue-3) 0%, var(--gradient-blue-2) 50%, var(--gradient-blue-1) 100%);
    background-size: 200% 200%;
    width: 80px;
    padding: var(--space-lg) var(--space-sm);
    border-radius: 0 8px 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    animation: gradientShift 4s ease infinite;
    box-shadow: 4px 0 12px rgba(47, 121, 243, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.mission-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: shimmer 3s ease infinite;
}

.mission-badge-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.mission-badge-text {
    font-size: 0.625rem;
    font-weight: 700;
    color: #ffffff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mission-badge-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
    stroke-width: 2.5;
}

.mission-image-bottom {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    margin-top: -65%;
    position: relative;
    z-index: 0;
}

.mission-image-bottom .mission-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mission-content {
    padding-top: var(--space-lg);
}

.mission-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: var(--space-lg);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.mission-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #37474f;
    margin-bottom: var(--space-md);
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: var(--space-xl) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-md);
}

.mission-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.875rem;
    line-height: 1.6;
    color: #1a237e;
}

.mission-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-blue);
    margin-top: 2px;
}

.mission-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--accent-blue), #1565c0);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.3);
    margin-top: var(--space-md);
}

.mission-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.4);
}

.mission-cta-arrow {
    font-size: 1.125rem;
}

@media (max-width: 1024px) {
    .mission-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .mission-badge {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: var(--space-md) auto;
        width: auto;
        padding: var(--space-md) var(--space-lg);
        flex-direction: row;
    }

    .mission-badge-text {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    .mission-image-top {
        clip-path: none;
        border-radius: 12px;
    }

    .mission-list {
        grid-template-columns: 1fr;
    }
}

/* Expertise Section — светлая тема */
.expertise {
    padding: var(--section-padding-y) 0 var(--section-padding-y-bottom);
    background: linear-gradient(180deg, #e8eef5 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(33, 150, 243, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.expertise::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.1), transparent);
}

.expertise .section-title { color: #1a237e; }
.expertise .section-subtitle { color: #546e7a; }

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.expertise-item {
    padding: 40px 36px;
    background: #ffffff;
    border: 1px solid rgba(26, 35, 126, 0.1);
    border-radius: var(--card-radius);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26, 35, 126, 0.06);
}

.expertise-item::before {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    color: var(--accent-blue);
    opacity: 0.06;
    letter-spacing: -0.04em;
    pointer-events: none;
}

.expertise-item:nth-child(1)::before { content: '01'; }
.expertise-item:nth-child(2)::before { content: '02'; }
.expertise-item:nth-child(3)::before { content: '03'; }
.expertise-item:nth-child(4)::before { content: '04'; }

.expertise-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--light-blue), var(--accent-blue));
    border-radius: 4px 0 0 4px;
    opacity: 0.9;
}

.expertise-item:hover {
    border-color: rgba(33, 150, 243, 0.3);
    box-shadow: 0 20px 48px rgba(26, 35, 126, 0.12), 0 0 0 1px rgba(33, 150, 243, 0.15);
    transform: translateY(-6px);
}

.expertise-item:hover::before {
    opacity: 0.07;
}

.expertise-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    border-radius: 50%;
    margin-bottom: 24px;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.25);
}

.expertise-item-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expertise-item-description {
    font-size: 15px;
    line-height: 1.75;
    color: #546e7a;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Process Section — светлая тема */
.process {
    padding: var(--section-padding-y) 0 var(--section-padding-y-bottom);
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid rgba(26, 35, 126, 0.06);
}

.process-bg,
.process-bg-image,
.process-bg-overlay {
    display: none;
}

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

.process .section-title { color: #1a237e; }
.process .section-subtitle { color: #546e7a; }

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.08), transparent);
    z-index: 1;
}

.process::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.08), transparent);
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
    padding-top: var(--space-md);
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-blue) 15%, var(--light-blue) 50%, var(--accent-blue) 85%, transparent 100%);
    opacity: 0.5;
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

.process-step:hover .step-number {
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.25), 0 8px 24px rgba(33, 150, 243, 0.4);
    background-position: 100% 50%;
    transform: scale(1.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-blue-1) 0%, var(--gradient-blue-2) 50%, var(--gradient-blue-3) 100%);
    background-size: 200% 200%;
    border: 2px solid var(--accent-blue);
    animation: gradientShift 4s ease infinite;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover .step-number::before {
    opacity: 1;
}

.step-content {
    flex: 1;
    background: #f8fafc;
    border: 1px solid rgba(26, 35, 126, 0.1);
    border-radius: var(--card-radius);
    padding: 28px 24px;
    border-left: 3px solid var(--light-blue);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .step-content {
    border-left-color: var(--accent-blue);
    box-shadow: 0 8px 32px rgba(26, 35, 126, 0.1);
}

.step-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-description {
    font-size: 14px;
    line-height: 1.7;
    color: #546e7a;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Certifications Section — know-how */
.certifications {
    padding: var(--section-padding-y) 0 var(--section-padding-y-bottom);
    background: linear-gradient(180deg, var(--section-light) 0%, #e8eef5 100%);
    position: relative;
    overflow: hidden;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.15), transparent);
}

.certifications::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.15), transparent);
}

.certifications .section-title {
    color: #1a237e;
}

.certifications .section-subtitle {
    color: #546e7a;
}

.certifications .section-header::after {
    background: linear-gradient(90deg, var(--light-blue), var(--accent-blue));
    width: 64px;
    height: 4px;
    border-radius: 2px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.cert-item {
    padding: var(--space-xl) var(--space-lg) var(--space-2xl);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 2px solid transparent;
    border-radius: var(--card-radius);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.06);
    background-clip: padding-box;
}

.cert-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--card-radius);
    padding: 2px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(21, 101, 192, 0.05), rgba(33, 150, 243, 0.1));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
    animation: gradientShift 5s ease infinite;
}

.cert-item:hover::after {
    opacity: 1;
}

.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.15);
}

.cert-item::before {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    color: var(--accent-blue);
    opacity: 0.05;
    letter-spacing: -0.04em;
    pointer-events: none;
    z-index: 0;
}

.cert-item:nth-child(1)::before { content: '01'; }
.cert-item:nth-child(2)::before { content: '02'; }
.cert-item:nth-child(3)::before { content: '03'; }
.cert-item:nth-child(4)::before { content: '04'; }

.cert-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--light-blue), var(--accent-blue));
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    z-index: 0;
}

.cert-item .cert-label,
.cert-item .cert-name,
.cert-item .cert-description {
    position: relative;
    z-index: 1;
}

.cert-item:hover {
    border-color: rgba(33, 150, 243, 0.3);
    box-shadow: 0 24px 48px rgba(26, 35, 126, 0.12), 0 0 0 1px rgba(33, 150, 243, 0.1);
    transform: translateY(-6px);
}

.cert-item:hover::before {
    opacity: 0.08;
}

.cert-label {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.cert-name {
    font-size: 22px;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.cert-description {
    font-size: 14px;
    line-height: 1.75;
    color: #546e7a;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Partners Section */
.partners-strip {
    padding: var(--space-lg) 0;
    background-color: var(--darker-blue);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-strip .container {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.partners-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--text-gray);
}

.partners-list {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: -0.01em;
}

/* CTA Section — light block */
.cta-section {
    padding: var(--section-padding-y) 0 var(--section-padding-y-bottom);
    background-color: var(--section-light-alt);
    position: relative;
    border-top: 1px solid rgba(26, 35, 126, 0.08);
    border-bottom: 1px solid rgba(26, 35, 126, 0.08);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: #1a237e;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.cta-description {
    font-size: 17px;
    color: #546e7a;
    margin-bottom: var(--space-lg);
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    letter-spacing: -0.01em;
}

.cta-form {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.cta-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group-full {
    margin-bottom: var(--space-lg);
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #1a237e;
    letter-spacing: 0.3px;
}

.form-input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: 15px;
    font-family: inherit;
    color: #1a237e;
    background: #ffffff;
    border: 1px solid rgba(26, 35, 126, 0.2);
    border-radius: var(--card-radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: #90a4ae;
}

.form-input:hover {
    border-color: rgba(26, 35, 126, 0.35);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-form-success {
    font-size: 15px;
    color: #2e7d32;
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.cta-form-submit {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .cta-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer — светлая тема */
.footer {
    background: #e8eef5;
    padding: var(--space-4xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(26, 35, 126, 0.08);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.15), transparent);
    z-index: 1;
}

.footer::after {
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 280px 1fr 1fr;
    gap: var(--space-3xl) var(--space-4xl);
    margin-bottom: var(--space-3xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    padding-top: 0;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-image {
    height: 72px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

.footer-tagline {
    font-size: 15px;
    font-style: italic;
    color: #546e7a;
    line-height: 1.5;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(26, 35, 126, 0.12);
    margin-bottom: 20px;
}

.footer-eu-network {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-eu-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-eu-badge {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background-color: var(--light-blue);
    border: 1px solid var(--accent-blue);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
}

.footer-eu-text {
    font-size: 14px;
    color: #546e7a;
    letter-spacing: -0.01em;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    color: #1a237e;
}

.footer-text {
    font-size: 14px;
    line-height: 1.75;
    color: #546e7a;
    letter-spacing: -0.01em;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #546e7a;
}

.contact-item span:last-child {
    font-size: 14px;
    color: #1a237e;
    letter-spacing: -0.01em;
}

.contact-icon {
    font-size: 20px;
    min-width: 25px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.2), rgba(255, 255, 255, 0.08), transparent);
}

.footer-copyright {
    font-size: 13px;
    color: #546e7a;
    letter-spacing: -0.01em;
}

.scroll-top {
    width: 48px;
    height: 48px;
    border-radius: 2px;
    background-color: var(--light-blue);
    border: 1px solid var(--accent-blue);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.scroll-top:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .features-content {
        grid-template-columns: 1fr;
    }
    
    .feature-main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .logo-image {
        height: 58px;
        max-width: 240px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        padding-top: 160px;
        min-height: 90vh;
    }

    .hero-container {
        flex-direction: column;
        gap: 36px;
    }

    .hero-logo {
        order: -1;
    }

    .hero-logo-image {
        max-width: 220px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 42px;
    }

    .section-header {
        margin-bottom: var(--space-3xl);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .information-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        margin-top: -88px;
    }

    .info-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .expertise-item::before {
        font-size: 100px;
        right: 16px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 0;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
        gap: 24px;
    }

    .process-step .step-number {
        margin-bottom: 0;
    }

    .process-step .step-content {
        flex: 1;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .expertise-item,
    .cert-item {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .expertise-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .footer-brand {
        order: -1;
    }

    .footer-logo-image {
        height: 56px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: none;
    }

    .stat-item::after {
        display: none;
    }

    .stat-item {
        padding: 40px 24px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 2px;
    }

    .stat-number {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 48px;
        max-width: 200px;
    }

    .hero-logo-image {
        max-width: 180px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-title,
    .hero-tagline,
    .hero-description {
        margin-left: 0;
    }

    .hero-actions {
        flex-direction: column;
        justify-content: stretch;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .service-card {
        padding: 0;
    }

    .service-content {
        padding: 30px 25px;
    }

    .cta-title {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 32px 24px;
    }

    .stat-number {
        font-size: 44px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
