/* ============================================================
   ВНИИХСЗР — Корпоративный портал
   Homepage styles
   Palette: green-scientific  ·  Layout: clean corporate
   ============================================================ */

:root {
  /* Brand greens */
  --green-900: #0F3D1E;
  --green-800: #17532A;
  --green-700: #1E7A38;   /* primary */
  --green-600: #2E9248;
  --green-500: #43A047;
  --green-400: #66BB6A;
  --leaf:      #7CB342;   /* fresh accent */
  --lime:      #AED581;
  --green-50:  #EEF6EE;
  --green-100: #E1EFE2;

  /* Neutrals */
  --ink:    #16201A;
  --slate:  #57635B;
  --muted:  #7C877F;
  --line:   #E4EAE4;
  --line-2: #D6DED7;
  --bg:     #FFFFFF;
  --bg-soft:#F5F8F5;
  --white:  #FFFFFF;

  /* System */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(22,32,26,.05), 0 4px 14px rgba(22,32,26,.04);
  --shadow-md: 0 6px 24px rgba(22,32,26,.08);
  --shadow-lg: 0 18px 50px rgba(15,61,30,.16);
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-head);
  font-weight: 700; font-size: 15px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { --pad-y: 9px; --pad-x: 16px; font-size: 14px; }
.btn--lg { --pad-y: 15px; --pad-x: 30px; font-size: 16px; }

.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); box-shadow: 0 10px 24px rgba(30,122,56,.28); }

.btn--outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--green-700); color: var(--green-700); }

.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.btn--white { background: #fff; color: var(--green-800); }
.btn--white:hover { box-shadow: 0 12px 28px rgba(0,0,0,.18); }

.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; }

.topbar { background: var(--green-900); color: rgba(255,255,255,.82); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__item { transition: color .2s; }
.topbar__item:hover { color: #fff; }
.topbar__city { position: relative; padding-left: 18px; color: #fff; font-weight: 600; }
.topbar__city::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; background: var(--leaf); border-radius: 2px;
}
.topbar__social { color: rgba(255,255,255,.72); transition: color .2s; }
.topbar__social:hover { color: #fff; }
.lang { display: flex; align-items: center; gap: 4px; }
.lang__btn { color: rgba(255,255,255,.6); font-weight: 600; font-size: 13px; }
.lang__btn.is-active { color: #fff; }
.lang__sep { color: rgba(255,255,255,.35); }

.navbar { border-bottom: 1px solid var(--line); }
.navbar__inner { display: flex; align-items: center; gap: 28px; height: 78px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo__mark {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px;
  width: 34px; height: 34px; flex: 0 0 auto;
}
.logo__sq { border-radius: 3px; }
.logo__sq--1 { background: var(--green-700); }
.logo__sq--2 { background: var(--leaf); }
.logo__sq--3 { background: var(--lime); }
.logo__sq--4 { background: var(--green-600); }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: .02em; color: var(--ink); white-space: nowrap; line-height: 1.1; }
.logo__sub { font-size: 11.5px; color: var(--muted); letter-spacing: .01em; margin-top: 1px; white-space: nowrap; }

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__home { display: none; }   /* «Главная» — только в мобильном меню (на десктопе домой ведёт логотип) */
.nav__list a {
  position: relative; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--ink); padding: 6px 0; transition: color .2s; white-space: nowrap;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--green-700); transition: width .25s var(--ease);
}
.nav__list a:hover { color: var(--green-700); }
.nav__list a:hover::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; }
.nav__close { display: none; }
.nav__contacts { display: none; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; color: var(--slate); transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--green-50); color: var(--green-700); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 120% at 85% 15%, rgba(124,179,66,.35) 0%, rgba(124,179,66,0) 45%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 42%, var(--green-700) 100%);
}
.hero__pattern {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.10' d='M28 0l24 14v28L28 56 4 42V14z'/%3E%3C/svg%3E");
  background-size: 56px 96px;
}
.hero__pattern::after {
  content: ""; position: absolute; right: -8%; top: -20%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(174,213,129,.30) 0%, rgba(174,213,129,0) 62%);
}
.hero__slides { position: relative; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease);
  display: flex; align-items: center;
}
.hero__slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero__grid { padding-block: 96px; }
.hero__content { max-width: 640px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--lime); padding: 7px 14px;
  border: 1px solid rgba(174,213,129,.35); border-radius: 999px;
  margin-bottom: 22px;
}
.hero__title { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.85); margin-top: 22px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Hero controls */
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  transition: background .2s, transform .2s;
}
.hero__arrow:hover { background: rgba(255,255,255,.2); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }
.hero__dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .25s, width .25s; }
.hero__dot.is-active { background: var(--lime); width: 30px; border-radius: 6px; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: #fff; margin-top: -1px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transform: translateY(-44px);
  background: #fff;
}
.stat {
  padding: 34px 30px; position: relative;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat::before {
  content: ""; position: absolute; left: 30px; top: 30px;
  width: 10px; height: 10px; border-radius: 2px; background: var(--leaf);
}
.stat__num {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(40px, 4vw, 52px); line-height: 1; color: var(--green-700);
  margin-top: 26px;
}
.stat__label { display: block; margin-top: 12px; color: var(--slate); font-size: 15px; }

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
.section { padding-block: 84px; }
.section--muted { background: var(--bg-soft); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .1em; color: var(--green-600); margin-bottom: 14px;
}
.section__title { font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); }
.section__desc { margin-top: 16px; color: var(--slate); font-size: 17px; }

/* ---------- Direction cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0;
  background: var(--green-700); transition: height .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.card:hover::before { height: 100%; }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 14px; background: var(--green-50); color: var(--green-700);
  margin-bottom: 20px; transition: background .25s, color .25s;
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--green-700); color: #fff; }
.card__title { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.card__text { color: var(--slate); font-size: 15px; margin-bottom: 18px; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--green-700);
}
.card__link span { transition: transform .2s var(--ease); }
.card__link:hover span { transform: translateX(4px); }

/* ============================================================
   NEWS
   ============================================================ */
.news__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.news-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card__media {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
}
.news-card__media--2 { background: linear-gradient(135deg, var(--green-800), var(--leaf)); }
.news-card__media--3 { background: linear-gradient(135deg, var(--green-600), var(--lime)); }
.news-card__media--4 { background: linear-gradient(135deg, var(--green-900), var(--green-600)); }
.news-card__media::after {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='69' viewBox='0 0 40 69'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.18' d='M20 0l17 10v20L20 40 3 30V10z'/%3E%3C/svg%3E");
}
.news-card__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  color: var(--green-800); background: rgba(255,255,255,.92);
  padding: 5px 12px; border-radius: 999px;
}
.news-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: 13px; color: var(--muted); font-weight: 600; }
.news-card__title { font-size: 17px; line-height: 1.3; color: var(--ink); margin: 10px 0 10px; }
.news-card__text { font-size: 14.5px; color: var(--slate); margin-bottom: 18px; flex: 1; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--green-800) 0%, var(--green-700) 55%, var(--green-600) 100%);
}
.cta__pattern {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.10' d='M28 0l24 14v28L28 56 4 42V14z'/%3E%3C/svg%3E");
}
.cta__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-block: 66px;
}
.cta__title { font-size: clamp(26px, 3.4vw, 40px); }
.cta__lead { margin-top: 14px; color: rgba(255,255,255,.85); font-size: 17px; max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: 0 0 auto; }

/* ============================================================
   PARTNERS / COOPERATION STRIP (top of footer)
   ============================================================ */
.partners { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 60px; }
.partners__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 34px;
}
.partners__title { font-size: clamp(24px, 3vw, 34px); color: var(--ink); }
.partners__note { max-width: 460px; color: var(--slate); font-size: 15px; }

.partners__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.partners__grid > li { display: flex; }
.partner {
  display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 14px 16px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-700); }
.partner:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.partner__badge {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700);
  font-family: var(--font-head); font-weight: 800; font-size: 12.5px; letter-spacing: .01em;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.partner:hover .partner__badge { background: var(--green-700); color: #fff; }
.partner__name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-900); color: rgba(255,255,255,.72); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-block: 64px 48px;
}
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: rgba(255,255,255,.55); }
.footer__about { margin: 20px 0; font-size: 14.5px; line-height: 1.7; max-width: 340px; }
.footer__social { display: flex; gap: 16px; }
.footer__social a { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: rgba(255,255,255,.72); transition: color .2s; }
.footer__social a:hover { color: var(--leaf); }
.footer__title { font-size: 16px; color: #fff; margin-bottom: 20px; }
.footer__links li, .footer__contacts li { margin-bottom: 12px; font-size: 14.5px; }
.footer__links a, .footer__contacts a { transition: color .2s; }
.footer__links a:hover, .footer__contacts a:hover { color: var(--leaf); }
.footer__contacts li { line-height: 1.55; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 22px; font-size: 13.5px; color: rgba(255,255,255,.55);
}
.footer__bottom-inner a { transition: color .2s; }
.footer__bottom-inner a:hover { color: var(--leaf); }
.footer__bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Dense horizontal-nav range: give the menu room by dropping the tagline */
@media (min-width: 1081px) and (max-width: 1300px) {
  .navbar__inner { gap: 20px; }
  .nav__list { gap: 20px; }
  .logo__sub { display: none; }
}

@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: #fff; box-shadow: var(--shadow-lg); padding: 74px 26px 40px;
    transform: translateX(105%); transition: transform .35s var(--ease); z-index: 120;
    overflow-y: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav__close { display: grid; place-items: center; position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); background: transparent; }
  .nav__close:hover { background: var(--bg-soft); color: var(--green-700); }
  .nav__close svg { width: 26px; height: 26px; }
  .nav__contacts { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
  .nav__contacts-label { font-family: var(--font-head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
  .nav__phone { font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1.2; color: var(--green-700); }
  .nav__email { font-size: 16px; color: var(--slate); margin-top: 2px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__home { display: list-item; }
  .nav__list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__list a::after { display: none; }
  .nav__cta { display: inline-flex; width: 100%; margin-top: 22px; }
  .burger { display: flex; }
  /* .nav уходит из потока (fixed) → сдвигаем действия к правому краю сами */
  .navbar__actions { margin-left: auto; }
  .navbar__actions .btn--outline { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: repeat(2, 1fr); }
  .partners__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .partners__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .topbar__left { gap: 14px; }
  .topbar__social { display: none; }
  .topbar__item:not(.topbar__city):not([href^="tel"]) { display: none; }
  .navbar__inner { height: 66px; gap: 14px; }
  .logo__sub { display: none; }
  .navbar__actions .btn--sm { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); transform: translateY(-30px); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: none; }
  .hero__grid { padding-block: 64px; }
  .hero__arrow { display: none; }
  .section { padding-block: 60px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .partners__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto; }
}

/* ============================================================
   INNER PAGES — page hero, breadcrumb, active nav
   ============================================================ */
.nav__list a.is-active { color: var(--green-700); }
.nav__list a.is-active::after { width: 100%; }

.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 140% at 88% 10%, rgba(124,179,66,.30) 0%, rgba(124,179,66,0) 46%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.10' d='M28 0l24 14v28L28 56 4 42V14z'/%3E%3C/svg%3E");
  background-size: 56px 96px;
}
.page-hero__inner { position: relative; z-index: 2; padding-block: 52px 60px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.72); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,.85); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { opacity: .45; }
.breadcrumb__current { color: var(--lime); }
.page-hero__title { font-size: clamp(30px, 4vw, 46px); }
.page-hero__lead { margin-top: 16px; max-width: 660px; color: rgba(255,255,255,.85); font-size: 17px; }

/* News filter chips */
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line-2);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--slate);
  background: #fff; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { border-color: var(--green-700); color: var(--green-700); }
.chip.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* News listing grid (3 cols) */
.news__grid--list { grid-template-columns: repeat(3, 1fr); }
.news-card.is-hidden { display: none; }
.news-card__link-title { color: inherit; transition: color .2s; }
.news-card__link-title:hover { color: var(--green-700); }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; }
.page-link {
  min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); background: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.page-link:hover { border-color: var(--green-700); color: var(--green-700); }
.page-link.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.page-link svg { width: 18px; height: 18px; }
.page-link[aria-disabled="true"] { opacity: .4; pointer-events: none; }

/* ============================================================
   ARTICLE (news detail)
   ============================================================ */
.article { padding-block: 56px 80px; }
.article__wrap { max-width: 820px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.article__cat {
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  color: var(--green-800); background: var(--green-50); border: 1px solid var(--green-100);
  padding: 5px 13px; border-radius: 999px;
}
.article__date { color: var(--muted); font-size: 14px; font-weight: 600; }
.article__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; margin-bottom: 28px; }
.article__media {
  position: relative; aspect-ratio: 16 / 7; border-radius: 16px; overflow: hidden; margin-bottom: 34px;
  background: linear-gradient(135deg, var(--green-800), var(--green-500));
}
.article__media::after {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='69' viewBox='0 0 40 69'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.18' d='M20 0l17 10v20L20 40 3 30V10z'/%3E%3C/svg%3E");
}
.article__body { font-size: 17px; line-height: 1.8; }
.article__body p { margin-bottom: 20px; color: var(--slate); }
.article__body strong { color: var(--ink); }
.article__body h2 { font-size: 24px; margin: 38px 0 14px; color: var(--ink); }
.article__body ul { display: grid; gap: 11px; margin: 0 0 22px; }
.article__body li { position: relative; padding-left: 28px; color: var(--slate); }
.article__body li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 8px; height: 8px; background: var(--leaf); border-radius: 2px; }
.article__body blockquote {
  margin: 30px 0; padding: 22px 28px; border-left: 3px solid var(--green-700);
  background: var(--green-50); border-radius: 0 12px 12px 0; font-size: 18px; color: var(--ink); font-style: italic;
}
.article__share { display: flex; align-items: center; gap: 12px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.article__share > span { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.share-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate); transition: background .2s, color .2s, border-color .2s; }
.share-btn:hover { border-color: var(--green-700); color: var(--green-700); background: var(--green-50); }
.share-btn svg { width: 18px; height: 18px; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { font-size: 13px; color: var(--slate); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--green-700); }
.back-link svg { width: 18px; height: 18px; }

/* Prev / next article navigation */
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.article__nav-link {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.article__nav-link:hover { border-color: var(--green-700); background: var(--green-50); transform: translateY(-2px); }
.article__nav-link--next { text-align: right; align-items: flex-end; }
.article__nav-dir { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--muted); }
.article__nav-dir svg { width: 15px; height: 15px; }
.article__nav-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.3; }
.article__foot { display: flex; justify-content: center; margin-top: 30px; }
@media (max-width: 600px) {
  .article__nav { grid-template-columns: 1fr; }
  .article__nav-link--next { text-align: left; align-items: flex-start; }
}

/* ============================================================
   РАЗРАБОТКИ И УСЛУГИ
   ============================================================ */
/* Expanded direction card feature list */
.card__list { display: grid; gap: 9px; margin: 4px 0 20px; }
.card__list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--slate); }
.card__list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; background: var(--leaf); border-radius: 2px; }

/* Flat stats (no hero overlap) */
.stats__grid--flat { transform: none; }

/* Services */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  display: flex; gap: 18px; padding: 26px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.service__icon { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 13px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; transition: background .25s, color .25s; }
.service__icon svg { width: 27px; height: 27px; }
.service:hover .service__icon { background: var(--green-700); color: #fff; }
.service__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.service__text { color: var(--slate); font-size: 15px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; }
.step::after {
  content: ""; position: absolute; top: 24px; left: 60px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}
.step:last-child::after { display: none; }
.step__num {
  width: 48px; height: 48px; border-radius: 13px; background: var(--green-700); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 20px; display: grid; place-items: center;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.step__text { color: var(--slate); font-size: 14.5px; }

@media (max-width: 1080px) {
  .services__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .step::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* Sub-header spacing within a section */
.section__head--sub { margin-top: 60px; }

/* "Информация для заказчиков" — green order panel */
.order-panel { position: relative; overflow: hidden; color: #fff; border-radius: 16px; padding: 30px 32px; background: linear-gradient(135deg, var(--green-800), var(--green-600)); }
.order-panel::after { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.10' d='M28 0l24 14v28L28 56 4 42V14z'/%3E%3C/svg%3E"); }
.order-panel > * { position: relative; z-index: 1; }
.order-panel h3 { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-bottom: 10px; }
.order-panel p { color: rgba(255,255,255,.85); font-size: 15px; margin-bottom: 20px; }
.order-panel__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.order-panel__row a { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 19px; }
.order-panel__row span { color: rgba(255,255,255,.75); font-size: 14px; }
.order-panel .btn { width: 100%; }

/* Educational center enrol note */
.edu-cta { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.edu-cta__note { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--slate); }
.edu-license { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 16px; background: var(--green-50); border: 1px solid var(--green-100); border-radius: 999px; font-size: 13.5px; color: var(--green-800); }
.edu-license svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }

.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.contact-item:hover { border-color: var(--green-100); box-shadow: var(--shadow-sm); }
.contact-item__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.contact-item__icon svg { width: 23px; height: 23px; }
.contact-item__label { font-family: var(--font-head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.contact-item__value { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.contact-item__value a { transition: color .2s; }
.contact-item__value a:hover { color: var(--green-700); }
.contact-item__sub { font-size: 14px; color: var(--slate); margin-top: 3px; font-weight: 400; }

.requisites { margin-top: 4px; padding: 22px 24px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--bg-soft); }
.requisites__title { font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; }
.requisites dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 20px; font-size: 14.5px; margin: 0; }
.requisites dt { color: var(--slate); }
.requisites dd { color: var(--ink); font-weight: 600; margin: 0; }

/* Form */
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-sm); }
.form__title { font-family: var(--font-head); font-size: 23px; margin-bottom: 6px; }
.form__intro { color: var(--slate); font-size: 15px; margin-bottom: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.form__label { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); }
.form__req { color: #C0392B; }
.form__control { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.form__control::placeholder { color: #9AA39C; }
.form__control:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(46,146,72,.15); }
textarea.form__control { min-height: 130px; resize: vertical; }
select.form__control {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357635B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.form__consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 22px; font-size: 13.5px; color: var(--slate); line-height: 1.5; }
.form__consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--green-700); flex: 0 0 auto; }
.form__consent a { color: var(--green-700); text-decoration: underline; }
.form .btn { width: 100%; }

/* Unified application form (zayavka) */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.form__section { margin-bottom: 24px; }
.form__section + .form__section { padding-top: 22px; border-top: 1px solid var(--line); }
.form__section-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 16px; }
.form__section-num { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; background: var(--green-700); color: #fff; font-family: var(--font-head); font-size: 13px; display: grid; place-items: center; }
.form__radios { display: flex; gap: 12px; flex-wrap: wrap; }
.form__radio { flex: 1; min-width: 150px; display: flex; align-items: center; gap: 9px; padding: 12px 16px; border: 1.5px solid var(--line-2); border-radius: 10px; cursor: pointer; font-size: 15px; transition: border-color .2s, background .2s; }
.form__radio:hover { border-color: var(--green-600); }
.form__radio input { accent-color: var(--green-700); width: 18px; height: 18px; }
.form__radio:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.form__file input[type="file"] { width: 100%; font: inherit; font-size: 14px; color: var(--slate); padding: 12px 14px; border: 1.5px dashed var(--line-2); border-radius: 10px; cursor: pointer; background: #fff; transition: border-color .2s; }
.form__file input[type="file"]:hover { border-color: var(--green-600); }
.form__file input[type="file"]::file-selector-button { font-family: var(--font-head); font-weight: 600; font-size: 13px; margin-right: 12px; padding: 8px 14px; border: none; border-radius: 8px; background: var(--green-700); color: #fff; cursor: pointer; }
.form__hint { font-size: 13px; color: var(--muted); margin-top: 7px; }
.form__download { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; background: var(--green-50); border: 1px solid var(--green-100); border-radius: 14px; margin-bottom: 26px; }
.form__download div { font-size: 14.5px; color: var(--slate); }
.form__download strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 15px; margin-bottom: 2px; }
.form__download .btn { width: auto; }

.info-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.info-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); margin-bottom: 16px; }
.info-card ol { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; }
.info-card li { position: relative; padding-left: 38px; font-size: 14.5px; color: var(--slate); counter-increment: st; }
.info-card li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 8px; background: var(--green-50); color: var(--green-700); font-family: var(--font-head); font-weight: 800; font-size: 13px; display: grid; place-items: center; }

@media (max-width: 900px) {
  .form-layout { grid-template-columns: 1fr; gap: 26px; }
}

/* ============================================================
   NEWS: real images, video, quick-view modal
   ============================================================ */
.news-card { cursor: pointer; }
.news-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.news-card__media { z-index: 0; }
.news-card__tag { z-index: 3; }
.news-card__zoom { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--green-800); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.news-card:hover .news-card__zoom { opacity: 1; transform: translateY(0); }
.news-card__zoom svg { width: 18px; height: 18px; }
.news-card__play { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; }
.news-card__play span { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--green-700); box-shadow: var(--shadow-md); }
.news-card__play svg { width: 24px; height: 24px; margin-left: 3px; }

.news-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.news-modal.is-open { display: block; }
.news-modal__backdrop { position: absolute; inset: 0; background: rgba(15,61,30,.55); }
.news-modal__dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.9); opacity: 0; width: min(760px, 94vw); max-height: 92vh; overflow: auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); transition: transform .28s var(--ease), opacity .28s var(--ease); }
.news-modal.is-open .news-modal__dialog { transform: translate(-50%,-50%) scale(1); opacity: 1; }
.news-modal__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--green-800), var(--green-500)); }
.news-modal__media img, .news-modal__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.94); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm); }
.news-modal__close:hover { background: #fff; color: var(--green-700); }
.news-modal__close svg { width: 22px; height: 22px; }
.news-modal__body { padding: 26px 30px 30px; }
.news-modal__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-modal__cat { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--green-800); background: var(--green-50); border: 1px solid var(--green-100); padding: 5px 12px; border-radius: 999px; }
.news-modal__date { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.news-modal__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 3vw, 26px); line-height: 1.25; color: var(--ink); margin-bottom: 12px; }
.news-modal__text { font-size: 16px; line-height: 1.7; color: var(--slate); margin-bottom: 22px; }
.news-modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.news-modal__share { display: flex; gap: 8px; margin-left: auto; }
.news-bookmark { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line-2); border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--slate); background: #fff; transition: all .2s; }
.news-bookmark:hover { border-color: var(--green-700); color: var(--green-700); }
.news-bookmark svg { width: 18px; height: 18px; }
.news-bookmark.is-saved { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.news-bookmark.is-saved svg { fill: currentColor; }

/* Article hero/inline images */
.article__media img, .article__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article__figure { margin: 26px 0; border-radius: 14px; overflow: hidden; }
.article__figure img { height: auto; }
.article__figure figcaption { font-family: var(--font-head); font-size: 13px; color: var(--muted); padding: 10px 2px 0; }

/* ============================================================
   DaData suggestions dropdown
   ============================================================ */
.dd-wrap { position: relative; }
.dd-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md); max-height: 240px; overflow: auto; display: none; }
.dd-list.is-open { display: block; }
.dd-item { padding: 10px 14px; font-size: 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.dd-item:last-child { border-bottom: none; }
.dd-item:hover, .dd-item.is-active { background: var(--green-50); }
.dd-item small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ============================================================
   Interactive org structure (collapsible)
   ============================================================ */
.org-col__head { cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.org-col__head::after { content: ""; flex: 0 0 auto; width: 18px; height: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); transition: transform .25s var(--ease); }
.org-col.is-collapsed .org-col__head::after { transform: rotate(-90deg); }
.org-col__list { overflow: hidden; transition: max-height .3s var(--ease); }
.org-col.is-collapsed .org-col__list { max-height: 0 !important; padding-top: 0; padding-bottom: 0; }
.org-sci__head { cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.org-sci__head::after { content: ""; flex: 0 0 auto; width: 20px; height: 20px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); transition: transform .25s var(--ease); }
.org-sci.is-collapsed .org-sci__head::after { transform: rotate(-90deg); }
.org-sci.is-collapsed .org-sci__grid { display: none; }
.org-unit { cursor: default; }

/* Conditional form section */
.form__section.is-hidden { display: none; }
.form__success {
  display: none; align-items: center; gap: 12px;
  padding: 15px 18px; border-radius: 12px; background: var(--green-50);
  border: 1px solid var(--green-100); color: var(--green-800); font-weight: 600; margin-bottom: 20px;
}
.form__success.is-visible { display: flex; }
.form__success svg { width: 22px; height: 22px; flex: 0 0 auto; }

/* Map */
.map { position: relative; background: var(--green-100); }
.map__frame { width: 100%; height: 440px; border: 0; display: block; }
.map__overlay { position: absolute; inset: 0; pointer-events: none; }
.map__card {
  pointer-events: auto; position: absolute; top: 30px; left: 24px; width: 330px; max-width: calc(100% - 48px);
  background: #fff; border-radius: 16px; padding: 26px; box-shadow: var(--shadow-lg);
}
.map__card h3 { font-family: var(--font-head); font-size: 19px; margin-bottom: 10px; }
.map__card p { color: var(--slate); font-size: 15px; margin-bottom: 18px; line-height: 1.5; }

@media (max-width: 900px) {
  .contacts-layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .map__frame { height: 360px; }
  .map__card { position: static; width: auto; max-width: none; margin: 18px; box-shadow: var(--shadow-md); }
  .map__overlay { position: static; }
}

/* ============================================================
   ДОКУМЕНТЫ
   ============================================================ */
.doc-search { position: relative; max-width: 560px; margin-bottom: 14px; }
.doc-search input {
  width: 100%; padding: 15px 18px 15px 50px; border: 1.5px solid var(--line-2);
  border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.doc-search input::placeholder { color: #9AA39C; }
.doc-search input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(46,146,72,.15); }
.doc-search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.doc-count { font-size: 14px; color: var(--muted); margin-bottom: 40px; }

.doc-section { margin-bottom: 42px; }
.doc-section:last-child { margin-bottom: 0; }
.doc-section__title {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-size: 20px; color: var(--ink);
  margin-bottom: 18px; padding-bottom: 13px; border-bottom: 2px solid var(--green-100);
}
.doc-section__title::before { content: ""; width: 10px; height: 10px; background: var(--leaf); border-radius: 2px; flex: 0 0 auto; }

.doc-list { display: grid; gap: 12px; }
.doc-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.doc-item:hover { border-color: var(--green-100); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.doc-item__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 11px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.doc-item__icon svg { width: 24px; height: 24px; }
.doc-item__main { flex: 1; min-width: 0; }
.doc-item__title { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.35; }
.doc-item__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--muted); margin-top: 5px; }
.doc-item__badge { font-weight: 700; color: var(--green-700); }
.doc-item__actions { flex: 0 0 auto; display: flex; gap: 8px; }
.doc-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 9px;
  border: 1px solid var(--line-2); font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  color: var(--slate); background: #fff; white-space: nowrap; transition: all .2s;
}
.doc-btn:hover { border-color: var(--green-700); color: var(--green-700); background: var(--green-50); }
.doc-btn svg { width: 16px; height: 16px; }
.doc-btn--primary { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.doc-btn--primary:hover { background: var(--green-800); color: #fff; }

.doc-section.is-hidden, .doc-item.is-hidden { display: none; }
.doc-empty { display: none; padding: 50px 20px; text-align: center; color: var(--muted); font-size: 16px; }
.doc-empty.is-visible { display: block; }

@media (max-width: 640px) {
  .doc-item { flex-wrap: wrap; }
  .doc-item__actions { width: 100%; margin-left: 66px; }
}
@media (max-width: 420px) {
  .doc-item__actions { margin-left: 0; }
  .doc-btn { flex: 1; justify-content: center; }
}

/* Documents: layout with right sidebar filters */
.docs-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.docs-main { min-width: 0; }
.doc-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.doc-sidebar .doc-search { max-width: none; margin-bottom: 0; }
.doc-filter { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.doc-filter__title { font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; }
.doc-cats { display: flex; flex-direction: column; gap: 6px; }
.doc-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 11px 14px; border: 1px solid transparent; border-radius: 10px; background: var(--bg-soft); font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--slate); cursor: pointer; transition: background .2s, color .2s; }
.doc-cat:hover { color: var(--green-700); }
.doc-cat.is-active { background: var(--green-700); color: #fff; }
.doc-cat__count { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(22,32,26,.07); color: inherit; }
.doc-cat.is-active .doc-cat__count { background: rgba(255,255,255,.22); }

@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 26px; }
  .doc-sidebar { position: static; order: -1; }
}

/* Document preview modal */
.doc-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.doc-modal.is-open { display: block; }
.doc-modal__backdrop { position: absolute; inset: 0; background: rgba(15,61,30,.55); }
.doc-modal__dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(920px, 94vw); height: min(88vh, 940px);
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.doc-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.doc-modal__title { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; }
.doc-modal__close { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--slate); transition: background .2s, color .2s; }
.doc-modal__close:hover { background: var(--bg-soft); color: var(--ink); }
.doc-modal__close svg { width: 22px; height: 22px; }
.doc-modal__body { flex: 1; overflow: auto; background: var(--bg-soft); }
.doc-modal__body iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.doc-modal__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%; padding: 40px; gap: 12px; color: var(--slate); }
.doc-modal__ph svg { width: 54px; height: 54px; color: var(--green-600); }
.doc-modal__ph strong { color: var(--ink); font-family: var(--font-head); font-size: 17px; }
.doc-modal__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); }
body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
  .doc-modal__dialog { width: 96vw; height: 92vh; }
}

/* ============================================================
   ОБ ИНСТИТУТЕ — миссия, ценности, структура
   ============================================================ */
/* Mission */
.mission__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.mission__lead { font-size: 19px; line-height: 1.75; color: var(--slate); }
.mission__lead strong { color: var(--ink); }
.mission__lead p { margin-bottom: 18px; }
.mission__lead p:last-child { margin-bottom: 0; }
.mission__lead a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--green-100); transition: text-decoration-color .2s; }
.mission__lead a:hover { text-decoration-color: var(--green-700); }
.mission__panel { position: relative; overflow: hidden; color: #fff; border-radius: 18px; padding: 14px 34px; background: linear-gradient(135deg, var(--green-800), var(--green-600)); }
.mission__panel::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.10' d='M28 0l24 14v28L28 56 4 42V14z'/%3E%3C/svg%3E");
}
.m-fact { position: relative; z-index: 1; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.m-fact:last-child { border-bottom: 0; }
.m-fact__num { font-family: var(--font-head); font-weight: 800; font-size: 30px; line-height: 1; }
.m-fact__label { color: rgba(255,255,255,.82); font-size: 14px; margin-top: 6px; }

/* Values */
.values__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.value__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; margin-bottom: 16px; transition: background .25s, color .25s; }
.value__icon svg { width: 24px; height: 24px; }
.value:hover .value__icon { background: var(--green-700); color: #fff; }
.value__title { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.value__text { font-size: 14px; color: var(--slate); line-height: 1.5; }

/* Structure / org chart (adaptive) */
.org-gd { max-width: 480px; margin: 0 auto; text-align: center; position: relative; overflow: hidden; color: #fff; border-radius: 16px; padding: 24px 30px; background: linear-gradient(135deg, var(--green-800), var(--green-600)); }
.org-gd__role { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); }
.org-gd__name { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-top: 6px; }
.org-gd__sub { color: rgba(255,255,255,.82); font-size: 13.5px; margin-top: 4px; }

.org-apparat { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.org-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px dashed var(--line-2); border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); background: var(--bg-soft); }
.org-chip::before { content: ""; width: 8px; height: 8px; background: var(--leaf); border-radius: 2px; flex: 0 0 auto; }

.org-connector { width: 2px; height: 34px; background: var(--line-2); margin: 16px auto 22px; }

.org-sci { border: 1px solid var(--green-100); border-radius: 16px; overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.org-sci__head { background: var(--green-800); color: #fff; padding: 17px 22px; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.org-sci__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; background: #fff; }

.org-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.org-col { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.org-col__head { background: var(--green-700); color: #fff; padding: 15px 18px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.org-col__list { display: flex; flex-direction: column; gap: 2px; padding: 10px; }

.org-unit { padding: 11px 14px; border-radius: 9px; font-size: 14px; color: var(--slate); line-height: 1.4; transition: background .2s, color .2s; }
.org-unit:hover { background: var(--green-50); color: var(--ink); }

@media (max-width: 900px) {
  .mission__grid { grid-template-columns: 1fr; gap: 32px; }
  .values__grid { grid-template-columns: repeat(3, 1fr); }
  .org-cols { grid-template-columns: repeat(2, 1fr); }
  .org-sci__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .org-cols { grid-template-columns: 1fr; }
  .org-sci__grid { grid-template-columns: 1fr; }
  .org-gd { padding: 20px; }
}

/* Link inside mission facts panel (Мельников) */
.m-fact__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.45); transition: color .2s; }
.m-fact__link:hover { color: var(--lime); text-decoration-color: var(--lime); }

/* ============================================================
   FEATURE ARTICLE (newspaper style) — Мельников
   ============================================================ */
.feature { max-width: 860px; margin-inline: auto; padding-block: 46px 80px; }
.feature__kicker { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.feature__title { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: clamp(34px, 6vw, 60px); line-height: 1.04; letter-spacing: -.01em; color: var(--ink); margin: 14px 0 12px; }
.feature__deck { font-family: 'PT Serif', Georgia, serif; font-style: italic; font-size: clamp(18px, 2.4vw, 23px); line-height: 1.4; color: var(--slate); }
.feature__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 24px 0 30px; padding: 13px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.feature__date { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--slate); }
.feature__share { display: flex; align-items: center; gap: 10px; }
.feature__share > span { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--muted); }

.feature__figure { float: right; width: 300px; max-width: 42%; margin: 6px 0 20px 32px; }
.feature__photo { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow-md); }
.feature__figure figcaption { margin-top: 10px; font-family: var(--font-head); font-size: 12.5px; line-height: 1.4; color: var(--muted); text-align: left; }

.feature__works { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin: 30px 0; }
.feature__works h3 { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.feature__works ul { display: grid; gap: 11px; margin: 0; }
.feature__works li { position: relative; padding-left: 28px; font-family: var(--font-body); font-size: 15px; line-height: 1.45; color: var(--slate); }
.feature__works li::before { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7A38' stroke-width='1.7'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h6v16H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M20 5a2 2 0 0 0-2-2h-6v16h6a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.feature__works a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.feature__works a:hover { color: var(--green-800); }

@media (max-width: 600px) {
  .feature__figure { float: none; width: 100%; max-width: none; margin: 0 0 22px; }
}

.feature__body { font-family: 'PT Serif', Georgia, serif; font-size: 18px; line-height: 1.78; color: #26302A; }
.feature__body p { margin-bottom: 18px; }
.feature__lead { font-size: 20px; }
.feature__lead::first-letter { float: left; font-family: 'Playfair Display', serif; font-weight: 900; font-size: 66px; line-height: .78; padding: 6px 12px 0 0; color: var(--green-700); }
.feature__body h2 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--ink); margin: 34px 0 12px; break-inside: avoid; }
.feature__cols { columns: 2; column-gap: 40px; margin-bottom: 18px; }
.feature__cols p { break-inside: avoid; }
.feature__quote { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(22px, 3vw, 28px); line-height: 1.32; color: var(--green-800); border-left: 4px solid var(--green-700); padding: 4px 0 4px 26px; margin: 30px 0; }
.feature__quote cite { display: block; margin-top: 10px; font-family: var(--font-head); font-style: normal; font-weight: 600; font-size: 14px; color: var(--muted); }

.feature__facts { background: var(--green-50); border: 1px solid var(--green-100); border-radius: 16px; padding: 26px 28px; margin: 32px 0; }
.feature__facts h3 { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); margin-bottom: 18px; }
.feature__facts dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; margin: 0; }
.feature__facts dt { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 30px; line-height: 1; color: var(--green-700); }
.feature__facts dd { margin: 6px 0 0; font-family: var(--font-body); font-size: 14px; color: var(--slate); }

@media (max-width: 720px) {
  .feature__cols { columns: 1; }
}
@media (max-width: 440px) {
  .feature__facts dl { grid-template-columns: 1fr; }
}

/* Related news */
.related { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 64px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }

/* Inner-page responsive */
@media (max-width: 1080px) {
  .news__grid--list { grid-template-columns: repeat(2, 1fr); }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .page-hero__inner { padding-block: 40px 44px; }
  .news__grid--list { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: 1fr; }
  .related__grid .news-card:nth-child(3) { display: none; }
}

/* ============ Cookie-баннер ============ */
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:200;background:#fff;border-top:1px solid var(--line,#E4EAE4);box-shadow:0 -8px 30px rgba(22,32,26,.10);animation:cookieUp .3s ease}
.cookie-bar.is-hiding{animation:cookieDown .25s ease forwards}
@keyframes cookieUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes cookieDown{from{transform:translateY(0)}to{transform:translateY(100%)}}
.cookie-bar__inner{max-width:1200px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.cookie-bar__text{flex:1;min-width:260px;font-size:14px;color:var(--slate,#57635B);line-height:1.5}
.cookie-bar__text a{color:var(--green-700,#1E7A38);font-weight:600}
.cookie-bar__prefs{display:flex;gap:18px;flex-wrap:wrap;margin-top:10px}
.cookie-bar__prefs[hidden]{display:none}
.cookie-bar__prefs label{display:flex;align-items:center;gap:7px;font-size:13.5px;color:var(--ink,#16201A);font-weight:500}
.cookie-bar__actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:640px){.cookie-bar__inner{padding:14px 16px;gap:14px}.cookie-bar__actions{width:100%}.cookie-bar__actions .btn{flex:1}}

/* ============ FAQ (аккордеон) / Противодействие коррупции ============ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--green-700); flex: 0 0 auto; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:hover { color: var(--green-700); }
.faq__a { padding: 0 22px 20px; color: var(--slate); font-size: 15px; line-height: 1.65; }
.corr-report { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 24px; }
.corr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.corr-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: box-shadow .2s, transform .2s; }
.corr-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.corr-card .corr-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--green-50); color: var(--green-700); font-family: var(--font-head); font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.corr-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 15.5px; color: var(--ink); margin: 0 0 8px; line-height: 1.35; }
.corr-card p { color: var(--slate); font-size: 13.5px; line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .corr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .corr-grid { grid-template-columns: 1fr; } }

/* ============ Новостная карточка с фоновым видео + подпись события ============ */
/* Видео проигрывается фоном ТОЛЬКО при наведении (обычный размер карточки) */
.news-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; background: #0b1a10; }
.news-card--video .news-card__media { aspect-ratio: 16 / 10; }               /* как у остальных карточек */
.news-card--video .news-card__media::after { display: none; }               /* убираем гекс-паттерн поверх видео/постера */
.news-card__vbadge { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: #fff; background: rgba(11,26,16,.62); backdrop-filter: blur(2px); padding: 5px 11px 5px 9px; border-radius: 999px; opacity: .95; transition: opacity .2s; }
.news-card--video:hover .news-card__vbadge { opacity: 1; }
.news-card__vbadge svg { width: 13px; height: 13px; }
