/* ===== ОСНОВНЫЕ ЦВЕТА ===== */
:root {
    --white: #ffffff;
    --blue: #0033a0;
    --red: #da291c;
    --light-bg: #f5f5f5;
    --gray-text: #333333;
    --border-light: #e0e0e0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #1a1a1a;
    line-height: 1.6;
}

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

/* ===== ШАПКА С ТРИКОЛОРОМ ===== */
.site-header {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 33%, #0033a0 33%, #0033a0 66%, #da291c 66%, #da291c 100%);
    color: white;
    padding: 0;
    border-bottom: 3px solid #da291c;
}

.header-inner {
    background: rgba(0,0,0,0.7);
    padding: 15px 20px;
    border-radius: 0 0 10px 10px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.logo img {
    border-radius: 50%;
    background: white;
    padding: 3px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.logo-text span {
    font-size: 16px;
    font-weight: normal;
}

/* Навигация */
.site-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.site-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
}

.site-nav a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.nav-svo {
    background: #da291c !important;
    font-weight: bold;
}

/* Бургер-меню */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
}

/* Мобильное меню */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

.nav-overlay a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    padding: 15px;
}

.nav-overlay.active {
    display: flex;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0033a0 0%, #da291c 100%);
    color: white;
    border-radius: 0 0 30px 30px;
    margin-bottom: 40px;
}

.hero-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero h1 em {
    font-style: normal;
    color: #ffd700;
}

.hero-sub {
    font-size: 18px;
    opacity: 0.95;
}

/* ===== СЕКЦИИ ===== */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
    color: #0033a0;
}

.section-sub {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* Карточки программ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #da291c;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #0033a0;
}

.card p {
    color: #666;
    margin-bottom: 15px;
}

.card-arrow {
    color: #da291c;
    font-weight: bold;
}

/* Карточка СВО (особая) */
.card-svo {
    background: linear-gradient(135deg, #da291c 0%, #8b0000 100%);
    color: white;
}

.card-svo h3, .card-svo p, .card-svo .card-arrow {
    color: white;
}

/* ===== МИССИЯ ===== */
.mission {
    background: #0033a0;
    color: white;
    padding: 50px 0;
    margin: 40px 0;
    border-radius: 30px;
}

.mission .section-title,
.mission .section-sub {
    color: white;
}

.mission-text {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.mission-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.mission-list li {
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

/* ===== ПРОЗРАЧНОСТЬ ===== */
.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.transp-item {
    background: white;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.transp-item h3 {
    color: #0033a0;
    margin-bottom: 15px;
}

.status-badge {
    display: inline-block;
    background: #da291c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 15px;
}

/* ===== ПОДВАЛ ===== */
.site-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 50px;
}

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

.footer-brand p {
    margin-top: 10px;
    font-size: 14px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

.footer-col a:hover {
    color: #da291c;
}

.footer-contacts p {
    margin-bottom: 8px;
}

.footer-contacts a {
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .site-nav {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-list {
        grid-template-columns: 1fr;
    }
    
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* ===== СТРАНИЦА СВО ===== */
.svo-hero {
    background: linear-gradient(135deg, #0033a0 0%, #da291c 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 40px;
}

.svo-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.svo-hero p {
    font-size: 18px;
    opacity: 0.95;
}

/* Карточки сборов */
.svo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.svo-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

.svo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.svo-card-header {
    background: linear-gradient(135deg, #0033a0 0%, #002277 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.svo-card-header h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.svo-card-header .svo-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.svo-card-body {
    padding: 25px;
}

.svo-goal {
    background: #f0f4ff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.svo-goal .goal-amount {
    font-size: 32px;
    font-weight: bold;
    color: #0033a0;
}

.svo-goal .goal-label {
    font-size: 14px;
    color: #666;
}

.svo-progress {
    margin: 20px 0;
}

.progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #0033a0, #da291c);
    width: 0%;
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.svo-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.svo-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.svo-features li:before {
    content: "✓";
    color: #da291c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.svo-button {
    display: block;
    text-align: center;
    background: linear-gradient(90deg, #da291c, #b52014);
    color: white;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.svo-button:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(218,41,28,0.3);
}

.svo-report {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

/* Адаптив для страницы СВО */
@media (max-width: 768px) {
    .svo-cards {
        grid-template-columns: 1fr;
    }
    
    .svo-hero h1 {
        font-size: 32px;
    }
    
    .svo-goal .goal-amount {
        font-size: 28px;
    }
}
