/* Всероссийский комитет по общественным наградам и званиям. Тёмно-синий, красный, белый, как на rossiane.com. */
:root {
  --navy: #1b2f6e;
  --navy-2: #13235a;
  --navy-3: #0d1940;
  --red: #d8232a;
  --red-2: #b51b21;
  --gold: #c9a44c;
  --text: #1a1f2e;
  --muted: #545d72;
  --soft: #f2f4fa;
  --line: #dde2ee;
  --white: #fff;
  --wrap: 1180px;
  --radius: 10px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border: 0; border-radius: 8px;
  background: var(--red); color: var(--white); font: 600 16px/1.2 var(--font);
  text-decoration: none; cursor: pointer; transition: background .2s;
}
.btn:hover { background: var(--red-2); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--soft); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--white); padding: 8px 12px; }

/* Шапка */
.topbar { background: var(--navy-3); color: #d6dcf0; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-links { display: flex; gap: 20px; }
.header { position: sticky; top: 0; z-index: 20; background: var(--navy); box-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo img { width: 190px; height: auto; border-radius: 4px; background: var(--white); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 10px 12px; border-radius: 6px; }
.nav a:hover { background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { color: #ff9ea2; }
.nav a.nav-main { border: 1px solid rgba(255, 255, 255, .55); margin-left: 6px; }
.nav a.nav-main:hover { background: var(--white); color: var(--navy); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 24px; cursor: pointer; }

/* Первый экран */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--white); padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); }
.hero-date { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: #ffd27a; margin: 0 0 4px; }
.hero-place { font-size: 17px; margin: 0 0 18px; color: #dfe5f7; }
.hero-text { color: #dfe5f7; margin: 0 0 26px; }
.hero-photo img { border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: var(--white); }
.section-title { font-size: clamp(24px, 3vw, 34px); text-align: center; margin-bottom: 32px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(27, 47, 110, .2); }
.prose p { margin: 0 0 1em; color: var(--muted); }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); }
.note { max-width: 900px; margin: 0 auto; text-align: center; }
.note h2 { font-size: clamp(22px, 2.6vw, 30px); }
.note p { color: var(--muted); margin: 0; }

/* Ленты фото */
.strip { position: relative; }
.strip-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 860px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track > * { scroll-snap-align: center; }
.strip-people .strip-track { grid-auto-columns: min(78%, 300px); }
.strip-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(13, 25, 64, .8); color: var(--white); font-size: 22px; cursor: pointer; z-index: 2; }
.strip-btn:hover { background: var(--red); }
.strip-btn.prev { left: 8px; }
.strip-btn.next { right: 8px; }
.event img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.person { background: rgba(255, 255, 255, .06); border-radius: var(--radius); overflow: hidden; }
.person img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.person div { padding: 14px 16px 18px; }
.person b { display: block; font-size: 17px; }
.person span { color: #c9d2ee; font-size: 14px; }

/* Отсчёт */
.countdown { text-align: center; }
.countdown h2 { font-size: clamp(22px, 2.8vw, 32px); }
.timer { display: flex; justify-content: center; gap: clamp(10px, 3vw, 28px); margin: 18px 0 30px; }
.timer div { min-width: 76px; }
.timer b { display: block; font-size: clamp(36px, 6vw, 56px); font-weight: 300; line-height: 1.1; font-variant-numeric: tabular-nums; }
.timer span { font-size: 13px; color: #c9d2ee; text-transform: uppercase; letter-spacing: .08em; }

/* Награды */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.award { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; transition: box-shadow .2s, transform .2s; }
.award:hover { box-shadow: 0 12px 30px rgba(27, 47, 110, .15); transform: translateY(-3px); }
.award img { width: 190px; height: 190px; object-fit: contain; margin-bottom: 14px; }
.award h3 { font-size: 17px; flex: 1; }
.award a { color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.award a:hover { text-decoration: underline; }
.medals-intro { max-width: 760px; margin: 0 auto 28px; text-align: center; color: var(--muted); }

/* Контакты и подвал */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contacts h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.contacts a { display: block; font-size: 18px; font-weight: 600; text-decoration: none; }
.contacts a:hover { text-decoration: underline; }
.footer { background: var(--navy-3); color: #c3cbe4; font-size: 14px; padding: 40px 0 28px; }
.footer h3 { color: var(--white); font-size: 16px; }
.footer p { margin: 0 0 12px; max-width: 900px; }
.footer small { display: block; margin-top: 18px; color: #8f9abd; }

/* Заголовок внутренних страниц */
.page-head { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--white); padding: 52px 0; text-align: center; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 40px); }
.page-head p { color: #dfe5f7; margin: 0 auto; max-width: 820px; }

/* Форма */
.form { max-width: 760px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label, .group-title { display: block; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--red); }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c4cbdd; border-radius: 8px; font: inherit; color: var(--text); background: var(--white); }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { border-color: var(--navy); }
.group { border: 0; margin: 0 0 26px; padding: 22px; background: var(--soft); border-radius: var(--radius); }
.group legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-size: 18px; font-weight: 700; }
.group .hint { clear: both; margin: -6px 0 14px; color: var(--muted); font-size: 14px; }
.option { clear: both; display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; cursor: pointer; }
.option input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 24px; font-size: 15px; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.form-status.ok { background: #e6f6ea; color: #1d6b33; }
.form-status.err { background: #fde8e9; color: #9b1c22; }
.form-status:empty { display: none; }

/* Отзывы */
.reviews { display: grid; gap: 28px; }
.review { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review h3 { font-size: 20px; color: var(--navy); }
.review .who { color: var(--muted); font-size: 15px; margin: 0 0 12px; white-space: pre-line; }
.review blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--red); font-style: italic; }
.review.no-video { grid-template-columns: 1fr; }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 8px; overflow: hidden; background: #000 center / cover no-repeat; cursor: pointer; }
.video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 70px; height: 48px; border-radius: 12px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.playing::after { display: none; }
.vpn-note { text-align: center; color: var(--muted); font-size: 14px; margin: -14px 0 30px; }

@media (max-width: 960px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--navy); box-shadow: 0 12px 20px rgba(0, 0, 0, .3); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav a.nav-main { margin: 12px 0 0; border: 1px solid rgba(255, 255, 255, .55); text-align: center; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .hero .wrap, .split, .review { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 44px; }
  .section { padding: 46px 0; }
  .strip-btn { display: none; }
}
@media (max-width: 520px) {
  .logo img { width: 150px; }
  .topbar-links { gap: 14px; }
  .group { padding: 16px; }
  .review { padding: 16px; }
  .timer div { min-width: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .strip-track { scroll-behavior: auto; }
  .award, .btn { transition: none; }
}
