/*
Theme Name: PROF-IT Forum
Theme URI: https://prof-it.d-russia.ru
Author: Экспертный центр электронного государства
Description: Тема для форума цифрового развития регионов «ПРОФ.ИТ». Полностью динамическая, сохраняет оригинальный дизайн.
Version: 2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: profit-it
*/

/* ===== ИМПОРТ ОРИГИНАЛЬНЫХ СТИЛЕЙ (без изменений) ===== */
/* Вставьте сюда полное содержимое файла styles.css (который вы загрузили) */
/* НО с удалёнными классами .feature-card__index и .partner-group__count, если они есть — они не используются */

:root {
  --bg: #07101c;
  --bg-soft: #0d1e32;
  --panel: rgba(10, 25, 48, 0.72);
  --panel-strong: rgba(9, 20, 39, 0.9);
  --line: rgba(144, 201, 255, 0.18);
  --line-strong: rgba(144, 201, 255, 0.32);
  --text: #eff7ff;
  --muted: #8fa7c4;
  --accent: #4db8ff;
  --accent-strong: #0090df;
  --accent-soft: #7ee2ff;
  --white-card: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1600px, calc(100vw - 40px));
  --frame-max: 1600px;
  --frame-pad: clamp(24px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  min-height: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 220, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 220, 255, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 90%);
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.page-shell { width: 100%; overflow: clip; }

.section {
  width: var(--container);
  margin: 0 auto;
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  margin: 0;
  padding: 18px 0 0;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    padding 0.35s ease;
}

.site-header__inner {
  width: var(--container);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(146, 206, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(16, 37, 69, 0.82), rgba(5, 17, 33, 0.72));
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 36px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(8, 20, 38, 0.22);
  pointer-events: auto;
  transition:
    min-height 0.35s ease,
    padding 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.site-header.is-solid {
  padding-top: 12px;
}

.site-header.is-solid .site-header__inner {
  border-color: rgba(148, 212, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(17, 40, 73, 0.92), rgba(5, 16, 32, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 44px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(68, 130, 214, 0.14);
}

.site-header.is-compact .site-header__inner {
  min-height: 60px;
  padding: 0 18px;
}

.brand {
  width: clamp(62px, 6vw, 92px);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  color: rgba(180, 210, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.site-nav a::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-nav a::before {
  left: 50%;
  bottom: -2px;
  width: 88%;
  height: 24px;
  transform: translateX(-50%) scale(0.76);
  background: radial-gradient(48% 52% at 50% 100%, rgba(136, 180, 245, 0.96) 0, rgba(136, 180, 245, 0) 100%);
  opacity: 0;
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(4px);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  color: #fff;
  text-shadow: 0 0 10px rgba(189, 209, 246, 0.22);
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before,
.site-nav a[aria-current="page"]::before {
  opacity: 0.78;
  transform: translateX(-50%) scale(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(126, 226, 255, 0.08);
  border-color: rgba(126, 226, 255, 0.32);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, #08152a, #05101e);
}

.hero__glow,
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow { filter: blur(90px); opacity: 0.9; }
.hero__glow--left { background: rgba(0, 90, 200, 0.22); inset: 10% 50% 30% -10%; }
.hero__glow--right { background: rgba(20, 82, 184, 0.16); inset: 30% -10% 10% 55%; }

.hero__particles {
  overflow: hidden;
  isolation: isolate;
}

.hero__particles::before,
.hero__particles::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero__particles::before {
  inset: -8%;
  background:
    radial-gradient(circle at 18% 20%, rgba(45, 126, 255, 0.16), transparent 28%),
    radial-gradient(circle at 72% 34%, rgba(126, 226, 255, 0.2), transparent 24%),
    radial-gradient(circle at 82% 76%, rgba(32, 88, 220, 0.18), transparent 30%);
  mix-blend-mode: screen;
  opacity: 0.9;
  animation: hero-aurora-drift 22s linear infinite;
}

.hero__particles::after {
  background:
    linear-gradient(180deg, rgba(4, 12, 24, 0.05), rgba(4, 12, 24, 0.24) 58%, rgba(4, 12, 24, 0.6)),
    radial-gradient(circle at 56% 48%, rgba(126, 226, 255, 0.07), transparent 30%),
    repeating-linear-gradient(
      180deg,
      rgba(145, 208, 255, 0.028) 0 1px,
      transparent 1px 5px
    );
  opacity: 0.75;
  mix-blend-mode: screen;
  animation: hero-scan-drift 18s linear infinite;
}

.hero-field-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.98;
}

@keyframes hero-aurora-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, 2%, 0) scale(1.04);
  }
  100% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
}

@keyframes hero-scan-drift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 0 0, 0 0, 0 120px;
  }
}

/* MAP COLUMN (grid item) */
.hero__map-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(340px, 36vw, 520px);
  pointer-events: none;
}

.hero__map-col img {
  display: none; /* replaced by dot canvas */
}

.russia-dot-fallback,
.russia-dot-canvas {
  width: 100%;
  max-width: 720px;
  height: auto;
  position: relative;
  z-index: 2;
  filter:
    drop-shadow(0 0 34px rgba(48, 138, 255, 0.54))
    drop-shadow(0 0 70px rgba(104, 208, 255, 0.14));
  animation: map-breathe 8s ease-in-out infinite;
}

.russia-dot-fallback {
  aspect-ratio: 708.6 / 379.7;
  background:
    radial-gradient(circle, rgba(225, 242, 255, 0.95) 0 2px, transparent 2.6px) 0 0 / 16px 16px,
    radial-gradient(circle, rgba(80, 136, 255, 0.92) 0 2px, transparent 2.6px) 8px 8px / 16px 16px,
    linear-gradient(90deg, #d7ebff 0%, #9bc2ff 24%, #6f98ff 48%, #4d7aff 72%, #244efc 100%);
  -webkit-mask-image: url("assets/russia-map.svg");
  mask-image: url("assets/russia-map.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter:
    drop-shadow(0 0 24px rgba(36, 78, 252, 0.55))
    drop-shadow(0 0 56px rgba(20, 82, 184, 0.35));
  animation:
    map-breathe 8s ease-in-out infinite,
    map-grid-shift 12s linear infinite;
}

.russia-dot-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0 6px,
      rgba(255, 255, 255, 0.08) 6px 7px
    ),
    linear-gradient(180deg, rgba(167, 214, 255, 0.28), transparent 48%, rgba(255, 255, 255, 0.05));
  mix-blend-mode: screen;
  opacity: 0.46;
}

@keyframes map-breathe {
  0%, 100% {
    opacity: 0.9;
    filter:
      drop-shadow(0 0 38px rgba(48, 138, 255, 0.58))
      drop-shadow(0 0 78px rgba(104, 208, 255, 0.16));
  }
  50% {
    opacity: 0.96;
    filter:
      drop-shadow(0 0 50px rgba(92, 194, 255, 0.72))
      drop-shadow(0 0 98px rgba(126, 226, 255, 0.2));
  }
}

@keyframes map-grid-shift {
  from {
    background-position: 0 0, 8px 8px, 0 0;
  }
  to {
    background-position: 16px 0, 24px 8px, 0 0;
  }
}

.hero__map-col.is-canvas .russia-dot-fallback {
  display: none;
}

.map-stage__scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(10, 50, 120, 0.04) 3px,
    rgba(10, 50, 120, 0.04) 4px
  );
  animation: scan-move 10s linear infinite;
}

@keyframes scan-move {
  from { background-position: 0 0; }
  to   { background-position: 0 -200px; }
}

/* HERO CONTENT OVERLAY */
.hero__wrap {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: 120px var(--frame-pad) 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.hero__content {
  grid-column: 1;
}

.hero__stats {
  grid-column: 1 / -1;
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
}

.section-label {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 2px;
  flex-shrink: 0;
}

.hero__eyebrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero__eyebrow span {
  padding: 6px 14px;
  border: 1px solid rgba(126, 226, 255, 0.18);
  border-radius: 6px;
  background: rgba(126, 226, 255, 0.05);
  color: rgba(180, 215, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero h1,
.section-head h2,
.about__header h2,
.closing-card h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-head h2,
.about__header h2,
.closing-card h2 {
  background: linear-gradient(160deg, #ffffff 0%, #c8e8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  background: linear-gradient(160deg, #ffffff 0%, #d4eeff 45%, #7ec8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__logo-particles {
  display: block;
  width: min(100%, 600px);
  margin-bottom: 12px;
  line-height: 0;
}

.closing__logo-particles {
  display: block;
  width: min(100%, 520px);
  margin: 0 auto 12px;
  line-height: 0;
}

.hero__logo-particles canvas,
.hero__logo-static,
.closing__logo-particles canvas,
.closing__logo-static {
  display: block;
  width: 100%;
  height: auto;
}

.hero__logo-static,
.closing__logo-static {
  filter: brightness(0) invert(1);
}

.hero__title-sub {
  display: block;
  color: #7ec8ff;
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero__lead,
.about__text p,
.audience__lead,
.section-note,
.closing-card p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.68;
}

.hero__lead { max-width: 600px; margin: 26px 0 0; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.button--primary {
  color: #03111f;
  background: linear-gradient(135deg, #7ee2ff, #39b6ff);
  box-shadow: 0 8px 24px rgba(57, 182, 255, 0.22);
}

.button--primary:hover, .button--primary:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 0 18px rgba(77, 184, 255, 0.45),
    0 0 40px rgba(77, 184, 255, 0.2),
    0 16px 36px rgba(57, 182, 255, 0.3);
}

.button--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button--ghost:hover, .button--ghost:focus-visible {
  transform: translateY(-3px);
  background: rgba(126, 226, 255, 0.07);
  border-color: rgba(126, 226, 255, 0.5);
  box-shadow:
    0 0 16px rgba(126, 226, 255, 0.2),
    0 0 36px rgba(126, 226, 255, 0.08);
}

.hero__stats {
  grid-column: 1 / -1;
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.hero__pulse-line {
  grid-column: 1 / -1;
  position: relative;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(136, 180, 245, 0.14) 0%, rgba(136, 180, 245, 0.54) 50%, rgba(136, 180, 245, 0.14) 100%);
  overflow: hidden;
}

.hero__pulse-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -18%;
  width: 22%;
  height: 18px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(144, 204, 255, 0.95) 0%, rgba(144, 204, 255, 0.24) 38%, rgba(144, 204, 255, 0) 72%);
  filter: blur(5px);
  animation: hero-line-travel 5.8s ease-in-out infinite;
}

.hero__stats article {
  min-height: auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.hero__stats strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  background: linear-gradient(135deg, #fff 0%, #7ee2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stats span {
  color: rgba(212, 229, 248, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

@keyframes hero-line-travel {
  0% {
    left: -18%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  50% {
    left: 39%;
    opacity: 0.95;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 96%;
    opacity: 0;
  }
}

/* ─── MAP STAGE (NEW) ─── */
.map-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: map-float 7s ease-in-out infinite;
}

@keyframes map-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

.map-stage__img {
  position: relative;
  z-index: 2;
  width: 100%;
  filter:
    drop-shadow(0 0 40px rgba(30, 100, 255, 0.45))
    drop-shadow(0 0 80px rgba(20, 80, 200, 0.25));
}

.map-stage__scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(10, 50, 120, 0.06) 3px,
    rgba(10, 50, 120, 0.06) 4px
  );
  animation: scan-move 8s linear infinite;
}

@keyframes scan-move {
  from { background-position: 0 0; }
  to   { background-position: 0 -200px; }
}

/* ─── MAP PINS ─── */
.map-pin {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.map-pin__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7ee2ff;
  box-shadow: 0 0 0 0 rgba(126, 226, 255, 0.5);
  animation: pin-pulse 2.5s ease-out infinite;
}

.map-pin--nsk .map-pin__dot { animation-delay: 0.8s; }
.map-pin--omsk .map-pin__dot { animation-delay: 1.6s; }

@keyframes pin-pulse {
  0%  { box-shadow: 0 0 0 0   rgba(126, 226, 255, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(126, 226, 255, 0); }
  100%{ box-shadow: 0 0 0 0   rgba(126, 226, 255, 0); }
}

.map-pin__label {
  display: none;
  background: rgba(5, 18, 40, 0.85);
  border: 1px solid rgba(126,226,255,0.25);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #7ee2ff;
  letter-spacing: 0.06em;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

/* ─── MAP META ─── */
.map-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.map-meta__label {
  color: rgba(126, 226, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.map-meta__legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.map-meta__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot--core {
  background: linear-gradient(135deg, #7ee2ff, #0090df);
  box-shadow: 0 0 18px rgba(77, 184, 255, 0.5);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

.legend-dot--pulse {
  background: #90c9ff;
  box-shadow: 0 0 18px rgba(144, 201, 255, 0.5);
  animation: dot-pulse 2.4s ease-in-out infinite 1.2s;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(77, 184, 255, 0.4); }
  50%       { box-shadow: 0 0 24px rgba(77, 184, 255, 0.9); }
}

/* ─── SIGNAL BAND ─── */
.signal-band {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid rgba(144, 201, 255, 0.12);
  border-bottom: 1px solid rgba(144, 201, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.signal-band::before,
.signal-band::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.signal-band::before { left: 0; background: linear-gradient(90deg, #06111f 0%, transparent 100%); }
.signal-band::after  { right: 0; background: linear-gradient(270deg, #06111f 0%, transparent 100%); }

.signal-band__track {
  display: flex;
  gap: 0;
  padding: 16px 0;
  width: max-content;
  animation: marquee 24s linear infinite;
  white-space: nowrap;
}

.signal-band__track span {
  color: #b8dfff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signal-band__track span::after {
  content: "•";
  margin-left: 24px;
  margin-right: 24px;
  color: rgba(126, 226, 255, 0.7);
}

/* ─── SECTIONS ─── */
.about, .audience, .news, .voices, .partners, .closing {
  padding: 104px 0 0;
}

main {
  background: linear-gradient(180deg, #0b1929 0%, #0d1e32 100%);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.16;
}

.section-note { max-width: 380px; margin: 0; font-size: 16px; }

.about__header {
  width: 100%;
}

.about__header h2 { font-size: clamp(28px, 3.5vw, 46px); margin-bottom: 20px; line-height: 1.16; }

.about__lead {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  line-height: 1.7;
}

.about__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.audience-card,
.news-card,
.voice-slide,
.partner-group {
  border: 1px solid rgba(144, 201, 255, 0.1);
  background: rgba(8, 15, 26, 0.85);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.feature-card {
  min-height: 200px;
  padding: 24px 24px 26px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border-color: rgba(144, 201, 255, 0.14);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(100, 180, 255, 0.05) 0 1px,
      transparent 1px 48px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(100, 180, 255, 0.04) 0 1px,
      transparent 1px 48px
    ),
    linear-gradient(160deg, rgba(8, 22, 44, 0.95), rgba(5, 14, 28, 0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 32px rgba(0,0,0,0.3);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px solid rgba(120, 190, 255, 0.07);
  border-top-color: rgba(120, 190, 255, 0.45);
  border-left-color: rgba(120, 190, 255, 0.25);
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(77, 160, 255, 0.1), transparent 45%);
  pointer-events: none;
}



.feature-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: #eff7ff;
  font-weight: 800;
  letter-spacing: 0.02em;
  background:
    linear-gradient(180deg, rgba(15, 24, 40, 0.96), rgba(7, 13, 24, 0.98));
  border: 1px solid rgba(140, 198, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 3px rgba(67, 121, 205, 0.12);
}

.feature-card h3,
.audience-card h3,
.partner-group h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.04em;
}

.feature-card h3 { font-size: clamp(18px, 2vw, 24px); line-height: 1.2; }
.feature-card p, .audience-card p, .partner-group__desc {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.audience__lead { max-width: none; margin: 0; }

.audience__grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience__grid--matched {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.audience-card {
  min-height: 200px;
  padding: 24px 24px 26px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border-color: rgba(144, 201, 255, 0.14);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(100, 180, 255, 0.05) 0 1px,
      transparent 1px 48px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(100, 180, 255, 0.04) 0 1px,
      transparent 1px 48px
    ),
    linear-gradient(160deg, rgba(8, 22, 44, 0.95), rgba(5, 14, 28, 0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 32px rgba(0,0,0,0.3);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px solid rgba(120, 190, 255, 0.07);
  border-top-color: rgba(120, 190, 255, 0.45);
  border-left-color: rgba(120, 190, 255, 0.25);
  pointer-events: none;
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(77, 160, 255, 0.1), transparent 45%);
  pointer-events: none;
}


.audience-card--matched {
  min-height: 220px;
}

.audience-card--wide {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(126, 226, 255, 0.12), rgba(77, 184, 255, 0.08)),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.audience-card__tag {
  margin: 0 0 18px;
  color: rgba(214, 231, 250, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── NEWS FILTERS ─── */
.news-filters {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-filter {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.news-filter:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.news-filter.is-active {
  border-color: rgba(126, 226, 255, 0.5);
  background: rgba(126, 226, 255, 0.1);
  color: var(--accent-soft);
}

.news-count-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  align-self: flex-end;
}

.news-page-main {
  padding-top: 110px;
  padding-bottom: 80px;
}

.news-page-intro {
  padding-top: 40px;
}

.news-page__title {
  margin: 0 0 20px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #ffffff 0%, #c8e8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-page__lead {
  max-width: 980px;
}

.news--archive {
  padding-top: 52px;
}

.news-article-main {
  padding-top: 110px;
  padding-bottom: 88px;
}

.news-article-hero {
  padding-top: 40px;
}

.news-article__shell {
  display: grid;
  gap: 24px;
}

.news-article__top {
  display: grid;
  gap: 14px;
}

.news-article__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-article__crumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(210, 232, 255, 0.56);
  font-size: 13px;
}

.news-article__crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.news-article__crumbs li:not(:last-child)::after {
  content: "/";
  color: rgba(126, 226, 255, 0.32);
}

.news-article__crumbs li:last-child {
  color: rgba(210, 232, 255, 0.82);
}

.news-article__date {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(126, 226, 255, 0.06);
  border: 1px solid rgba(126, 226, 255, 0.16);
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-article__title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.news-article__lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.7;
}

.news-article__cover {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(126, 226, 255, 0.16);
  background: linear-gradient(180deg, rgba(8,22,44,0.95), rgba(5,14,28,0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.news-article__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
}

.news-article__panel {
  display: grid;
  gap: 28px;
  padding: 34px 34px 36px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(144, 201, 255, 0.14);
  background:
    repeating-linear-gradient(90deg, rgba(100,180,255,0.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(180deg, rgba(100,180,255,0.04) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, rgba(8,22,44,0.95), rgba(5,14,28,0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 20px 56px rgba(0,0,0,0.28);
}

.news-article__panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(120,190,255,0.07);
  border-top-color: rgba(120,190,255,0.45);
  border-left-color: rgba(120,190,255,0.25);
  pointer-events: none;
}

.news-article__cover,
.news-article__body,
.news-article__actions {
  position: relative;
  z-index: 1;
}

.news-article__body {
  color: #eaf5ff;
  font-size: 18px;
  line-height: 1.78;
}

.news-article__body > *:first-child {
  margin-top: 0;
}

.news-article__body > *:last-child {
  margin-bottom: 0;
}

.news-article__body p,
.news-article__body ul,
.news-article__body ol {
  margin: 0 0 1.1em;
}

.news-article__body strong {
  color: #ffffff;
}

.news-article__body a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.news-article__body img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: 16px 12px 8px 0;
  border-radius: 18px;
  border: 1px solid rgba(126, 226, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.news-article__body iframe,
.news-article__body video {
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
}

.news-article__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.news-article__empty {
  display: grid;
  gap: 18px;
}

/* ─── NEWS GRID ─── */
.news-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news__more {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.news-card {
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 226, 255, 0.38);
  box-shadow:
    0 0 0 1px rgba(126, 226, 255, 0.18),
    0 20px 50px rgba(0, 80, 180, 0.28);
}


.news-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  display: block;
  position: relative;
}

.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 16, 32, 0.6) 100%);
  transition: opacity 0.3s;
}

.news-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:hover .news-card__media img {
  transform: scale(1.06);
}


.news-card__body { padding: 22px; }

.news-card__date {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.35;
}

.news-card__read {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.news-card:hover .news-card__read {
  opacity: 1;
  transform: translateY(0);
}


/* ─── LOAD MORE ─── */
.news-more-wrap {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.news-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.news-load-more:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(126, 226, 255, 0.42);
  transform: translateY(-2px);
}

.news-load-more svg {
  transition: transform 0.3s;
}

.news-load-more:hover svg {
  transform: translateY(3px);
}

.news-load-more[hidden],
.news-more-wrap[hidden] {
  display: none;
}

/* ─── NEWS MODAL ─── */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.news-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 22, 0.85);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.news-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: 28px;
  border: 1px solid rgba(126, 226, 255, 0.18);
  background: linear-gradient(180deg, rgba(8, 20, 40, 0.97), rgba(6, 15, 30, 0.99));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(126,226,255,0.08);
  overflow: hidden;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-modal.is-open .news-modal__panel {
  transform: translateY(0) scale(1);
}

.news-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5, 16, 32, 0.8);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.news-modal__close:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  transform: rotate(90deg);
}

.news-modal__scroll {
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(126,226,255,0.2) transparent;
}

.news-modal__hero-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-modal__hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-modal.is-open .news-modal__hero-img {
  transform: scale(1.04);
}

.news-modal__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 15, 30, 0.95) 100%);
}

.news-modal__body {
  padding: 30px 32px 36px;
}

.news-modal__date {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-modal__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.news-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

/* ─── VOICES CODE BG ─── */
.voices { position: relative; overflow: hidden; }

.voices > :not(.voices-code-bg) { position: relative; z-index: 1; }

.voices-code-bg {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 12%, rgba(0,0,0,0.6) 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 12%, rgba(0,0,0,0.6) 88%, transparent 100%);
}

.voices-code-bg__col {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.voices-code-bg__col pre {
  margin: 0;
  padding: 0 12px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.7;
  color: rgba(100, 170, 255, 0.22);
  white-space: pre;
  animation: code-scroll linear infinite;
  will-change: transform;
}

@keyframes code-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* ─── VOICES ─── */
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid rgba(126, 226, 255, 0.28);
  border-radius: 999px;
  background: rgba(126, 226, 255, 0.05);
  color: #d9eeff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.section-link:hover, .section-link:focus-visible {
  border-color: rgba(126, 226, 255, 0.5);
  background: rgba(126, 226, 255, 0.07);
  box-shadow:
    0 0 16px rgba(126, 226, 255, 0.2),
    0 0 36px rgba(126, 226, 255, 0.08);
  transform: translateY(-3px);
}

.voice-controls { display: flex; gap: 12px; }

.voice-controls__button {
  width: 52px; height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.voice-controls__button:hover, .voice-controls__button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(126, 226, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.voice-slider { margin-top: 34px; overflow: hidden; }

.voice-track {
  display: flex;
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.voice-slide {
  min-width: 50%;
  padding: 0 9px;
  box-sizing: border-box;
  border: none;
  background: none;
  box-shadow: none;
}

.voice-slide__inner {
  height: 100%;
  padding: 28px 28px 26px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(144, 201, 255, 0.14);
  background:
    repeating-linear-gradient(90deg, rgba(100,180,255,0.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(180deg, rgba(100,180,255,0.04) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, rgba(8,22,44,0.95), rgba(5,14,28,0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 32px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.voice-slide__inner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px solid rgba(120,190,255,0.07);
  border-top-color: rgba(120,190,255,0.45);
  border-left-color: rgba(120,190,255,0.25);
  pointer-events: none;
}

.voice-slide__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(77,160,255,0.1), transparent 45%);
  pointer-events: none;
}

.voice-slide__quote {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.65;
  color: #edf8ff;
  /* ─── добавлено ─── */
  font-family: "Space Grotesk", sans-serif; /* или Arial — по желанию */
}

.voice-slide__footer {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(144, 201, 255, 0.14);
  display: flex;
  align-items: center;
  gap: 16px;
}

.voice-slide__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(126, 226, 255, 0.25);
}

.voice-slide__name {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.3;
}

.voice-slide__role {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.voice-dots {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.voice-dots button {
  width: 10px; height: 10px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(144, 201, 255, 0.2);
  cursor: pointer;
  transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
}

.voice-dots button.is-active {
  width: 28px;
  border-radius: 5px;
  background: linear-gradient(90deg, #7ee2ff, #39b6ff);
}

/* ─── PARTNERS ─── */
.partners-groups {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-group {
  padding: 24px 24px 26px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border-color: rgba(144, 201, 255, 0.14);
  background:
    repeating-linear-gradient(90deg, rgba(100,180,255,0.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(180deg, rgba(100,180,255,0.04) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, rgba(8,22,44,0.95), rgba(5,14,28,0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 32px rgba(0,0,0,0.3);
}

.partner-group::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px solid rgba(120,190,255,0.07);
  border-top-color: rgba(120,190,255,0.45);
  border-left-color: rgba(120,190,255,0.25);
  pointer-events: none;
}

.partner-group::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(77,160,255,0.1), transparent 45%);
  pointer-events: none;
}

.partner-group__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.partner-group__head h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
}

.partner-group__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: #eff7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(15,24,40,0.96), rgba(7,13,24,0.98));
  border: 1px solid rgba(140,198,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 3px rgba(67,121,205,0.12);
}

.partner-group__logos {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.partner-logo {
  min-height: 120px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(180deg, #ffffff 0%, #eef2f8 100%);
  color: #0a1730;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(5, 16, 32, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-logo:hover, .partner-logo:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 36px rgba(5, 16, 32, 0.22);
}

.partner-logo__media {
  min-height: 66px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow:
    inset 0 0 0 1px rgba(10, 23, 48, 0.08),
    0 6px 16px rgba(10, 23, 48, 0.08);
}

.partner-logo img {
  width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: center;
}

.partner-logo span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

/* ─── CLOSING ─── */
.closing {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #08152a, #05101e);
}

.closing::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, #0d1e32 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.closing-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.closing-particles canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.closing-card {
  position: relative;
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 120px);
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Glows on .closing section itself */
.closing-glow-left,
.closing-glow-right {
  position: absolute;
  filter: blur(90px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}
.closing-glow-left  { background: rgba(0, 90, 200, 0.22); inset: 10% 50% 20% -10%; }
.closing-glow-right { background: rgba(20, 82, 184, 0.18); inset: 20% -10% 10% 60%; }

.closing-card { z-index: 1; }
.closing-card > * { position: relative; z-index: 1; }

.closing-card h2 {
  font-size: clamp(48px, 7vw, 88px);
  background: linear-gradient(160deg, #ffffff 0%, #d4eeff 45%, #7ec8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-card h2 span {
  display: block;
  margin-top: 12px;
  color: #7ec8ff;
  -webkit-text-fill-color: #7ec8ff;
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.closing__title-sub {
  display: block;
  margin-top: 12px;
  color: #7ec8ff;
  -webkit-text-fill-color: #7ec8ff;
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.closing-card h2 span:not(.closing__logo-particles):not(.closing__title-sub) {
  display: inline;
  margin-top: 0;
}
.closing-card p { max-width: 920px; margin: 28px 0 36px; text-align: center; }
.closing-card .section-label::before { display: none; }

/* ─── FOOTER ─── */
.site-footer {
  width: var(--container);
  margin: 0 auto 26px;
  padding: 26px 0 0;
  border-top: 1px solid rgba(144, 201, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p { margin: 0; }

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: flex-end;
}

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

/* ─── REVEAL ANIMATION ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero content is always in viewport — no reveal delay */
.hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ─── KEYFRAMES ─── */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

  .news-grid,
  .partners-groups,
  .about__grid,
  .audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .voice-slide { min-width: 100%; padding: 0; }

  .map-panel__frame { min-height: 360px; }

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

  .section-note { max-width: 100%; }
}

@media (max-width: 860px) {
  .site-header {
    padding: 12px 0 0;
  }

  .site-header__inner {
    width: calc(100vw - 20px);
    padding: 14px 18px;
    min-height: auto;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    width: 100%;
    display: none;
    padding-top: 12px;
    margin-top: 2px;
    border-top: 1px solid rgba(144, 201, 255, 0.12);
    justify-content: flex-start;
    gap: 4px;
  }

  .site-nav.is-open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 12px 14px;
  }

  .site-nav a::before {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    transform: none;
  }

  .site-nav a[aria-current="page"] {
    color: #ffffff;
    text-shadow: none;
  }

  .hero__stats,
  .news-grid,
  .partners-groups,
  .partner-group__logos,
  .about__grid,
  .audience__grid {
    grid-template-columns: 1fr;
  }

  .feature-card--accent,
  .audience-card--wide {
    grid-column: auto;
  }


  .news-modal__panel { max-height: 95vh; border-radius: 20px; }

  .news-article__panel {
    padding: 26px 22px 28px;
  }

  .news-article__body {
    font-size: 17px;
  }

  .site-footer { flex-direction: column; }
  .site-footer__links { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .hero__wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 108px var(--frame-pad) 42px;
  }

  .hero__content {
    grid-column: auto;
    max-width: none;
  }

  .hero__map-col {
    display: none;
  }

  .hero h1 {
    font-size: clamp(36px, 12.6vw, 52px);
    line-height: 0.96;
    letter-spacing: 0;
  }

  .hero__logo-particles {
    width: min(100%, 480px);
    margin-bottom: 10px;
  }

  .closing__logo-particles {
    width: min(100%, 420px);
    margin-bottom: 10px;
  }

  .hero__title-sub {
    font-size: 12px;
    line-height: 1.24;
    letter-spacing: 0.03em;
  }

  .closing__title-sub {
    font-size: 12px;
    line-height: 1.24;
    letter-spacing: 0.03em;
  }

  .hero__lead {
    max-width: none;
    margin-top: 22px;
    font-size: clamp(16px, 4.8vw, 19px);
  }

  .hero__eyebrow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
  }

  .hero__eyebrow span {
    min-height: 56px;
    width: 100%;
    padding: 8px 8px;
    font-size: 9px;
    line-height: 1.22;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 560px) {
  :root { --container: min(1200px, calc(100vw - 40px)); }

  .hero { padding-top: 40px; }

  .site-header__inner {
    width: calc(100vw - 16px);
    padding: 12px 14px;
    gap: 10px;
  }

  .brand {
    width: 72px;
  }

  .hero__actions,
  .map-panel__legend { gap: 10px; }

  .hero .section-label {
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .section-head h2,
  .about__header h2 {
    font-size: clamp(20px, 7.2vw, 28px);
    line-height: 1.1;
    letter-spacing: 0;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__stats {
    margin-top: 28px;
    margin-bottom: 90px;
    gap: 18px;
  }

  .hero__stats article {
    gap: 6px;
  }

  .signal-band__track {
    padding: 12px 0;
  }

  .feature-card,
  .audience-card,
  .partner-group { padding: 22px; }

  .map-panel { padding: 18px; }
  .map-panel__frame { min-height: 280px; padding: 18px 10px; }
  .voice-slide__body { padding: 24px; }
  .voice-slide__quote { font-size: 18px; }
  .signal-band__track { animation-duration: 18s; }

  .news-article-main {
    padding-top: 100px;
    padding-bottom: 72px;
  }

  .news-article__crumbs {
    gap: 8px;
  }

  .news-article__title {
    font-size: clamp(24px, 8vw, 36px);
  }

  .news-article__lead,
  .news-article__body {
    font-size: 16px;
  }

  .news-article__cover,
  .news-article__panel {
    border-radius: 22px;
  }

  .news-modal__body { padding: 22px 20px 28px; }
  .news-modal__actions { flex-direction: column; }
  .news-modal__actions .button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
}




/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ АДАПТАЦИИ ===== */
/* (можно ничего не добавлять, оригинальные стили работают) */



/* ===== Исправление меню — удаляем точки и восстанавливаем стили ===== */
.site-nav ul,
.site-nav ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.site-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Полностью повторяем стили оригинальных ссылок для элементов меню */
.site-nav li a {
    position: relative;
    padding: 10px 14px;
    color: rgba(180, 210, 255, 0.55);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: color 0.22s ease, transform 0.22s ease;
    display: inline-block;
    text-decoration: none;
}

.site-nav li a:hover,
.site-nav li a:focus-visible {
    color: #fff;
    transform: translateY(-1px);
}

.site-nav li a[aria-current="page"] {
    color: #fff;
    text-shadow: 0 0 10px rgba(189, 209, 246, 0.22);
}

/* Эффект подчёркивания (как в оригинале) */
.site-nav li a::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 88%;
    height: 24px;
    transform: translateX(-50%) scale(0.76);
    background: radial-gradient(48% 52% at 50% 100%, rgba(136, 180, 245, 0.96) 0, rgba(136, 180, 245, 0) 100%);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    filter: blur(4px);
    pointer-events: none;
}

.site-nav li a:hover::before,
.site-nav li a:focus-visible::before,
.site-nav li a[aria-current="page"]::before {
    opacity: 0.78;
    transform: translateX(-50%) scale(1);
}


/* добавлено */

.news-card__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-indent: -9999px;
    overflow: hidden;
}

/* 13/05/2026 Индикатор загрузки новостей AJAX */

.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--muted);
    font-size: 18px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    color: var(--muted);
    font-weight: 600;
    transition: all 0.25s ease;
}

.pagination .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
    border-color: var(--accent-soft);
    color: var(--accent-soft);
}

/* Добавлено 06.06.26
/* переделка страницы новости 
/* ===== НОВЫЙ ДИЗАЙН ОТДЕЛЬНОЙ НОВОСТИ (single.php) ===== */

/* ===== ОФОРМЛЕНИЕ ОТДЕЛЬНОЙ НОВОСТИ (single.php) ===== */


/* ===== ОФОРМЛЕНИЕ ОТДЕЛЬНОЙ НОВОСТИ (single.php) ===== */
/* переделка Переделываем опять страницу новости:

Заголовок
Миниатюра на всю ширину экрана
Текст (без обтекания) */


/* Отключаем grid для страницы новости */
.news-article__shell {
    display: block !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Расстояние между датой и заголовком */
.news-article__top {
    margin-bottom: 30px;
}

/* Расстояние между заголовком и миниатюрой */
.news-article__title {
    margin-bottom: 35px;
}

/* Миниатюра на всю ширину */
.news-article__thumbnail-full {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.news-article__thumbnail-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Текст новости */
.news-article__content {
    font-size: 18px;
    line-height: 1.78;
    color: #eaf5ff;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.news-article__content > *:first-child {
    margin-top: 0;
}

.news-article__content > *:last-child {
    margin-bottom: 0;
}

/* Кнопка "Все новости" */
.news-article__actions {
    margin-top: 45px;
    margin-bottom: 30px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .news-article__title {
        margin-bottom: 25px;
    }
    
    .news-article__thumbnail-full {
        margin-bottom: 30px;
    }
    
    .news-article__actions {
        margin-top: 35px;
    }
}

