:root {
  --rc-red: #C8102E;
  --rc-red-deep: #9B0C24;
  --rc-red-soft: #E63A4F;
  --navy: #0B1F3A;
  --navy-2: #122B4D;
  --graphite: #1B2430;
  --ink: #141A22;
  --muted: #5C6775;
  --line: #E4E8EE;
  --fog: #F3F5F8;
  --white: #FFFFFF;
  --gold: #C6A15B;
  --flag-white: #FFFFFF;
  --flag-blue: #0039A6;
  --flag-red: #D52B1E;
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.12);
  --radius: 18px;
  --container: 1180px;
  --header-h: 82px;
  --font: "Manrope", "Manrope Fallback", system-ui, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", "Source Serif Fallback", Georgia, "Times New Roman", serif;
}

/* Fallback metrics ≈ webfonts — меньше CLS при подгрузке */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Segoe UI"), local("Arial");
  size-adjust: 104%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Source Serif Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 98%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 45%, #ffffff 100%);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

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

.page-cross-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(var(--rc-red) 0 0),
    linear-gradient(var(--rc-red) 0 0);
  background-size: 14px 42px, 42px 14px;
  background-position: center, center;
  background-repeat: space;
  mask-image: radial-gradient(circle at 50% 20%, #000 20%, transparent 75%);
}

main, .header, .footer {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  --btn-glow: 0 10px 28px rgba(0, 57, 166, 0.28);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.btn--patriot {
  color: #fff;
  border: 1px solid rgba(155, 12, 36, 0.35);
  background: linear-gradient(180deg, #E12A40 0%, #C8102E 55%, #9B0C24 100%);
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.28);
  text-shadow: none;
  animation: none;
  background-size: auto;
  background-position: initial;
}

.btn--patriot::before {
  display: none;
}

.btn--patriot:hover {
  color: #fff;
  transform: translateY(-3px);
  background: linear-gradient(180deg, #E63A4F 0%, #C8102E 50%, #8F0B20 100%);
  box-shadow: 0 14px 30px rgba(200, 16, 46, 0.34);
  filter: none;
}

.btn--patriot:active {
  transform: translateY(-1px) scale(0.98);
}

.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn--ghost-dark {
  color: var(--navy);
  border: 1px solid rgba(11, 31, 58, 0.18);
  background: #fff;
}

.btn--ghost-dark:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn--outline {
  color: var(--navy);
  border: 1.5px solid rgba(200, 16, 46, 0.35);
  background: #fff;
}

.btn--outline:hover {
  transform: translateY(-2px);
  border-color: var(--rc-red);
  box-shadow: var(--shadow);
}


/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.08);
}

.header:not(.header--scrolled) .logo__text,
.header:not(.header--scrolled) .nav a {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

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

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.logo__text {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo__text strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a {
  position: relative;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--rc-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: var(--rc-red);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header--scrolled .burger {
  background: var(--fog);
  border-color: var(--line);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: #fff;
  transition: 0.25s ease;
}

.header--scrolled .burger span {
  background: var(--navy);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 28px) 0 72px;
  color: #fff;
  overflow: hidden;
}

.hero__slides,
.hero__slide,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slides {
  z-index: 0;
}

.hero__slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.35s ease, transform 8s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.46) 48%, rgba(10, 10, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.38) 0%, rgba(10, 10, 10, 0.2) 42%, rgba(10, 10, 10, 0.58) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 780px);
  gap: 36px;
  align-items: center;
}

.hero__eyebrow,
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__eyebrow::before,
.section__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section__eyebrow--light {
  color: #E7C88A;
}

.hero h1 {
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(2.05rem, 4.1vw, 3.6rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 62ch;
  margin-top: 22px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

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

.hero__micro {
  margin-top: 18px;
  max-width: 48ch;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

/* Sections */
.section {
  padding: 104px 0;
}

.section__head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section__ruler {
  width: 72px;
  height: 3px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--rc-red), var(--flag-blue), var(--gold));
}

.section__ruler--center {
  margin-inline: auto;
}

.section h2,
.manifesto h2,
.notice h2,
.evac__content h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section__lead {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
}

.section__text {
  margin-top: 14px;
  color: var(--muted);
}

.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* Mission values */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card,
.dir-card,
.svo-card,
.contact-card,
.news-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(20, 26, 34, 0.06);
  box-shadow: var(--shadow);
}

.value-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.value-card::before,
.dir-card::before,
.svo-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--rc-red);
  border-left: 2px solid var(--rc-red);
}

.value-card::after,
.dir-card::after,
.svo-card::after,
.contact-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--rc-red);
  border-bottom: 2px solid var(--rc-red);
}

.value-card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff5f6, #ffe8eb);
  border: 1px solid rgba(200, 16, 46, 0.12);
}

.cross-mark {
  width: 22px;
  height: 22px;
  background:
    linear-gradient(var(--rc-red), var(--rc-red)) center/7px 100% no-repeat,
    linear-gradient(var(--rc-red), var(--rc-red)) center/100% 7px no-repeat;
}

.value-card h3,
.dir-card h3,
.svo-card h3,
.contact-card h3,
.step__body h3,
.news-card h3 {
  font-size: 1.18rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.value-card p,
.dir-card p,
.svo-card p,
.contact-card p,
.step__body p,
.news-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Directions */
.section--dirs {
  background:
    linear-gradient(180deg, rgba(243, 245, 248, 0.85), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(90deg, transparent, transparent 58px, rgba(200, 16, 46, 0.03) 58px, rgba(200, 16, 46, 0.03) 59px);
}

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

.dir-card {
  padding: 28px 24px 26px;
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dir-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(11, 31, 58, 0.14);
}

.dir-card__num {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--rc-red);
}

/* Manifesto */
.manifesto {
  position: relative;
  padding: 120px 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(200, 16, 46, 0.28), transparent 35%),
    linear-gradient(135deg, #07101d 0%, #0B1F3A 45%, #1a0b12 100%);
  overflow: hidden;
}

.manifesto__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(var(--rc-red) 0 0),
    linear-gradient(var(--rc-red) 0 0);
  background-size: 10px 34px, 34px 10px;
  background-position: 20px 20px, 20px 20px;
  background-repeat: space;
}

.manifesto__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.manifesto h2 {
  color: #fff;
  margin-bottom: 22px;
}

.manifesto p {
  margin-bottom: 16px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
}

.manifesto blockquote {
  margin: 34px 0 34px;
  padding: 24px 0 24px 24px;
  border-left: 3px solid var(--rc-red);
}

.manifesto blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: #fff;
}

/* Steps */
.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(20, 26, 34, 0.06);
  box-shadow: var(--shadow);
}

.step__index {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(145deg, var(--rc-red), var(--navy));
  box-shadow: 0 12px 24px rgba(200, 16, 46, 0.22);
}

/* SVO */
.section--svo {
  background: linear-gradient(180deg, #fff, #f7f8fb 40%, #fff);
}

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

.svo-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(200, 16, 46, 0.35), rgba(0, 57, 166, 0.2), rgba(198, 161, 91, 0.25)) border-box;
  border: 1px solid transparent;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  min-height: 420px;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(11, 31, 58, 0.14);
}

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

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

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

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.news-card__date,
.news-card__cat {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card__date {
  color: var(--rc-red);
}

.news-card__cat {
  color: var(--muted);
}

.news-card__more {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--navy);
}

/* Article pages */
.article-page {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 45%, #ffffff 100%);
}

.article-nav {
  justify-content: center;
}

.article-main {
  padding-top: var(--header-h);
}

.article-hero {
  padding: 72px 0 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 16, 46, 0.12), transparent 30%),
    linear-gradient(180deg, #fff, #f6f8fb);
}

.article-hero__inner {
  max-width: 920px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-hero h1 {
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.article-lead {
  max-width: 64ch;
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
}

.article-content-section {
  padding: 26px 0 88px;
}

.article-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 26px;
  align-items: start;
}

.article-content,
.article-aside__image {
  box-shadow: var(--shadow);
}

.article-content {
  background: #fff;
  border: 1px solid rgba(20, 26, 34, 0.06);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 28px 24px;
}

.article-content p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.8;
}

.article-content p + p {
  margin-top: 16px;
}

.article-aside {
  display: grid;
  gap: 16px;
}

.article-aside__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
}


/* Evac */
.section--evac {
  padding-top: 40px;
}

.evac__panel {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 42px 40px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 16, 46, 0.35), transparent 40%),
    linear-gradient(135deg, #101928, #0B1F3A 55%, #2a1218);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.evac__mark {
  width: 84px;
  height: 84px;
  margin-top: 8px;
  background:
    linear-gradient(#fff, #fff) center/22px 100% no-repeat,
    linear-gradient(#fff, #fff) center/100% 22px no-repeat,
    var(--rc-red);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(200, 16, 46, 0.35);
}

.evac__content h2 {
  color: #fff;
  margin-bottom: 14px;
}

.evac__content > p {
  max-width: 72ch;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.evac__content > p strong {
  color: #fff;
  font-weight: 700;
}

.evac__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 8px;
}

.evac__facts article {
  padding: 16px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.evac__facts h3 {
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E7C88A;
}

.evac__facts p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.45;
}

.evac__list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.evac__list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.evac__list span {
  color: rgba(255, 255, 255, 0.7);
}

.evac__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.2s ease, transform 0.2s ease;
}

.evac__list a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.evac__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contacts */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.contact-card {
  grid-column: span 2;
  padding: 26px 22px;
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:nth-child(4),
.contact-card:nth-child(5) {
  grid-column: span 3;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(11, 31, 58, 0.14);
}

.contact-card--accent {
  background:
    linear-gradient(160deg, #fff7f8, #fff),
    #fff;
  border-color: rgba(200, 16, 46, 0.18);
}

.contact-card__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rc-red);
}

.contact-card__go {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--navy);
}

/* Notice */
.section--notice {
  padding-top: 20px;
}

.notice {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(200, 16, 46, 0.16);
  box-shadow: var(--shadow);
}

.notice__mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background:
    linear-gradient(#fff, #fff) center/14px 100% no-repeat,
    linear-gradient(#fff, #fff) center/100% 14px no-repeat,
    var(--rc-red);
}

.notice p + p {
  margin-top: 10px;
}

.notice p {
  color: var(--muted);
}

/* Footer */
.footer {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 10% 0%, rgba(200, 16, 46, 0.22), transparent 30%),
    linear-gradient(180deg, #0a1524, #070d16 60%, #05080e);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr;
  gap: 34px;
  padding: 72px 0 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer__logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
}

.footer__logo strong {
  font-size: 1.15rem;
  color: #fff;
}

.footer__brand p {
  max-width: 36ch;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer__col h3 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom-inner {
  display: grid;
  gap: 8px;
  padding: 22px 0 30px;
}

.footer__bottom p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__disclaimer {
  max-width: 70ch;
}

/* Reveal — мягко, только для блоков ниже первого экрана */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero__content,
  .value-grid,
  .dir-grid,
  .svo-grid,
  .news-grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    max-width: none;
  }

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

  .contact-card,
  .contact-card:nth-child(4),
  .contact-card:nth-child(5) {
    grid-column: span 1;
  }

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

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

  .article-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .burger {
    display: grid;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    color: var(--navy) !important;
    text-shadow: none !important;
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav a:hover {
    background: var(--fog);
  }

  .header:not(.header--scrolled) .header__actions .btn {
    display: none;
  }

  .hero__content,
  .value-grid,
  .dir-grid,
  .svo-grid,
  .news-grid,
  .footer__grid,
  .contact-grid,
  .notice {
    grid-template-columns: 1fr;
  }

  .article-hero {
    padding: 56px 0 26px;
  }

  .article-content-section {
    padding-bottom: 64px;
  }

  .section__head--row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .step {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }

  .section__head--row .btn {
    justify-self: start;
  }

  .hero {
    padding-bottom: 90px;
  }

  .section {
    padding: 78px 0;
  }

  .manifesto {
    padding: 90px 0;
  }

  .evac__panel,
  .notice {
    padding: 28px 22px;
  }
}

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

  .logo__text {
    font-size: 0.68rem;
  }

  .logo__text strong {
    font-size: 0.82rem;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .hero__cta,
  .evac__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .header__actions .btn {
    display: none !important;
  }

  .step {
    padding: 18px;
  }

  .step__index {
    width: 58px;
    height: 58px;
    font-size: 1.15rem;
  }
}

.footer__link-btn {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer__link-btn:hover {
  color: #fff;
}

.contact-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

button.contact-card {
  appearance: none;
}

/* Appeal form modal */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 18px;
}

.form-modal[hidden] {
  display: none !important;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(6px);
}

.form-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 28px 24px 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(200, 16, 46, 0.12);
}

.form-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--fog);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.form-modal__eyebrow {
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rc-red);
}

.form-modal__dialog h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.form-modal__sub {
  color: var(--muted);
  margin-bottom: 22px;
}

.appeal-form {
  display: grid;
  gap: 14px;
}

.appeal-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.appeal-form__field {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

.appeal-form__field input,
.appeal-form__field select,
.appeal-form__field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 26, 34, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.appeal-form__field textarea {
  min-height: 110px;
  resize: vertical;
}

.appeal-form__field input:focus,
.appeal-form__field select:focus,
.appeal-form__field textarea:focus {
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.appeal-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.appeal-form__error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff1f2;
  color: #9b0c24;
  font-size: 0.92rem;
}

.appeal-form__success {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef8f0;
  color: #1f6b3a;
  font-size: 0.92rem;
}

.appeal-form__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

body.form-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .appeal-form__row {
    grid-template-columns: 1fr;
  }

  .form-modal__dialog {
    padding: 24px 16px 18px;
  }

  .appeal-form__actions .btn {
    width: 100%;
  }
}

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

  .hero__slide,
  .reveal {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
