/* =================================================================
   Отполированный дизайн - сохраняем душу проекта
   ================================================================= */

:root {
    /* Улучшенная зеленая палитра - сохраняем оригинальную гамму */
    --primary: #2d6a4f;           /* Основной зеленый */
    --primary-light: #52b788;     /* Светлый зеленый */
    --primary-dark: #1b5e3f;      /* Темный зеленый */
    --primary-soft: #d8f3dc;      /* Очень светлый зеленый */
    
    --accent: #0077b6;            /* Синий акцент */
    --accent-light: #00b4d8;     
    --accent-dark: #005f8a;
    
    --danger: #d00000;            /* Красный для экстренных */
    --danger-light: #dc2f2f;
    --warning: #fb8500;           /* Оранжевый */
    --success: #2d6a4f;           /* Успех = primary */
    
    /* Улучшенные нейтральные */
    --text-primary: #1c1c1c;
    --text-secondary: #4a4a4a;
    --text-light: #6c6c6c;
    --text-muted: #999999;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8faf9;      /* Легкий зеленоватый оттенок */
    --bg-light: #f3f6f4;
    --bg-accent: #edf7f0;
    
    --border: #e0e5e2;
    --border-light: #ecf0ed;
    
    /* Улучшенные тени */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.12);
    
    /* Скругления */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

/* Типографика с Inter */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-top: 0;
}

h1 { 
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 20px;
}

h2 { 
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 18px;
}

h3 { 
    font-size: clamp(20px, 3.5vw, 26px);
    margin-bottom: 16px;
}

h4 { 
    font-size: clamp(18px, 3vw, 22px);
    margin-bottom: 14px;
}

h5 { 
    font-size: clamp(16px, 2.5vw, 18px);
    margin-bottom: 12px;
}

h6 { 
    font-size: clamp(14px, 2vw, 16px);
    margin-bottom: 10px;
}

p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* Исправляем подчеркивание для кнопок и специальных ссылок */
.btn,
.btn:hover,
.btn:focus,
.emergency-btn,
.emergency-btn:hover,
.emergency-phone,
.emergency-phone:hover,
.card-link,
.card-link:hover,
.fact-link,
.fact-link:hover,
.logo a,
.logo a:hover,
.nav-group a,
.nav-group a:hover,
.footer-section a,
.footer-section a:hover,
.floating-menu a,
.floating-menu a:hover,
.emergency-phone-item a,
.emergency-phone-item a:hover,
.footer-sources a,
.footer-sources a:hover,
.footer-legal-links a,
.footer-legal-links a:hover,
.main-link,
.main-link:hover,
.sitemap-item,
.sitemap-item:hover,
.sitemap-item a,
.sitemap-item a:hover,
.resource-card,
.resource-card:hover,
.story-card a,
.story-card a:hover,
.help-card a,
.help-card a:hover,
.method-card,
.method-card:hover,
.method-card a,
.method-card a:hover,
.app-card,
.app-card:hover,
.app-card a,
.app-card a:hover,
.contact-card,
.contact-card:hover,
.contact-card a,
.contact-card a:hover {
    text-decoration: none !important;
}

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

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

/* Emergency Bar - полированная версия */
.emergency-bar {
    background: linear-gradient(90deg, #c62828, #d32f2f);
    color: white;
    padding: 12px 0;
    font-size: 14px;
    position: relative;
    z-index: 100;
}

.emergency-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        rgba(255,255,255,0.5),
        rgba(255,255,255,0.3),
        transparent
    );
}

.emergency-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.emergency-text {
    font-weight: 500;
}

.emergency-btn,
.emergency-phone {
    color: white;
    text-decoration: none;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    transition: all 0.2s;
    font-weight: 500;
    white-space: nowrap;
    font-size: 13px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-btn:hover,
.emergency-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header - чище и современнее */
.site-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    position: -webkit-sticky; /* для Safari */
    top: 0;
    z-index: 999; /* высокий z-index */
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-lg);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.logo-text span {
    color: var(--primary);
}

.logo-subtitle {
    font-size: 10px;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 54px;
    margin-top: 2px;
    letter-spacing: 0.02em;
    opacity: 0.8;
}

/* Navigation - улучшенная версия */
.main-nav {
    display: flex;
    gap: 8px;
}

.nav-group {
    position: relative;
}

/* Создаем невидимый мостик для предотвращения закрытия меню при движении курсора */
.nav-group::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 15px; /* Увеличиваем зону для более надежного перехода */
    z-index: 999;
    pointer-events: none; /* По умолчанию не блокируем клики */
}

/* Активируем мостик при hover на группе */
.nav-group:hover::before {
    pointer-events: auto; /* Теперь мостик ловит hover */
}

.nav-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.15s ease; /* Более быстрая анимация */
    border-radius: var(--radius-md);
    white-space: nowrap;
    user-select: none; /* Предотвращаем выделение текста */
}

/* Ссылка-label в навигации (выглядит как nav-label, но кликабельная) */
a.nav-label {
    text-decoration: none;
}

a.nav-label:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

/* Убираем CSS hover - всё управляется через JS для избежания конфликтов */

.nav-group ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% - 2px); /* Создаем небольшое перекрытие с триггером */
    left: -8px; /* Расширяем зону слева */
    background: white;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: 8px;
    padding-top: 12px; /* Компенсируем перекрытие */
    min-width: 256px; /* Увеличиваем минимальную ширину */
    z-index: 1000;
    list-style: none;
    border: 1px solid var(--border-light);
    transition: opacity 0.15s ease, visibility 0s linear 0.15s; /* Быстрая анимация */
    pointer-events: none; /* Отключаем взаимодействие когда скрыто */
}

/* Когда меню видимо (управляется через JS) */
.nav-group ul[style*="visibility: visible"] {
    pointer-events: auto; /* Включаем взаимодействие */
    transition: opacity 0.15s ease, visibility 0s linear 0s;
}

/* Убираем CSS hover эффекты - всё управляется через JS */
/* Анимация появления */
@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Удалено - анимация теперь встроена в slideDownMenu выше */

.nav-group a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s;
    border-radius: var(--radius-sm);
}

.nav-group a:hover {
    background: var(--bg-light);
    color: var(--primary);
    transform: translateX(2px);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.mobile-menu-toggle:hover {
    background: var(--bg-light);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

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

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

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

/* Hero Section - отполированная */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: clamp(40px, 6vw, 60px) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent),
        radial-gradient(circle at 20% 80%, rgba(82, 183, 136, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

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

.hero-small {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

.hero-big {
    display: block;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Buttons - улучшенная версия */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    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.4s, height 0.4s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
    min-height: 56px;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

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

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-icon {
    font-size: 20px;
}

/* Stats - улучшенные */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.stat-text {
    font-size: 14px;
    color: white;
    opacity: 1;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.stat-note {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stat-note a {
    color: white;
    text-decoration: underline;
}

/* Quick Help Section - полировка */
.quick-help {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.help-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.help-card.urgent {
    background: #fff5f5;
    border: 2px solid var(--danger);
}

.help-card.urgent::before {
    background: var(--danger);
    transform: scaleX(1);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
}

.help-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.help-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

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

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

/* Recovery Path - улучшено */
.recovery-path {
    padding: 80px 0;
    background: white;
}

.path-steps {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.path-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary-light), 
        var(--primary), 
        var(--primary-light)
    );
    z-index: 0;
}

.path-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.path-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.path-step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* Stories Preview - полировка */
.stories-preview {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.story-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.story-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.story-content {
    flex: 1;
}

.story-quote {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 15px;
}

.story-author {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

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

/* Resources Section */
.resources {
    padding: 80px 0;
    background: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.resource-card {
    background: var(--bg-light);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid transparent;
}

.resource-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    background: white;
    box-shadow: var(--shadow-md);
}

.resource-icon {
    font-size: 32px;
}

.resource-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
}

.resource-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Facts Section - добавлено */
.facts-section {
    max-width: 1100px;
    margin: 0 auto;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.fact-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.fact-label {
    display: inline-block;
    font-size: 13px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.fact-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.fact-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.fact-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
    margin-bottom: 0; /* Убираем лишний отступ перед футером */
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent);
    pointer-events: none;
}

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

.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.cta-content p {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 36px;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer - улучшенный */
.site-footer {
    background: #1a1a1a;
    color: #e0e0e0;
    margin-top: 0;
}

/* Общие секции с отступами */
section:not(.hero):not(.page-hero):not(.sitemap-hero):not(.emergency-bar) {
    margin-top: 80px;
}

.footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-emergency {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 40px;
}

.footer-emergency h4 {
    color: #ff6b6b;
    margin-bottom: 16px;
    font-size: 18px;
}

.emergency-phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.emergency-phone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.emergency-phone-item a {
    color: #ff8787;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

.emergency-phone-item a:hover {
    color: #ff6b6b;
}

.emergency-phone-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 колонок как и должно быть */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Для средних экранов - 3 колонки, потом 2 */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.footer-section h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

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


.footer-contact-info,
.footer-contact-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-info span,
.footer-contact-social span {
    color: rgba(255, 255, 255, 0.3);
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    color: rgba(255, 255, 255, 0.5);
}

.footer-social-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.footer-sources {
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-sources h4 {
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    text-align: center;
}

.footer-sources ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.footer-sources li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.footer-sources li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-sources a {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 500;
}

.footer-sources a:hover {
    color: #90caf9;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-sources ul {
        grid-template-columns: 1fr;
    }
}

/* Responsible Gambling Section */
.footer-responsible {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
}

.responsible-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.responsible-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.responsible-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-1px);
}

.responsible-badge.age-badge {
    background: linear-gradient(135deg, #d00000 0%, #9d0208 100%);
    border-color: #d00000;
    color: #fff;
    font-weight: 700;
    min-width: 50px;
}

.responsible-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.responsible-text a {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 500;
}

.responsible-text a:hover {
    color: #90caf9;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .responsible-badges {
        gap: 8px;
    }
    
    .responsible-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
}

.footer-bottom {
    padding: 30px 0;
    background: #0f0f0f;
}

.footer-contact-mail {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    text-decoration: underline;
}

.footer-contact-mail:hover {
    color: inherit;
}

.footer-contact-line {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 576px) {
    .footer-contact-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Language Switcher */
.footer-language-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.footer-language-switcher .lang-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    white-space: nowrap;
}

.footer-language-switcher .lang-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-language-switcher .lang-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.footer-language-switcher .lang-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.footer-language-switcher .lang-link.lang-active {
    color: var(--primary-light);
    background: rgba(82, 183, 136, 0.15);
    font-weight: 500;
}

@media (max-width: 576px) {
    .footer-language-switcher {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-language-switcher .lang-links {
        gap: 6px;
    }
    
    .footer-language-switcher .lang-link {
        font-size: 12px;
        padding: 3px 8px;
    }
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    line-height: 1.6;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating Help Button */
.floating-help {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-btn {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.floating-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    border: 1px solid var(--border);
}

.floating-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.floating-menu a:hover {
    background: var(--bg-light);
}

/* PWA install banner */
.pwa-install-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 120%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
    max-width: 680px;
    width: calc(100% - 28px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1200;
}

.pwa-install-banner.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.pwa-install-content {
    flex: 1;
    min-width: 0;
}

.pwa-install-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #e0f2e7;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.pwa-install-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pwa-install-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 12.5px;
    margin: 0;
    line-height: 1.4;
}

.pwa-install-note {
    display: block;
    margin-left: 0;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    font-size: 12px;
    margin-top: 6px;
}

.pwa-install-banner[data-mode="manual"] .pwa-install-note {
    color: #ffffff;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
    margin-top: 4px;
}

.pwa-install-actions .btn,
.pwa-install-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    min-width: 110px;
    padding: 0 12px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 12.5px;
    box-shadow: none;
}

.pwa-install-close {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwa-install-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
    .pwa-install-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: 12px;
        width: calc(100% - 18px);
        padding: 14px 14px 12px;
    }

    .pwa-install-actions {
        width: 100%;
        justify-content: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    .pwa-install-actions .btn,
    .pwa-install-close {
        flex: 1;
        text-align: center;
        min-width: 0;
    }

    .pwa-install-note {
        display: block;
        margin: 8px 0 0;
    }
}

/* Page Hero и все hero секции */
.page-hero,
.sitemap-hero,
.block-hero,
.therapy-hero,
.emergency-hero,
.stories-hero,
.test-hero,
.groups-hero,
.donate-hero,
.signs-hero,
.consequences-hero,
.myths-hero,
.steps-hero,
.chat-hero,
.finances-hero,
.relatives-hero,
.apps-hero,
.faq-hero,
.forum-hero,
.contacts-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: clamp(40px, 6vw, 60px) 0;
    text-align: center;
    position: relative;
}

/* Легкий оверлей для глубины */
.page-hero::before,
.sitemap-hero::before,
.block-hero::before,
.therapy-hero::before,
.emergency-hero::before,
.stories-hero::before,
.test-hero::before,
.groups-hero::before,
.donate-hero::before,
.signs-hero::before,
.consequences-hero::before,
.myths-hero::before,
.steps-hero::before,
.chat-hero::before,
.finances-hero::before,
.relatives-hero::before,
.apps-hero::before,
.faq-hero::before,
.forum-hero::before,
.contacts-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent);
    pointer-events: none;
}

.page-hero h1,
.sitemap-hero h1,
.block-hero h1,
.therapy-hero h1,
.emergency-hero h1,
.stories-hero h1,
.test-hero h1,
.groups-hero h1,
.donate-hero h1,
.signs-hero h1,
.consequences-hero h1,
.myths-hero h1,
.steps-hero h1,
.chat-hero h1,
.finances-hero h1,
.relatives-hero h1,
.apps-hero h1,
.faq-hero h1,
.forum-hero h1,
.contacts-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    color: white !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.page-hero .hero-subtitle,
.page-hero p,
.sitemap-hero p,
.block-hero p,
.therapy-hero p,
.emergency-hero p,
.stories-hero p,
.test-hero p,
.groups-hero p,
.donate-hero p,
.signs-hero p,
.consequences-hero p,
.myths-hero p,
.steps-hero p,
.chat-hero p,
.finances-hero p,
.relatives-hero p,
.apps-hero p,
.faq-hero p,
.forum-hero p,
.contacts-header p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: white !important;
    opacity: 1 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Принудительно белый цвет для всего текста в hero */
[class*="-hero"] h1,
[class*="-hero"] h2, 
[class*="-hero"] h3,
[class*="-hero"] p,
[class*="-hero"] span,
[class*="-hero"] div,
.contacts-header h1,
.contacts-header h2,
.contacts-header h3,
.contacts-header p,
.contacts-header span,
.contacts-header div {
    color: white !important;
    opacity: 1 !important;
}

/* Lists fix */
ul li {
    list-style-type: none;
}

ul li::before {
    content: none;
}

.bulleted-list li {
    position: relative;
    padding-left: 24px;
}

.bulleted-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Responsive Design - улучшенная версия */
@media (max-width: 1024px) {
    /* Мобильное меню - фиксированное под хедером */
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: block; /* меняем на block */
        position: fixed;
        top: 75px; /* увеличенный отступ от хедера */
        left: 0;
        right: 0;
        bottom: 0; /* простой 0 */
        height: calc(100vh - 75px); /* явно задаем высоту */
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        padding: 20px;
        padding-bottom: 100px; /* большой отступ снизу */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 90;
        border-top: 1px solid var(--border);
        box-sizing: border-box;
    }
    
    /* Стили для групп навигации - явное отображение */
    .nav-group {
        display: block !important;
        margin-bottom: 20px;
    }
    
    .nav-label {
        display: block !important;
        padding: 12px 16px;
        font-weight: 600;
        color: var(--text-primary);
        background: var(--bg-light);
        border-radius: var(--radius-md);
        margin-bottom: 8px;
        cursor: pointer;
    }
    
    /* Ссылка-label в мобильном меню */
    a.nav-label {
        margin-bottom: 20px;
        text-decoration: none;
    }
    
    .nav-group ul {
        position: static !important;
        display: block !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
        margin-left: 0;
        width: 100%;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-group a {
        display: block !important;
        padding: 10px 16px;
        margin-bottom: 4px;
        color: var(--text-secondary);
        text-decoration: none;
    }
    
    .nav-group a:hover {
        background: var(--bg-light);
        color: var(--primary);
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .path-steps {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .help-cards {
        grid-template-columns: 1fr;
    }

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

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

    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .emergency-phone-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .floating-help {
        bottom: 20px;
        right: 20px;
    }

    .story-card {
        flex-direction: column;
        text-align: center;
    }

    .story-avatar {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 32px 0;
    }
    
    .hero-big {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 32px;
    }

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

    .emergency-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .logo-subtitle {
        display: none;
    }

    .help-card {
        padding: 24px;
    }

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

    .section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }
}

/* Специфичные стили для страниц */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.main-link {
    display: inline-block;
    background: var(--primary);
    color: white !important;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin: 10px 5px;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.main-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sitemap-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    display: block;
    border: 1px solid var(--border-light);
}

.sitemap-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.sitemap-item h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.sitemap-item p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

/* Консистентные info и warning боксы */
.info-box,
.warning-box,
.success-box,
.danger-box {
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    border-left: 4px solid;
}

.info-box {
    background: #E3F2FD;
    border-color: var(--accent);
    color: #01579B;
}

.warning-box {
    background: #FFF3E0;
    border-color: var(--warning);
    color: #E65100;
}

.success-box {
    background: var(--primary-soft);
    border-color: var(--success);
    color: var(--primary-dark);
}

.danger-box {
    background: #FFEBEE;
    border-color: var(--danger);
    color: #B71C1C;
}

/* Карточки контактов и методов */
.contact-card,
.method-card,
.app-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.contact-card:hover,
.method-card:hover,
.app-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

/* Animation helpers */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Smooth transitions for interactive elements */
button, a, input, textarea, select {
    transition: all 0.2s ease;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .emergency-bar,
    .site-header,
    .site-footer,
    .floating-help {
        display: none;
    }
}

