:root{--navy:#123b62;--red:#e2373d;--ink:#0d2d4b;--muted:#68798a;--bg:#f5f7f9;--r:18px;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:white}a{color:inherit;text-decoration:none}.header{height:78px;display:flex;align-items:center;gap:32px;padding:0 max(24px,calc((100% - var(--max))/2));position:sticky;top:0;background:#fffc;backdrop-filter:blur(14px);z-index:9;border-bottom:1px solid #e8edf1}.brand{font-size:22px;font-weight:950;line-height:.82;color:var(--red)}.brand span{display:block;color:var(--navy)}.brand small{display:block;font-size:7px;letter-spacing:.4px;margin-top:6px;color:var(--ink)}nav{display:flex;gap:25px;margin-left:auto;font-size:13px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:999px;font-weight:800;font-size:13px}.primary{background:var(--red);color:white}.ghost{border:1px solid white;color:white}.outline{border:1px solid #b7c2cc}.hero{min-height:560px;background:linear-gradient(90deg,#082d4e 0%,#123b62 52%,#274f6d 100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,1fr);align-items:stretch}.hero-copy{width:min(590px,calc(100% - 48px));margin:auto;color:white;padding:70px 0}.hero-visual{min-height:560px;background:linear-gradient(145deg,#173f60,#8293a0);display:grid;place-items:center;color:#ffffff80;font-weight:900;letter-spacing:4px;position:relative;overflow:hidden}.hero-visual:after{content:'ЗАМЕНИТЕ НА HERO-ФОТО';position:absolute;bottom:28px;font-size:11px;letter-spacing:2px}.hero h1{font-size:76px;line-height:.8;margin:0 0 24px;font-weight:950;letter-spacing:-4px}.hero h1 em{font-style:normal;color:var(--red)}.hero h2{font-size:23px}.hero p{font-size:22px;max-width:440px;line-height:1.35}.actions{display:flex;gap:14px;flex-wrap:wrap}.tag{margin-top:42px;font-size:12px;letter-spacing:5px}.quick{display:grid;grid-template-columns:repeat(4,1fr);max-width:var(--max);margin:-1px auto 0;background:white}.quick article{padding:24px;display:flex;gap:14px;border-right:1px solid #e5e9ed}.quick-icon{width:40px;height:40px;flex:0 0 40px;color:var(--navy);display:grid;place-items:center}.quick-icon svg,.card-icon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.quick-icon svg path:nth-child(2){stroke-width:2}.quick-icon svg circle{fill:none}.quick strong,.quick small{display:block}.quick small{margin-top:6px;color:var(--muted)}.wrap{max-width:var(--max);margin-left:auto;margin-right:auto}.work-section{padding-top:4px}.news-section{padding-top:70px}.about{display:grid;grid-template-columns:1fr 1fr;gap:54px;padding:70px 0}.eyebrow{font-size:11px;letter-spacing:3px;color:#789}.about h2,.section-head h2,.join h2{font-size:38px;margin:12px 0}.about p{font-size:18px;line-height:1.6;color:#52687b}.photo{border-radius:var(--r);min-height:300px}.placeholder{background:linear-gradient(135deg,#d8dee4,#a9b5bf);display:grid;place-items:center;color:white;font-weight:900;letter-spacing:4px}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:var(--navy);color:white;border-radius:var(--r);padding:28px;margin-bottom:70px}.stats article{padding:10px 28px;border-right:1px solid #ffffff30}.stats article:last-child{border:0}.stats strong{display:block;font-size:32px}.stats span{font-size:13px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.card{height:330px;border-radius:var(--r);padding:22px;color:white;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(180deg,#345c78,#123b62)}.card-icon{width:48px;height:48px;display:grid;place-items:center;color:white;flex:0 0 48px;margin:2px 0 0 2px}.card-icon svg{width:42px;height:42px}.card h3{font-size:22px;margin:0}.card p{line-height:1.45;color:#e5edf3}.card a{font-weight:800}.banner{margin-top:32px;background:var(--navy);color:white;border-radius:var(--r);padding:34px;display:flex;align-items:end;justify-content:space-between}.banner h2{font-size:34px;margin:0}.news{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:70px}.news article{border:1px solid #e5e9ed;border-radius:var(--r);overflow:hidden;padding-bottom:20px}.news-img{height:180px;background:linear-gradient(135deg,#274d6b,#d5dde3)}.news article>*:not(.news-img){margin-left:18px;margin-right:18px}.news small{display:block;margin-top:14px;color:#8493a0}.join{background:var(--bg);border-radius:var(--r);padding:35px;display:flex;align-items:center;justify-content:space-between;margin-bottom:70px}.join h2{margin-bottom:5px}footer{padding:35px;text-align:center;background:#0d2d4b;color:#c8d4de;font-size:13px}@media(max-width:850px){nav{display:none}.hero{grid-template-columns:1fr}.hero-visual{min-height:300px;order:-1}.header{padding:0 18px}.header .btn{margin-left:auto}.hero h1{font-size:56px}.quick,.cards,.stats{grid-template-columns:1fr 1fr}.about{grid-template-columns:1fr;padding:50px 24px}.wrap{margin-left:24px;margin-right:24px}.news{grid-template-columns:1fr}.join,.banner{align-items:flex-start;gap:24px;flex-direction:column}}@media(max-width:520px){.hero{min-height:600px}.hero h1{font-size:48px}.quick,.cards,.stats{grid-template-columns:1fr}.stats article,.quick article{border-right:0;border-bottom:1px solid #ffffff30}.section-head{align-items:flex-start;gap:15px;flex-direction:column}}
/* Hero: primary support and assistance actions */
.hero .actions{gap:10px}.hero .actions .btn{padding:13px 18px}

/* Акцентный блок о федеральных программах */
.federal-highlight{background:#eaf2f8;border-bottom:1px solid #cbdce9;padding:28px 24px}
.federal-highlight-inner{max-width:var(--max);margin:auto;display:flex;align-items:center;gap:24px}
.federal-highlight-mark{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;border-radius:18px;background:var(--navy);color:#fff;font-size:32px}
.federal-highlight-label{font-size:11px;letter-spacing:2.5px;font-weight:800;color:var(--red)}
.federal-highlight h2{font-size:clamp(24px,3vw,34px);line-height:1.12;margin:8px 0;color:var(--ink)}
.federal-highlight p{margin:0;line-height:1.5;font-size:15px;color:#486176;max-width:820px}
@media(max-width:520px){.federal-highlight{padding:26px 20px}.federal-highlight-inner{align-items:flex-start;gap:14px}.federal-highlight-mark{flex-basis:44px;width:44px;height:44px;font-size:23px;border-radius:12px}}

/* Фотографии фонда */
.hero-visual{background:#173f60 var(--heroPhoto, url("/assets/photo-1.jpeg")) center center / cover no-repeat;color:transparent}
.hero-visual::after{content:none}
.about-photo{background:#d8dee4 var(--aboutPhoto, url("/assets/about-foundation.jpg")) center center / cover no-repeat}
.card.c1{background:linear-gradient(180deg,rgba(6,31,53,.12) 0%,rgba(6,31,53,.88) 78%),var(--cardPhoto1, url("/assets/photo-3.jpeg")) center center / cover no-repeat}

/* Иллюстрации направлений: текст и иконки остаются HTML/SVG поверх фото */
.card.c2{background:linear-gradient(180deg,rgba(6,31,53,.10) 0%,rgba(6,31,53,.32) 44%,rgba(6,31,53,.95) 100%),var(--cardPhoto2, url("/assets/medical.webp")) center center / cover no-repeat}
.card.c3{background:linear-gradient(180deg,rgba(6,31,53,.10) 0%,rgba(6,31,53,.32) 44%,rgba(6,31,53,.95) 100%),var(--cardPhoto3, url("/assets/family.webp")) center center / cover no-repeat}
.card.c4{background:linear-gradient(180deg,rgba(6,31,53,.10) 0%,rgba(6,31,53,.32) 44%,rgba(6,31,53,.95) 100%),var(--cardPhoto4, url("/assets/army.webp")) center center / cover no-repeat}
/* Updated support banner photography */
.banner{background:linear-gradient(90deg,rgba(8,34,57,.93) 0%,rgba(8,34,57,.72) 37%,rgba(8,34,57,.10) 67%,rgba(8,34,57,.02) 100%),var(--bannerPhoto, url("/assets/banner-soldier.jpg")) center center / cover no-repeat;min-height:285px;position:relative;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:22px;padding:30px 36px}
.banner > div{max-width:420px}.banner p{max-width:390px;line-height:1.5;color:#e2eaf1}
@media(max-width:650px){.banner{background-position:60% center;min-height:340px;padding:26px;background-image:linear-gradient(90deg,rgba(8,34,57,.95),rgba(8,34,57,.72) 72%,rgba(8,34,57,.40)),var(--bannerPhoto, url("/assets/banner-soldier.jpg"))}.banner h2{font-size:28px}.banner>div{max-width:300px}}

/* Версия 10: единый полноширинный фотобаннер вместо двух колонок */
.hero{
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  min-height:clamp(560px,57vw,740px);
  background-image:linear-gradient(90deg,rgba(4,27,48,.94) 0%,rgba(4,27,48,.84) 24%,rgba(4,27,48,.55) 43%,rgba(4,27,48,.13) 69%,rgba(4,27,48,.04) 100%),var(--heroPhoto, url("/assets/photo-1.jpeg"));
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
}
.hero-visual{display:none}
.hero-copy{
  width:min(1390px,100%);
  margin:0 auto;
  padding:75px clamp(28px,7vw,120px);
  position:relative;
  z-index:1;
}
.hero h1{font-size:clamp(68px,8.1vw,126px);line-height:.89;letter-spacing:-.055em;margin:0 0 16px;text-shadow:0 2px 12px rgba(0,0,0,.14)}
.hero h2{font-size:clamp(19px,2.15vw,31px);margin:0 0 32px;font-weight:900;line-height:1.2}
.hero p{font-size:clamp(18px,1.8vw,26px);max-width:500px;margin:0 0 35px;line-height:1.45}
.hero .actions{gap:12px;max-width:690px}
.hero .actions .btn{font-size:14px;padding:15px 23px;min-height:49px}
.hero .tag{border-top:1px solid rgba(255,255,255,.36);padding-top:22px;max-width:600px;margin-top:45px;font-size:12px;letter-spacing:.34em}
@media(max-width:850px){
  .hero{min-height:590px;background-position:62% center;background-image:linear-gradient(90deg,rgba(4,27,48,.93),rgba(4,27,48,.65) 57%,rgba(4,27,48,.22)),var(--heroPhoto, url("/assets/photo-1.jpeg"))}
  .hero-copy{padding:65px 32px}
  .hero h1{font-size:clamp(62px,11vw,90px)}
}
@media(max-width:520px){
  .hero{min-height:610px;background-position:64% center;background-image:linear-gradient(90deg,rgba(4,27,48,.92),rgba(4,27,48,.68) 74%,rgba(4,27,48,.42)),var(--heroPhoto, url("/assets/photo-1.jpeg"))}
  .hero-copy{padding:56px 22px}
  .hero h1{font-size:clamp(56px,13vw,76px)}
  .hero h2{font-size:17px;margin-bottom:24px}
  .hero p{font-size:18px;max-width:310px}
  .hero .actions .btn{padding:12px 15px;font-size:12px}
  .hero .tag{letter-spacing:.2em;margin-top:34px}
}

.federal-highlight-mark .federal-eagle{width:75%;height:75%;display:block;color:#fff}

/* Иконка федеральных программ — цвет по предоставленному образцу */
.federal-highlight-mark{background:#1e3a5f}
.federal-highlight-mark .federal-eagle{width:82%;height:82%;object-fit:contain}

/* v13: header identity */
.header .brand{display:flex;align-items:center;flex:0 0 auto;line-height:normal}.header .brand img{display:block;width:176px;height:auto;max-height:65px;object-fit:contain;filter:drop-shadow(0 0 .7px #fff) drop-shadow(0 0 .4px #fff)}.header{gap:20px}.header nav{gap:18px}@media(max-width:850px){.header .brand img{width:145px;max-height:58px}}@media(max-width:400px){.header .brand img{width:125px}}

/* Crop away the symbols baked into the top-left of the source photos.
   The only visible symbols are the HTML icons above each card. */
.card.c2,.card.c3{background-size:cover,auto 145%;background-position:center center,right center;background-repeat:no-repeat,no-repeat}

/* Иконка направления из финального макета. */
.military-icon{display:block;width:42px;height:42px;object-fit:contain}
.card-icon .military-icon{filter:brightness(0) invert(1)}
.quick-icon .military-icon{width:38px;height:38px;filter:brightness(0) saturate(100%) invert(18%) sepia(27%) saturate(1998%) hue-rotate(170deg) brightness(91%) contrast(93%)}

/* Новость о фонде */
.news-feature-link{display:block;height:100%}.news-feature-img{display:block;width:100%;height:180px;object-fit:cover}.news-feature-body{padding:0 18px}.news-feature-body small,.news-feature-body h3{margin-left:0!important;margin-right:0!important}.news-feature-more{display:inline-block;color:var(--navy);font-weight:800;margin-top:8px}.article-layout{padding-top:50px;padding-bottom:80px}.article-back{display:inline-block;margin-bottom:32px;font-weight:700}.article-layout h1{font-size:clamp(32px,4vw,52px);line-height:1.15;max-width:900px;margin:12px 0 30px}.article-cover{display:block;width:100%;max-height:600px;object-fit:cover;border-radius:var(--r)}.article-content{max-width:850px;margin:36px auto 40px;font-size:19px;line-height:1.75;color:#263f55}.article-content p{margin:0 0 24px}.article-content h2{font-size:30px;color:var(--ink);margin:38px 0 18px}.brand img{display:block;max-width:205px;max-height:65px;width:auto;height:auto}@media(max-width:850px){.article-layout{margin-left:24px;margin-right:24px}.article-content{font-size:17px}.brand img{max-width:150px}}

/* News publication dates */
.news-date{display:block;margin:9px 0 5px;color:#60758a;font-size:14px;font-weight:600}
.article-date{display:block;margin:12px 0;color:#60758a;font-size:16px;font-weight:600}

.max-app-icon{width:24px;height:24px;object-fit:cover;border-radius:6px;display:inline-block;vertical-align:middle;margin-right:8px;flex-shrink:0}
