/* ===== СОВРЕМЕННАЯ CSS СИСТЕМА ===== */

/* Сброс стилей */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* CSS переменные - MWIC Brandbook palette */
:root {
    /* ============ MWIC Brandbook Palette ============ */
    --mwic-green:        #60B132;   /* primary accent, fills, green stripe */
    --mwic-green-ink:    #4A8C26;   /* AA-safe text/icon on white: 5.2:1 */
    --mwic-green-soft:   #E8F5DD;   /* accent card backgrounds */
    --mwic-steel:        #667088;   /* secondary text, icon base */
    --mwic-navy:         #1C2030;   /* dark surfaces: hero, footer */
    --mwic-gray-light:   #F4F5F7;   /* light section backgrounds */
    --mwic-gray-mid:     #9499A8;   /* helper/caption text */
    --mwic-warning:      #C4420A;   /* negative/warning accents */

    /* ============ Legacy aliases (keep names, update values) ============ */
    --primary-blue:        #1C2030;
    --primary-blue-light:  #2A3142;
    --primary-blue-dark:   #0F1220;
    --secondary-blue:      #667088;
    --secondary-blue-light:#7A8399;
    --accent-green:        #4A8C26;
    --accent-green-light:  #60B132;
    --accent-green-dark:   #3B6E1E;
    --accent-green-bg:     #E8F5DD;
    --success-green:       #047857;
    --warning-orange:      #C4420A;
    --error-red:           #dc2626;
    --info-blue:           #0369a1;

    /* ============ Neutrals ============ */
    --white:         #ffffff;
    --gray-50:       #fafafa;
    --gray-100:      #F4F5F7;
    --gray-200:      #e4e4e7;
    --gray-300:      #d1d5db;
    --gray-400:      #9ca3af;
    --gray-500:      #6b7280;
    --gray-600:      #4b5563;
    --gray-700:      #374151;
    --gray-800:      #1f2937;
    --gray-900:      #111827;

    /* ============ Surfaces ============ */
    --surface-elevated: #ffffff;
    --surface-muted:    var(--gray-50);
    --border-light:     var(--gray-200);
    --border-medium:    var(--gray-300);
    --border-strong:    var(--gray-400);

    /* ============ Overlays ============ */
    --overlay-blue:  rgba(28, 32, 48, 0.08);
    --overlay-green: rgba(96, 177, 50, 0.10);

    /* ============ Typography ============ */
    --font-primary:  'IBM Plex Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --font-display:  'Exo 2', 'IBM Plex Sans', system-ui, sans-serif;
    --font-mono:     'IBM Plex Mono', 'JetBrains Mono', 'Consolas', monospace;

    /* ============ Font sizes ============ */
    --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;
    --font-size-6xl:  3.75rem;
    --font-size-7xl:  4.5rem;
    --font-size-8xl:  6rem;
    --font-size-9xl:  8rem;

    /* ============ Line heights ============ */
    --leading-none:    1;
    --leading-tight:   1.25;
    --leading-snug:    1.375;
    --leading-normal:  1.5;
    --leading-relaxed: 1.625;
    --leading-loose:   2;

    /* ============ Letter spacing ============ */
    --tracking-tighter: -0.05em;
    --tracking-tight:   -0.025em;
    --tracking-normal:  0em;
    --tracking-wide:    0.025em;
    --tracking-wider:   0.05em;
    --tracking-widest:  0.1em;

    /* ============ Font weights ============ */
    --font-weight-thin:       100;
    --font-weight-extralight: 200;
    --font-weight-light:      300;
    --font-weight-normal:     400;
    --font-weight-medium:     500;
    --font-weight-semibold:   600;
    --font-weight-bold:       700;
    --font-weight-extrabold:  800;
    --font-weight-black:      900;

    /* ============ Layout ============ */
    --container-max-width: 1200px;
    --container-padding:   1.5rem;
    --section-padding:     5rem 0;
    --header-height:       80px;

    /* ============ Shadows ============ */
    --shadow-xs:     0 1px 2px rgba(28, 32, 48, 0.05);
    --shadow-sm:     0 1px 3px rgba(28, 32, 48, 0.10), 0 1px 2px rgba(28, 32, 48, 0.06);
    --shadow-md:     0 4px 6px rgba(28, 32, 48, 0.07), 0 2px 4px rgba(28, 32, 48, 0.06);
    --shadow-lg:     0 10px 15px rgba(28, 32, 48, 0.10), 0 4px 6px rgba(28, 32, 48, 0.05);
    --shadow-xl:     0 20px 25px rgba(28, 32, 48, 0.10), 0 10px 10px rgba(28, 32, 48, 0.04);
    --shadow-2xl:    0 25px 50px rgba(28, 32, 48, 0.25);
    --shadow-brand:  0 4px 14px rgba(28, 32, 48, 0.10);
    --shadow-accent: 0 4px 14px rgba(74, 140, 38, 0.15);

    /* ============ Border radii ============ */
    --radius-sm:  0.25rem;
    --radius-md:  0.375rem;
    --radius-lg:  0.5rem;
    --radius-xl:  0.75rem;
    --radius-2xl: 1rem;

    /* ============ Transitions ============ */
    --transition-fast:   all 0.15s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow:   all 0.5s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ============ Focus rings ============ */
    --focus-ring:        rgba(28, 32, 48, 0.15);
    --focus-ring-accent: rgba(74, 140, 38, 0.15);
    --focus-ring-error:  rgba(220, 38, 38, 0.15);
}

/* Базовые стили */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #1f2937;  /* Темно-серый для хорошего контраста на белом */
    background-color: #ffffff;  /* Чистый белый */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Browsers do not inherit font for form controls — force it */
button, input, select, textarea {
    font-family: inherit;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Утилитарные классы */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    z-index: 9999;
}

.skip-link:focus {
    top: 1rem;
}

/* ===== ТИПОГРАФИЧЕСКИЕ UTILITY КЛАССЫ ===== */

/* Размеры шрифтов */
.text-xs { font-size: var(--font-size-xs); line-height: var(--leading-normal); }
.text-sm { font-size: var(--font-size-sm); line-height: var(--leading-normal); }
.text-base { font-size: var(--font-size-base); line-height: var(--leading-normal); }
.text-lg { font-size: var(--font-size-lg); line-height: var(--leading-relaxed); }
.text-xl { font-size: var(--font-size-xl); line-height: var(--leading-relaxed); }
.text-2xl { font-size: var(--font-size-2xl); line-height: var(--leading-tight); }
.text-3xl { font-size: var(--font-size-3xl); line-height: var(--leading-tight); }
.text-4xl { font-size: var(--font-size-4xl); line-height: var(--leading-tight); }
.text-5xl { font-size: var(--font-size-5xl); line-height: var(--leading-none); }
.text-6xl { font-size: var(--font-size-6xl); line-height: var(--leading-none); }

/* Веса шрифтов */
.font-thin { font-weight: var(--font-weight-thin); }
.font-extralight { font-weight: var(--font-weight-extralight); }
.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }
.font-black { font-weight: var(--font-weight-black); }

/* Межстрочные интервалы */
.leading-none { line-height: var(--leading-none); }
.leading-tight { line-height: var(--leading-tight); }
.leading-snug { line-height: var(--leading-snug); }
.leading-normal { line-height: var(--leading-normal); }
.leading-relaxed { line-height: var(--leading-relaxed); }
.leading-loose { line-height: var(--leading-loose); }

/* Межбуквенные интервалы */
.tracking-tighter { letter-spacing: var(--tracking-tighter); }
.tracking-tight { letter-spacing: var(--tracking-tight); }
.tracking-normal { letter-spacing: var(--tracking-normal); }
.tracking-wide { letter-spacing: var(--tracking-wide); }
.tracking-wider { letter-spacing: var(--tracking-wider); }
.tracking-widest { letter-spacing: var(--tracking-widest); }

/* Семейства шрифтов */
.font-sans { font-family: var(--font-primary); }
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

/* Heading display font */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

/* Цвета текста - семантические */
.text-primary { color: var(--gray-900); }
.text-secondary { color: var(--gray-600); }
.text-muted { color: var(--gray-500); }
.text-accent { color: var(--accent-green); }
.text-brand { color: var(--primary-blue); }
.text-white { color: var(--white); }

/* Выравнивание текста */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Состояния текста */
.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }
.text-capitalize { text-transform: capitalize; }
.text-normal-case { text-transform: none; }

/* Специальные типографические эффекты */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Адаптивные размеры заголовков */
.display-1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    font-family: var(--font-display);
}

.display-2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    font-family: var(--font-display);
}

.display-3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-snug);
    font-family: var(--font-display);
}

/* Адаптивная типографика */
@media (min-width: 768px) {
    .display-1 { font-size: var(--font-size-6xl); }
    .display-2 { font-size: var(--font-size-5xl); }
    .display-3 { font-size: var(--font-size-4xl); }
}

/* ===== СИСТЕМА КОМПОНЕНТОВ CSS ===== */

/* Utility классы для layout */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.invisible { visibility: hidden; }

/* Flexbox utilities */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }

/* Spacing utilities */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Margin utilities */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }
.m-auto { margin: auto; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Padding utilities */
.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

/* Width utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-fit { width: fit-content; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }

/* Height utilities */
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }

/* Border radius utilities */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: 9999px; }

/* Shadow utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-none { box-shadow: none; }

/* Background utilities */
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-primary { background-color: var(--primary-blue); }
.bg-accent { background-color: var(--accent-green); }
.bg-transparent { background-color: transparent; }

/* Border utilities */
.border { border: 1px solid var(--gray-200); }
.border-2 { border: 2px solid var(--gray-300); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }
.border-primary { border-color: var(--primary-blue); }
.border-accent { border-color: var(--accent-green); }

/* Transition utilities */
.transition-none { transition: none; }
.transition-fast { transition: var(--transition-fast); }
.transition-normal { transition: var(--transition-normal); }
.transition-slow { transition: var(--transition-slow); }

/* Transform utilities */
.transform { transform: translateZ(0); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

/* Hover utilities */
.hover\\:scale-105:hover { transform: scale(1.05); }
.hover\\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover\\:bg-gray-50:hover { background-color: var(--gray-50); }

/* Focus utilities */
.focus\\:ring:focus { box-shadow: var(--focus-ring); }
.focus\\:ring-accent:focus { box-shadow: var(--focus-ring-accent); }
.focus\\:outline-none:focus { outline: none; }

/* ===== КОМПОНЕНТЫ ===== */

/* Современные кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-display);
    line-height: var(--leading-none);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-green-dark), var(--accent-green));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: none;
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

/* Современные карточки */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
    margin: 0;
}

.card-subtitle {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.card-body {
    margin-bottom: 1rem;
}

.card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.card-interactive {
    cursor: pointer;
    transition: var(--transition-normal);
}

.card-interactive:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

/* Бейджи */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-2xl);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.badge-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.badge-accent {
    background: var(--accent-green);
    color: var(--white);
}

.badge-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.badge-light {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Алерты */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    border-left: 4px solid;
    margin-bottom: 1rem;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--info-blue);
    color: var(--info-blue);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: var(--success-green);
    color: var(--success-green);
}

.alert-warning {
    background: rgba(251, 146, 60, 0.1);
    border-color: var(--warning-orange);
    color: var(--warning-orange);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error-red);
    color: var(--error-red);
}

/* ===== МИКРОАНИМАЦИИ И ЭФФЕКТЫ ===== */

/* Ripple эффект для кнопок */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Улучшенные hover эффекты для ссылок */
.link-hover {
    position: relative;
    text-decoration: none;
    transition: var(--transition-fast);
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-blue));
    transition: width 0.3s ease;
}

.link-hover:hover::after {
    width: 100%;
}

.link-hover:hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

/* Пульсирующая анимация для важных элементов */
.pulse {
    animation: pulse 2s infinite;
}

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

/* Bounce анимация для призывов к действию */
.bounce {
    animation: bounce 1s infinite;
}

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

/* Shake анимация для ошибок */
.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Fade in анимации */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.6s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.6s ease forwards;
}

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

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

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

@keyframes fadeInLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    to { opacity: 1; transform: translateX(0); }
}

/* Rotate анимации для иконок */
.rotate-on-hover {
    transition: transform 0.3s ease;
}

.rotate-on-hover:hover {
    transform: rotate(360deg);
}

.rotate-45 {
    transform: rotate(45deg);
}

.rotate-90 {
    transform: rotate(90deg);
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Floating анимация */
.float {
    animation: float 3s ease-in-out infinite;
}

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

/* Gradient анимации для фонов */
.animated-gradient {
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
}

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

/* Глитч эффект */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--error-red);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--info-blue);
    z-index: -2;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

/* Smooth hover effects для карточек */
.card-smooth:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Magnetic effect для кнопок */
.magnetic {
    position: relative;
    transition: transform 0.3s ease;
}

.magnetic:hover {
    transform: translate3d(0, -2px, 0);
}

/* Loading spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray-300);
    border-top: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-lg {
    width: 40px;
    height: 40px;
    border-width: 3px;
}

/* Dot loading animation */
.dots-loading {
    display: inline-block;
}

.dots-loading::after {
    content: '';
    animation: dots 1.5s linear infinite;
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-blue);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.5s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-blue); }
}

/* Предустановленные задержки для анимаций */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-500 { animation-delay: 0.5s; }
.delay-700 { animation-delay: 0.7s; }
.delay-1000 { animation-delay: 1s; }

/* ===== ПРОГРЕСС-БАР ПРОКРУТКИ ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-blue));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ===== ШАПКА САЙТА ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition-fast);
}

/* Исправление отступа для основного контента */
main {
    padding-top: calc(var(--header-height) + 1rem);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition-fast);
}

.brand-link:hover {
    opacity: 0.8;
}

.logo {
    width: clamp(128px, 16vw, 256px); /* Увеличен на 400% */
    height: auto;
    min-width: 128px;
    max-width: 256px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-fast);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
}

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

.nav-link:focus {
    outline: none;
    color: var(--primary-blue);
    box-shadow: var(--focus-ring);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== ГЕРОИЧЕСКИЙ РАЗДЕЛ ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--mwic-navy);
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ===== EM WAVE ANIMATION ===== */
.em-wave {
    width: 100%;
    height: 100%;
    display: block;
}

.em-wave-e,
.em-wave-b {
    animation: em-propagate 8s linear infinite;
}

.em-wave-b {
    animation-delay: -2s;
}

@keyframes em-propagate {
    from { transform: translateX(0); }
    to   { transform: translateX(300px); }
}

@media (prefers-reduced-motion: reduce) {
    .em-wave-e,
    .em-wave-b {
        animation: none;
    }
}

/* ── Wafer crystal background ──────────────────────────── */
.wafer-canvas {
    position: absolute;
    right: clamp(2%, calc(50% - 580px + 5%), 12%);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    pointer-events: none;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .wafer-canvas {
        display: none;
    }
}

/* Page-hero sub-variant */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--mwic-navy);
}

.page-hero .hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.em-wave--subtle .em-wave-e,
.em-wave--subtle .em-wave-b {
    opacity: 0.5;
}


.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: var(--header-height);
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

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

.line-break::before {
    content: "\A";
    white-space: pre;
}

/* Улучшенный highlight с fallback для старых браузеров */
.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-green-light), var(--accent-green-light));
    opacity: 0;
    transition: var(--transition-normal);
}

.highlight:hover::after {
    opacity: 0.3;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--accent-green-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-primary:focus {
    outline: none;
    box-shadow: var(--focus-ring-accent);
}

.btn-primary:active {
    background: var(--accent-green-dark);
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.2);
}

.btn-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== СТАТИСТИКА ===== */
.stats-section {
    padding: 3rem 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ===== ОБЩИЕ СТИЛИ РАЗДЕЛОВ ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    background: var(--accent-green-bg);
    color: var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    border: 1px solid var(--accent-green);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

/* ===== РАЗДЕЛ О КОМПАНИИ ===== */
.about-section {
    padding: var(--section-padding);
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.tech-badge {
    display: inline-block;
    background: var(--surface-elevated);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid var(--primary-blue);
    transition: var(--transition-normal);
    cursor: pointer;
}

.tech-badge:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.tech-badge:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.about-visual {
    position: relative;
}

.visual-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem;
}

.visual-overlay h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white !important;
}

.visual-overlay p {
    opacity: 0.9;
    color: white !important;
}

/* ===== УСЛУГИ ===== */
.services-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.service-card.modern-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-blue));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

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

.service-card.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
}

.service-card.modern-card:hover .card-icon {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.service-card.modern-card:hover .card-icon svg {
    color: var(--white);
}

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

.card-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    padding: 0.25rem 0;
    border-radius: var(--radius-sm);
}

.card-link:hover {
    color: var(--accent-green-dark);
}

.card-link:focus {
    outline: none;
    box-shadow: var(--focus-ring-accent);
    color: var(--accent-green-dark);
}

.link-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

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

/* ===== ПРОДУКЦИЯ ===== */
.products-section {
    padding: var(--section-padding);
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    color: var(--primary-blue);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.product-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== КОНТАКТЫ ===== */
.contact-section {
    background: var(--gray-50);
}

.contact-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    text-align: center;
}

.contact-hero .section-subtitle {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-hero .section-title {
    color: var(--white);
}

.contact-section .contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.contact-value {
    color: var(--gray-800);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-value:hover {
    color: var(--primary-blue);
}

.contact-value:focus {
    outline: none;
    color: var(--primary-blue);
    text-decoration: underline;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

/* ===== КАРТА И QR КОД ===== */
.map-container {
    margin-top: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.map-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.map-coordinates {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coordinates-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-family: var(--font-mono);
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.qr-code {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
}

.qr-code img {
    display: block;
    border-radius: 4px;
}

.interactive-map {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ===== ФОРМА ===== */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: var(--focus-ring);
    background-color: rgba(28, 32, 48, 0.02);
}

.form-input:invalid {
    border-color: var(--error-red);
}

.form-input:invalid:focus {
    box-shadow: var(--focus-ring-error);
}

.form-error {
    font-size: 0.875rem;
    color: #dc2626;
    display: none;
}

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

select.form-input {
    cursor: pointer;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    background: var(--white);
}

input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

input[type="checkbox"]:checked + .checkbox-custom::before {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

input[type="checkbox"] {
    display: none;
}

.privacy-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

.privacy-link:hover {
    text-decoration: underline;
}

.btn-submit {
    background: var(--accent-green);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loader {
    display: block;
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--mwic-green);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.footer-logo {
    width: clamp(128px, 16vw, 256px);
    height: auto;
    min-width: 128px;
    max-width: 256px;
}

.footer-text {
    opacity: 0.8;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: var(--font-display);
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-link:focus {
    outline: none;
    color: var(--white);
    text-decoration: underline;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ===== УВЕДОМЛЕНИЕ О КУКИ ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    color: white !important;
    padding: 1rem;
    z-index: 10000;
    box-shadow: var(--shadow-xl);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: white !important;
}

.cookie-content button {
    white-space: nowrap;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    align-items: center;
}

.cookie-content a {
    color: #E8F5DD;
    text-decoration: underline;
}

.cookie-content a:hover {
    color: white;
}

.cookie-content .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .cookie-buttons {
        margin-top: 0.25rem;
    }
}

/* ===== КНОПКА ВОЗВРАТА НАВЕРХ ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-green);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
    }
    
    main {
        padding-top: calc(var(--header-height) + 0.5rem);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100vh);
        transition: var(--transition-normal);
    }
    
    .nav-menu.open {
        transform: translateY(0);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        padding: 1.5rem;
    }
    
    .service-detail-card .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-detail-card .service-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .service-detail-card .service-title {
        font-size: 1.25rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .map-coordinates {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .coordinates-text {
        font-size: 0.8125rem;
    }
    
    .qr-code img {
        width: 60px;
        height: 60px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== АНИМАЦИИ ПОЯВЛЕНИЯ ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ===== УЛУЧШЕНИЯ ПРОИЗВОДИТЕЛЬНОСТИ ===== */
* {
    -webkit-tap-highlight-color: transparent;
}

img, video {
    loading: lazy;
}

/* ===== СЕМАНТИЧЕСКИЕ UI КЛАССЫ ===== */

/* Состояния алертов и уведомлений */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background: #f0fdf4;
    border-color: var(--success-green);
    color: #166534;
}

.alert-warning {
    background: #fef3c7;
    border-color: var(--warning-orange);
    color: #92400e;
}

.alert-error {
    background: #fef2f2;
    border-color: var(--error-red);
    color: #991b1b;
}

.alert-info {
    background: #eff6ff;
    border-color: var(--info-blue);
    color: #1e40af;
}

/* Статус бейджи */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    text-transform: capitalize;
}

.badge-success {
    background: var(--accent-green-bg);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

.badge-warning {
    background: #fef3c7;
    color: var(--warning-orange);
    border: 1px solid var(--warning-orange);
}

.badge-error {
    background: #fef2f2;
    color: var(--error-red);
    border: 1px solid var(--error-red);
}

.badge-info {
    background: #eff6ff;
    color: var(--info-blue);
    border: 1px solid var(--info-blue);
}

.badge-neutral {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

/* Улучшенные tooltip'ы */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before,
.tooltip::after {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition-fast);
    pointer-events: none;
}

.tooltip::before {
    content: attr(data-tooltip);
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.tooltip::after {
    content: '';
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--gray-900);
    margin-bottom: 0.125rem;
}

.tooltip:hover::before,
.tooltip:hover::after,
.tooltip:focus::before,
.tooltip:focus::after {
    visibility: visible;
    opacity: 1;
}

/* Улучшенная типографика */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

/* Интерактивные утилиты */
.interactive {
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.interactive:hover {
    transform: translateY(-1px);
}

.interactive:active {
    transform: translateY(0);
}

/* Фокус-ловушка для модалов и выпадающих меню */
.focus-trap {
    outline: none;
}

.focus-trap:focus-within {
    box-shadow: var(--focus-ring);
}

/* Скрытие элементов с анимацией */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

.fade-out {
    animation: fadeOut 0.3s ease-out;
}

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

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

/* Анимация загрузки */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Улучшенные состояния для интерактивных элементов */
.clickable {
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: var(--radius-sm);
}

.clickable:hover {
    background: var(--overlay-blue);
    transform: scale(1.02);
}

.clickable:active {
    transform: scale(0.98);
    background: var(--overlay-green);
}

.clickable:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Состояние отключенных элементов */
.disabled,
[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    user-select: none;
}

/* Улучшенные разделители */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    margin: 2rem 0;
}

.divider-vertical {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--gray-300), transparent);
    margin: 0 1rem;
}

/* Responsive скрытие для accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Поддержка высокой контрастности (оптимизировано для светлой темы) */
@media (prefers-contrast: high) {
    :root {
        --border-light: #4b5563;
        --border-medium: #374151;
        --border-strong: #1f2937;
    }
    
    .btn-secondary {
        border-width: 2px;
        font-weight: 600;
    }
    
    .card-link,
    .nav-link {
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-underline-offset: 4px;
    }
}

/* ТЕМНАЯ ТЕМА УДАЛЕНА - ФОКУС НА ИДЕАЛЬНОЙ СВЕТЛОЙ ТЕМЕ */

/* ===== КРИТИЧЕСКИЕ ИСПРАВЛЕНИЯ КОНТРАСТНОСТИ ===== */
/* Эти правила исправляют проблемы с нечитаемостью текста */

/* ОСНОВНОЙ ТЕКСТ - всегда темный на светлом */
body,
p, 
.card-description,
.about-text p,
.contact-value,
.services-checklist li {
    color: #1f2937 !important; /* Очень темный серый на белом фоне */
    background: transparent !important;
}

/* ЗАГОЛОВКИ - синий брендовый */
h1, h2, h3, h4, h5, h6,
.section-title,
.card-title,
.contact-title,
.hero-title {
    color: var(--primary-blue) !important; /* Синий брендовый */
}

/* НАВИГАЦИЯ */
.nav-link {
    color: #374151 !important; /* Темно-серый */
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-blue) !important; /* Синий при hover */
}

/* БРЕНДОВЫЕ ЭЛЕМЕНТЫ */
.brand-text {
    color: var(--primary-blue) !important;
}

/* HERO СЕКЦИЯ - белый текст на темном фоне */
.hero-title,
.hero-subtitle {
    color: #ffffff !important; /* Белый на темном градиенте */
}

/* ФУТЕР - светлый текст на темном фоне */
.footer {
    background: var(--primary-blue) !important; /* Темный фон */
}

.footer-text,
.footer-link,
.footer-copyright {
    color: #e5e7eb !important; /* Светло-серый на темном */
}

.footer-title {
    color: #ffffff !important; /* Белый для заголовков в футере */
}

/* ФОРМЫ */
.form-input {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 2px solid #d1d5db !important;
}

.form-input:focus {
    border-color: var(--primary-blue) !important;
}

.form-label {
    color: #374151 !important;
}

/* КНОПКИ */
.btn-primary {
    background: var(--accent-green) !important; /* Зеленый акцент */
    color: #ffffff !important;
}

.btn-primary:hover {
    background: var(--accent-green-dark) !important;
}

.btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

/* КОНТАКТЫ */
.contact-label {
    color: #6b7280 !important; /* Средний серый для лейблов */
}

.contact-value {
    color: #1f2937 !important; /* Темный для значений */
}

/* СТАТИСТИКА */
.stat-number {
    color: var(--primary-blue) !important; /* Синий брендовый */
}

.stat-label {
    color: #6b7280 !important; /* Серый для лейблов */
}

/* КАРТОЧКИ УСЛУГ */
.service-card .card-title {
    color: var(--primary-blue) !important;
}

.service-card .card-description {
    color: #4b5563 !important; /* Темно-серый */
}

/* ДЕТАЛЬНЫЕ КАРТОЧКИ УСЛУГ */
.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-detail-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-detail-card .service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
    transition: var(--transition-normal);
}

.service-detail-card:hover .service-icon {
    background: var(--mwic-green-soft);
    transform: scale(1.1);
}

.service-detail-card .service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-detail-card .service-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.service-detail-card .service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-detail-card .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.1rem;
}

/* КАРТОЧКИ ПРЕИМУЩЕСТВ */
.advantages-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.advantage-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.advantage-icon {
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.advantage-icon img {
    transition: var(--transition-normal);
    filter: brightness(0.9);
}

.advantage-card:hover .advantage-icon img {
    transform: scale(1.05);
    filter: brightness(1);
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.advantage-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Адаптивность для карточек преимуществ */
@media (max-width: 768px) {
    .advantages-section {
        padding: 4rem 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage-card {
        padding: 1.5rem;
    }
    
    .advantage-icon img {
        height: 150px;
    }
    
    .advantage-title {
        font-size: 1.25rem;
    }
}

/* TECH BADGES */
.tech-badge {
    background: #f3f4f6 !important;
    color: var(--primary-blue) !important;
    border: 1px solid #d1d5db !important;
}

/* ===== ОПТИМИЗИРОВАНО ТОЛЬКО ДЛЯ СВЕТЛОЙ ТЕМЫ ===== */

/* 
TEMНАЯ ТЕМА ПОЛНОСТЬЮ УДАЛЕНА по запросу пользователя.
Сайт теперь использует только светлую тему, как оригинальный дизайн.
Все цвета оптимизированы для белого фона и максимальной читаемости.

✅ Все тексты: темные (#1f2937, #374151) на светлых фонах (#ffffff, #f9fafb)
✅ Заголовки: брендовый синий (#1C2030, MWIC Navy)
✅ Hero секция: белый текст на темном градиенте
✅ Футер: светлый текст (#e5e7eb) на темном синем фоне (#1C2030, MWIC Navy)
✅ Формы: темный текст на белых полях
✅ Кнопки: белый текст на цветных фонах

Контрастность всех элементов: 4.5:1 и выше (WCAG 2.1 AA)
*/

/* ===== СТИЛИ ДЛЯ ИНФОГРАФИКИ ПРОЦЕССА РАЗРАБОТКИ СВЧ МИС ===== */

/* Секция процесса разработки */
.development-process-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.development-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(28, 32, 48, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(74, 140, 38, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 60% 40%, rgba(96, 177, 50, 0.02) 0%, transparent 40%);
    pointer-events: none;
    animation: backgroundFlow 20s ease-in-out infinite;
}

/* Анимация фонового градиента */
@keyframes backgroundFlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(-20px, -10px) scale(1.02);
        opacity: 0.8;
    }
    50% {
        transform: translate(10px, -20px) scale(1);
        opacity: 1;
    }
    75% {
        transform: translate(-10px, 10px) scale(0.98);
        opacity: 0.9;
    }
}

.development-process-section .container {
    position: relative;
    z-index: 2;
}

/* Заголовок секции */
.development-process-section .section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563 !important;
}

/* Прогресс-индикатор */
.development-progress {
    margin: 4rem 0;
    text-align: center;
}

.progress-bar {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), #3b82f6, var(--primary-blue));
    border-radius: 3px;
    width: 0;
    transition: width 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(96, 177, 50, 0.3);
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.3) 30%, 
        rgba(255,255,255,0.5) 50%, 
        rgba(255,255,255,0.3) 70%, 
        transparent 100%);
    border-radius: 3px;
    animation: progressShimmer 3s ease-in-out infinite;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    width: 8px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: progressPulse 1.5s ease-in-out infinite;
}

@keyframes progressShimmer {
    0% { 
        transform: translateX(-100%);
        opacity: 0;
    }
    50% { 
        transform: translateX(0%);
        opacity: 1;
    }
    100% { 
        transform: translateX(100%);
        opacity: 0;
    }
}

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

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Timeline инфографика */
.development-timeline {
    position: relative;
    max-width: 1000px;
    margin: 6rem auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gray-200);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--accent-green), var(--primary-blue));
    transition: height 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Timeline элементы */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
    padding-right: 3rem;
    padding-left: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
    padding-left: 3rem;
    padding-right: 0;
}

/* Timeline маркеры */
.timeline-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    z-index: 3;
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--white), var(--gray-50));
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(28, 32, 48, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.timeline-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.timeline-item:hover .timeline-icon {
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6, var(--primary-blue-light));
    border-color: var(--accent-green);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 15px 40px rgba(28, 32, 48, 0.3),
        0 0 20px rgba(96, 177, 50, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.timeline-item:hover .timeline-icon::before {
    transform: rotate(-45deg) translateX(100%);
}

.timeline-item:hover .timeline-icon svg {
    color: var(--white);
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: var(--accent-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
}

/* Timeline контент */
.timeline-content {
    flex: 1;
    max-width: 500px;
}

.timeline-card {
    background: linear-gradient(145deg, var(--white), #fefefe);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), #3b82f6, var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-card .shimmer-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(96, 177, 50, 0.05) 30%, 
        rgba(28, 32, 48, 0.05) 70%, 
        transparent);
    transition: left 0.8s ease-out;
    pointer-events: none;
}

.timeline-item:hover .timeline-card {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(96, 177, 50, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(96, 177, 50, 0.2);
}

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

.timeline-item:hover .timeline-card .shimmer-effect {
    left: 100%;
}

/* Стрелка указывающая на timeline */
.timeline-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-card::after {
    left: -24px;
    border-right-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-card::after {
    right: -24px;
    border-left-color: var(--white);
}

/* Timeline заголовки */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-title {
    font-size: 1.375rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6, var(--accent-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-blue) !important;
    margin: 0;
    line-height: 1.3;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover .timeline-title {
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 4px rgba(96, 177, 50, 0.2));
}

/* Timeline описание */
.timeline-description {
    color: #374151 !important;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.timeline-item:hover .timeline-description {
    color: #1f2937 !important;
    transform: translateY(-1px);
}

/* Deliverables (результаты этапа) */
.timeline-deliverables {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.deliverable-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 177, 50, 0.1), transparent);
    transition: left 0.5s ease-out;
}

.deliverable-item:hover {
    background: linear-gradient(135deg, var(--overlay-blue), rgba(96, 177, 50, 0.05));
    border-color: var(--primary-blue);
    transform: translateX(6px) scale(1.02);
    box-shadow: 0 4px 15px rgba(28, 32, 48, 0.1);
}

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

.deliverable-item:hover .deliverable-icon {
    transform: scale(1.2) rotate(10deg);
}

.deliverable-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.deliverable-item span:last-child {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700) !important;
}

/* Сводка разработки */
.development-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 6rem;
}

.summary-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-green), var(--primary-blue));
    opacity: 0;
    transition: var(--transition-normal);
}

.summary-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(96, 177, 50, 0.1);
    border-color: rgba(96, 177, 50, 0.3);
}

.summary-card:hover::before {
    opacity: 1;
    background: linear-gradient(180deg, var(--accent-green), #3b82f6, var(--primary-blue));
}

.summary-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
}

.summary-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.summary-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-blue) !important;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green) !important;
    margin-bottom: 0.25rem;
}

.summary-note {
    font-size: 0.875rem;
    color: var(--gray-500) !important;
    line-height: 1.5;
}


@keyframes fadeInTooltip {
    from { opacity: 0; transform: translateX(-50%) translateY(4px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Улучшенная анимация появления timeline элементов */
.timeline-item {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: timelineItemAppear 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.25s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(4) { animation-delay: 0.55s; }
.timeline-item:nth-child(5) { animation-delay: 0.7s; }
.timeline-item:nth-child(6) { animation-delay: 0.85s; }
.timeline-item:nth-child(7) { animation-delay: 1s; }

@keyframes timelineItemAppear {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Дополнительные микроанимации */
.deliverable-item {
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: inherit;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Стили для активного элемента timeline */
.timeline-item.timeline-active .timeline-icon {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
    border-color: var(--accent-green);
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(96, 177, 50, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}

.timeline-item.timeline-active .timeline-icon svg {
    color: var(--white);
}

.timeline-item.timeline-active .step-number {
    background: var(--white);
    color: var(--accent-green);
    font-weight: 700;
}

.timeline-item.timeline-active .timeline-card {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(96, 177, 50, 0.15);
    border: 2px solid var(--accent-green-light);
}

.timeline-item.timeline-active .timeline-title {
    color: var(--accent-green);
}

/* Стили для hover эффектов */
.timeline-item.timeline-hover .timeline-card {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(28, 32, 48, 0.18);
}

.timeline-item.timeline-hover .timeline-icon {
    transform: scale(1.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Анимация пульсации для активного элемента */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(96, 177, 50, 0.4);
    }
    50% {
        box-shadow: 0 15px 40px rgba(96, 177, 50, 0.6), 0 0 20px rgba(96, 177, 50, 0.3);
    }
}

/* УЛУЧШЕННАЯ АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ */
@media (max-width: 768px) {
    .development-process-section {
        padding: 3rem 0;
    }
    
    .development-process-section::before {
        animation-duration: 30s; /* Замедляем анимацию на мобильных */
    }
    
    /* Вертикальная timeline на мобильных */
    .timeline-line {
        left: 25px;
        width: 3px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 2.5rem;
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 0;
        flex: 1;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
        margin-left: 0;
    }
    
    .timeline-icon {
        width: 44px;
        height: 44px;
        border-width: 2px;
    }
    
    .timeline-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.625rem;
        bottom: -6px;
        right: -6px;
    }
    
    /* Стрелки для мобильных */
    .timeline-card::after,
    .timeline-item:nth-child(even) .timeline-card::after {
        left: -10px;
        right: auto;
        border-right-color: var(--white);
        border-left-color: transparent;
        border-width: 6px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .timeline-title {
        font-size: 1.125rem;
        line-height: 1.4;
    }
    
    .timeline-description {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }
    
    .timeline-card {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }
    
    .timeline-deliverables {
        gap: 0.5rem;
    }
    
    .deliverable-item {
        padding: 0.625rem;
        font-size: 0.8125rem;
    }
    
    .deliverable-icon {
        font-size: 1rem;
    }
    
    /* Прогресс-бар для мобильных */
    .progress-bar {
        height: 4px;
        max-width: 100%;
    }
    
    .progress-labels {
        font-size: 0.8125rem;
    }
    
    /* Summary cards для мобильных */
    .development-summary {
        grid-template-columns: 1fr;
        margin-top: 3rem;
        gap: 1.5rem;
    }
    
    .summary-card {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .summary-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .summary-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .summary-content h4 {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .summary-value {
        font-size: 1.25rem;
        margin-bottom: 0.125rem;
    }
    
    .summary-note {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .development-process-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.875rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .timeline-card {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-title {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .timeline-description {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .development-summary {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .summary-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .summary-icon {
        align-self: center;
        width: 40px;
        height: 40px;
    }
    
    .deliverable-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .deliverable-item span:last-child {
        font-size: 0.75rem;
    }
    
    .deliverable-icon {
        font-size: 0.875rem;
    }
    
    /* Оптимизация hover эффектов на мобильных */
    .timeline-item:hover .timeline-card {
        transform: translateY(-2px) scale(1.01);
    }
    
    .timeline-item:hover .timeline-icon {
        transform: scale(1.05) rotate(2deg);
    }
}

@media (max-width: 480px) {
    .timeline-card {
        padding: 1.25rem;
    }
    
    .timeline-title {
        font-size: 1.125rem;
    }
    
    .development-summary {
        gap: 1.5rem;
    }
    
    .deliverable-item {
        padding: 0.6rem;
    }
    
    .deliverable-item span:last-child {
        font-size: 0.8125rem;
    }
}

/* ===== УЛУЧШЕННАЯ НАВИГАЦИЯ ПРОДУКТОВ (PRODUCTS.PHP) ===== */

/* Дополнительные стили для упрощенной навигации */
.product-finder {
    position: relative;
    z-index: 10;
}

.search-input-container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-input-container:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(28, 32, 48, 0.15);
}

.category-tab:hover .category-icon svg {
    transform: scale(1.1);
}

.category-tab.active .category-icon svg {
    transform: scale(1.15) rotate(5deg);
}

/* Стили для подсветки результатов поиска */
.search-highlight {
    background: linear-gradient(120deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* Стили для пустых результатов поиска */
.no-results-message {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-600);
    background: var(--gray-50);
    border-radius: 12px;
    border: 2px dashed var(--gray-300);
    margin: 2rem 0;
}

.no-results-message .search-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    opacity: 0.3;
}

/* Улучшенные стили для статистики категорий */
.products-count {
    position: relative;
    overflow: hidden;
}

.products-count::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.6s ease;
}

.category-tab:hover .products-count::before {
    left: 100%;
}

/* Анимации загрузки для таблиц */
.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: var(--primary-blue);
}

/* Улучшения для больших экранов */
@media (min-width: 1200px) {
    .category-tabs {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        margin: 1rem auto;
    }
    
    .search-input-container {
        max-width: 700px;
    }
    
    .product-finder {
        max-width: 1200px;
        margin: 0 auto 3rem;
    }
}

/* Стили для планшетов */
@media (min-width: 769px) and (max-width: 1199px) {
    .category-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-tab {
        min-height: 140px;
    }
}

/* ===== УПРОЩЕННАЯ ФОРМА КОНТАКТОВ ===== */
.contact-form.simplified {
    max-width: 600px;
    margin: 0 auto;
}

.form-group.large {
    margin-bottom: 2rem;
}

.form-input.large,
.form-select.large,
.form-textarea.large {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    min-height: 56px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: var(--transition-normal);
}

.form-input.large:focus,
.form-select.large:focus,
.form-textarea.large:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-progress {
    width: 100%;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    width: 0%;
    transition: width 0.3s ease;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-height: 56px;
    font-weight: 600;
    border-radius: var(--radius-lg);
}

.form-notice.simplified {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 1rem;
}

.form-textarea.large {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

/* Адаптивность упрощенной формы */
@media (max-width: 768px) {
    .contact-form.simplified {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .form-input.large,
    .form-select.large,
    .form-textarea.large {
        font-size: 1rem;
        padding: 0.875rem 1rem;
        min-height: 48px;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        min-height: 48px;
    }
    
    .form-group.large {
        margin-bottom: 1.5rem;
    }
}/* Trust indicators styles */
.trust-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.credentials-block h3,
.expertise-metrics h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.credentials-grid {
    display: grid;
    gap: 1.5rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.credential-item:hover {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.credential-icon {
    font-size: 2rem;
    background: var(--primary-blue);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.credential-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.credential-info p {
    color: var(--gray-600);
    margin: 0;
    font-size: var(--font-size-sm);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-item {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.metric-item:hover {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Process and guarantees styles */
.process-trust-section {
    padding: 4rem 0;
    background: var(--white);
}

.trust-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.process-guarantees h3,
.case-studies-preview h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.guarantees-list {
    display: grid;
    gap: 1.5rem;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.guarantee-icon {
    font-size: 1.5rem;
    background: var(--accent-green);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.guarantee-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: var(--font-size-sm);
}

.cases-grid {
    display: grid;
    gap: 1.5rem;
}

.case-item {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.case-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.case-item p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
}

.case-specs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-specs span {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

/* Contact trust styles */
.contact-trust {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border: 1px solid var(--border-light);
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-icon {
    font-size: 2rem;
    background: var(--accent-green);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-content strong {
    color: var(--primary-blue);
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
}

.badge-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: var(--font-size-sm);
}

.person-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.person-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.person-details h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.person-details p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
}

.person-credentials {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

/* Responsive design */
@media (max-width: 768px) {
    .trust-content,
    .trust-process,
    .contact-trust {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trust-section,
    .process-trust-section {
        padding: 2rem 0;
    }
    
    .credential-item,
    .guarantee-item {
        padding: 1rem;
    }
    
    .person-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .credential-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }

    .case-specs {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ УТИЛИТ ===== */

.utilities-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    min-height: 80vh;
}

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

.utility-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.utility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.utility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(96, 177, 50, 0.3);
}

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

.utility-content {
    flex-grow: 1;
}

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

.utility-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.utility-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: var(--accent-green-bg);
    color: var(--accent-green);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.utility-actions {
    margin-top: auto;
}

.utility-card.coming-soon {
    opacity: 0.7;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--warning-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
}

.utilities-info {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

.utilities-info h3 {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.utilities-info p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .utilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .utility-card {
        padding: 1.5rem;
    }

    .utilities-info {
        padding: 2rem 1.5rem;
    }
}

/* ===== PRODUCT SPECS: IBM Plex Mono for numeric cells ===== */
table.display td.mono-cell,
.dataTable td.mono-cell,
#product-table td.mono-cell {
    font-family: var(--font-mono);
    font-feature-settings: 'tnum' 1;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Table headers use display font */
table th,
.dataTable thead th {
    font-family: var(--font-display);
}