/* ============================================
   ЗЕРНО ВЕРЫ — Современный дизайн 2026
   Яркий, живой, плавный, конверсионный
   ============================================ */

/* CSS Variables */
:root {
    /* Цветовая палитра — яркая и тёплая */
    --c-bg: #FAF7F2;
    --c-bg-alt: #F0EBE3;
    --c-white: #FFFFFF;
    --c-green: #2E8B57;
    --c-green-dark: #1A4A35;
    --c-green-light: #E8F5EE;
    --c-gold: #D4A843;
    --c-gold-light: #FBF3E0;
    --c-red: #D94040;
    --c-red-dark: #B33030;
    --c-text: #1A1A1A;
    --c-text-muted: #5A5A5A;

    /* Шрифты */
    --f-heading: 'Cormorant Garamond', serif;
    --f-body: 'PT Serif', serif;

    /* Тени */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-colored: 0 8px 30px rgba(46, 139, 87, 0.15);

    /* Скругления */
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    /* Анимация */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.5s;

    /* Header */
    --header-height: 72px;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(217, 64, 64, 0.35);
    }
    50% {
        box-shadow: 0 4px 20px rgba(217, 64, 64, 0.35),
                    0 0 0 12px rgba(217, 64, 64, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

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

@keyframes slideInBottom {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--f-body);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--c-green);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

a:hover {
    color: var(--c-green-dark);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-green-dark);
}

h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(24px, 3vw, 32px); }
h4 { font-size: 22px; }

p {
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================
   LAYOUT
   ============================================ */

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

section {
    padding: 80px 0;
    position: relative;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--f-heading);
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-lg {
    font-size: 20px;
    padding: 18px 48px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
    color: var(--c-white);
    box-shadow: 0 4px 20px rgba(217, 64, 64, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(217, 64, 64, 0.45);
    color: var(--c-white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-dark) 100%);
    color: var(--c-white);
    box-shadow: 0 4px 20px rgba(46, 139, 87, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 139, 87, 0.4);
    color: var(--c-white);
}

.btn-ghost {
    background: transparent;
    color: var(--c-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 14px 36px;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--c-white);
    transform: translateY(-2px);
}

/* ============================================
   SECTION HEADERS с орнаментом
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--c-gold), var(--c-green));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Когда заголовок внутри section-header — убираем ::after, орнамент заменяет */
.section-header .section-title::after {
    display: none;
}

.ornament-title {
    width: 120px;
    height: auto;
    margin: 8px auto 0;
    display: block;
    opacity: 0.7;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   STICKY HEADER
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s var(--ease);
    height: var(--header-height);
    transform: translateY(-100%);
    opacity: 0;
}

.site-header.visible {
    transform: translateY(0);
    opacity: 1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.header-brand {
    font-family: var(--f-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-green-dark);
}

.header-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.header-nav a {
    font-family: var(--f-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-green);
    transition: width 0.3s var(--ease);
}

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

.header-nav a:hover {
    color: var(--c-green);
}

.btn-header-donate {
    padding: 10px 24px;
    font-size: 15px;
    flex-shrink: 0;
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--c-green-dark);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

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

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

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

/* ============================================
   1. HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('images/hero.jpg?v=20260309') center / cover no-repeat;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 50, 30, 0.2) 0%,
        rgba(15, 40, 25, 0.3) 50%,
        rgba(10, 30, 20, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s var(--ease-out) 0.3s both;
}

.hero-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.hero-title {
    color: var(--c-white);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    font-size: clamp(48px, 7vw, 84px);
}

.hero-subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

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

.hero .btn-primary {
    animation: pulse 2.5s ease-in-out infinite;
}

/* Волна внизу hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath d='M0 50 C360 80 720 20 1080 50 S1440 30 1440 40 L1440 80 L0 80Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    z-index: 3;
}

/* ============================================
   2. CAROUSEL SECTION
   ============================================ */

.carousel {
    background: var(--c-white);
    padding: 60px 0 40px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s var(--ease-out);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    color: var(--c-white);
    padding: 48px 32px 28px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.3px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--c-green-dark);
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    z-index: 10;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background: var(--c-white);
    transform: translateY(-50%) scale(1.12);
    box-shadow: var(--shadow-lg);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.carousel-dot.active {
    background: var(--c-white);
    width: 32px;
    border-radius: 5px;
}

/* ============================================
   2.5 MINI-CTA (после карусели)
   ============================================ */

.mini-cta {
    background: linear-gradient(135deg, var(--c-gold-light) 0%, var(--c-green-light) 100%);
    padding: 40px 0;
    border-top: 1px solid rgba(46, 139, 87, 0.1);
    border-bottom: 1px solid rgba(46, 139, 87, 0.1);
}

.mini-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.mini-cta-heading {
    font-family: var(--f-heading);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--c-green-dark);
    margin-bottom: 4px;
}

.mini-cta-sub {
    font-size: 15px;
    color: var(--c-text-muted);
    margin: 0;
}

.mini-cta .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ============================================
   3. ABOUT SECTION
   ============================================ */

.about {
    background: var(--c-bg);
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.about-status {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--c-white);
    padding: 20px 24px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--c-gold);
    transition: all 0.4s var(--ease);
}

.status-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.status-icon {
    flex-shrink: 0;
    line-height: 1;
    color: var(--c-green);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.status-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.about-founders {
    background: var(--c-white);
    padding: 20px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.founders-photo {
    width: 100%;
    border-radius: var(--r-md);
    margin-bottom: 20px;
    transition: transform 0.6s var(--ease);
}

.about-founders:hover .founders-photo {
    transform: scale(1.03);
}

.founders-text p {
    margin-bottom: 12px;
    font-size: 15px;
}

.about-mission {
    background: linear-gradient(135deg, var(--c-green-light) 0%, var(--c-gold-light) 100%);
    padding: 40px;
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    border: 1px solid rgba(46, 139, 87, 0.1);
}

.about-mission h3 {
    color: var(--c-gold);
    margin-bottom: 16px;
}

.mission-text {
    font-size: 20px;
    font-style: italic;
    line-height: 1.8;
    color: var(--c-green-dark);
}

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

/* ============================================
   IMPACT COUNTERS
   ============================================ */

.impact {
    background: linear-gradient(135deg, var(--c-green-dark) 0%, var(--c-green) 100%);
    padding: 60px 0;
    position: relative;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.impact-item {
    color: var(--c-white);
    padding: 20px;
}

.impact-number {
    font-family: var(--f-heading);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1;
    display: inline;
}

.impact-suffix {
    font-family: var(--f-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: var(--c-gold);
    line-height: 1;
}

.impact-label {
    margin-top: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

/* ============================================
   4. QUOTE SECTION
   ============================================ */

.quote {
    background: url('optimized/IMG_5439.jpg') center / cover no-repeat fixed;
    position: relative;
    padding: 120px 0;
}

.quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.quote .container {
    position: relative;
    z-index: 1;
}

.quote-text {
    background: rgba(15, 40, 28, 0.85);
    padding: 36px 44px;
    border-radius: 60px / 40px;
    backdrop-filter: blur(8px);
    text-align: center;
    font-size: clamp(22px, 3vw, 30px);
    font-style: italic;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    padding: 48px;
    position: relative;
    color: var(--c-white);
}

.quote-text::before {
    content: '\201C';
    font-size: 140px;
    font-family: var(--f-heading);
    position: absolute;
    top: -30px;
    left: 10px;
    color: rgba(212, 168, 67, 0.4);
    line-height: 1;
}

.quote-text p {
    color: var(--c-white);
}

/* ============================================
   5. PROGRAMS SECTION
   ============================================ */

.programs {
    background: var(--c-white);
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.program-card {
    background: var(--c-bg);
    padding: 32px 20px 28px;
    border-radius: var(--r-md);
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-green), var(--c-gold));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--c-white);
}

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

.program-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: var(--c-white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    color: var(--c-green);
}

.program-card h3 {
    font-size: 22px;
    color: var(--c-green-dark);
    margin-bottom: 6px;
}

.program-age {
    color: var(--c-gold);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-card > p:last-child {
    font-size: 14px;
    color: var(--c-text-muted);
    margin: 0;
}

.programs-note {
    background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-dark) 100%);
    color: var(--c-white);
    padding: 32px 40px;
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--shadow-colored);
}

.programs-note p {
    margin-bottom: 8px;
}

.programs-note p:last-child {
    margin-bottom: 0;
}

/* ============================================
   6. FOR PARENTS SECTION
   ============================================ */

.for-parents {
    background: var(--c-bg);
    padding: 80px 0;
}

.parents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.parent-card {
    background: var(--c-white);
    padding: 32px 24px;
    border-radius: var(--r-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.parent-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--c-gold);
    transition: width 0.4s var(--ease);
    border-radius: 0 0 var(--r-md) var(--r-md);
}

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

.parent-card:hover::after {
    width: 60%;
}

.parent-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: var(--c-green-light);
    border-radius: 50%;
    color: var(--c-green);
}

.parent-card h3 {
    color: var(--c-green-dark);
    margin-bottom: 12px;
    font-size: 22px;
}

.parent-card p {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ============================================
   7. CONCERTS SECTION
   ============================================ */

.concerts {
    background: var(--c-white);
    padding: 80px 0;
}

.concerts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.concerts-intro {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.concerts-holidays {
    background: linear-gradient(135deg, var(--c-green-light), var(--c-gold-light));
    padding: 24px 28px;
    border-radius: var(--r-md);
    margin-top: 24px;
    border: 1px solid rgba(46, 139, 87, 0.1);
}

.concerts-holidays h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--c-green-dark);
}

.concerts-holidays ul {
    list-style: none;
}

.concerts-holidays li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 16px;
}

.concerts-holidays li::before {
    content: '\2720';
    position: absolute;
    left: 0;
    color: var(--c-gold);
    font-size: 18px;
}

.concerts-image {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.concerts-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

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

/* ============================================
   8. TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    background: var(--c-bg);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.testimonial-card {
    background: var(--c-white);
    padding: 32px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.4s var(--ease);
    border-left: 4px solid transparent;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--c-gold);
}

.testimonial-quote {
    position: relative;
    padding-left: 24px;
}

.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 48px;
    font-family: var(--f-heading);
    color: var(--c-gold);
    line-height: 1;
    opacity: 0.6;
}

.testimonial-quote p {
    font-style: italic;
    color: var(--c-text);
    line-height: 1.8;
    font-size: 15px;
}

.author-name {
    font-weight: 700;
    color: var(--c-green-dark);
    margin-bottom: 4px;
    font-size: 16px;
}

.author-info {
    font-size: 13px;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonials-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-dark) 100%);
    color: var(--c-white);
    padding: 24px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-colored);
    transition: all 0.4s var(--ease);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(46, 139, 87, 0.25);
}

.benefit-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* ============================================
   8.5 CTA BANNER (после отзывов)
   ============================================ */

.cta-banner {
    background: url('optimized/IMG_5442.jpg') center / cover no-repeat fixed;
    position: relative;
    padding: 180px 0 60px 0;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.75) 100%
    );
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(15, 40, 28, 0.85);
    padding: 40px 50px;
    border-radius: 80px / 50px;
    backdrop-filter: blur(8px);
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner-inner h2 {
    color: var(--c-white);
    margin-bottom: 16px;
}

.cta-banner-inner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-banner .btn-primary {
    animation: pulse 2.5s ease-in-out infinite;
}

/* ============================================
   9. CTA SECTION
   ============================================ */

.cta {
    background: linear-gradient(135deg, var(--c-green-dark) 0%, var(--c-green) 50%, var(--c-green-dark) 100%);
    color: var(--c-white);
    padding: 100px 0 80px;
    position: relative;
}

/* Волна сверху CTA */
.cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath d='M0 0 L0 30 C360 60 720 0 1080 30 S1440 10 1440 20 L1440 0Z' fill='%23F0EBE3'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    z-index: 1;
}

.cta .section-title {
    color: var(--c-white);
}

.cta .section-title::after {
    background: linear-gradient(90deg, var(--c-gold), rgba(255, 255, 255, 0.5));
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.cta-card {
    background: var(--c-white);
    color: var(--c-text);
    padding: 40px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s var(--ease);
}

.cta-card:hover {
    transform: translateY(-4px);
}

.cta-card h3 {
    color: var(--c-green-dark);
    margin-bottom: 12px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.cta-form input[type="text"],
.cta-form input[type="tel"],
.cta-form input[type="number"] {
    padding: 14px 18px;
    border: 2px solid #E8E3DA;
    border-radius: var(--r-sm);
    font-family: var(--f-body);
    font-size: 16px;
    transition: all 0.3s var(--ease);
    background: var(--c-bg);
}

.cta-form input:focus {
    outline: none;
    border-color: var(--c-green);
    background: var(--c-white);
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.1);
}

/* Donation amounts с impact-подписями */
.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amount-btn {
    position: relative;
    cursor: pointer;
}

.amount-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.amount-btn span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    text-align: center;
    background: var(--c-bg);
    border: 2px solid #E8E3DA;
    border-radius: var(--r-sm);
    transition: all 0.3s var(--ease);
}

.amount-btn span strong {
    font-size: 18px;
    font-weight: 700;
}

.amount-btn span small {
    font-size: 11px;
    color: var(--c-text-muted);
    line-height: 1.3;
}

.amount-btn:hover span {
    border-color: var(--c-green);
}

.amount-btn input:checked + span {
    background: var(--c-green);
    border-color: var(--c-green);
    color: var(--c-white);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.amount-btn input:checked + span small {
    color: rgba(255, 255, 255, 0.85);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--c-green);
    flex-shrink: 0;
}

.checkbox-legal {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.checkbox-legal a {
    color: var(--c-green);
    text-decoration: underline;
}

.checkbox-legal a:hover {
    color: var(--c-green-dark);
}

.form-error {
    font-size: 13px;
    color: #c0392b;
    margin-top: 4px;
}

/* ============================================
   10. FOOTER
   ============================================ */

.footer {
    background: var(--c-green-dark);
    color: var(--c-white);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer h4 {
    color: var(--c-gold);
    font-size: 20px;
    margin-bottom: 16px;
}

.footer p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s var(--ease);
}

.footer a:hover {
    color: var(--c-gold);
}

/* Социальные ссылки */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s var(--ease);
}

.social-link:hover {
    color: var(--c-gold);
    transform: translateX(4px);
}

.social-link svg {
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
    color: var(--c-gold);
}

/* ============================================
   STICKY BOTTOM BAR (мобильные)
   ============================================ */

.sticky-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
}

.sticky-bottom-bar.visible {
    transform: translateY(0);
}

.btn-sticky {
    width: 100%;
    font-size: 17px;
    padding: 14px;
}

/* ============================================
   СТАРЫЕ ОРНАМЕНТЫ — скрыть на всякий случай
   ============================================ */

.ornament-divider,
.ornament-svg,
.ornament-line {
    display: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .parents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 90vh;
        background: url('images/hero-mobile.jpg?v=20260309') center top / cover no-repeat;
    }
    
    .hero-content {
        padding-top: 65vh;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero .btn-lg {
        font-size: 16px;
        padding: 14px 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Header мобильный */
    .header-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--c-white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

    .header-nav.open {
        display: flex;
    }

    .btn-header-donate {
        display: none;
    }

    .burger {
        display: flex;
    }

    /* Mini CTA */
    .mini-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    /* Grid колонки */
    .about-grid,
    .concerts-content,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid,
    .parents-grid {
        grid-template-columns: 1fr;
    }

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

    .testimonials-benefits {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-slide img {
        height: 350px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card {
        padding: 28px;
    }

    .cta {
        padding: 80px 0 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Параллакс выключаем на мобильных */
    .quote,
    .cta-banner {
        background-attachment: scroll;
    }

    .hero::after {
        height: 50px;
    }

    .cta::before {
        height: 40px;
    }

    /* Sticky bottom bar — показываем на мобильных */
    .sticky-bottom-bar {
        display: block;
    }

    /* Trust badges */
    .trust-badges {
        gap: 8px;
    }

    .trust-item {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Header brand — скрыть текст на маленьких экранах */
    .header-brand {
        display: none;
    }
}

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

    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .carousel-slide img {
        height: 260px;
    }

    .quote-text {
        font-size: 18px;
        padding: 24px;
    }

    .quote-text::before {
        font-size: 80px;
        top: -10px;
    }

    .program-card,
    .parent-card {
        padding: 24px 16px;
    }

    .program-icon,
    .parent-icon {
        width: 60px;
        height: 60px;
    }

    .about-mission {
        padding: 24px;
    }

    .mission-text {
        font-size: 17px;
    }

    .cta-card {
        padding: 20px;
    }

    .section-title {
        margin-bottom: 12px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .carousel {
        padding: 40px 0 20px;
    }

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

    .impact-number {
        font-size: 36px;
    }

    .impact-suffix {
        font-size: 24px;
    }

    .cta-banner-inner p {
        font-size: 16px;
    }

    /* Sticky bottom bar — отступ для контента */
    .footer {
        padding-bottom: 80px;
    }
}
