/* ==========================================================================
   РОО «ФВВС СО» — официальный стиль «Лето»: основа, шапка, меню, подвал,
   общие компоненты, версия для слабовидящих
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f7f5f2;
  --surface-2: #efebe5;
  --text: #1d2330;
  --text-2: #444b59;
  --muted: #6b707b;
  --line: #e4dfd7;
  --line-strong: #cfc8bd;
  --coral: #f2603f;
  --coral-dark: #d4462a;
  --coral-soft: #fde8e2;
  --teal: #129e92;
  --teal-dark: #0c7b71;
  --teal-soft: #e1f3f1;
  --sun: #f6b93b;
  --sun-dark: #9a6a06;
  --sun-soft: #fdf1d6;
  --slate: #3d7a8c;
  --slate-soft: #e4eef1;
  --dark: #1d2330;
  --gold: #f2c14e;
  --silver: #c7cbd2;
  --bronze: #d9946a;

  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(29, 35, 48, .05), 0 4px 14px rgba(29, 35, 48, .06);
  --shadow-lg: 0 2px 4px rgba(29, 35, 48, .05), 0 12px 32px rgba(29, 35, 48, .1);
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .6, .3, 1);
}

/* ---------- база ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  min-height: 100vh;
  font: 400 1rem/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.005em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-dark);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2 * var(--gut), var(--wrap));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 400;
  padding: 10px 16px;
  font-weight: 500;
  color: #ffffff;
  background: var(--dark);
  border-radius: var(--r-sm);
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

.main:focus {
  outline: none;
}

[hidden][hidden] {
  display: none;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

/* ---------- кнопки и ссылки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: background-color .2s, border-color .2s, color .2s;
}

.btn--primary {
  color: #ffffff;
  background: var(--coral);
}

.btn--primary:hover {
  color: #ffffff;
  background: var(--coral-dark);
}

.btn--outline {
  border-color: var(--line-strong);
}

.btn--outline:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--text-2);
}

.btn--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
}

.btn--ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .16);
}

.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.btn--sm {
  padding: 7px 14px;
  font-size: .875rem;
}

.btn--lg {
  padding: 13px 24px;
  font-size: 1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--teal-dark);
  text-decoration: none;
  white-space: nowrap;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: translate .2s var(--ease);
}

.link-arrow:hover {
  color: var(--coral-dark);
}

.link-arrow:hover svg {
  translate: 3px 0;
}

.live-dot {
  position: relative;
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.btn--primary .live-dot,
.live-link .live-dot {
  background: #ffffff;
}

/* ---------- метки, статусы ---------- */
.tag {
  --tg: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}

.tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--tg);
  border-radius: 50%;
}

.tag--teal { --tg: var(--teal); }
.tag--coral { --tg: var(--coral); }
.tag--slate { --tg: var(--slate); }
.tag--sun { --tg: var(--sun); }
.tag--neutral { --tg: #8d929c; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-2);
  white-space: nowrap;
  background: #eef0f3;
  border-radius: 999px;
}

.status--live {
  color: var(--coral-dark);
  background: var(--coral-soft);
}

.status--live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}

.status--open {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.status--soon {
  color: var(--sun-dark);
  background: var(--sun-soft);
}

.status--done {
  color: var(--muted);
}

.org-tag {
  display: inline-flex;
  padding: 0 6px;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--slate);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

/* ---------- фильтры и переключатели ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color .2s, border-color .2s, color .2s;
}

.chip:hover {
  border-color: var(--text-2);
}

.chip[aria-pressed='true'] {
  color: #ffffff;
  background: var(--coral);
  border-color: var(--coral);
}

.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.chip__dot--teal { background: var(--teal); }
.chip__dot--coral { background: var(--coral); }
.chip__dot--slate { background: var(--slate); }
.chip__dot--sun { background: var(--sun); }
.chip__dot--neutral { background: #8d929c; }

.chip[aria-pressed='true'] .chip__dot {
  background: #ffffff;
}

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.seg__btn {
  padding: 7px 16px;
  font-size: .9375rem;
  color: var(--text-2);
  background: transparent;
  border: 0;
  border-radius: 6px;
  transition: background-color .2s, color .2s;
}

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

.seg__btn[aria-pressed='true'] {
  color: #ffffff;
  background: var(--coral);
}

.seg--sm .seg__btn {
  padding: 4px 10px;
  font-size: .8125rem;
}

.year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.year-tab {
  padding: 6px 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
}

.year-tab:hover {
  color: var(--text);
}

.year-tab[aria-selected='true'] {
  color: var(--coral-dark);
  border-bottom-color: var(--coral);
}

/* ---------- поля ---------- */
.input {
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}

.input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.input--area {
  min-height: 130px;
  resize: vertical;
}

.select {
  position: relative;
}

.select select {
  width: 100%;
  padding: 9px 36px 9px 12px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  appearance: none;
  cursor: pointer;
}

.select select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.select::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -6px;
  border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2);
  rotate: 45deg;
  pointer-events: none;
}

/* ---------- шапка ---------- */
.header {
  position: sticky;
  top: calc(var(--service-h, 0px) * -1);
  z-index: 60;
  background: var(--bg);
  transition: box-shadow .25s;
}

.header.is-scrolled {
  box-shadow: 0 2px 12px rgba(29, 35, 48, .08);
}

.header__service {
  font-size: .8125rem;
  color: #d5d9e0;
  background: var(--dark);
}

.header__service-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 40px;
  padding-block: 4px;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  list-style: none;
}

.service-links li,
.service-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-links a,
.service-actions__link {
  color: #ffffff;
  text-decoration: none;
}

.service-links a:hover,
.service-actions__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.service-links svg {
  width: 15px;
  height: 15px;
  opacity: .7;
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.a11y-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  font-size: .8125rem;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 6px;
  transition: background-color .2s, border-color .2s;
}

.a11y-btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .55);
}

.a11y-btn svg {
  width: 17px;
  height: 17px;
}

.header__service :focus-visible {
  outline-color: #ffffff;
}

.header__main {
  border-bottom: 1px solid var(--line);
}

.header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

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

.brand__emblem {
  flex: none;
  width: 52px;
  height: 58px;
}

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

.brand__full {
  max-width: 660px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .02em;
}

.brand__short {
  font-size: .8125rem;
  color: var(--muted);
}

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

.live-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  font-size: .9375rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  background: var(--coral);
  border-radius: var(--r-sm);
  transition: background-color .2s;
}

.live-link:hover {
  color: #ffffff;
  background: var(--coral-dark);
}

.burger {
  display: none;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
}

.burger__lines,
.burger__lines::before,
.burger__lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: rotate .25s, translate .25s, background-color .2s;
}

.burger__lines {
  position: relative;
}

.burger__lines::before,
.burger__lines::after {
  content: '';
  position: absolute;
  left: 0;
}

.burger__lines::before { translate: 0 -6px; }
.burger__lines::after { translate: 0 6px; }

.header.is-menu-open .burger__lines {
  background: transparent;
}

.header.is-menu-open .burger__lines::before {
  translate: 0 0;
  rotate: 45deg;
}

.header.is-menu-open .burger__lines::after {
  translate: 0 0;
  rotate: -45deg;
}

.header__nav {
  border-bottom: 1px solid var(--line);
  overflow-x: clip;
}

/* ---------- меню: общее ---------- */
.nav__list,
.nav__sub {
  list-style: none;
}

.nav__row {
  display: flex;
  align-items: center;
}

.nav__link,
.nav__sub-link {
  color: var(--text);
  text-decoration: none;
}

.nav__label {
  display: block;
}

.nav__hint {
  display: block;
  margin-top: 2px;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted);
}

.nav__toggle {
  display: grid;
  place-items: center;
  flex: none;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 6px;
}

.nav__chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  rotate: 45deg;
  translate: 0 -2px;
  transition: rotate .25s, translate .25s;
}

.is-open > .nav__row > .nav__toggle .nav__chev {
  rotate: 225deg;
  translate: 0 2px;
}

/* ---------- меню: десктоп ---------- */
@media (min-width: 1025px) {
  .nav__list {
    display: flex;
    align-items: stretch;
    gap: 4px;
  }

  .nav__item {
    position: relative;
  }

  .nav__link {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 12px;
    font-size: .9375rem;
    font-weight: 500;
    box-shadow: inset 0 -2px 0 transparent;
    transition: color .2s, box-shadow .2s;
  }

  .nav__item--parent > .nav__row > .nav__link {
    padding-right: 4px;
  }

  .nav__link:hover {
    color: var(--coral-dark);
  }

  .nav__link.is-current,
  .nav__link.is-current-parent {
    color: var(--coral-dark);
    box-shadow: inset 0 -2px 0 var(--coral);
  }

  .nav__toggle {
    width: 26px;
    height: 26px;
    color: var(--text-2);
  }

  .nav__toggle:hover {
    color: var(--coral-dark);
    background: var(--surface);
  }

  .nav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    min-width: 260px;
    padding: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    translate: 0 6px;
    transition: opacity .18s, translate .2s var(--ease), visibility 0s .2s;
  }

  .is-open > .nav__sub,
  html:not(.has-js) .nav__item--parent:hover > .nav__sub,
  html:not(.has-js) .nav__item--parent:focus-within > .nav__sub {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition: opacity .18s, translate .2s var(--ease), visibility 0s;
  }

  .nav__sub--l3 {
    top: -9px;
    left: calc(100% + 8px);
    min-width: 300px;
  }

  .nav__sub--l3::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    width: 10px;
  }

  .nav__sub--flip {
    left: auto;
    right: calc(100% + 8px);
  }

  .nav__sub--flip::before {
    left: auto;
    right: -10px;
  }

  .nav__sub-item {
    position: relative;
  }

  .nav__sub-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 8px 12px;
    font-size: .9375rem;
    border-radius: 6px;
    transition: background-color .15s, color .15s;
  }

  .nav__sub-link:hover {
    color: var(--text);
    background: var(--surface);
  }

  .nav__sub-link.is-current,
  .nav__sub-link.is-current-parent {
    color: var(--coral-dark);
    background: var(--coral-soft);
  }

  .nav__toggle--side {
    width: 28px;
    height: 28px;
  }

  .nav__toggle--side .nav__chev,
  .is-open > .nav__row > .nav__toggle--side .nav__chev {
    rotate: -45deg;
    translate: -1px 0;
  }

  .is-flipped.is-open > .nav__row > .nav__toggle--side .nav__chev {
    rotate: 135deg;
    translate: 1px 0;
  }

  .nav__extra {
    display: none;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .brand__full {
    max-width: 520px;
    font-size: .75rem;
  }
}

/* ---------- меню: мобильное ---------- */
@media (max-width: 1024px) {
  .burger {
    display: grid;
  }

  .header__nav {
    border-bottom: 0;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--nav-top, 0px);
    z-index: 40;
    padding: 12px var(--gut) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg);
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    translate: 0 -8px;
    transition: opacity .2s, translate .25s var(--ease), visibility 0s .25s;
  }

  .header.is-menu-open .nav {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
    transition: opacity .2s, translate .25s var(--ease), visibility 0s;
  }

  .nav__list {
    max-width: 680px;
    margin-inline: auto;
  }

  .nav__item {
    border-bottom: 1px solid var(--line);
  }

  .nav__row {
    justify-content: space-between;
  }

  .nav__link {
    display: flex;
    flex: 1;
    padding: 14px 4px;
    font-size: 1.0625rem;
    font-weight: 500;
  }

  .nav__link.is-current,
  .nav__link.is-current-parent {
    color: var(--coral-dark);
  }

  .nav__toggle {
    width: 44px;
    height: 44px;
    color: var(--text-2);
    border: 1px solid var(--line);
  }

  .nav__sub {
    display: none;
    padding: 0 0 10px 12px;
    border-left: 2px solid var(--line);
    margin: 0 0 10px 4px;
  }

  .is-open > .nav__sub {
    display: block;
  }

  .nav__sub-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px 4px;
    font-size: 1rem;
  }

  .nav__sub-link.is-current {
    color: var(--coral-dark);
    font-weight: 500;
  }

  .nav__toggle--side {
    width: 38px;
    height: 38px;
  }

  .nav__extra {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 680px;
    margin: 20px auto 0;
  }

  .nav__extra-phone {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
  }

  .header__main-inner {
    min-height: 68px;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .service-links .service-links__addr,
  .service-actions .service-actions__link,
  .service-links li:nth-child(2) {
    display: none;
  }
}

@media (max-width: 640px) {
  .header__service-inner {
    min-height: 36px;
  }

  .brand {
    gap: 10px;
  }

  .brand__emblem {
    width: 36px;
    height: 40px;
  }

  .brand__full {
    font-size: .625rem;
    letter-spacing: .01em;
  }

  .brand__short {
    display: none;
  }

  .live-link {
    padding: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
  }

  .live-link__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .header__actions {
    gap: 8px;
  }

  .a11y-btn {
    padding: 3px 8px;
    font-size: .75rem;
  }
}

/* ---------- шапка страницы ---------- */
.page-head {
  padding-block: 24px 36px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-head__title {
  max-width: 24ch;
  margin: 18px 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.page-head__sub {
  display: block;
  margin-top: 6px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  color: var(--text-2);
}

.page-head__lead {
  max-width: 72ch;
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-2);
}

.page-head--compact {
  padding-block: 14px;
}

.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
  font-size: .8125rem;
  color: var(--muted);
}

.crumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.crumbs__item + .crumbs__item::before {
  content: '/';
  color: var(--line-strong);
}

.crumbs__item a {
  color: var(--text-2);
  text-decoration: none;
}

.crumbs__item a:hover {
  color: var(--coral-dark);
  text-decoration: underline;
}

.crumbs__item > span {
  display: inline-block;
  max-width: min(60ch, 70vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- секции ---------- */
.section {
  position: relative;
  padding-block: clamp(48px, 6vw, 80px);
  overflow-x: clip;
}

.section--tight {
  padding-block: clamp(28px, 4vw, 48px);
}

.section--surface {
  background: var(--surface);
}

.section--tiles {
  background-image:
    linear-gradient(rgba(18, 158, 146, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 158, 146, .07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.section-head__text {
  max-width: 70ch;
}

.section-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.section-title--sm {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.section-head__lead {
  margin: 8px 0 0;
  color: var(--text-2);
}

/* ---------- панель фильтров ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 28px;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.section--surface .toolbar {
  box-shadow: none;
}

.toolbar__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.toolbar__group--wide {
  flex: 1 1 360px;
}

.toolbar__group .input,
.toolbar__group .select {
  width: clamp(200px, 22vw, 280px);
}

.toolbar__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.toolbar__count {
  margin: 0 0 6px auto;
  font-size: .875rem;
  color: var(--muted);
}

.toolbar__count:empty {
  display: none;
}

.empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
}

.empty__text {
  margin: 0;
  color: var(--text-2);
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ---------- обратный отсчёт ---------- */
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.countdown__cell {
  min-width: 64px;
  padding: 8px 6px;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-sm);
}

.countdown__num {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  font-size: .6875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .75;
}

/* ---------- уведомление ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  max-width: min(92vw, 520px);
  padding: 12px 18px;
  font-size: .9375rem;
  color: #ffffff;
  background: var(--dark);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  translate: -50% 12px;
  pointer-events: none;
  transition: opacity .25s, translate .25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  translate: -50% 0;
}

/* ---------- появление ---------- */
.has-js .reveal {
  opacity: 0;
  translate: 0 12px;
  transition: opacity .4s var(--ease), translate .4s var(--ease);
}

.has-js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* ---------- подвал ---------- */
.footer {
  padding-top: clamp(40px, 5vw, 64px);
  font-size: .9375rem;
  color: #c3c8d1;
  background: var(--dark);
}

.footer a {
  color: #e8ebf0;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer :focus-visible {
  outline-color: #ffffff;
}

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

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

.footer__emblem {
  width: 44px;
  height: 50px;
}

.footer__short {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.footer__full {
  margin-bottom: 16px;
  font-size: .75rem;
  line-height: 1.55;
  letter-spacing: .02em;
}

.footer__req {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: .8125rem;
}

.footer__req div {
  display: flex;
  gap: 8px;
}

.footer__req dt {
  min-width: 42px;
  color: #8f96a3;
}

.footer__req dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.footer__title {
  margin-bottom: 14px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer__address p {
  margin: 0 0 8px;
}

.sitemap {
  list-style: none;
  columns: 2;
  column-gap: 24px;
  font-size: .875rem;
}

.sitemap > li {
  margin-bottom: 10px;
  break-inside: avoid;
  font-weight: 500;
}

.sitemap ul {
  margin-top: 4px;
  padding-left: 12px;
  list-style: none;
  font-weight: 400;
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.sitemap li li {
  margin-bottom: 3px;
  line-height: 1.4;
}

.sitemap__hint {
  display: block;
  font-size: .75rem;
  color: #8f96a3;
}

.footer__partners {
  display: grid;
  gap: 8px;
  list-style: none;
  font-size: .875rem;
  line-height: 1.4;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  list-style: none;
}

.socials__link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-sm);
  transition: background-color .2s, border-color .2s;
}

.footer .socials__link:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .5);
}

.socials__link svg {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-block: 20px;
  font-size: .8125rem;
  color: #8f96a3;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer__bottom p {
  margin: 0;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sitemap {
    columns: 1;
  }

  .toolbar {
    padding: 16px;
  }

  .toolbar__group,
  .toolbar__group--wide {
    flex: 1 1 100%;
  }

  .toolbar__group .input,
  .toolbar__group .select {
    width: 100%;
  }

  .toolbar__count {
    margin-left: 0;
  }
}

/* ---------- функциональные анимации ---------- */
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 96, 63, .5); }
  70% { box-shadow: 0 0 0 6px rgba(242, 96, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 96, 63, 0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .live-dot {
    animation: live-pulse 2s ease-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .reveal {
    transition: none;
  }

  .link-arrow svg {
    transition: none;
  }
}

/* ---------- версия для слабовидящих ---------- */
html.a11y {
  font-size: 125%;
  --text: #000000;
  --text-2: #111111;
  --muted: #2b2b2b;
  --line: #6b6b6b;
  --line-strong: #3a3a3a;
  --surface: #ffffff;
  --surface-2: #f2f2f2;
  --coral: #b8361c;
  --coral-dark: #8f2511;
  --coral-soft: #ffe5dd;
  --teal: #0a5f57;
  --teal-dark: #0a4f48;
  --teal-soft: #dff1ee;
  --sun-dark: #6b4800;
}

html.a11y body {
  line-height: 1.7;
  letter-spacing: .01em;
}

html.a11y a {
  text-decoration: underline;
}

html.a11y *,
html.a11y *::before,
html.a11y *::after {
  animation: none;
  transition: none;
}

html.a11y.has-js .reveal {
  opacity: 1;
  translate: none;
}

html.a11y :focus-visible {
  outline: 3px solid #000000;
  outline-offset: 3px;
}

html.a11y main img,
html.a11y main svg[role='img'] {
  filter: grayscale(1) contrast(1.05);
}

html.a11y .a11y-btn {
  color: #000000;
  background: #ffffff;
  border-color: #ffffff;
}
