/* ==========================================================================
   ДЖВ — Детские Жизни Важны
   Тёплая, но не «детсадовская» айдентика: глубокий синий, тёплый жёлтый,
   мягкий белый. Много воздуха, крупная типографика, живые детали.
   ========================================================================== */

:root {
    --ink: #10263f;
    --ink-2: #1b3a5c;
    --ink-3: #2a4b6d;
    --paper: #fbf8f2;
    --paper-2: #f5efe4;
    --cream: #f0e6d4;
    --sun: #f3b93f;
    --sun-deep: #e0a02a;
    --sun-soft: #fdeec9;
    --coral: #e5735b;
    --coral-soft: #fbe2da;
    --teal: #2f7f77;
    --teal-soft: #dcefec;
    --sky: #7fb4d6;
    --lilac: #b8a6d9;
    --leaf: #8fb573;
    --muted: #65758a;
    --line: rgba(16, 38, 63, .12);
    --white: #fffdf9;
    --shadow-sm: 0 8px 24px rgba(16, 38, 63, .07);
    --shadow: 0 24px 60px rgba(16, 38, 63, .10);
    --shadow-lg: 0 36px 90px rgba(16, 38, 63, .14);
    --radius: 26px;
    --radius-sm: 18px;
    --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Unbounded', 'Manrope', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(900px 600px at 85% -5%, rgba(243, 185, 63, .16), transparent 60%),
        radial-gradient(700px 500px at 0% 20%, rgba(127, 180, 214, .12), transparent 60%),
        var(--paper);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.modal-open { padding-right: 0 !important; }

::selection { background: var(--sun); color: var(--ink); }

img { max-width: 100%; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-2); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.02em;
    color: var(--ink);
}

.display-1, .display-2, .display-3 { font-family: var(--font-display); }

p { color: var(--ink-3); }

.container { max-width: 1240px; }

.section { padding: 88px 0; position: relative; }
.section-sm { padding: 56px 0; }
.section-cream { background: linear-gradient(180deg, rgba(240, 230, 212, .55), rgba(240, 230, 212, .18)); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.eyebrow-light { color: var(--sun); }

.section-title {
    font-size: clamp(1.85rem, 3vw, 2.9rem);
    margin: 0 0 16px;
}
.section-lead {
    font-size: 1.06rem;
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 0;
}
.section-head { margin-bottom: 44px; }
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.text-sun { color: var(--sun-deep) !important; }
.text-ink { color: var(--ink) !important; }
.text-muted-2 { color: var(--muted) !important; }

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

.btn {
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    padding: .72rem 1.35rem;
    border-width: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 1.05em; }

.btn-sun {
    background: var(--sun);
    border-color: var(--sun);
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(224, 160, 42, .28);
}
.btn-sun:hover, .btn-sun:focus {
    background: var(--sun-deep);
    border-color: var(--sun-deep);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(224, 160, 42, .34);
}

.btn-ink {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    box-shadow: 0 12px 28px rgba(16, 38, 63, .22);
}
.btn-ink:hover, .btn-ink:focus {
    background: var(--ink-2);
    border-color: var(--ink-2);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-ink {
    border-color: rgba(16, 38, 63, .28);
    color: var(--ink);
    background: transparent;
}
.btn-outline-ink:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--ink);
    padding-left: .9rem;
    padding-right: .9rem;
}
.btn-ghost:hover { background: rgba(16, 38, 63, .07); color: var(--ink); }

.btn-soft {
    background: var(--white);
    border-color: var(--line);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.btn-soft:hover { background: #fff; border-color: rgba(16, 38, 63, .25); transform: translateY(-2px); }

.btn-lg { padding: .9rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: .48rem .95rem; font-size: .84rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 800;
    color: var(--ink);
    border-bottom: 2px solid var(--sun);
    padding-bottom: 2px;
}
.link-arrow:hover { gap: .7rem; color: var(--ink); }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Верхняя строка и шапка
   -------------------------------------------------------------------------- */

.topline {
    background: var(--ink);
    color: rgba(255, 253, 249, .72);
    font-size: .8rem;
    padding: 8px 0;
}
.topline a { color: rgba(255, 253, 249, .82); white-space: nowrap; }
.topline a:hover { color: var(--sun); }
.topline-note { display: inline-flex; align-items: center; gap: .45rem; }
.topline-note i { color: var(--sun); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(251, 248, 242, .86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
    background: rgba(251, 248, 242, .96);
    border-color: var(--line);
    box-shadow: 0 12px 30px rgba(16, 38, 63, .06);
}
.site-header .navbar { min-height: 82px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.08rem;
    letter-spacing: .04em;
}
.brand-text small {
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--muted);
    margin-top: 3px;
    white-space: nowrap;
}

.site-header .nav-link {
    color: var(--ink-3);
    font-weight: 700;
    font-size: .9rem;
    padding: .55rem .78rem !important;
    border-radius: 999px;
    position: relative;
    white-space: nowrap;
}
.site-header .nav-link:hover { color: var(--ink); background: rgba(16, 38, 63, .05); }
.site-header .nav-link.active { color: var(--ink); }
.site-header .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sun-deep);
    transform: translateX(-50%);
}
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.navbar-toggler { border: 0; padding: .5rem; box-shadow: none !important; }
.navbar-toggler-icon { width: 1.4em; height: 1.4em; }

.flash-stack { padding-top: 16px; position: relative; z-index: 10; }
.flash-stack .alert { border: 0; border-radius: 16px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    padding: 56px 0 64px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(560px 400px at 82% 18%, rgba(243, 185, 63, .18), transparent 64%),
        radial-gradient(460px 380px at 12% 82%, rgba(47, 127, 119, .08), transparent 65%);
    pointer-events: none;
}
.hero .container { position: relative; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255, 253, 249, .8);
    border: 1px solid rgba(16, 38, 63, .1);
    border-radius: 999px;
    padding: .45rem .9rem .45rem .55rem;
    font-size: .78rem;
    font-weight: 800;
    color: var(--ink-3);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--sun-soft); color: var(--sun-deep); font-size: .95rem;
}

.hero-title {
    font-size: clamp(2.6rem, 5.2vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -.035em;
    margin: 0 0 24px;
    font-weight: 600;
}
.hero-title .accent {
    position: relative;
    display: inline-block;
    color: var(--ink);
    z-index: 1;
}
.hero-title .accent::after {
    content: "";
    position: absolute;
    left: -.04em;
    right: -.04em;
    bottom: .06em;
    height: .28em;
    background: var(--sun);
    border-radius: 99px;
    z-index: -1;
    transform: rotate(-1.2deg);
    opacity: .9;
}
.hero-lead {
    font-size: 1.13rem;
    line-height: 1.7;
    color: var(--ink-3);
    max-width: 560px;
    margin-bottom: 26px;
}

.hero-dream-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px 16px 12px 12px;
    max-width: 520px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}
.hero-dream-icon {
    width: 52px; height: 52px; flex: 0 0 52px;
    border-radius: 15px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--sun-soft);
    color: var(--sun-deep);
    font-size: 1.5rem;
}
.dream-rotator { position: relative; min-height: 48px; flex: 1; overflow: hidden; }
.dream-quote {
    position: absolute;
    inset: 0 auto auto 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s ease, transform .5s ease;
    font-weight: 800;
    font-size: .98rem;
    line-height: 1.35;
    color: var(--ink);
}
.dream-quote.is-active { opacity: 1; transform: translateY(0); position: relative; }
.dream-quote small {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
    margin-top: 3px;
    letter-spacing: .01em;
}
.hero-dream-card .dream-arrow { color: var(--muted); font-size: 1.2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .82rem;
    color: var(--muted);
}
.trust-icons { display: flex; }
.trust-icons span {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink-3);
    margin-left: -8px;
    font-size: .95rem;
}
.trust-icons span:first-child { margin-left: 0; }
.hero-trust strong { color: var(--ink); }

/* Арт на первом экране */
.hero-art { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.hero-art-blob {
    position: absolute;
    inset: 8% 0 2% 6%;
    border-radius: 46% 54% 55% 45% / 48% 42% 58% 52%;
    background: linear-gradient(145deg, #fbe7b8 0%, #f6d78e 45%, #efc26b 100%);
    box-shadow: inset 0 -30px 70px rgba(224, 160, 42, .2);
    transform: rotate(-3deg);
}
.hero-art-frame {
    position: relative;
    width: min(100%, 500px);
    border-radius: 38px;
    overflow: hidden;
    background: var(--paper-2);
    box-shadow: var(--shadow-lg);
    border: 8px solid rgba(255, 253, 249, .8);
    transform: rotate(1.5deg);
}
.hero-art-frame img { width: 100%; display: block; }
.hero-sticker {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 10px 14px;
    font-size: .8rem;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floaty 6s ease-in-out infinite;
    z-index: 2;
}
.hero-sticker i { color: var(--sun-deep); font-size: 1.1rem; }
.hero-sticker.st-1 { top: 7%; left: -3%; transform: rotate(-4deg); animation-delay: -1s; }
.hero-sticker.st-2 { bottom: 12%; right: -4%; transform: rotate(3deg); animation-delay: -3s; }
.hero-sticker.st-3 { top: 56%; left: -6%; transform: rotate(2deg); animation-delay: -4.5s; }

@keyframes floaty {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

/* Лента мечт */
.dream-strip {
    margin-top: 46px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.dream-chip {
    background: rgba(255, 253, 249, .7);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .5rem 1rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink-3);
    transition: transform .2s ease, background .2s ease;
}
.dream-chip:hover { transform: translateY(-2px); background: var(--white); color: var(--ink); }
.dream-chip i { color: var(--coral); margin-right: 4px; }

/* --------------------------------------------------------------------------
   Статистика
   -------------------------------------------------------------------------- */

.stats-band {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px;
    position: relative;
    z-index: 2;
}
.stat {
    padding: 26px 26px 24px;
    border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}
.stat-value span { color: var(--sun-deep); }
.stat-label { font-size: .82rem; color: var(--muted); font-weight: 700; line-height: 1.4; }

/* --------------------------------------------------------------------------
   Карточки детей
   -------------------------------------------------------------------------- */

.child-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
}
.child-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(16, 38, 63, .18);
}
.child-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.child-card-media > img { width: 100%; height: 100%; object-fit: cover; }

.dream-cover {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}
.dream-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.5), transparent 45%);
    pointer-events: none;
}
.dream-cover > i { font-size: clamp(3.4rem, 6vw, 5rem); opacity: .9; position: relative; z-index: 1; }
.cover-orb {
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .32);
    top: -70px; right: -50px;
}
.cover-caption {
    position: relative;
    z-index: 1;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .7;
}
.cat-tech { background: linear-gradient(140deg, #e0f0ff, #a9cdf0); color: #174a85; }
.cat-creativity { background: linear-gradient(140deg, #ffe9d6, #f8c9a8); color: #a84a16; }
.cat-music { background: linear-gradient(140deg, #ede9fe, #cfc3f4); color: #5b3ca6; }
.cat-sport { background: linear-gradient(140deg, #e0f5e5, #a9dcb6); color: #1e6b3a; }
.cat-education { background: linear-gradient(140deg, #fff2cf, #f7dc8f); color: #916208; }
.cat-profession { background: linear-gradient(140deg, #e2f3fb, #aad7ea); color: #0f5f80; }
.cat-travel { background: linear-gradient(140deg, #dcf7f4, #a7e3dd); color: #166c65; }
.cat-care { background: linear-gradient(140deg, #ffe5e8, #f7bcc5); color: #a52c46; }

.child-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(255, 253, 249, .92);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: .32rem .72rem;
    font-size: .72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--ink);
}
.child-badge i { color: var(--teal); }
.child-featured {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: var(--sun);
    border-radius: 999px;
    padding: .32rem .65rem;
    font-size: .68rem;
    font-weight: 800;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.child-card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.child-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .76rem;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 10px;
}
.child-meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: .6; }
.child-dream {
    font-family: var(--font-display);
    font-size: 1.17rem;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: -.015em;
}
.child-need {
    font-size: .86rem;
    color: var(--muted);
    margin: 0 0 18px;
    display: flex;
    gap: .45rem;
    align-items: flex-start;
}
.child-need i { color: var(--sun-deep); margin-top: 3px; }
.child-progress { margin-top: auto; }
.progress-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: .76rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 7px;
}
.progress-head strong { color: var(--ink); font-size: .86rem; }
.progress-track {
    height: 7px;
    border-radius: 99px;
    background: rgba(16, 38, 63, .09);
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--sun), var(--sun-deep));
    transition: width 1s ease;
}
.progress-fill.is-full { background: linear-gradient(90deg, #5bbd82, #2f9b5b); }

.child-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 22px 22px;
}
.child-card-foot .btn { width: 100%; justify-content: center; }
.child-card-note { font-size: .74rem; color: var(--muted); font-weight: 700; }

/* --------------------------------------------------------------------------
   Фильтры
   -------------------------------------------------------------------------- */

.filter-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 36px;
}
.filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr) auto;
    gap: 12px;
    align-items: end;
}
.filter-label {
    display: block;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: 6px;
}
.form-select, .form-control {
    border-radius: 12px;
    border-color: rgba(16, 38, 63, .16);
    padding: .62rem .8rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    background-color: #fffdfa;
}
.form-select:focus, .form-control:focus {
    border-color: var(--sun-deep);
    box-shadow: 0 0 0 .2rem rgba(243, 185, 63, .18);
    background-color: #fff;
}
.form-control::placeholder { color: #9aa5b1; font-weight: 500; }
.form-label { font-weight: 700; font-size: .86rem; margin-bottom: .35rem; }
.form-text { color: var(--muted); font-size: .78rem; }
.form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.form-check-input:focus { border-color: var(--sun-deep); box-shadow: 0 0 0 .2rem rgba(243, 185, 63, .2); }

.filter-reset { font-size: .82rem; font-weight: 700; color: var(--muted); padding: .62rem .4rem; }
.filter-reset:hover { color: var(--ink); }

.empty-state {
    text-align: center;
    padding: 70px 20px;
    background: var(--white);
    border: 1px dashed rgba(16, 38, 63, .2);
    border-radius: var(--radius);
}
.empty-state i { font-size: 2.4rem; color: var(--sun-deep); display: block; margin-bottom: 12px; }

/* --------------------------------------------------------------------------
   Как это работает
   -------------------------------------------------------------------------- */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}
.step-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px 22px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step-num {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--sun);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 18px;
}
.step-card:nth-child(2) .step-num { background: var(--teal); color: #fff; }
.step-card:nth-child(3) .step-num { background: var(--coral); color: #fff; }
.step-card:nth-child(4) .step-num { background: var(--sun); color: var(--ink); }
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: .87rem; margin: 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   Волшебное дерево — превью и полная страница
   -------------------------------------------------------------------------- */

.wish-section {
    position: relative;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
}
.wish-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 420px at 80% 0%, rgba(243, 185, 63, .18), transparent 65%),
        radial-gradient(500px 400px at 10% 100%, rgba(47, 127, 119, .28), transparent 65%);
    pointer-events: none;
}
.wish-section .container { position: relative; }
.wish-section h2 { color: var(--paper); }
.wish-section .section-lead { color: rgba(251, 248, 242, .68); }

.wish-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 56px;
    align-items: center;
}
.wish-preview-title { font-size: clamp(2rem, 3.5vw, 3.1rem); color: var(--paper); margin-bottom: 18px; }
.wish-preview-copy { color: rgba(251, 248, 242, .7); font-size: 1.04rem; margin-bottom: 26px; }
.wish-preview-list { display: grid; gap: 10px; margin-bottom: 30px; }
.wish-preview-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 253, 249, .06);
    border: 1px solid rgba(255, 253, 249, .12);
    border-radius: 16px;
    padding: 12px 16px;
    color: var(--paper);
}
.wish-preview-item:hover { background: rgba(255, 253, 249, .1); color: var(--paper); }
.wish-preview-item .leaf-dot {
    width: 30px; height: 30px; border-radius: 50% 50% 50% 6px;
    flex: 0 0 30px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink); font-size: .85rem;
}
.wish-preview-item span { flex: 1; font-size: .9rem; font-weight: 700; }
.wish-preview-item small { color: rgba(251, 248, 242, .5); font-size: .76rem; white-space: nowrap; }

.tree-stage {
    position: relative;
    min-height: 560px;
    border-radius: 34px;
    background:
        radial-gradient(ellipse at 50% 88%, rgba(243, 185, 63, .13), transparent 55%),
        rgba(255, 253, 249, .035);
    border: 1px solid rgba(255, 253, 249, .1);
    overflow: hidden;
}
.tree-stage img.tree-bg {
    position: absolute;
    left: 50%;
    bottom: -2%;
    width: min(94%, 680px);
    transform: translateX(-50%);
    opacity: .95;
    pointer-events: none;
}
.tree-stage .wish-leaf {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: rotate(var(--r)) translate(-50%, -50%);
    z-index: 2;
}
.wish-leaf {
    border: 0;
    border-radius: 16px 16px 16px 4px;
    padding: 10px 14px;
    min-width: 132px;
    max-width: 190px;
    text-align: left;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.3;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    cursor: pointer;
}
.wish-leaf small { font-size: .66rem; font-weight: 700; opacity: .7; }
.wish-leaf:hover { transform: rotate(0deg) translate(-50%, -50%) scale(1.08); box-shadow: 0 20px 38px rgba(0, 0, 0, .32); filter: brightness(1.05); z-index: 5; }
.wish-leaf .leaf-status { display: inline-flex; align-items: center; gap: 4px; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; }
.wish-leaf.color-sun { background: var(--sun); color: #3b2a04; }
.wish-leaf.color-coral { background: var(--coral); color: #fff7f4; }
.wish-leaf.color-teal { background: var(--teal); color: #f2fffd; }
.wish-leaf.color-sky { background: #a8d0ea; color: #12364f; }
.wish-leaf.color-lilac { background: var(--lilac); color: #24183d; }
.wish-leaf.color-leaf { background: #a7c78d; color: #20340f; }
.wish-leaf.status-reserved { filter: saturate(.55); }
.wish-leaf.status-fulfilled { filter: saturate(.45); opacity: .78; }

.tree-legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: rgba(251, 248, 242, .6);
    font-size: .76rem;
    font-weight: 700;
}
.tree-legend span { display: inline-flex; align-items: center; gap: 7px; }
.tree-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.wish-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wish-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.wish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.wish-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.wish-card-icon {
    width: 44px; height: 44px; border-radius: 13px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--sun-soft); color: var(--sun-deep); font-size: 1.2rem;
}
.wish-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.wish-card p { font-size: .86rem; color: var(--muted); flex: 1; }
.wish-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.wish-price { font-family: var(--font-display); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Новости / истории
   -------------------------------------------------------------------------- */

.news-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.news-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px;
    overflow: hidden;
}
.news-cover::before {
    content: "";
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    right: -70px; top: -80px;
}
.news-cover > i { font-size: 3.4rem; opacity: .85; position: relative; z-index: 1; }
.news-cover .news-tag {
    position: relative;
    z-index: 1;
    background: rgba(255, 253, 249, .82);
    border-radius: 999px;
    padding: .28rem .62rem;
    font-size: .66rem;
    font-weight: 800;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.news-cover.cover-progress { background: linear-gradient(140deg, #dcefe9, #a8d8cb); color: #14574f; }
.news-cover.cover-stories { background: linear-gradient(140deg, #fde8c0, #f5c56c); color: #7a4e06; }
.news-cover.cover-events { background: linear-gradient(140deg, #e2eaf8, #b3c8ea); color: #1e3d72; }
.news-cover.cover-thanks { background: linear-gradient(140deg, #ffe1da, #f4b09f); color: #8d2f1c; }
.news-cover.cover-new { background: linear-gradient(140deg, #ece6f8, #c9bae8); color: #4b3573; }
.news-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-cover img + .news-tag { position: absolute; left: 18px; bottom: 18px; }

.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: .74rem; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.news-body h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 10px; }
.news-body p { font-size: .86rem; color: var(--muted); flex: 1; }
.news-more { font-size: .82rem; font-weight: 800; display: inline-flex; align-items: center; gap: .4rem; margin-top: 14px; }

.news-featured {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 34px;
}
.news-featured-cover { min-height: 360px; }
.news-featured-cover .news-cover { height: 100%; aspect-ratio: auto; padding: 28px; justify-content: flex-end; gap: 16px; }
.news-featured-cover .news-cover > i { font-size: 6rem; position: absolute; right: 30px; top: 26px; opacity: .55; }
.news-featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.news-featured-body h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); margin-bottom: 14px; }
.news-featured-body p { font-size: .98rem; }

.article-layout { max-width: 800px; margin: 0 auto; }
.article-cover { border-radius: 28px; overflow: hidden; margin-bottom: 32px; }
.article-cover .news-cover { aspect-ratio: 16 / 7; }
.article-body { font-size: 1.05rem; line-height: 1.85; color: var(--ink-3); }
.article-body p { margin-bottom: 1.2rem; }
.article-body h2, .article-body h3 { margin-top: 2rem; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; font-size: .82rem; color: var(--muted); font-weight: 700; }

/* --------------------------------------------------------------------------
   Партнёры
   -------------------------------------------------------------------------- */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.partner-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 170px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.partner-logo {
    width: 100%;
    height: 74px;
    border-radius: 14px;
    background: var(--paper-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}
.partner-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.partner-logo span {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: -.02em;
    color: var(--ink);
}
.partner-tier { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.partner-card p { font-size: .83rem; color: var(--muted); margin: 0; }
.partner-card h3 { font-size: 1rem; margin: 0; }

.partner-cta {
    background: linear-gradient(135deg, var(--sun-soft), #f8e3ae);
    border-radius: var(--radius);
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.partner-cta h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 0 0 8px; }
.partner-cta p { margin: 0; color: var(--ink-3); max-width: 540px; }

/* --------------------------------------------------------------------------
   CTA-полоса
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    background: var(--ink);
    border-radius: 34px;
    padding: 52px;
    color: var(--paper);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center;
}
.cta-band::before {
    content: "";
    position: absolute;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 185, 63, .28), transparent 65%);
    right: -80px; top: -120px;
}
.cta-band h2 { color: var(--paper); font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 12px; }
.cta-band p { color: rgba(251, 248, 242, .68); margin-bottom: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; }

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer {
    position: relative;
    background: #0b1b2e;
    color: rgba(251, 248, 242, .62);
    padding: 70px 0 26px;
    margin-top: 80px;
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    width: 700px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 185, 63, .12), transparent 65%);
    right: -100px; top: -180px;
}
.site-footer .container { position: relative; }
.footer-top { padding-bottom: 44px; border-bottom: 1px solid rgba(255, 253, 249, .1); }
.brand-footer .brand-text strong { color: var(--paper); }
.brand-footer .brand-text small { color: rgba(251, 248, 242, .5); }
.footer-lead { margin-top: 20px; font-size: .88rem; line-height: 1.7; color: rgba(251, 248, 242, .56); max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 253, 249, .16);
    color: rgba(251, 248, 242, .72);
    font-size: 1rem;
}
.footer-social a:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.site-footer h6 {
    color: var(--paper);
    font-family: var(--font-body);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { color: rgba(251, 248, 242, .6); font-size: .87rem; }
.site-footer ul a:hover { color: var(--sun); }
.footer-phone { display: block; color: var(--paper); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 4px; }
.footer-phone:hover { color: var(--paper); }
.footer-mail { color: var(--sun); font-weight: 700; font-size: .92rem; }
.footer-address { margin: 12px 0; font-size: .84rem; color: rgba(251, 248, 242, .5); }
.footer-note {
    border-left: 2px solid var(--sun);
    padding-left: 12px;
    font-size: .8rem;
    color: rgba(251, 248, 242, .6);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    font-size: .75rem;
    color: rgba(251, 248, 242, .4);
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom a { color: rgba(251, 248, 242, .45); }
.footer-bottom a:hover { color: var(--sun); }

/* --------------------------------------------------------------------------
   Формы / карточки форм
   -------------------------------------------------------------------------- */

.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card .form-intro { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .72rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.modal-header { border-bottom: 1px solid var(--line); padding: 22px 26px; }
.modal-title { font-size: 1.2rem; }
.modal-body { padding: 24px 26px; }
.modal-footer { border-top: 1px solid var(--line); padding: 16px 26px; }
.modal .btn-close { box-shadow: none; }

.input-icon { position: relative; }
.input-icon .form-control { padding-right: 46px; }
.toggle-password {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}
.toggle-password:hover { background: rgba(16, 38, 63, .06); color: var(--ink); }

/* --------------------------------------------------------------------------
   Страница ребёнка
   -------------------------------------------------------------------------- */

.child-hero { padding: 44px 0 0; }
.child-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 44px;
    align-items: start;
}
.child-photo-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 8px solid var(--white);
    background: var(--paper-2);
    aspect-ratio: 4 / 4.4;
}
.child-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.child-photo-card .dream-cover > i { font-size: 7rem; }

.child-dream-title {
    font-size: clamp(1.8rem, 3.4vw, 2.9rem);
    line-height: 1.16;
    margin: 10px 0 18px;
}
.child-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.fact-pill {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .4rem .85rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--ink-3);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.fact-pill i { color: var(--teal); }
.child-story { font-size: 1.02rem; line-height: 1.8; color: var(--ink-3); }

.need-card {
    background: var(--sun-soft);
    border: 1px solid rgba(224, 160, 42, .25);
    border-radius: 20px;
    padding: 20px 22px;
    margin: 24px 0;
}
.need-card h4 {
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--sun-deep);
    margin-bottom: 6px;
}
.need-card p { margin: 0; font-weight: 700; color: var(--ink); }

.child-progress-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.child-progress-card .progress-track { height: 9px; }
.child-progress-card .amount { font-family: var(--font-display); font-size: 1.4rem; margin: 6px 0 0; }

.child-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 34px; align-items: start; padding-top: 52px; }
.child-side { position: sticky; top: 104px; display: grid; gap: 18px; }

.action-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.action-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.action-card p { font-size: .86rem; color: var(--muted); }
.action-list { display: grid; gap: 9px; }
.action-list .btn { justify-content: flex-start; }
.action-card .divider { height: 1px; background: var(--line); margin: 18px 0; }
.action-card small { color: var(--muted); font-size: .74rem; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--sun), rgba(16, 38, 63, .08));
    border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--sun);
    box-shadow: 0 0 0 4px var(--paper);
}
.timeline-date { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 5px; }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-item p { font-size: .92rem; color: var(--ink-3); margin: 0; }
.timeline-item img { border-radius: 16px; margin-top: 12px; max-height: 340px; object-fit: cover; width: 100%; }
.timeline-empty { color: var(--muted); font-style: italic; }

/* --------------------------------------------------------------------------
   Магазин
   -------------------------------------------------------------------------- */

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.product-cover {
    aspect-ratio: 4 / 3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-cover i { font-size: 4.4rem; position: relative; z-index: 1; }
.product-cover .price-tag {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    padding: .4rem .8rem;
    font-weight: 800;
    font-size: .82rem;
}
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.product-body p { font-size: .86rem; color: var(--muted); flex: 1; }
.product-goal {
    background: var(--sun-soft);
    border-radius: 12px;
    padding: .55rem .7rem;
    font-size: .76rem;
    font-weight: 700;
    color: #6b4c08;
    margin: 14px 0;
    display: flex;
    gap: .4rem;
    align-items: flex-start;
}
.product-goal i { margin-top: 2px; }

/* --------------------------------------------------------------------------
   Биржа возможностей
   -------------------------------------------------------------------------- */

.offer-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.offer-type {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--teal);
    margin-bottom: 12px;
}
.offer-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.offer-card p { font-size: .86rem; color: var(--muted); flex: 1; }
.offer-meta { display: grid; gap: 5px; font-size: .78rem; color: var(--ink-3); margin: 14px 0; }
.offer-meta span { display: flex; gap: .45rem; align-items: flex-start; }
.offer-meta i { color: var(--sun-deep); margin-top: 2px; }
.offer-provider { font-size: .8rem; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.offer-provider small { display: block; font-weight: 600; color: var(--muted); }

.help-hero { background: var(--ink); color: var(--paper); border-radius: 34px; padding: 54px; position: relative; overflow: hidden; }
.help-hero::after {
    content: "";
    position: absolute;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 185, 63, .25), transparent 65%);
    right: -100px; top: -160px;
}
.help-hero h1 { color: var(--paper); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.help-hero p { color: rgba(251, 248, 242, .7); font-size: 1.04rem; max-width: 640px; margin-bottom: 0; }
.help-hero .eyebrow { color: var(--sun); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--ink-3); }
.check-list i { color: var(--teal); font-size: 1.1rem; margin-top: 1px; }

/* --------------------------------------------------------------------------
   О фонде / волонтёры
   -------------------------------------------------------------------------- */

.manifesto {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.35;
    letter-spacing: -.02em;
    max-width: 920px;
}
.manifesto .sun-mark { background: linear-gradient(transparent 68%, var(--sun) 68%); }
.principle-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    height: 100%;
}
.principle-icon {
    width: 50px; height: 50px; border-radius: 15px;
    background: var(--sun-soft); color: var(--sun-deep);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 16px;
}
.principle-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.principle-card p { font-size: .88rem; color: var(--muted); margin: 0; }

.volunteer-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.volunteer-benefits { display: grid; gap: 14px; }
.volunteer-benefit {
    display: flex;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}
.volunteer-benefit i { color: var(--sun-deep); font-size: 1.3rem; }
.volunteer-benefit strong { display: block; font-size: .92rem; }
.volunteer-benefit span { font-size: .82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Анимации появления
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Адаптивность
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .site-header .nav-link { padding: .55rem .55rem !important; font-size: .84rem; }
    .brand-text small { display: none; }
    .hero-grid { gap: 40px; }
    .filter-grid { grid-template-columns: repeat(3, 1fr); }
    .filter-grid .filter-action { grid-column: span 3; }
    .filter-grid .filter-action .btn { width: 100%; }
}

@media (max-width: 991.98px) {
    .topline { display: none; }
    .site-header .navbar { min-height: 70px; }
    .site-header .navbar-collapse {
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 14px;
        margin-top: 10px;
        box-shadow: var(--shadow);
    }
    .site-header .nav-link.active::after { display: none; }
    .site-header .nav-link.active { background: var(--sun-soft); }
    .header-actions { margin-top: 10px; flex-wrap: wrap; }
    .header-actions .btn { flex: 1; justify-content: center; }

    .hero { padding: 34px 0 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 38px; }
    .hero-art { min-height: 420px; max-width: 560px; margin: 0 auto; width: 100%; }
    .hero-sticker.st-1 { left: 0; }
    .hero-sticker.st-3 { display: none; }
    .stats-band { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .wish-preview-grid { grid-template-columns: 1fr; gap: 30px; }
    .tree-stage { min-height: 500px; }
    .wish-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .news-featured { grid-template-columns: 1fr; }
    .news-featured-cover { min-height: 240px; }
    .news-featured-body { padding: 30px; }
    .children-grid > [class*="col-"] { margin-bottom: 0; }
    .partner-cta { padding: 30px; }
    .cta-band { grid-template-columns: 1fr; padding: 36px; }
    .cta-actions { justify-content: flex-start; }
    .child-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .child-photo-card { max-width: 520px; aspect-ratio: 4/3.6; }
    .child-layout { grid-template-columns: 1fr; padding-top: 36px; }
    .child-side { position: static; }
    .shop-grid, .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .volunteer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-top { padding-bottom: 30px; }
}

@media (max-width: 767.98px) {
    .section { padding: 60px 0; }
    .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
    .hero-lead { font-size: 1rem; }
    .hero-dream-card { max-width: 100%; }
    .hero-art { min-height: 340px; }
    .hero-sticker { font-size: .7rem; padding: 8px 10px; }
    .hero-sticker.st-2 { right: 0; bottom: 4%; }
    .stat { padding: 20px 18px; }
    .filter-grid { grid-template-columns: 1fr 1fr; }
    .filter-grid .filter-action { grid-column: span 2; }
    .steps-grid { grid-template-columns: 1fr; }
    .wish-cards-grid { grid-template-columns: 1fr; }
    .tree-stage { min-height: 440px; }
    .wish-leaf { min-width: 100px; max-width: 132px; padding: 7px 9px; font-size: .68rem; border-radius: 12px 12px 12px 3px; }
    .wish-leaf small { display: none; }
    .news-featured-body { padding: 24px; }
    .shop-grid, .partners-grid { grid-template-columns: 1fr; }
    .form-card { padding: 24px; }
    .article-body { font-size: .98rem; }
    .cta-band { padding: 28px; border-radius: 26px; }
    .help-hero { padding: 32px 26px; border-radius: 26px; }
    .site-footer { padding-top: 50px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-bottom-links { flex-wrap: wrap; gap: 12px; }
    .child-photo-card { aspect-ratio: 4/4; }
    .child-dream-title { font-size: 1.85rem; }
    .wish-preview-item small { display: none; }
    .tree-stage img.tree-bg { width: 130%; }
}

@media (max-width: 575.98px) {
    .hero-actions .btn { width: 100%; justify-content: center; }
    .stats-band { grid-template-columns: 1fr 1fr; }
    .stat-value { font-size: 1.6rem; }
    .stat-label { font-size: .72rem; }
    .dream-chip { font-size: .74rem; }
    .filter-grid { grid-template-columns: 1fr; }
    .filter-grid .filter-action { grid-column: span 1; }
    .tree-stage { min-height: 400px; }
    .tree-stage .wish-leaf:nth-child(n+8) { display: none; }
    .partner-cta { padding: 24px; }
    .section-head-row { align-items: flex-start; }
}
