/* ============================================
   ТРЕНИНГ "ВОЗВРАЩЕНИЕ СИЛЫ" - СТИЛИ
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Цветовая палитра - Premium Overhaul */
    --color-cream: #F5F2EA;
    --color-cream-dark: #EAE6D9;
    /* For gradients */

    /* Greens */
    --color-moss: #4A5D44;
    /* Original Moss */
    --color-emerald-deep: #2C3A28;
    /* Deep Forest */
    --color-emerald-light: #6B8564;
    /* Soft Sage */

    /* Golds */
    --color-gold: #C5A059;
    /* Muted Noble Gold */
    --color-gold-light: #E0C48A;
    /* Soft Shimmer */

    /* Accents */
    --color-terracotta: #C88A75;
    /* Dusty Terracotta */
    --color-terracotta-dark: #A66550;

    --color-white: #FFFFFF;
    --color-dark: #242424;
    /* Softer textured black */
    --color-text: #3D3D3D;
    --color-text-light: #6B6B6B;

    /* Шрифты */
    --font-accent: 'Forum',
        serif;
    --font-body: 'Manrope',
        sans-serif;

    /* Размеры */
    --container-max: 1200px;
    --container-padding: 20px;

    /* Анимации */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
    position: relative;
}

/* Global "Rice Paper" / Film Grain Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: multiply;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* --- Typography --- */
.section-title {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.section-title--center {
    text-align: center;
}

.text-accent {
    color: var(--color-terracotta);
}

/* --- Layout --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.btn--primary {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: #B56547;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 117, 86, 0.3);
}

.btn--gold {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

.btn--gold:hover {
    background-color: #C9A42F;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ============================================
   БЛОК 1: HERO
   ============================================ */
/* ============================================
   БЛОК 1: HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 'Morning Mist' Gradient Strategy: Cream -> Soft Gold -> Pale Peach -> Warm White */
    background: linear-gradient(125deg,
            #F9F7F2 0%,
            #F0EAD6 20%,
            #E6DCCA 40%,
            #FDF5E6 60%,
            #F9F7F2 100%);
    background-size: 400% 400%;
    animation: mistFlow 15s ease infinite;
    overflow: hidden;
}

@keyframes mistFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ============================================
   BOTANICAL DECOR (SVG)
   ============================================ */
.decor-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* Above background, below content */
    overflow: hidden;
}

.decor-branch,
.decor-leaf {
    position: absolute;
    width: 300px;
    /* Base size */
    height: 300px;
    opacity: 0.8;
}

.decor-branch--top-left {
    top: -50px;
    left: -50px;
    transform: rotate(-10deg);
}



/* Mobile Optimization: Scale down or hide to prevent clutter */
@media (max-width: 768px) {
    .decor-branch {
        width: 150px;
        height: 150px;
        top: -30px;
        left: -30px;
        opacity: 0.5;
    }

    .decor-leaf {
        width: 200px;
        height: 200px;
        bottom: -10px;
        right: -10px;
        opacity: 0.03;
        /* Almost invisible on mobile */
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Ultra-subtle texture for "expensive" print feel */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.04"/></svg>');
    pointer-events: none;
    mix-blend-mode: multiply;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Premium Composition:
       1. Vignette (Focus on center)
       2. Organic Flow Top-Left (Deep Emerald)
       3. Organic Flow Bottom-Right (Soft Sage)
       4. Bottom Glow (Muted Gold)
    */
    background:
        radial-gradient(circle at center, transparent 40%, rgba(44, 58, 40, 0.05) 100%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.hero__title {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero__line {
    width: 140px;
    height: 1px;
    /* Thinner for elegance */
    background: linear-gradient(90deg, transparent, var(--color-moss), var(--color-gold), var(--color-moss), transparent);
    margin: 0 auto 35px;
    /* More breathing room */
    opacity: 0.7;
}

.hero__subtitle {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    /* Slightly larger */
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 25px;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.hero__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    /* Airier tracking */
    text-transform: uppercase;
    color: var(--color-emerald-deep);
    /* Darker for contrast */
    padding: 12px 28px;
    border: 1px solid rgba(74, 93, 68, 0.3);
    border-radius: 40px;
    margin-bottom: 45px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.hero__btn {
    font-size: 14px;
    padding: 18px 48px;
    background-color: var(--color-gold);
    /* Reverted to Gold */
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
}

.hero__btn:hover {
    background-color: var(--color-gold-light);
    /* Darker Gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.4);
}

/* ============================================
   БЛОК 2: ДЛЯ КОГО
   ============================================ */
.for-whom {
    padding: 100px 0;
    background-color: var(--color-white);
}

.for-whom__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.for-whom__intro {
    font-size: 1.15rem;
    color: var(--color-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.for-whom__text {
    font-weight: 500;
    color: var(--color-moss);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.for-whom__list {
    margin-bottom: 30px;
    padding-left: 20px;
    /* Space for custom bullets */
}

.for-whom__list li {
    position: relative;
    padding-left: 20px;
    /* Space between bullet and text */
}

.for-whom__list li::before {
    content: '✦';
    /* Star/Diamond bullet */
    position: absolute;
    left: -5px;
    top: 2px;
    color: var(--color-moss);
    /* Moss accent bullet */
    font-size: 14px;
}

margin-bottom: 30px;
}

.for-whom__list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 18px;
    line-height: 1.7;
}

.for-whom__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--color-moss);
    border-radius: 50%;
}

.for-whom__list li strong {
    color: var(--color-terracotta);
    font-weight: 600;
}

.for-whom__conclusion {
    font-style: italic;
    color: var(--color-text-light);
    padding: 20px;
    background-color: var(--color-cream);
    border-radius: 12px;
    border-left: 3px solid var(--color-gold);
}

.for-whom__image {
    position: relative;
}

.for-whom__photo-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #E8E4DA 0%, #D4CFC0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.for-whom__photo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(74, 93, 68, 0.3) 100%);
}

.for-whom__photo-placeholder span {
    position: relative;
    z-index: 1;
}

/* ============================================
   БЛОК 3: ПРОГРАММА
   ============================================ */
.program {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-cream);
    overflow: hidden;
}

.program__texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.6" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.04"/></svg>');
    pointer-events: none;
}

.program__intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.program__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.program-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    /* Muted Gold Border */
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Soft initial shadow */
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-terracotta));
    opacity: 0;
    transition: var(--transition-smooth);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(44, 58, 40, 0.1);
    /* Emerald tint shadow */
    border-color: var(--color-moss);
}

.program-card:hover::before {
    opacity: 1;
}

.program-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
    color: var(--color-gold);
    /* Muted Gold Icon */
}

.program-card__icon svg {
    width: 100%;
    height: 100%;
}

.program-card__title {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.program-card__list {
    font-size: 15px;
    line-height: 1.8;
}

.program-card__list li {
    margin-bottom: 16px;
    color: var(--color-text);
}

.program-card__list li strong {
    color: var(--color-terracotta);
    display: block;
    margin-bottom: 4px;
}

.program__final {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(74, 93, 68, 0.08) 0%, rgba(200, 117, 86, 0.08) 100%);
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.program__final p {
    font-size: 1.1rem;
    color: var(--color-dark);
}

.program__final strong {
    color: var(--color-terracotta);
}

/* ============================================
   БЛОК 4: ОБ АВТОРЕ
   ============================================ */
.author {
    padding: 100px 0;
    background-color: var(--color-white);
}

.author__grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    align-items: center;
}

.author__photo {
    position: relative;
}

.author__photo-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #E8E4DA 0%, #D4CFC0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.author__content {
    padding-left: 20px;
}

.author__role {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-terracotta);
    margin-bottom: 30px;
}

.author__stats {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.author__stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author__stat-number {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    color: var(--color-terracotta);
    line-height: 1;
}

.author__stat-text {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.4;
}

.author__text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* ============================================
   БЛОК 5: АТМОСФЕРА
   ============================================ */
.atmosphere {
    padding: 100px 0;
    background-color: var(--color-cream);
}

.atmosphere__handwritten {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-style: italic;
    text-align: center;
    color: var(--color-moss);
    margin-bottom: 50px;
    position: relative;
}

.atmosphere__handwritten::before,
.atmosphere__handwritten::after {
    content: '—';
    margin: 0 15px;
    color: var(--color-gold);
}

.atmosphere__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

.atmosphere__item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.atmosphere__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.atmosphere__item--wide {
    grid-column: span 2;
}

.for-whom__photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #E6E2D8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 14px;
    border-radius: 12px;
    position: relative;
    /* Inner Moss Border for "Framed" look */
    border: 1px solid rgba(74, 93, 68, 0.2);
}

.for-whom__photo-placeholder::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: 10px;
    left: 10px;
    border: 1px solid var(--color-moss);
    /* Thin Moss line offset */
    border-radius: 12px;
    z-index: -1;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.atmosphere__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #DDD8CC 0%, #C9C4B8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.atmosphere__item:hover .atmosphere__placeholder {
    transform: scale(1.05);
}

/* ============================================
   БЛОК 6: РЕЗУЛЬТАТЫ
   ============================================ */
.results {
    padding: 100px 0;
    background-color: var(--color-white);
}

.results__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.result-card {
    text-align: center;
    padding: 50px 30px;
    background-color: var(--color-white);
    /* Solid base for shadow */
    border: 1px solid rgba(197, 160, 89, 0.2);
    /* Muted Gold Border */
    border-radius: 12px;
    /* Slightly tighter radius */
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Soft initial shadow */
}

/* Floating Gold Star at the top */
.result-card::before {
    content: '✦';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    padding: 0 10px;
    color: var(--color-gold);
    font-size: 20px;
    line-height: 1;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(44, 58, 40, 0.1);
    /* Emerald tint shadow */
    border-color: var(--color-moss);
}

.result-card__icon {
    display: none;
    /* Hidden to use premium floating pseudo-element instead */
}

.result-card__title {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.result-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   БЛОК 7: ОФФЕР
   ============================================ */
.offer {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-moss);
    color: var(--color-white);
    overflow: hidden;
}

.offer__texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.5" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
}

.offer__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.offer__title {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    color: var(--color-cream);
}

.offer__details {
    margin-bottom: 50px;
}

.offer__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.offer__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.offer__value {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.offer__price-block {
    margin-bottom: 40px;
}

.offer__price-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.offer__price {
    font-family: var(--font-accent);
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--color-cream);
    line-height: 1;
    margin-bottom: 10px;
}

.offer__currency {
    font-size: 0.5em;
}

.offer__price-note {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.offer__btn {
    font-size: 15px;
    padding: 20px 50px;
}

/* ============================================
   ФУТЕР
   ============================================ */
.footer {
    padding: 50px 0 30px;
    background-color: #3A4A35;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer__content {
    text-align: center;
}

.footer__ip {
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__link:hover {
    color: var(--color-gold);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background-color: var(--color-white);
    padding: 50px 40px;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.modal.active .modal__content {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 28px;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__close:hover {
    color: var(--color-terracotta);
    transform: rotate(90deg);
}

.modal__title {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 15px;
    text-align: center;
}

.modal__text {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-size: 15px;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal__input {
    padding: 16px 20px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-fast);
    background-color: var(--color-cream);
}

.modal__input:focus {
    outline: none;
    border-color: var(--color-terracotta);
    background-color: var(--color-white);
}

.modal__submit {
    margin-top: 10px;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 1024px) {

    .for-whom__grid,
    .author__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .for-whom__image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .program__cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .author__photo {
        max-width: 400px;
        margin: 0 auto;
    }

    .author__content {
        padding-left: 0;
        text-align: center;
    }

    .author__stats {
        justify-content: center;
    }

    .atmosphere__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 220px);
    }

    .atmosphere__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .results__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 40px auto 0;
    }
}

@media (max-width: 600px) {
    .hero__content {
        padding: 30px 20px;
    }

    .for-whom,
    .program,
    .author,
    .atmosphere,
    .results,
    .offer {
        padding: 70px 0;
    }

    .author__stats {
        flex-direction: column;
        gap: 25px;
    }

    .author__stat {
        flex-direction: column;
        text-align: center;
    }

    .atmosphere__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .atmosphere__item,
    .atmosphere__item--large,
    .atmosphere__item--wide {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 16/10;
    }

    .footer__links {
        flex-direction: column;
        gap: 12px;
    }

    .modal__content {
        padding: 40px 25px;
    }
}

/* ============================================
   АНИМАЦИИ
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* Плавное появление элементов при скролле */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ORGANIC DECOR ELEMENTS (Background Leaves)
   ============================================ */
.decor-leaf {
    position: absolute;
    z-index: 0;
    opacity: 0.15;
    /* Increased opacity for visibility */
    pointer-events: none;
    filter: blur(40px);
    /* Reduced blur for definition */
}

/* Leaf Shape 1: Top Right */
.decor-leaf--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-moss) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

/* Leaf Shape 2: Bottom Left */
.decor-leaf--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-terracotta) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
    opacity: 0.06;
}

/* Leaf Shape 3: Center Floating */
.decor-leaf--3 {
    width: 200px;
    height: 200px;
    background-color: var(--color-moss);
    top: 50%;
    right: 10%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.05;
    transform: rotate(45deg);
    filter: blur(40px);
}

/* Ensure sections can clip these elements */
.for-whom,
.program,
.results {
    position: relative;
    overflow: hidden;
}

/* ============================================
   ORGANIC DECOR ELEMENTS (SEPARATORS)
   ============================================ */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: -30px auto 60px;
    max-width: 600px;
    opacity: 0.8;
}

.section-separator__line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section-separator__icon {
    color: var(--color-gold);
    font-size: 1.4rem;
    animation: goldPulse 3s infinite ease-in-out;
}

@keyframes goldPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    }
}

/* ============================================
   LEGAL CHECKBOXES (152-FZ)
   ============================================ */
.modal__legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.4;
    text-align: left;
    user-select: none;
}

.checkbox-visual {
    width: 20px;
    height: 20px;
    border: 1px solid #C87556;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background-color: transparent;
    margin-top: 1px;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-wrapper input:checked+.checkbox-visual {
    background-color: var(--color-terracotta);
    border-color: var(--color-terracotta);
    color: white;
}

.checkbox-wrapper input:checked+.checkbox-visual::after {
    content: '✓';
    font-size: 14px;
    font-weight: bold;
}

.checkbox-wrapper a {
    color: var(--color-terracotta);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.modal__submit {
    transition: all 0.3s ease;
}

.modal__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc !important;
    color: #888 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ============================================
   CAROUSEL (AUTHOR DIPLOMAS)
   ============================================ */
.carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.carousel__track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel__slide {
    min-width: 100%;
    box-sizing: border-box;
}

/* Specific placeholder style for diplomas */
.diploma-placeholder {
    aspect-ratio: 3/4;
    /* Match author photo ratio */
    background: linear-gradient(135deg, #F3F1ED 0%, #E6E2D8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-moss);
    font-size: 14px;
    border: 1px dashed rgba(74, 93, 68, 0.3);
    border-radius: 20px;
}

.carousel__controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    /* Let clicks pass through to empty space */
}

.carousel__btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--color-dark);
    margin: 0 10px;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel__btn:hover {
    background: var(--color-terracotta);
    color: white;
}

.carousel__dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel__dot.active {
    background: var(--color-terracotta);
    transform: scale(1.2);
}