/* Серьезный деловой стиль */
:root {
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --secondary: #2563eb;
    --accent: #1e40af;
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --white: #ffffff;
    --border-radius: 6px;
    --border-radius-lg: 8px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 247, 250, 0.92) 100%);
    font-size: 16px;
    position: relative;
    min-height: 100vh;
}



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

section {
    padding: 96px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    margin: 20px 0;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--gray-900);
    text-shadow: none;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
}

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

/* Деловые кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 8px;
    font-size: 0.875rem;
}

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

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

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

.btn-secondary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-outline {
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    background: var(--white);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

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

.btn-call:hover {
    background: #047857;
    border-color: #047857;
}

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

.btn-natural:hover {
    background: #047857;
    border-color: #047857;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Хедер в минималистичном стиле */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.875rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 32px;
    background: var(--gray-50);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.language-switcher span {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.75rem;
}

.language-switcher span.active {
    background: var(--primary);
    color: var(--white);
}

.lang-divider {
    color: var(--gray-400);
    font-weight: 500;
}

/* ЯРКИЙ главный экран с большими горами */
.hero {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(1px);
    position: relative;
    padding: 160px 0 120px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 900px;
    height: 700px;
    background: 
        /* Большая горная вершина */
        linear-gradient(135deg, transparent 20%, rgba(75, 85, 99, 0.9) 40%, transparent 60%),
        /* Снежная шапка */
        radial-gradient(ellipse at 50% 15%, rgba(255, 255, 255, 1.0) 0%, transparent 30%),
        /* Ледник на склоне */
        radial-gradient(ellipse at 70% 40%, rgba(59, 130, 246, 0.9) 0%, transparent 25%);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 1.0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 800px;
    height: 600px;
    background: 
        /* Вторая большая гора */
        linear-gradient(45deg, transparent 30%, rgba(156, 163, 175, 0.95) 50%, transparent 70%),
        /* Снежная вершина */
        radial-gradient(ellipse at 40% 20%, rgba(243, 244, 246, 1.0) 0%, transparent 25%),
        /* Большой ледник */
        radial-gradient(ellipse at 60% 35%, rgba(147, 197, 253, 0.95) 0%, transparent 35%);
    border-radius: 50%;
    filter: blur(12px);
    opacity: 1.0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--gray-900);
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 48px;
    color: var(--gray-600);
    font-weight: 400;
}

.simple-explanation {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    margin: 60px 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    min-width: 200px;
    flex: 1;
    height: 100%;
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.step i {
    font-size: 2rem;
    color: var(--secondary);
}

.step span {
    color: var(--gray-700);
    font-weight: 500;
    text-align: center;
    font-size: 0.875rem;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--gray-400);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
}


/* ПРОФЕССИОНАЛЬНЫЙ ДОКУМЕНТАЛЬНЫЙ СТИЛЬ */
.advice-section {
    background: #fafafa;
    position: relative;
    border-top: 2px solid #1e40af;
    border-bottom: 2px solid #1e40af;
}

.advice-section .section-title {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 8px;
}

.advice-section .section-subtitle {
    color: #64748b;
    font-weight: 500;
    margin-bottom: 40px;
}

/* Документационные карточки */
.advice-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.advice-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 32px;
    position: relative;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
}

.advice-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.advice-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.advice-card h3 i {
    font-size: 1.5rem;
    color: #3b82f6;
    background: #eff6ff;
    padding: 12px;
    border-radius: 8px;
}

.highlight {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 20px;
    margin: 24px 0;
    border-radius: 8px;
}

.tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.advice-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.advice-card li {
    position: relative;
    padding: 16px 0 16px 32px;
    color: #475569;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.advice-card li:last-child {
    border-bottom: none;
}

.advice-card li::before {
    content: counter(list-item);
    position: absolute;
    left: 0;
    top: 16px;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

.advice-card ul {
    counter-reset: list-item;
}

.advice-card li:hover {
    color: #1e293b;
    transform: translateX(4px);
}

.formulation {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin: 24px 0;
    border-radius: 8px;
    position: relative;
}

.formulation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #3b82f6;
    border-radius: 4px 0 0 4px;
}

.formulation h4 {
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    margin-left: 12px;
}

.official-text {
    color: #64748b;
    font-style: italic;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 8px;
    padding: 12px;
    background: white;
    border-radius: 6px;
}

.simplified-text {
    color: #059669;
    font-weight: 600;
    line-height: 1.6;
    padding: 12px;
    background: #ecfdf5;
    border-radius: 6px;
    border: 1px solid #a7f3d0;
}


.problem-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 5%;
    width: 600px;
    height: 400px;
    background: 
        linear-gradient(135deg, transparent 25%, rgba(75, 85, 99, 0.8) 45%, transparent 65%),
        radial-gradient(ellipse at 60% 25%, rgba(59, 130, 246, 0.9) 0%, transparent 30%),
        radial-gradient(ellipse at 80% 40%, rgba(255, 255, 255, 0.95) 0%, transparent 20%);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 1.0;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 3%;
    width: 550px;
    height: 350px;
    background: 
        linear-gradient(45deg, transparent 20%, rgba(107, 114, 128, 0.85) 40%, transparent 60%),
        radial-gradient(ellipse at 35% 30%, rgba(243, 244, 246, 0.95) 0%, transparent 25%),
        radial-gradient(ellipse at 65% 50%, rgba(96, 165, 250, 0.9) 0%, transparent 30%);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 1.0;
}

/* Убираем декоративные размытые фигуры на фоне */
.hero::before,
.hero::after,
.problem-section::before,
.solution-section::before {
    content: none;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.problem-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.problem-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.problem-card i {
    font-size: 2.5rem;
    color: var(--error);
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.simple-statement {
    background: var(--gray-50);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.simple-statement i {
    font-size: 2rem;
    color: var(--warning);
    flex-shrink: 0;
}

.simple-statement p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.simple-statement strong {
    color: var(--primary);
    font-weight: 700;
}

/* Шаги решения */
.solution-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    margin: 64px 0;
}

.solution-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 32px 20px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    box-shadow: var(--shadow);
}

.solution-step i {
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 16px;
    transition: var(--transition);
}

.solution-step:hover i {
    transform: scale(1.1);
}

.solution-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
}

.glacier-definition {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: var(--white);
    color: var(--gray-900);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.glacier-definition:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.glacier-definition h3 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.glacier-definition i {
    font-size: 1.5rem;
    color: var(--success);
}

.video-section {
    margin-top: 48px;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .video-container iframe {
        height: 250px;
    }
}


.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.process-step {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.step-circle {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
    margin: 0 auto 16px;
    box-shadow: var(--shadow);
}

/* Цветовые группы для шагов процесса */
.step-black .step-circle {
    background: #1f2937;
    border: 2px solid #374151;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

.step-ice .step-circle {
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    border: 2px solid #dbeafe;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.step-green .step-circle {
    background: linear-gradient(135deg, #10b981, #34d399);
    border: 2px solid #d1fae5;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
}

.step-note {
    color: var(--gray-500);
    font-style: italic;
    margin-top: 12px;
    font-size: 0.75rem;
}

/* Продукты и другие карточки */
.products-grid, .documents-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.documents-section .text-center {
    margin-top: 24px;
}

.product-card, .document-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-card:hover, .document-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    position: relative;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.document-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.document-item span {
    color: var(--gray-700);
    font-weight: 500;
}

/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top i {
    font-size: 1.25rem;
}

/* Футер */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 64px 0 32px;
    margin-top: 96px;
}

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

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-2px);
    background: var(--gray-700);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.contact-item:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--gray-600);
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 2px;
}

.contact-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--gray-900);
}

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

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--gray-900);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

body.menu-open {
    overflow: hidden;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 56px 0;
        margin: 16px 0;
    }

    .problem-section,
    .solution-section {
        background: rgba(255, 255, 255, 0.96);
    }

    .navbar {
        padding: 12px 0;
        justify-content: flex-end;
    }

    .nav-right {
        margin-left: auto;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
    }

    .language-switcher {
        margin-left: 0;
        justify-content: center;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -110%;
        width: min(86vw, 320px);
        height: 100dvh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 84px 16px 24px;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.18);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 0;
        padding: 12px 14px;
        width: 100%;
        max-width: 260px;
        text-align: center;
        background: var(--gray-50);
        border-radius: 10px;
        color: var(--gray-900);
        border: 1px solid var(--gray-200);
    }

    .nav-links a:hover {
        background: var(--gray-100);
        transform: translateX(4px);
    }

    .hero {
        padding: 100px 0 64px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.05rem;
        margin-bottom: 28px;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .section-subtitle {
        margin-bottom: 28px;
    }

    .simple-explanation {
        flex-direction: column;
        gap: 12px;
        margin: 32px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin: 32px auto 0;
        max-width: 360px;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 44px;
    }

    .step {
        min-width: 0;
        width: 100%;
    }

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

    .simple-statement {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 12px;
    }

    .solution-steps {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .solution-step {
        flex: 0 0 auto;
        min-width: 0;
        width: 100%;
        padding: 28px 14px 20px;
    }

    .solution-step h3 {
        font-size: 0.95rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .video-container iframe {
        height: 250px;
    }

    .problem-grid,
    .products-grid,
    .documents-list,
    .process-timeline,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 220px;
    }

    .document-item {
        align-items: flex-start;
    }

    .advice-card {
        padding: 24px;
    }

    .advice-card h3 {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tags {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .contacts-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .contact-info {
        max-width: 100%;
    }

    .footer-content {
        text-align: center;
        gap: 28px;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 88px 0 52px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-buttons .btn-outline {
        background: var(--white);
        color: var(--gray-900);
        border: 1px solid var(--gray-300);
    }

    .hero-buttons .btn-call {
        background: var(--success);
        color: var(--white);
        border: 1px solid var(--success);
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .solution-step {
        padding: 24px 12px 18px;
    }

    .solution-step h3 {
        font-size: 0.9rem;
    }

    .product-card,
    .document-item,
    .advice-card,
    .contact-item {
        padding: 16px;
    }

    .product-image {
        height: 180px;
    }

    .nav-links {
        width: 100%;
        max-width: none;
        padding: 76px 12px 20px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        right: 16px;
        bottom: 16px;
    }
}
