/*
Theme Name: AZUF Custom Theme (REMASTERED)
Version: 7.0 - Clean & Badass
*/

/* --- 0. ПЕРЕМЕННЫЕ (СИСТЕМА ЦВЕТОВ) --- */
:root {
    --primary: #d4af37;       /* Золото (основной) */
    --primary-dark: #b5952f;  /* Темное золото (ховер) */
    --red: #e32b2b;           /* Красный (акцент) */
    --green: #007a43;         /* Зеленый */
    --text: #2c3e50;          /* Текст темный */
    --text-light: #666;       /* Текст серый */
    --bg: #f4f7f6;            /* Фон сайта */
    --white: #ffffff;
    --radius: 50px;           /* Единый радиус кнопок */
    --shadow: 0 10px 30px rgba(0,0,0,0.08); /* Мягкая тень */
    --trans: all 0.3s ease;   /* Плавность */
}









/* --- 1. БАЗА --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text); 
    overflow-x: hidden; 
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
a { text-decoration: none; transition: var(--trans); }
ul { list-style: none; }








/* --- 2. УНИВЕРСАЛЬНЫЕ КНОПКИ (UI KIT: ULTIMATE EDITION) --- */

/* Базовая геометрия и физика */
.btn-red, .btn-green, .btn-primary, .btn-submit-donation, 
.hero .btn, .card-content .btn, .amt-btn {
    position: relative;
    border: none;
    border-radius: 50px !important; /* Полный круг */
    padding: 14px 32px;            /* Чуть больше воздуха */
    font-weight: 800;              /* Жирнее шрифт */
    font-size: 14px;
    letter-spacing: 0.5px;         /* Разрядка для читаемости */
    text-transform: uppercase;     /* Стиль заголовков */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff !important;
    cursor: pointer;
    overflow: hidden;              /* Чтобы блик не вылетал */
    z-index: 1;
    /* Пружинистая анимация */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* --- МАГИЯ ЦВЕТА (ГРАДИЕНТЫ) --- */

/* 1. Красные (Огонь) */
.btn-red, .btn-submit-donation { 
    background: linear-gradient(135deg, #ff4b1f 0%, #ff9068 100%);
    box-shadow: 0 10px 20px rgba(255, 75, 31, 0.3);
}

/* 2. Зеленые (Изумруд) */
.btn-green { 
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 10px 20px rgba(56, 239, 125, 0.3);
}

/* 3. Золотые (Премиум) */
.btn-primary, .info-text .btn, .bg-white-box .btn { 
    background: linear-gradient(135deg, #d4af37 0%, #f7c546 100%);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* --- ЭФФЕКТ "БЛИК" (SHINE) --- */
/* Создаем световую полосу, которая пробежит при наведении */
.btn-red::before, .btn-green::before, .btn-primary::before, .btn-submit-donation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Спрятано слева */
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: 0.5s;
    z-index: -1; /* Под текстом */
}

/* --- ВЗАИМОДЕЙСТВИЕ (HOVER & ACTIVE) --- */

/* При наведении: Кнопка взлетает, тень горит ярче */
.btn-red:hover, .btn-green:hover, .btn-submit-donation:hover, .btn-primary:hover { 
    transform: translateY(-5px) scale(1.02);
    filter: brightness(1.05);
}

/* Цветные тени при наведении (Neon Glow) */
.btn-red:hover, .btn-submit-donation:hover {
    box-shadow: 0 20px 30px rgba(255, 75, 31, 0.5);
}
.btn-green:hover {
    box-shadow: 0 20px 30px rgba(56, 239, 125, 0.5);
}
.btn-primary:hover {
    box-shadow: 0 20px 30px rgba(212, 175, 55, 0.5);
}

/* Запуск блика при наведении */
.btn-red:hover::before, .btn-green:hover::before, .btn-primary:hover::before, .btn-submit-donation:hover::before {
    left: 100%; /* Блик пролетает направо */
}

/* При нажатии: Кнопка вдавливается */
.btn-red:active, .btn-green:active, .btn-submit-donation:active, .btn-primary:active { 
    transform: translateY(2px) scale(0.95);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transition: 0.1s;
}

/* --- КНОПКИ СУММЫ (АДАПТИРОВАННЫЕ) --- */
.amt-btn {
    background: #fff;
    color: #333 !important;
    border: 2px solid #eee !important;
    font-weight: 700;
    box-shadow: none;
    transition: 0.3s;
}
.amt-btn:hover, .amt-btn.active {
    background: #fff5f5;
    border-color: #ff4b1f !important;
    color: #ff4b1f !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 75, 31, 0.15);
}










/* =========================================
   GIGA-HEADER: FINAL VERSION (GOLD BLOCKS)
   ========================================= */

/* --- 1. ШАПКА (ОСНОВА + СТЕКЛО) --- */
.middle-bar { 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 12px 0; 
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Еле заметная золотая грань */
    position: sticky; 
    top: 0; 
    z-index: 99999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.middle-flex { 
    display: flex !important; 
    justify-content: space-between; 
    align-items: center; 
}

/* Логотип */
.logo-section img { 
    height: 55px; width: auto; display: block; 
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo-section a:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

/* --- 2. ДЕСКТОП НАВИГАЦИЯ (ЗОЛОТЫЕ БЛОКИ) --- */
@media (min-width: 1025px) {
    .desktop-nav { display: flex !important; flex: 1; justify-content: center; }
    .desktop-nav ul { 
        display: flex !important; 
        gap: 8px !important; /* Плотная посадка блоков */
        margin: 0; padding: 0; list-style: none;
        align-items: center;
    }

    /* Базовый стиль ссылки-блока */
    .desktop-nav a {
        position: relative;
        display: block;
        padding: 10px 22px;       /* Размер блока */
        border-radius: 12px;      /* Скругление углов */
        font-weight: 800 !important;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #555 !important;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        background: transparent;  /* По умолчанию фона нет */
    }

    /* УБИВАЕМ ПОЛОСКИ (НА ВСЯКИЙ СЛУЧАЙ) */
    .desktop-nav a::after, .desktop-nav a::before { display: none !important; }

    /* Эффект при наведении (Призрак) */
    .desktop-nav a:hover {
        background: rgba(212, 175, 55, 0.12); /* Прозрачное золото */
        color: #b5952f !important;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
    }

    /* АКТИВНЫЙ ПУНКТ (ЗОЛОТОЙ СЛИТОК) */
    .desktop-nav li.current-menu-item a {
        background: linear-gradient(135deg, #d4af37 0%, #f7c546 100%);
        color: #fff !important;
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4); /* Свечение */
        transform: translateY(-2px);
    }
    
    /* Скрываем мобильные элементы */
    .menu-toggle, #mobile-menu { display: none !important; }
}

/* --- 3. ПРАВАЯ ЧАСТЬ (СЕРДЦЕ + БУРГЕР) --- */
.header-actions { 
    display: flex; gap: 12px; align-items: center; 
}

/* Общий стиль круглых кнопок */
.header-actions a, .menu-toggle {
    width: 48px; height: 48px;
    border-radius: 50% !important;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
}
.header-actions a span { display: none !important; }

/* КРАСНАЯ КНОПКА (СЕРДЦЕ) */
.btn-red {
    background: linear-gradient(145deg, #e32b2b, #ff5e5e);
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(227, 43, 43, 0.3);
}
.btn-red i { font-size: 20px; }

.btn-red:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 15px 30px rgba(227, 43, 43, 0.5);
}
.btn-red:hover i { animation: heartbeat 1s infinite; }

/* БУРГЕР (ЗОЛОТОЙ ПРИ НАВЕДЕНИИ) */
.menu-toggle {
    background: #fff;
    border: 2px solid #eee;
    color: #333;
}
.menu-toggle i { font-size: 24px; }

.menu-toggle:hover {
    border-color: #d4af37;
    background: #d4af37;
    color: #fff;
    transform: rotate(90deg);
}

/* Анимация сердца */
@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

/* --- 5. МОБИЛЬНАЯ ВЕРСИЯ (SIDE SLIDE RIGHT) --- */
@media (max-width: 1024px) {
    .desktop-nav { display: none !important; }

    /* САМА ПАНЕЛЬ МЕНЮ */
    #mobile-menu {
        display: block !important; 
        position: fixed; /* Фиксируем на экране */
        top: 0;
        right: -100%; /* Спрятано полностью справа */
        width: 280px; /* Ширина шторки */
        height: 100vh; /* На всю высоту */
        background: #fff;
        z-index: 100000;
        padding: 80px 25px 40px; /* Отступ сверху, чтобы не перекрывать кнопку */
        
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        visibility: hidden;
    }

    /* КОГДА МЕНЮ ОТКРЫТО */
    #mobile-menu.open {
        right: 0; /* Выезжает на экран */
        visibility: visible;
    }

    /* Затемнение фона при открытии (Оверлей) */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.4);
        backdrop-filter: blur(4px);
        z-index: 99999;
        transition: 0.4s;
    }

    /* Кнопка бургера — она должна быть ВЫШЕ меню */
    .menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 100001; /* Поверх шторки */
    }

    .menu-toggle.open {
        background: var(--primary) !important;
        color: #fff !important;
        border-color: var(--primary) !important;
        transform: rotate(90deg);
    }

    #mobile-menu ul { list-style: none; margin-top: 20px; }
    #mobile-menu li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #f5f5f5;
        color: var(--text) !important;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 16px;
    }
}











/* =========================================
   6. HERO SECTION & DONATION FORM (ULTIMATE)
   ========================================= */

.hero-section {
    position: relative;
    padding: 100px 0 100px;
    background: #f4f7f6;
    overflow: hidden;
}

/* --- ФОНОВЫЕ ПЯТНА (AURAS) --- */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}
.blob-1 {
    top: -20%; left: -10%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
}
.blob-2 {
    bottom: -10%; right: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(227, 43, 43, 0.1) 0%, transparent 70%);
}

/* --- СЕТКА --- */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px; /* Больше воздуха между текстом и формой */
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- ЛЕВАЯ ЧАСТЬ (ТЕКСТ) --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-size: 13px;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    color: #2c3e50;
    margin-bottom: 25px;
}

.text-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f7c546 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Кнопки действий (слева) */
.hero-buttons { display: flex; gap: 15px; margin-bottom: 40px; }

.btn-outline {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    color: #555;
    background: transparent;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    border-color: #d4af37;
    color: #d4af37;
    background: #fff;
    transform: translateY(-3px);
}

/* Статистика */
.hero-stats {
    display: flex; gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.stat-item strong { display: block; font-size: 28px; font-weight: 900; color: #2c3e50; }
.stat-item span { font-size: 13px; color: #888; text-transform: uppercase; font-weight: 600; }

/* --- ПРАВАЯ ЧАСТЬ (ФОРМА - THE MONOLITH) --- */
.hero-form-wrapper {
    perspective: 1200px;
    display: flex; justify-content: flex-end;
}

.donation-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 50px 40px; /* Внутренние отступы */
    border-radius: 40px;
    width: 100%; max-width: 520px;
    text-align: center;
    
    /* Тень левитации */
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.08), 
        0 10px 20px rgba(0,0,0,0.05),
        inset 0 0 0 1px rgba(255,255,255,0.8);
        
    /* 3D Поворот */
    transform: rotateY(-3deg) rotateX(2deg);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.donation-card:hover {
    transform: rotateY(0) rotateX(0) translateY(-10px);
    box-shadow: 0 40px 80px rgba(212, 175, 55, 0.15); /* Золотая тень */
}

.donation-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; color: #2c3e50; }
.donation-card p { font-size: 15px; color: #888; margin-bottom: 30px; }

/* --- ЭЛЕМЕНТЫ ФОРМЫ (САМОЕ ВАЖНОЕ) --- */

/* СЕТКА КНОПОК */
.amount-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 в ряд на десктопе */
    gap: 12px;
    margin-bottom: 25px;
}

/* КНОПКА СУММЫ */
.amt-btn {
    background: #fff;
    color: #555 !important;
    border: 2px solid #f0f2f5 !important;
    border-radius: 16px !important;
    padding: 15px 5px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%; /* Растягиваем */
    box-shadow: none;
}

.amt-btn:hover {
    border-color: #d4af37 !important;
    color: #d4af37 !important;
    transform: translateY(-2px);
    background: #fffcf5;
}

/* АКТИВНАЯ КНОПКА */
.amt-btn.active {
    background: linear-gradient(135deg, #e32b2b 0%, #ff5e5e 100%);
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(227, 43, 43, 0.3);
    transform: scale(1.05);
}

/* ПОЛЕ ВВОДА (ДРУГАЯ СУММА) */
.custom-amount { margin-bottom: 25px; }

.custom-amount input {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    border: 2px solid #f0f2f5;
    background: #f9f9f9;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    outline: none;
    transition: 0.3s;
}

.custom-amount input:focus {
    background: #fff;
    border-color: #d4af37;
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.1);
}

/* КНОПКА ОТПРАВКИ (ГЛАВНАЯ) */
.btn-submit-donation {
    width: 100%;
    padding: 20px !important;
    font-size: 18px !important;
    border-radius: 50px !important;
    letter-spacing: 1px;
    box-shadow: 0 15px 30px rgba(227, 43, 43, 0.25);
    animation: pulseBtn 3s infinite;
}

@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(227, 43, 43, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(227, 43, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227, 43, 43, 0); }
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ (PERFECT MOBILE) --- */
@media (max-width: 1024px) {
    .hero-section { padding: 50px 0; }
    
    /* Сбрасываем сетку в одну колонку */
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    
    /* Текст по центру */
    .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .hero-content h1 { font-size: 36px; }
    .hero-buttons { width: 100%; flex-direction: column; }
    .btn-outline, .btn-primary { width: 100%; justify-content: center; }
    
    /* Статистика на мобиле */
    .hero-stats { justify-content: center; width: 100%; border-top: none; }
    
    /* Форма на мобиле */
    .hero-form-wrapper { display: block; perspective: none; }
    .donation-card { 
        padding: 30px 20px; 
        transform: none !important; 
        margin: 0 auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    /* Кнопки сумм в 2 ряда по 2 штуки */
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    .amt-btn { padding: 15px 0; font-size: 18px; } /* Крупнее для пальцев */
}












/* --- 5. ИНФО-БЛОКИ (THE REALITY DISTORTION FIELD) --- */

.info-block { 
    padding: 100px 0; 
    overflow: hidden; /* Чтобы тени не резались */
}

/* КОНТЕЙНЕР (БЕЛАЯ КАРТА) */
.bg-white-box { 
    position: relative;
    background: #fff; 
    border-radius: 60px; /* Супер-мягкие углы */
    padding: 80px 60px; 
    margin: 60px 0; 
    
    /* Тень, уходящая в бесконечность */
    box-shadow: 
        0 40px 100px rgba(0,0,0,0.05), /* Глобальная аура */
        0 10px 30px rgba(0,0,0,0.02);  /* Ближняя тень */
        
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

/* Эффект "Вздох" при наведении на весь блок */
.bg-white-box:hover {
    transform: scale(1.01); /* Едва заметное увеличение */
}

/* СЕТКА (GRID) */
.info-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; /* Текст шире, картинка уже */
    gap: 80px; 
    align-items: center; 
}

/* РЕВЕРС (Для шахматного порядка) */
.info-grid.reverse { 
    grid-template-columns: 0.8fr 1.2fr; /* Наоборот */
    direction: rtl; /* Меняем порядок визуально */
}
.info-grid.reverse .info-text { direction: ltr; /* Возвращаем текст слева-направо */ }

/* --- ТИПОГРАФИКА (TEXT) --- */
.section-title { 
    font-size: 42px; 
    font-weight: 900; 
    margin-bottom: 30px; 
    line-height: 1.1;
    letter-spacing: -1px;
    
    /* ЗОЛОТОЙ ГРАДИЕНТ В ТЕКСТЕ */
    background: linear-gradient(135deg, #2c3e50 30%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.info-text p { 
    font-size: 19px; 
    color: #666; 
    margin-bottom: 30px; 
    line-height: 1.8;
    font-weight: 400;
}

/* Декоративная линия слева от текста */
.info-text {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid rgba(212, 175, 55, 0.2); /* Тонкая золотая черта */
}

/* --- КАРТИНКА (THE PORTAL) --- */
.info-image {
    position: relative;
    perspective: 1000px; /* Включаем 3D */
}

.info-image img { 
    width: 100%; 
    height: 500px; 
    object-fit: cover; 
    border-radius: 40px; 
    
    /* ТЕНЬ, ОТ КОТОРОЙ СТЫНЕТ КРОВЬ (Цветная) */
    box-shadow: -30px 30px 60px rgba(0, 0, 0, 0.15); 
    
    /* Трансформация */
    transform: rotateY(-5deg) rotateX(2deg); /* Легкий 3D поворот */
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    filter: contrast(1.05) saturate(1.1); /* Сочные цвета */
}

/* Ховер на картинку: Она выпрямляется и летит в лицо */
.bg-white-box:hover .info-image img {
    transform: rotateY(0) rotateX(0) scale(1.03) translateY(-10px);
    box-shadow: 0 40px 80px rgba(212, 175, 55, 0.25); /* Золотая тень при наведении */
}

/* Реверс для картинки (поворот в другую сторону) */
.info-grid.reverse .info-image img {
    transform: rotateY(5deg) rotateX(2deg); 
    box-shadow: 30px 30px 60px rgba(0, 0, 0, 0.15); 
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ (СЛЕЗЫ СЧАСТЬЯ) --- */
@media (max-width: 1024px) {
    .bg-white-box { 
        padding: 40px 25px; 
        border-radius: 40px;
        margin: 30px 0;
    }

    .info-grid, .info-grid.reverse { 
        grid-template-columns: 1fr; /* Одна колонка */
        direction: ltr; /* Сбрасываем реверс */
        gap: 40px;
        text-align: left;
    }
    
    .info-text {
        padding-left: 20px; /* Уменьшаем отступ */
        border-left-width: 3px;
    }

    /* Картинка на мобиле должна быть сверху */
    .info-image { order: -1; margin-bottom: 10px; }
    
    .info-image img { 
        height: 320px; /* Компактная высота */
        transform: none !important; /* Убираем 3D, чтобы не грузить телефон */
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    
    .section-title { font-size: 32px; }
    .info-text p { font-size: 17px; }
}

















/* --- 8. НОВОСТИ (GRID) --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; padding: 40px 0; }

.card { 
    background: var(--white); 
    border-radius: 24px; 
    overflow: hidden; 
    box-shadow: var(--shadow); 
    transition: var(--trans); 
    height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

.card-image { height: 220px; background-size: cover; background-position: center; }
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }



















/* --- 7. THE MASTER FOOTER (NEO-LUX EDITION) --- */

.site-footer {
    background: #ffffff;
    padding: 100px 0 50px;
    border-top: 1px solid #f1f5f9;
    font-family: 'Inter', sans-serif !important;
    color: #4a5568 !important;
}

/* Сетка футера */
.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

/* Стили заголовков колонок */
.footer-heading {
    font-size: 13px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a202c !important;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-heading::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #f1f5f9;
}

/* Колонка "О фонде" */
.footer-logo {
    font-size: 28px;
    font-weight: 900;
    color: #d4af37;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 30px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links a {
    width: 45px; height: 45px;
    background: #f8fafc;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #1a202c !important;
    font-size: 18px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social-links a:hover {
    background: #d4af37;
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* --- БАНКОВСКАЯ КАРТА (THE MASTERPIECE) --- */
.bank-card {
    background: #1a202c; /* Глубокий графит */
    border-radius: 30px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.bank-card-header {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.bank-card-header strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 5px; }
.voen { font-size: 10px; color: #d4af37; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }

.bank-card-body small { font-size: 10px; text-transform: uppercase; opacity: 0.5; font-weight: 800; }
.bank-name { font-weight: 700; font-size: 14px; margin: 5px 0 15px; }

.iban-display {
    background: rgba(255,255,255,0.05);
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.iban-label { font-size: 10px; font-weight: 900; color: #d4af37; display: block; margin-bottom: 2px; }
.iban-value { font-family: 'Courier New', monospace; font-size: 13px; font-weight: 700; word-break: break-all; }

.bank-card-footer { margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }
.meta-item, .meta-grid { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4); margin-bottom: 5px; text-transform: uppercase; }
.meta-item span, .meta-grid span { color: rgba(255,255,255,0.8); margin-right: 10px; }

/* КОНТАКТЫ */
.footer-contacts { list-style: none; padding: 0; margin: 0; }
.footer-contacts li { margin-bottom: 25px; }

.footer-contacts a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none !important;
    color: #4a5568 !important;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.footer-contacts a i {
    width: 40px; height: 40px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #d4af37;
    font-size: 16px;
    flex-shrink: 0;
}

.footer-contacts a:hover { color: #d4af37 !important; }
.footer-contacts a:hover i { background: #d4af37; color: #fff; }

/* НИЖНЯЯ ПЛАНКА */
.footer-legal {
    border-top: 1px solid #f1f5f9;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright { font-size: 13px; font-weight: 600; color: #94a3b8; }

.payment-badges { display: flex; gap: 20px; }
.payment-badges span {
    font-size: 14px; font-weight: 900; color: #cbd5e1;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ (CONCHITA WURST MODE) --- */
@media (max-width: 991px) {
    .site-footer { padding: 60px 20px; text-align: center; }
    .footer-main { grid-template-columns: 1fr; gap: 60px; }
    
    .footer-heading { justify-content: center; }
    .footer-heading::after { display: none; }
    
    .footer-description { margin: 0 auto 30px; }
    .footer-social-links { justify-content: center; }
    
    .bank-card { text-align: left; max-width: 450px; margin: 0 auto; }
    
    .footer-contacts a { justify-content: center; text-align: left; }
    
    .footer-legal { flex-direction: column; gap: 30px; }
}

/* ФИКС СИНИХ ССЫЛОК IPHONE */
.site-footer a[href^="tel"], 
.site-footer a[href^="mailto"],
.site-footer a {
    color: inherit !important;
}

.footer-logo img {
    max-width: 200px; /* Ограничиваем ширину */
    height: auto;
    display: block;
    margin-bottom: 25px;
}

/* На мобиле центрируем лого */
@media (max-width: 991px) {
    .footer-logo img {
        margin: 0 auto 25px;
    }
}






















/* --- 11. SINGLE CHILD PAGE (PLATINUM GLASS EDITION) --- */

.child-single-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    min-height: 100vh;
}

.child-card-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

/* --- ФОТО (CLEAN FLOATING) --- */
.child-photo-side {
    position: sticky;
    top: 120px;
}

.photo-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.07);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.photo-wrapper img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
    transition: 0.8s ease;
}

.photo-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 45px 90px rgba(212, 175, 55, 0.15);
}

/* --- КАРТОЧКА (PURE WHITE GLASS) --- */
.info-glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 60px;
    border: 1px solid #fff;
    box-shadow: 0 40px 100px rgba(0,0,0,0.04);
}

.child-name {
    font-size: 52px;
    font-weight: 900;
    color: #1a202c;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.child-meta {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px dashed #eee;
}

.meta-item span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    font-weight: 800;
    margin-bottom: 8px;
}

.meta-item strong {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
}

/* --- ПРОГРЕСС БАР (CLEAN & GOLD) --- */
.donation-progress-block {
    margin-bottom: 50px;
    padding: 40px;
    background: #fff; /* Убрали темный фон */
    border-radius: 40px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    position: relative;
}

/* Решаем проблему наложения */
.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px; /* Увеличили отступ для пузырька */
}

.progress-labels span {
    color: #888;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.progress-labels strong {
    display: block;
    font-size: 24px;
    color: #d4af37; /* Суммы теперь золотые */
    margin-top: 5px;
}

.progress-bar-container {
    width: 100%;
    height: 14px;
    background: #f0f2f5;
    border-radius: 20px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f7c546);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Пузырек теперь не мешает цифрам */
.percent-bubble {
    position: absolute;
    right: 0;
    top: -38px; /* Чуть ниже, но над полоской */
    background: #2d3748;
    color: #fff;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- ТЕКСТ (STORY) --- */
.child-description h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.child-description h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.child-description {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.8;
}

/* Кнопка пульсирует мягче */
.btn-glow {
    box-shadow: 0 10px 25px rgba(227, 43, 43, 0.3);
    transition: 0.3s;
}
.btn-glow:hover {
    box-shadow: 0 15px 35px rgba(227, 43, 43, 0.5) !important;
}

/* --- МОБИЛКА (ULTRA COMPACT) --- */
@media (max-width: 1024px) {
    .child-single-page { padding: 30px 0; }
    .child-card-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .child-photo-side { position: relative; top: 0; }
    .photo-wrapper img { height: 380px; }
    
    .info-glass-card { padding: 40px 25px; border-radius: 40px; }
    .child-name { font-size: 34px; text-align: center; margin-bottom: 20px; }
    
    .child-meta { 
        gap: 20px; 
        flex-wrap: wrap; 
        justify-content: center; 
        text-align: center;
        padding-bottom: 20px; 
    }
    
    .donation-progress-block { padding: 30px 20px; }
    .progress-labels strong { font-size: 20px; }
    
    /* На мобиле прячем пузырек, если он мешает, или делаем компактнее */
    .percent-bubble { top: -32px; font-size: 11px; }
}






















/* --- 12. CHILDREN ARCHIVE (THE ELITE GRID) --- */

.children-archive-page { 
    padding: 100px 0; 
    background: radial-gradient(circle at top left, #f8fafc, #f1f5f9); 
}

.archive-header {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 30px;
}

.archive-header .section-title { margin-bottom: 0; font-size: 42px; }

.sort-controls { display: flex; align-items: center; gap: 15px; }
.sort-controls span { font-weight: 800; font-size: 12px; text-transform: uppercase; color: #94a3b8; letter-spacing: 1px; }

.sort-btn {
    background: #fff; border: 1px solid #e2e8f0; padding: 10px 22px;
    border-radius: 50px; cursor: pointer; font-weight: 700; font-size: 13px;
    color: #64748b; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sort-btn.active, .sort-btn:hover {
    background: #1a202c; color: #fff; border-color: #1a202c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- КАРТОЧКА (THE ARTIFACT) --- */
/* --- ОБНОВЛЕННАЯ СЕТКА: СТРОГО 3 В РЯД --- */
.children-grid {
    display: grid;
    /* Фиксируем 3 колонки на десктопе */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* Немного уменьшил отступ, чтобы 3 карточки влезли комфортно */
}

/* --- АДАПТИВНОСТЬ ДЛЯ СЕТКИ --- */

/* Планшеты (1024px и ниже) — делаем 2 в ряд */
@media (max-width: 1100px) {
    .children-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Мобильные (768px и ниже) — делаем 1 в ряд */
@media (max-width: 768px) {
    .children-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .child-card {
        max-width: 450px; /* Чтобы карточка не была слишком растянутой на лопатах */
        margin: 0 auto;
    }
}

/* Фикс для очень больших мониторов, чтобы карточки не раздувались */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px; /* Расширяем контейнер для 3-х жирных карточек */
    }
}

.child-card {
    background: #fff; 
    border-radius: 50px; /* Еще круглее */
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255,255,255,1);
}

.child-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

/* Изображение с бейджем */
.card-image {
    height: 320px; 
    position: relative; 
    overflow: hidden;
    margin: 15px; /* Внутренний отступ для эффекта "рамки" */
    border-radius: 40px;
}

.card-image img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1); 
}

/* Красивый блюр-оверлей при ховере */
.card-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 32, 44, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.5s;
}
.view-profile { 
    background: #fff; color: #1a202c; padding: 12px 25px; 
    border-radius: 30px; font-weight: 800; text-transform: uppercase; 
    font-size: 12px; transform: translateY(20px); transition: 0.5s;
}

.child-card:hover .card-overlay { opacity: 1; }
.child-card:hover .view-profile { transform: translateY(0); }
.child-card:hover .card-image img { transform: scale(1.1); }

/* --- ТЕЛО КАРТОЧКИ --- */
.card-body { padding: 10px 40px 40px; }

.child-name { 
    font-size: 26px; font-weight: 900; margin-bottom: 8px; color: #1a202c; 
    letter-spacing: -1px;
}
.child-name span { color: var(--primary); font-size: 20px; margin-left: 5px; opacity: 0.8; }

.child-diagnosis { 
    font-size: 12px; color: #e32b2b; font-weight: 800; 
    margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1.5px;
    display: flex; align-items: center; gap: 8px;
}
.child-diagnosis::before { content: ''; width: 6px; height: 6px; background: #e32b2b; border-radius: 50%; }

/* Прогресс (Neon Style) */
.card-progress { 
    background: #f8fafc; padding: 25px; border-radius: 30px; 
    margin-bottom: 0; border: 1px solid #f1f5f9;
}
.progress-info { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }
.progress-info span { font-size: 12px; color: #94a3b8; font-weight: 700; text-transform: uppercase; }
.progress-info strong { display: block; font-size: 18px; color: #1a202c; margin-top: 4px; }
.progress-info .percent { 
    font-size: 22px; font-weight: 900; color: var(--primary); 
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.progress-bar { 
    width: 100%; height: 10px; background: #e2e8f0; 
    border-radius: 10px; overflow: hidden; position: relative;
}
.progress-fill { 
    height: 100%; 
    background: linear-gradient(90deg, #d4af37, #f7c546, #d4af37); 
    background-size: 200% 100%;
    border-radius: 10px; 
    animation: shine 3s infinite linear;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.goal-info { 
    font-size: 11px; color: #cbd5e1; margin-top: 15px; 
    text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}

/* --- МОБИЛКА (ULTRA COMPACT) --- */
@media (max-width: 1024px) {
    .children-archive-page { padding: 40px 0; }
    .archive-header { flex-direction: column; align-items: center; text-align: center; gap: 25px; }
    
    .children-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .child-card { border-radius: 40px; }
    .card-image { height: 260px; margin: 10px; border-radius: 32px; }
    .card-body { padding: 5px 25px 30px; }
    
    .child-name { font-size: 24px; text-align: center; }
    .child-diagnosis { justify-content: center; margin-bottom: 20px; }
    .card-progress { padding: 20px; }
}





/* --- СОСТОЯНИЕ: СБОР ЗАВЕРШЕН (100%) --- */

.child-card.is-completed {
    background: linear-gradient(135deg, #0fb9b1 0%, #20bf6b 100%); /* Сочный зеленый градиент */
    border-color: rgba(255, 255, 255, 0.3);
}

/* Меняем цвета текста внутри зеленой карточки */
.child-card.is-completed .child-name,
.child-card.is-completed .child-name span,
.child-card.is-completed .progress-info strong,
.child-card.is-completed .progress-info .percent,
.child-card.is-completed .goal-info {
    color: #ffffff !important;
    text-shadow: none;
}

.child-card.is-completed .child-diagnosis {
    color: rgba(255, 255, 255, 0.9) !important;
}

.child-card.is-completed .child-diagnosis::before {
    background: #ffffff;
    box-shadow: 0 0 10px #fff;
}

/* Делаем полоску прогресса белой/светлой */
.child-card.is-completed .card-progress {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.child-card.is-completed .progress-bar {
    background: rgba(255, 255, 255, 0.2);
}

.child-card.is-completed .progress-fill {
    background: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Надпись на оверлее при 100% */
.child-card.is-completed .view-profile {
    background: #ffffff;
    color: #20bf6b;
}























/* --- 13. NEWS PAGE (LIGHT LUXURY EDITION) --- */

.news-archive-page { 
    padding: 100px 0; 
    background: #ffffff; 
    min-height: 100vh;
}

.news-center { margin-bottom: 80px; text-align: center; }
.news-center .section-title { 
    font-size: 64px; 
    font-weight: 900; 
    letter-spacing: -3px; 
    color: #1a202c;
    line-height: 0.9;
    margin: 0;
}
.news-center .subtitle { 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    color: #94a3b8; 
    font-weight: 700;
    margin-top: 15px;
}

/* СЕТКА (КОМПАКТНАЯ) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px; /* Сделали чуть плотнее */
}

/* КАРТОЧКА (PURA WHITE) */
.news-card {
    position: relative;
    background: #fff;
    border-radius: 40px;
    padding: 12px; /* Компактные внутренние отступы */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.news-card:hover {
    transform: translateY(-12px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

/* Обложка (Более компактная по высоте) */
.news-thumb {
    position: relative;
    height: 240px; /* Уменьшили высоту */
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.news-card:hover .news-thumb img {
    transform: scale(1.08);
}

/* Категория (Мягкое стекло) */
.news-category {
    position: absolute;
    top: 15px; left: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #d4af37;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.5);
}

/* Контент */
.news-content { padding: 0 15px 15px; }

.news-content h3 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.news-content h3 a { 
    color: #1a202c; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card:hover h3 a { color: #d4af37; }

.news-content .excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Ссылка Davamı (Элегантная стрелка) */
.read-more {
    font-size: 11px;
    font-weight: 900;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.read-more::after {
    content: '→';
    font-size: 18px;
    color: #d4af37;
    transition: transform 0.3s ease;
}

.news-card:hover .read-more { color: #d4af37; }
.news-card:hover .read-more::after { transform: translateX(5px); }

/* ПАГИНАЦИЯ (CLEAN LIGHT) */
.pagination-wrapper { margin-top: 80px; display: flex; justify-content: center; gap: 10px; }

.pagination-wrapper .page-numbers {
    width: 48px; height: 48px;
    background: #fff;
    border: 1px solid #f1f5f9;
    color: #1a202c;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.pagination-wrapper .current, 
.pagination-wrapper .page-numbers:hover {
    background: #1a202c;
    color: #fff;
    border-color: #1a202c;
}

/* МОБИЛКА (PERFECT FIT) */
@media (max-width: 1024px) {
    .news-center .section-title { font-size: 42px; }
    .news-grid { grid-template-columns: 1fr; gap: 30px; }
    .news-thumb { height: 220px; }
    .news-card { border-radius: 35px; }
}





















/* --- 14. SINGLE POST (ULTRA PLATINUM & GLOW) --- */

.single-post-page {
    padding: 100px 0;
    background: #ffffff;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Категория */
.post-category-badge span {
    background: linear-gradient(90deg, #d4af37, #f7c546);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.post-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    margin: 30px 0;
    letter-spacing: -3px;
    color: #1a202c;
}

.post-meta-top {
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

/* ГЛОУ ЭФФЕКТ ДЛЯ ФОТО */
.post-main-image-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 80px;
    z-index: 1;
}

.glow-layer {
    position: absolute;
    top: 5%; left: 5%; width: 90%; height: 90%;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
    transition: 0.5s;
}

.post-main-image {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateX(0deg);
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.post-main-image img { width: 100%; display: block; }

/* Ховер на фото */
.post-main-image-wrapper:hover .post-main-image {
    transform: perspective(1000px) rotateX(2deg) translateY(-10px);
    box-shadow: 0 60px 120px rgba(212, 175, 55, 0.2);
}
.post-main-image-wrapper:hover .glow-layer {
    opacity: 0.4;
    transform: scale(1.1);
}

/* Контент */
.post-lead {
    font-size: 26px;
    line-height: 1.6;
    color: #1a202c;
    font-weight: 700;
    padding: 40px;
    background: #f8fafc;
    border-radius: 40px;
    margin-bottom: 50px;
    border-left: 10px solid var(--primary);
}

.main-text { font-size: 20px; line-height: 2; color: #4a5568; }

/* КНОПКИ ПОДЕЛИТЬСЯ (GLOW BUTTONS) */
.post-footer {
    margin-top: 100px;
    padding: 50px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-buttons { display: flex; gap: 15px; }

.share-btn {
    width: 55px; height: 55px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    font-size: 20px;
    color: #fff;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.share-btn.fb { background: #1877F2; box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3); }
.share-btn.wa { background: #25D366; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.share-btn.tg { background: #0088cc; box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3); }

.share-btn:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    filter: brightness(1.2);
}

.back-link {
    font-weight: 800;
    color: #1a202c;
    text-transform: uppercase;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.back-link:hover { color: var(--primary); }

/* МОБИЛКА */
@media (max-width: 768px) {
    .post-title { font-size: 38px; letter-spacing: -2px; }
    .post-footer { flex-direction: column; gap: 40px; padding: 40px 20px; }
    .post-main-image { border-radius: 30px; }
}


/* Кнопка копирования */
.share-btn.copy-link {
    background: #1a202c;
    border: none;
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.copy-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1a202c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    white-space: nowrap;
}

.share-btn.copy-link.copied .copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.share-btn.copy-link.copied {
    background: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}



.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Это заставит любое фото идеально вписаться в наши размеры */
}





































/* --- 15. DOCUMENTS PAGE (ELITE VIEW) --- */

.docs-page { padding: 100px 0; background: #fff; }

.docs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 100px;
}

.doc-item {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: #f8fafc;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
}

.doc-item:hover {
    background: #fff;
    transform: translateX(10px);
    border-color: #d4af37;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
}

.doc-icon {
    width: 50px; height: 50px;
    background: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #d4af37;
    font-size: 24px;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.doc-title {
    flex-grow: 1;
    font-weight: 700;
    color: #1a202c;
    font-size: 15px;
    line-height: 1.4;
}

.doc-action {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: #cbd5e1;
    display: flex; align-items: center; gap: 5px;
    transition: 0.3s;
}

.doc-item:hover .doc-action { color: #d4af37; }

/* --- 16. GOV CARDS (VERTICAL LUXURY MODE) --- */

.gov-links {
    padding-top: 50px;
    display: flex;
    justify-content: center;
}

.gov-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px; /* Ограничиваем общую ширину, чтобы карточки были узкими */
    width: 100%;
}

.gov-card {
    background: #ffffff;
    border-radius: 40px; /* Экстремальное скругление */
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #f1f5f9;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Вертикальное фото */
.gov-img { 
    height: 340px; /* Высокое портретное фото */
    overflow: hidden;
    position: relative;
    margin: 10px; /* Внутренний отступ, чтобы фото было как в рамке */
    border-radius: 32px;
}

.gov-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: grayscale(10%);
    transition: all 0.8s ease; 
}

/* Контентная часть */
.gov-content { 
    padding: 20px 20px 35px; 
}

.gov-content h4 { 
    font-size: 15px; 
    font-weight: 900; 
    color: #1a202c; 
    margin-bottom: 10px; 
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.gov-content span { 
    font-size: 10px; 
    color: #d4af37; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    opacity: 0.7;
}

/* ЭФФЕКТЫ ПРИ НАВЕДЕНИИ */
.gov-card:hover { 
    transform: translateY(-20px); 
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

.gov-card:hover .gov-img img { 
    transform: scale(1.1); 
    filter: grayscale(0%);
}

.gov-card:hover h4 {
    color: #d4af37;
}

/* МОБИЛКА */
@media (max-width: 991px) {
    .gov-grid { 
        grid-template-columns: 1fr; 
        max-width: 320px; /* На мобиле карточка будет узкой и аккуратной */
        gap: 30px;
    }
    
    .gov-img { height: 380px; } /* Еще чуть выше на мобиле для пафоса */
}