/* ===== Variables (палитра по референсу: синий + жёлтый) ===== */
:root {
  --blue: #0039a6;
  --blue-dark: #002266;
  --blue-mid: #0047ab;
  --blue-light: #1a5cc8;
  --yellow: #ffeb00;
  --yellow-hover: #fff44d;
  --yellow-muted: rgba(255, 235, 0, 0.12);
  --bg-deep: #002266;
  --bg-main: #0039a6;
  --bg-card: #0047ab;
  --bg-card-hover: #1a5cc8;
  --bg-elevated: #003580;
  --bg-page-alt: #002b7a;
  --accent: var(--yellow);
  --accent-hover: var(--yellow-hover);
  --accent-muted: var(--yellow-muted);
  --text-on-blue: #ffffff;
  --text-on-yellow: #003399;
  --text: var(--text-on-blue);
  --text-muted: rgba(255, 255, 255, 0.78);
  --text-role: var(--yellow);
  --border: rgba(255, 235, 0, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --input-bg: #f2f2f2;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --shadow: 0 8px 32px rgba(0, 20, 80, 0.35);
  --container: 1200px;
  --header-h: 72px;
  --slant: -14deg;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --transition: 0.2s ease;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ===== Buttons: жёлтый фон + синий текст ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  color: var(--text-on-yellow);
  background: var(--yellow);
}

.btn:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.75rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 0.8125rem;
}

.btn--block {
  width: 100%;
}

.btn__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Параллелограмм — для главных CTA в шапке и на герое */
.btn--slant {
  transform: skewX(var(--slant));
  border-radius: 2px;
  padding: 12px 26px;
}

.btn--slant .btn__inner {
  transform: skewX(calc(var(--slant) * -1));
}

.btn--slant.btn--sm {
  padding: 10px 22px;
}

/* Контурная кнопка на синем фоне */
.btn--outline {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--yellow);
  color: var(--text-on-yellow);
}

/* Вторичная — прямоугольная, как «Принять» */
.btn--rect {
  border-radius: var(--radius);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--blue);
  border-bottom: 3px solid var(--yellow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  max-width: 280px;
}

.logo__mark {
  flex-shrink: 0;
  padding: 8px 10px;
  background: var(--yellow);
  color: var(--text-on-yellow);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo__text {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--yellow);
}

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--bg-main);
}

.priorities__grid--preview {
  grid-template-columns: repeat(3, 1fr);
}

.news__grid--preview {
  grid-template-columns: repeat(2, 1fr);
}

.team--page {
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 35, 102, 0.4) 0%, var(--bg-main) 85%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%231a3050'/%3E%3Cstop offset='100%25' stop-color='%230a1424'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='1200' height='400'/%3E%3Cpath fill='%23152840' opacity='0.6' d='M0 280 L80 240 L160 260 L240 220 L320 250 L400 200 L480 230 L560 190 L640 220 L720 180 L800 210 L880 170 L960 200 L1040 160 L1120 190 L1200 150 L1200 400 L0 400 Z'/%3E%3Crect fill='%230d1a2e' opacity='0.5' x='100' y='120' width='40' height='160'/%3E%3Crect fill='%230d1a2e' opacity='0.5' x='200' y='100' width='50' height='180'/%3E%3Crect fill='%230d1a2e' opacity='0.5' x='320' y='90' width='35' height='190'/%3E%3Crect fill='%230d1a2e' opacity='0.5' x='450' y='110' width='55' height='170'/%3E%3Crect fill='%230d1a2e' opacity='0.5' x='600' y='80' width='45' height='200'/%3E%3Crect fill='%230d1a2e' opacity='0.5' x='750' y='100' width='50' height='180'/%3E%3Crect fill='%230d1a2e' opacity='0.5' x='900' y='95' width='40' height='185'/%3E%3Crect fill='%230d1a2e' opacity='0.5' x='1050' y='105' width='48' height='175'/%3E%3C/svg%3E") center top / cover no-repeat;
  opacity: 0.85;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--yellow);
}

.hero__text {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 420px;
  margin-bottom: 32px;
  line-height: 1.65;
}

/* ===== Team ===== */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.team-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateY(-2px);
}

.team-card--leader {
  border: 3px solid var(--yellow);
  box-shadow:
    0 0 0 1px rgba(255, 235, 0, 0.35),
    0 10px 28px rgba(255, 235, 0, 0.18);
}

.team-card--leader:hover {
  border-color: var(--yellow);
  box-shadow:
    0 0 0 1px var(--yellow),
    0 14px 32px rgba(255, 235, 0, 0.28);
}

.team-card:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.team-card__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #2a3548 0%, #1a2438 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.team-card__photo svg {
  width: 55%;
  height: auto;
  fill: #4a5568;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__photo:has(img) svg {
  display: none;
}

.team-card__photo:has(img) {
  padding: 0;
}

.team--page {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  max-width: 960px;
}

.team--page .team-card__name {
  font-size: 1rem;
  padding: 16px 16px 6px;
}

.team--page .team-card__role {
  font-size: 0.8125rem;
  padding: 0 16px 18px;
}

.hero__team-link {
  display: inline-block;
  margin-top: 16px;
  text-align: right;
  width: 100%;
}

.hero__social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(0, 40, 120, 0.85) 0%, rgba(0, 28, 90, 0.95) 100%);
  border: 1px solid rgba(255, 235, 0, 0.28);
  box-shadow: 0 4px 14px rgba(0, 15, 60, 0.25);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  box-shadow: 0 8px 22px rgba(0, 15, 60, 0.35);
  background: linear-gradient(145deg, rgba(0, 55, 140, 0.9) 0%, rgba(0, 35, 100, 1) 100%);
}

.social-btn__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
}

.social-btn--youtube .social-btn__icon {
  background: #ff0000;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.35);
}

.social-btn--vk .social-btn__icon {
  background: #0077ff;
  box-shadow: 0 2px 8px rgba(0, 119, 255, 0.35);
}

.social-btn--telegram .social-btn__icon {
  background: #229ed9;
  box-shadow: 0 2px 8px rgba(34, 158, 217, 0.35);
}

.social-btn__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.social-btn__platform {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--yellow);
  line-height: 1.2;
}

.social-btn__name {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__social .social-btn:nth-child(5) {
  grid-column: 1 / -1;
  max-width: calc(50% - 5px);
  justify-self: center;
}

.team-card__name {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 12px 12px 4px;
  line-height: 1.3;
}

.team-card__role {
  font-size: 0.6875rem;
  color: var(--text-role);
  padding: 0 12px 14px;
  font-weight: 500;
}

/* ===== Team profile modal ===== */
body.team-modal-open {
  overflow: hidden;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
}

.team-modal.is-open {
  display: flex;
}

.team-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0, 12, 40, 0.82);
  cursor: pointer;
}

.team-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin: auto;
  background: linear-gradient(180deg, #0a2a7a 0%, #061e5c 100%);
  border: 1px solid rgba(255, 235, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.team-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.team-modal__close:hover {
  background: rgba(255, 235, 0, 0.2);
  color: var(--yellow);
}

.team-modal__photo {
  width: 140px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--yellow);
}

.team-modal__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.team-modal__title {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.45;
  margin: 0 0 20px;
  padding-right: 36px;
}

.team-modal__facts {
  margin: 0 0 24px;
}

.team-modal__fact {
  margin-bottom: 10px;
}

.team-modal__fact dt {
  display: inline;
  font-weight: 700;
  color: var(--yellow);
}

.team-modal__fact dd {
  display: inline;
  margin: 0;
  color: #fff;
}

.team-modal__section {
  margin-bottom: 22px;
}

.team-modal__section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--yellow);
  margin: 0 0 10px;
}

.team-modal__text {
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.65;
}

.team-modal__text p {
  margin: 0 0 10px;
}

.team-modal__text p:last-child {
  margin-bottom: 0;
}

.team-modal__empty {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  margin: 0;
}

@media (max-width: 600px) {
  .team-modal {
    padding: 12px;
  }

  .team-modal__dialog {
    padding: 24px 18px 28px;
  }
}

/* ===== Section titles ===== */
.section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 48px;
}

.section-title--left {
  text-align: left;
  margin-bottom: 0;
}

/* ===== Priorities ===== */
.priorities {
  padding: 88px 0;
  background: var(--bg-deep);
}

.priorities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.priorities__grid--plan .priority-card {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.priorities__grid--plan .priority-card__icon {
  margin: 0 0 20px;
}

.priority-card {
  text-align: center;
}

.priority-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.priority-card__icon svg {
  width: 100%;
  height: 100%;
}

.priority-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.priority-card__text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== News ===== */
.news {
  padding: 88px 0;
  background: var(--bg-main);
}

.news__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.news__all {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  transition: color var(--transition);
  white-space: nowrap;
}

.news__all:hover {
  color: var(--accent-hover);
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}

.news-card__image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #2a3548 0%, #1e2838 100%);
}

.news-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  padding: 16px 16px 8px;
  line-height: 1.35;
}

.news-card__date {
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  padding: 0 16px;
}

.news-card__text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 10px 16px 18px;
  line-height: 1.55;
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 0 0 88px;
  background: var(--bg-main);
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 48px 56px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-banner__desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 480px;
  line-height: 1.65;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 280px;
}

/* ===== Page layout (внутренние страницы) ===== */
.page {
  min-height: 100vh;
}

.page-hero {
  padding: calc(var(--header-h) + 40px) 0 48px;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--bg-main) 100%);
  text-align: center;
  border-bottom: 3px solid var(--yellow);
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero__desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-section {
  padding: 64px 0;
}

.page-section--alt {
  background: var(--bg-page-alt);
}

.about-text {
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  text-align: center;
}

.support-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 32px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.support-card__text {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.support-card__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.support-card__card {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 16px;
}

.support-card__note {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.support-card__copy {
  min-width: 200px;
}

.preview-block {
  padding: 64px 0;
}

.preview-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.preview-block__link {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--yellow);
}

.preview-block__link:hover {
  color: var(--yellow-hover);
}

.doc-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doc-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}

.doc-list__item:hover {
  border-color: var(--border);
}

.doc-list__item span {
  font-weight: 600;
}

.doc-list__item em {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: normal;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info__item h3 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 8px;
}

.contact-info__item p,
.contact-info__item a {
  font-size: 1rem;
  color: var(--text);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  background: var(--input-bg);
  color: #1a1a1a;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

.contact-form__status {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 12px;
}

.contact-form__status--success {
  color: var(--yellow);
}

.contact-form__status--error {
  color: #ffb4b4;
}

.placeholder-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.placeholder-note code {
  font-size: 0.875em;
  color: var(--yellow);
}

/* ===== Feeds / carousels ===== */
.feeds-page {
  padding-bottom: 88px;
}

.feed-block {
  margin-bottom: 56px;
}

.feed-block--tiktok {
  margin-bottom: 32px;
}

.feed-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.feed-block__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-block__subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.feed-block__channel-link {
  display: inline-block;
  margin-left: 8px;
  color: var(--yellow);
  font-weight: 700;
}

.feed-block__channel-link:hover {
  color: var(--yellow-hover);
}

.feed-block__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.feed-nav {
  width: 44px;
  height: 44px;
  border: 2px solid var(--yellow);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}

.feed-nav:hover {
  background: var(--yellow-muted);
}

.feed-nav::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: translate(-60%, -50%) rotate(-45deg);
}

.feed-nav--prev::after {
  transform: translate(-40%, -50%) rotate(135deg);
}

.feed-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.feed-swiper {
  overflow: hidden;
  padding-bottom: 8px;
}

.feed-status {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.feed-status--error {
  color: #ffb4b4;
}

.feed-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.feed-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}

.feed-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #1a3a6e;
}

.feed-card__img--placeholder {
  background: linear-gradient(135deg, #1a5cc8 0%, #002266 100%);
}

.feed-card__img--placeholder.feed-card__img--video {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--yellow);
}

.feed-card__img--placeholder.feed-card__img--video::before {
  content: "▶";
}

.feed-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-card__badge {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-on-yellow);
  background: var(--yellow);
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 3px;
}

.feed-card__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}

.feed-card__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
}

.feeds-hint {
  margin-top: 8px;
}

.feeds-teaser {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 560px;
}

/* ===== News channel ===== */
.container--narrow {
  max-width: 720px;
}

.channel-page {
  padding-bottom: 88px;
}

.channel-feed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.channel-feed--compact {
  gap: 16px;
}

.channel-feed--compact .channel-post {
  padding: 16px;
}

.channel-feed--compact .channel-post__text {
  font-size: 0.9375rem;
}

.channel-empty {
  color: var(--text-muted);
  line-height: 1.6;
  padding: 24px;
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.channel-empty a {
  color: var(--yellow);
}

.channel-post {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.channel-post__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.channel-post__title {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.channel-post__date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.channel-post__text {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 12px;
}

.channel-post__text a {
  color: var(--yellow);
  word-break: break-all;
}

.channel-post__media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-post__img {
  width: 100%;
  border-radius: var(--radius);
  background: #1a3a6e;
}

.channel-post__video {
  width: 100%;
  max-height: 480px;
  border-radius: var(--radius);
  background: #000;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__logo {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 16px;
}

.footer__about {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.footer-social-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.footer-social-btn--youtube {
  background: #ff0000;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.footer-social-btn--vk {
  background: #0077ff;
  box-shadow: 0 2px 8px rgba(0, 119, 255, 0.3);
}

.footer-social-btn--telegram {
  background: #229ed9;
  box-shadow: 0 2px 8px rgba(34, 158, 217, 0.3);
}

.footer-social-btn--mail {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--yellow);
  box-shadow: none;
}

.footer-social-btn--mail:hover {
  border-color: var(--yellow);
  color: var(--yellow-hover);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-link:hover {
  background: var(--accent-muted);
  color: var(--accent);
  border-color: var(--border);
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--text);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__contacts svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.footer__contacts a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .priorities__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__team-link {
    text-align: center;
  }

  .hero__social {
    max-width: 100%;
  }

  .hero__social .social-btn:nth-child(5) {
    max-width: 100%;
  }

  .team {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--blue-dark);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav__link--active::after {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner__inner {
    grid-template-columns: 1fr;
    padding: 32px 28px;
  }

  .cta-banner__actions {
    min-width: unset;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .logo__text {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .priorities__grid {
    grid-template-columns: 1fr;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }

  .team {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero__social {
    grid-template-columns: 1fr;
  }

  .social-btn__name {
    white-space: normal;
  }

  .news__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title--left {
    margin-bottom: 8px;
  }

  .priorities__grid--preview {
    grid-template-columns: 1fr;
  }

  .news__grid--preview {
    grid-template-columns: 1fr;
  }
}
