* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1f2a37;
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}
.topbar { height: 14px; background: #d91f3a; }


.slider {
  padding: 24px 0 10px;
  background: #fff;
}
.slider__shell {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .10);
  border: 1px solid #e6ebf3;
  background: #0b1630;
}
.slider__viewport {
  overflow: hidden;
}
.slider__track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.slide {
  position: relative;
  min-width: 100%;
  height: 380px;
  background: #0b1630;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,22,48,.82) 0%, rgba(11,22,48,.45) 42%, rgba(11,22,48,.12) 100%);
}
.slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  padding: 36px 42px;
  color: #fff;
}
.slide__kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d6e6ff;
}
.slide h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}
.slide p {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  color: rgba(255,255,255,.9);
}
.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
}
.slider__btn span {
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  margin-top: -2px;
}
.slider__btn--prev { left: 16px; }
.slider__btn--next { right: 16px; }
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
}
.slider__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: #c8d3e3;
  cursor: pointer;
  transition: .25s ease;
}
.slider__dot.is-active {
  width: 34px;
  background: #163d7a;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e9eef5;
}
.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand span {
  font-size: 14px;
  font-weight: 700;
  color: #163d7a;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}
.nav a {
  position: relative;
  color: #1f2a37;
  padding: 8px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: #d91f3a;
  transition: .25s ease;
}
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: #163d7a;
  margin: 5px 0;
}

.hero {
  background:
    linear-gradient(180deg, rgba(240,244,250,.82), rgba(255,255,255,0)),
    radial-gradient(circle at left center, rgba(22,61,122,.10), transparent 40%);
  padding: 44px 0 56px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 40px;
}
.hero__logo-wrap {
  display: flex;
  justify-content: center;
}
.hero__logo {
  width: min(240px, 100%);
  opacity: .98;
}
.hero__content {
  max-width: 720px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  color: #163d7a;
  font-weight: 800;
  letter-spacing: .08em;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.06;
  color: #0f172a;
}
.lead {
  font-size: 18px;
  color: #475569;
}
.section {
  padding: 58px 0;
}
.section--alt {
  background: #f7f9fc;
}
.section-title {
  margin: 0 0 26px;
  text-align: center;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  color: #111827;
  letter-spacing: .02em;
}
.section-subtitle {
  max-width: 820px;
  margin: -10px auto 28px;
  text-align: center;
  color: #556070;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.goal-card {
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}
.goal-card--wide { grid-column: span 1; }
.goal-card__icon {
  font-size: 26px;
  margin-bottom: 10px;
}
.goal-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.direction-card {
  border-radius: 10px;
  padding: 18px 20px;
  color: #fff;
  min-height: 140px;
}
.direction-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.direction-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}
.direction-card li + li { margin-top: 6px; }
.direction-card--dark { background: #0c3a72; }
.direction-card--blue { background: #0e6dbb; }
.direction-card--cyan { background: #2196db; }
.direction-card--light { background: #79b6f3; }
.direction-card--deep { background: #0a3568; grid-column: 1 / -1; }

.achievements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
}
.achievement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.achievement span {
  flex: 0 0 auto;
  font-size: 28px;
}
.achievement p {
  margin: 0;
  color: #39424e;
  font-size: 14px;
}
.achievement strong { color: #0f172a; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.project-card {
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}
.project-card__icon {
  font-size: 34px;
  margin-bottom: 10px;
}
.project-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.project-card p {
  margin: 0;
  color: #5a6575;
  font-size: 14px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.section-head .section-title {
  margin: 0;
  text-align: left;
}
.section-link {
  color: #0e6dbb;
  border: 1px solid #cfd9ea;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  overflow: hidden;
  border: 1px solid #e6ebf3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}
.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #eff4fb;
}
.news-card__body {
  padding: 16px;
}
.news-card__meta {
  font-size: 12px;
  font-weight: 700;
  color: #4d78aa;
  margin-bottom: 10px;
}
.news-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}
.news-card p {
  margin: 0 0 14px;
  color: #5a6575;
  font-size: 14px;
}
.news-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #163d7a;
  color: #fff;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gallery-grid img {
  border-radius: 14px;
  border: 1px solid #e6ebf3;
  background: #fff;
  min-height: 140px;
  object-fit: cover;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.partner-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6ebf3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}
.partner-card img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}
.partner-card h3 {
  margin: 0 0 5px;
  font-size: 16px;
}
.partner-card p {
  margin: 0;
  font-size: 13px;
  color: #5a6575;
}

.community-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e6ebf3;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.community-card ul {
  margin: 0;
  padding-left: 18px;
  color: #445161;
}
.community-card li + li { margin-top: 8px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.team-card {
  border: 1px solid #e6ebf3;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}
.team-card img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}
.team-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.team-card p {
  margin: 0;
  color: #5a6575;
  font-size: 14px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: stretch;
}
.contacts-card, .map-card {
  border: 1px solid #e6ebf3;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}
.contacts-card { padding: 22px; }
.contacts-card h3 { margin: 0 0 14px; }
.contacts-card p { margin: 0 0 10px; color: #445161; }
.map-card { overflow: hidden; min-height: 250px; }
.map-placeholder {
  position: relative;
  height: 100%;
  min-height: 250px;
  background:
    linear-gradient(135deg, rgba(22,61,122,.10), rgba(14,109,187,.08)),
    repeating-linear-gradient(0deg, #f3f6fb 0 20px, #eef3f9 20px 40px),
    repeating-linear-gradient(90deg, #f3f6fb 0 20px, #eef3f9 20px 40px);
  display: grid;
  place-items: center;
}
.map-placeholder span {
  font-size: 28px;
  font-weight: 800;
  color: #163d7a;
  background: rgba(255,255,255,.8);
  padding: 8px 18px;
  border-radius: 999px;
}
.map-placeholder__pin {
  position: absolute;
  top: 38%;
  left: 54%;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: #d91f3a;
  transform: rotate(-45deg);
}
.map-placeholder__pin::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.footer {
  padding: 24px 0;
  border-top: 1px solid #e9eef5;
  text-align: center;
  color: #667085;
  font-size: 14px;
  background: #fff;
}

.hero-btn{display:inline-flex;margin-top:20px;padding:11px 18px;border-radius:10px;background:#d91f3a;color:#fff;font-weight:700}.footer .container{display:flex;justify-content:space-between;align-items:center}.footer a{opacity:.65}.article{padding-top:50px;padding-bottom:70px;max-width:900px}.article h1{font-size:clamp(30px,5vw,54px);line-height:1.08}.article__image{width:100%;max-height:520px;object-fit:cover;border-radius:20px;margin:25px 0}.article__content{font-size:18px;line-height:1.8}.back-link{color:#163d7a;font-weight:700}

/* Gallery with two visible rows and page controls */
.gallery-pages{position:relative}.gallery-page{display:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.gallery-page.is-active{display:grid}.gallery-item{overflow:hidden;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.05)}.gallery-item h3{margin:0;padding:11px 13px;font-size:14px}.gallery-media{display:block;width:100%;height:180px;border:0;padding:0;background:#e9eef5;cursor:pointer;overflow:hidden}.gallery-media img,.gallery-media iframe{width:100%;height:100%;object-fit:cover;border:0}.gallery-media--video{cursor:default}.gallery-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:24px}.gallery-control{border:1px solid #cbd5e1;border-radius:999px;padding:10px 18px;background:#fff;color:#163d7a;font-weight:800;cursor:pointer}.gallery-control:disabled{opacity:.4;cursor:not-allowed}.gallery-pagination{min-width:70px;text-align:center;color:#64748b;font-weight:700}.gallery-lightbox{position:fixed;inset:0;z-index:999;display:none;align-items:center;justify-content:center;padding:30px;background:rgba(2,6,23,.9)}.gallery-lightbox.is-open{display:flex}.gallery-lightbox img{max-width:min(1100px,94vw);max-height:88vh;border-radius:14px;object-fit:contain}.gallery-lightbox__close{position:absolute;top:18px;right:24px;width:48px;height:48px;border:0;border-radius:50%;background:#fff;color:#0f172a;font-size:32px;cursor:pointer}.article-gallery{margin-top:42px;padding-top:28px;border-top:1px solid #e2e8f0}.article-gallery h2{font-size:28px}.article-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.article-gallery__grid button{border:0;padding:0;border-radius:14px;overflow:hidden;background:#eef2f7;cursor:pointer}.article-gallery__grid img{width:100%;height:210px;object-fit:cover;transition:transform .25s}.article-gallery__grid button:hover img{transform:scale(1.04)}
@media(max-width:1100px){.gallery-page{grid-template-columns:repeat(2,minmax(0,1fr))}.article-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.gallery-page{grid-template-columns:1fr}.gallery-media{height:220px}.gallery-controls{gap:8px}.gallery-control{padding:9px 13px}.article-gallery__grid{grid-template-columns:1fr}.article-gallery__grid img{height:240px}}

/* Restored classic gallery grid with modal carousel */
.gallery-grid--main{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gallery-grid--main .gallery-item{overflow:hidden;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.05);transition:transform .2s,box-shadow .2s}
.gallery-grid--main .gallery-item:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.10)}
.gallery-grid--main .gallery-media{position:relative;height:180px}
.gallery-grid--main .gallery-media img{transition:transform .3s}
.gallery-grid--main .gallery-item:hover img{transform:scale(1.035)}
.gallery-play{position:absolute;left:50%;top:50%;display:grid;width:58px;height:58px;place-items:center;border-radius:50%;background:rgba(255,255,255,.94);color:#163d7a;font-size:24px;line-height:1;transform:translate(-50%,-50%);box-shadow:0 8px 24px rgba(15,23,42,.25)}
.gallery-video-placeholder{display:grid;width:100%;height:100%;place-items:center;background:linear-gradient(135deg,#163d7a,#0e6dbb);color:#fff;font-size:46px}
.gallery-lightbox--carousel{padding:70px 88px 42px}
.gallery-lightbox__stage{position:relative;display:flex;width:min(1120px,86vw);height:min(76vh,720px);align-items:center;justify-content:center}
.gallery-lightbox__stage>img,.gallery-lightbox__stage>iframe{width:100%;height:100%;max-width:100%;max-height:100%;border:0;border-radius:16px;background:#000;object-fit:contain}
.gallery-lightbox__caption{position:absolute;left:0;right:0;bottom:-42px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#fff}
.gallery-lightbox__caption strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gallery-lightbox__caption span{flex:0 0 auto;color:#cbd5e1;font-weight:700}
.gallery-lightbox__nav{position:absolute;top:50%;z-index:2;width:54px;height:54px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.94);color:#0f172a;font-size:42px;line-height:1;cursor:pointer;transform:translateY(-50%)}
.gallery-lightbox__prev{left:22px}.gallery-lightbox__next{right:22px}
.gallery-lightbox__nav:hover{background:#fff}
@media(max-width:1100px){.gallery-grid--main{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.gallery-grid--main{grid-template-columns:1fr}.gallery-grid--main .gallery-media{height:230px}.gallery-lightbox--carousel{padding:64px 14px 54px}.gallery-lightbox__stage{width:100%;height:68vh}.gallery-lightbox__nav{top:auto;bottom:8px;width:44px;height:44px;font-size:34px}.gallery-lightbox__prev{left:calc(50% - 58px)}.gallery-lightbox__next{right:calc(50% - 58px)}.gallery-lightbox__caption{bottom:-38px;padding:0 4px;font-size:13px}}


/* Public activity block after partners */
.activity-card{display:grid;grid-template-columns:minmax(260px,36%) 1fr;gap:44px;align-items:center;margin:0 auto 28px;padding:30px;border:1px solid #e7ebf1;border-radius:22px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.08)}
.activity-card:last-child{margin-bottom:0}
.activity-card__media{display:flex;align-items:center;justify-content:center;min-height:280px;border-radius:18px;overflow:hidden;background:#f7f9fc}
.activity-card__media img{display:block;width:100%;height:100%;max-height:360px;object-fit:contain}
.activity-card__content h2{margin:0 0 22px;color:#13233b;font-size:clamp(28px,3vw,40px);line-height:1.15;text-align:center}
.activity-card__text{color:#1f2937;font-size:17px;line-height:1.85;white-space:normal}
@media(max-width:850px){.activity-card{grid-template-columns:1fr;gap:24px;padding:22px}.activity-card__media{min-height:220px}.activity-card__content h2{text-align:left}}
@media(max-width:560px){.activity-card{padding:16px;border-radius:16px}.activity-card__text{font-size:15px;line-height:1.7}}
