body{margin:0;background:#0B1830}
*{box-sizing:border-box}
a{color:#E2B04A}a:hover{color:#F3CD7A}
.wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 40px}
.hero{position:relative;background:#0B1830 url(../assets/hero.webp) 68% center/cover no-repeat;min-height:calc(100vw / 3)}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,20,40,0) 0%,rgba(9,20,40,.1) 10%,rgba(9,20,40,.6) 20%,rgba(9,20,40,.66) 36%,rgba(9,20,40,.18) 56%,rgba(9,20,40,0) 68%)}
.hero h1,.hero p{text-shadow:0 2px 4px rgba(5,12,28,.55),0 4px 22px rgba(5,12,28,.8)}
@media (max-width:520px){.hero-btns > a{width:100%}}
.hero > *{position:relative}
.hero-img-m{display:none}
.topbar{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.navlinks{display:flex;gap:32px;flex-wrap:nowrap;white-space:nowrap}
.burger,.langs-m{display:none}
.burger summary,.langs-m summary{cursor:pointer}
.g6{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.g6 > div + div{border-left:1px solid #E2D6BE}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.split{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.split > *{flex:1 1 420px;min-width:0}
.how-row{display:flex;align-items:center;gap:40px}
.how-head{flex:0 0 auto}
.steps{flex:1 1 auto;min-width:0;display:flex;gap:16px;align-items:flex-start}
.steps > .step{flex:1 1 0;min-width:0}
.steps > .arrow{flex:0 0 auto;padding-top:76px}
input,select,textarea{font:inherit;font-size:15px;width:100%;padding:13px 14px;border-radius:10px;border:1px solid #33496F;background:#0F2142;color:#F4EEE2}
input::placeholder,textarea::placeholder{color:#8E9BB3}
label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;color:#D5DCE8}
details summary{cursor:pointer;list-style:none}
details summary::-webkit-details-marker{display:none}
details[open] .chev{transform:rotate(180deg)}
.lang-link.is-active{color:#E2B04A !important}
[hidden]{display:none !important}
@media (max-width:1100px){
 .navlinks{display:none}
 .burger{display:block}
 .g6{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:28px}
 .g6 > div:nth-child(3n+1){border-left:0}
 .how-row{flex-direction:column;align-items:flex-start;gap:32px}
 .how-divider{display:none}
 .steps{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:36px}
 .steps > .arrow{display:none}
 .g4{grid-template-columns:repeat(2,minmax(0,1fr))}
 .g3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* ============================================================
   REFINEMENT LAYER — стриманіший масштаб типографіки та іконок
   (hero не чіпаємо). Значення легко підкрутити тут.
   ============================================================ */
/* Section headings — менші й спокійніші */
[data-i18n="goods_h2"]{font-size:clamp(22px,2vw,30px)!important;letter-spacing:.005em}
[data-i18n="how_h2"]{font-size:clamp(24px,2.1vw,31px)!important}
[data-i18n="about_h2"]{font-size:clamp(21px,1.9vw,28px)!important;line-height:1.32!important;letter-spacing:.005em}
[data-i18n="about_h3"]{font-size:21px!important}
[data-i18n="donors_h2"],[data-i18n="proj_h2"],[data-i18n="send_h2"]{font-size:clamp(25px,2.3vw,33px)!important}
/* Lead paragraphs — трохи менші */
[data-i18n="donors_lead"],[data-i18n="proj_lead"],[data-i18n="send_lead"]{font-size:16px!important}
/* Card / list texts */
[data-i18n^="goods_"]:not([data-i18n="goods_h2"]),
[data-i18n^="send_card"]{font-size:15px!important}
[data-i18n="proj_c1"],[data-i18n="proj_c2"],[data-i18n="proj_c3"]{font-size:16px!important}
[data-i18n^="step_"]{font-size:16px!important}
[data-i18n="donors_c1_t"],[data-i18n="donors_c2_t"],[data-i18n="donors_c3_t"],[data-i18n="donors_c4_t"]{font-size:17px!important}
/* Pull-quotes — менш крикливі */
[data-i18n="proj_quote"]{font-size:clamp(18px,1.7vw,22px)!important}
[data-i18n="send_tagline"]{font-size:clamp(19px,1.8vw,25px)!important}

/* Icons — зменшуємо завеликі піктограми */
#goods .g6 > div > svg{width:44px;height:44px}
#how .how-head > svg{width:84px;height:84px}
#how .steps .step svg{width:38px;height:38px}
#how .steps .step span[style*="border-radius: 50%"]{width:34px!important;height:34px!important;font-size:15px!important}
#donors .g4 > div > span{width:48px!important;height:48px!important;border-radius:12px!important}
#donors .g4 > div > span > svg{width:25px;height:25px}
#projects .g3 > div > svg{width:46px;height:46px}

/* Трохи повітря без надмірної ваги */
#about,#donors,#projects{padding-top:76px!important;padding-bottom:76px!important}
#how{padding-top:46px!important;padding-bottom:50px!important}
@media (max-width:720px){
 #goods .g6 > div > svg{width:40px;height:40px}
 #how .how-head > svg{width:72px;height:72px}
 #projects .g3 > div > svg{width:42px;height:42px}
}

/* ---- Стабільна висота між мовами (резерв під найдовшу мову) ----
   Усуває «стрибання» розмірів секцій при перемиканні UA/EN/中文.
   Застосовуємо лише на десктопі/планшеті; значення легко підкрутити. */
@media (min-width:721px){
 /* Hero: резервуємо висоту ТЕКСТУ (фото не чіпаємо), щоб блок не змінювався між мовами */
 [data-i18n="hero_eyebrow"]{display:block;min-height:38px}
 [data-i18n="hero_h1"]{min-height:124px}
 [data-i18n="hero_lead"]{min-height:92px}
 /* Заголовки секцій — резерв під 2 рядки */
 [data-i18n="how_h2"]{min-height:76px}
 [data-i18n="donors_h2"],[data-i18n="proj_h2"],[data-i18n="send_h2"]{min-height:82px}
 /* Довге речення «Про фонд» — резерв під найбільшу кількість рядків */
 [data-i18n="about_h2"]{min-height:118px}
 /* Ліди секцій — резерв під 3 рядки */
 [data-i18n="donors_lead"],[data-i18n="proj_lead"],[data-i18n="send_lead"]{min-height:82px}
}

@media (max-width:720px){
 .wrap{padding:0 20px}
 /* Hero на мобільному: фото показуємо повністю окремим банером (без обрізання),
    текст — під ним на суцільному темному тлі. Банер завжди на всю ширину → однаковий масштаб. */
 .hero{background:#0B1830 !important;min-height:0;padding-top:98px}
 .hero::before{display:none}
 .hero-img-m{display:block;width:100%;height:44vw;object-fit:cover;object-position:center}
 .hero #top{padding-top:22px !important;padding-bottom:34px !important}
 .g6{grid-template-columns:repeat(2,minmax(0,1fr))}
 .g6 > div{border-left:0 !important}
 .g4,.g3,.g2{grid-template-columns:minmax(0,1fr)}
 .steps{grid-template-columns:minmax(0,1fr)}
 .how-head svg{width:80px;height:80px}
 .langs{display:none !important}
 .langs-m{display:block}
 .logo{height:50px !important}
}
