/* ДЮСШ «Диамант» — стили лендинга
   Дизайн-система: фирменный синий герба + чёрно-белые нейтрали мяча,
   сигнатура — грань бриллианта (ромб). Глубина: мягкие тени + хайрлайн-границы.
   Шрифт: Onest (self-hosted, вариативный). */

/* ---------- ШРИФТ (self-hosted, без обращений к Google) ---------- */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---------- ТОКЕНЫ ---------- */
:root {
  /* Бренд (из герба) */
  --brand: #1f3fd6;
  --brand-strong: #1a33ad;
  --brand-deep: #14225e;
  --facet: #e7ecfe;        /* ледяной блик грани */
  --facet-2: #d6defa;

  /* Текст */
  --ink: #111726;          /* заголовки / основной */
  --ink-2: #3b4560;        /* вторичный */
  --muted: #626983;        /* приглушённый (WCAG AA на всех поверхностях) */

  /* Поверхности */
  --paper: #f4f6fc;        /* канва */
  --surface: #ffffff;      /* карточки */
  --surface-inset: #f1f4fb;/* «утопленные» блоки (галочка, обложка QR) */

  /* Границы */
  --line: #e6eaf4;
  --line-strong: #d3d9ea;

  /* Радиусы */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Тени (мягкие, тихие) */
  --shadow-sm: 0 1px 2px rgba(17, 23, 38, .04), 0 2px 6px rgba(20, 32, 90, .05);
  --shadow-md: 0 8px 24px rgba(20, 32, 90, .08);
  --shadow-lg: 0 20px 50px rgba(20, 32, 90, .14);
  --shadow-brand: 0 12px 26px rgba(31, 63, 214, .30);

  /* Ритм */
  --container: 1080px;
  --header-h: 68px;
  --gap: clamp(44px, 5vw, 72px);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);

  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 420;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1000px 460px at 50% -180px, rgba(31, 63, 214, .10), transparent 70%);
  background-repeat: no-repeat;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- ШАПКА ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 246, 252, .78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__logo { width: 48px; height: 48px; filter: drop-shadow(0 3px 8px rgba(31, 63, 214, .22)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__title { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.brand__sub { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: inline-block; padding: 9px 13px; color: var(--ink-2); font-weight: 600; font-size: .95rem; border-radius: var(--radius-sm); transition: background .15s var(--ease), color .15s var(--ease); }
.nav__list a:hover { background: rgba(31, 63, 214, .07); color: var(--brand-strong); text-decoration: none; }
.nav__cta { background: var(--brand); color: #fff !important; box-shadow: var(--shadow-brand); }
.nav__cta:hover { background: var(--brand-strong) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 10px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle__bar { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- БАННЕР ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 5vw, 64px) 0 var(--gap);
  text-align: center;
  overflow: hidden;
}
/* Огранённый фон-мотив: два тонких ромба-грани, еле заметны */
.hero::before,
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 300px; height: 300px; border-radius: 48px;
  background: linear-gradient(135deg, rgba(31, 63, 214, .07), rgba(31, 63, 214, .015));
  transform: rotate(45deg);
}
.hero::before { top: -120px; left: -90px; }
.hero::after { bottom: -170px; right: -80px; width: 360px; height: 360px; }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero__logo {
  width: clamp(104px, 22vw, 148px); height: auto; margin-bottom: clamp(24px, 3.5vw, 40px);
  filter: drop-shadow(0 14px 30px rgba(31, 63, 214, .28));
  animation: rise .6s var(--ease) both;
}
.hero__title {
  font-size: clamp(1.75rem, 4.8vw, 2.9rem); font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; margin: 0 0 16px; max-width: 20ch;
  animation: rise .6s var(--ease) .05s both;
}
.hero__lead {
  font-size: clamp(1.02rem, 2.1vw, 1.22rem); color: var(--ink-2); max-width: 60ch; margin: 0 auto 28px;
  animation: rise .6s var(--ease) .12s both;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; animation: rise .6s var(--ease) .18s both; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- КНОПКИ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 1rem; padding: 13px 26px;
  border-radius: var(--radius-pill); cursor: pointer; border: 1.5px solid transparent;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-strong); box-shadow: 0 16px 32px rgba(31, 63, 214, .34); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: rgba(31, 63, 214, .06); color: var(--brand-strong); border-color: rgba(31, 63, 214, .22); }
.btn--ghost:hover { background: rgba(31, 63, 214, .12); border-color: var(--brand); }
.btn--outline { background: var(--surface); color: var(--brand-strong); border-color: var(--line-strong); padding: 10px 18px; font-size: .95rem; box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--brand); background: rgba(31, 63, 214, .04); }

/* ---------- СЕКЦИИ ---------- */
.section { padding: var(--gap) 0; }
.section--muted { background: var(--surface-inset); }

.section__title {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem); font-weight: 800; line-height: 1.14;
  letter-spacing: -.015em; margin: 0 0 var(--gap); position: relative;
}

.prose p { margin: 0 0 16px; max-width: 72ch; font-size: 1.06rem; color: var(--ink-2); }
.prose p strong, .prose p b { color: var(--ink); }

/* Единый разделитель = padding секции */
.section .container > *:last-child { margin-bottom: 0; }
.prose > *:last-child { margin-bottom: 0; }

/* Центрированные заголовки секций главной + сигнатура «бриллиант» над ними.
   Только на главной — на страницах контактов/реквизитов маркера нет. */
#about .section__title,
#photos .section__title,
#documents .section__title { text-align: center; padding-top: 48px; }
#about .section__title::before,
#photos .section__title::before,
#documents .section__title::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px;
  background: url("../assets/icons/gem.svg") no-repeat center / contain;
  filter: drop-shadow(0 4px 8px rgba(31, 63, 214, .26));
}

/* Блок «О школе»: текст на всю ширину контейнера */
#about .prose { max-width: none; }
#about .prose p { max-width: none; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }

/* ---------- ГАЛЕРЕЯ ---------- */
.gallery { position: relative; display: flex; align-items: center; gap: 8px; }
.gallery__track {
  list-style: none; margin: 0; padding: 6px; display: flex; gap: 16px;
  flex: 1 1 0; min-width: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.gallery__track::-webkit-scrollbar { height: 8px; }
.gallery__track::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }
.gallery__track li { flex: 0 0 calc((100% - 2 * 16px) / 3); scroll-snap-align: start; }
.gallery__track img {
  width: 100%; height: clamp(180px, 20vw, 260px);
  object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); cursor: zoom-in;
  background: var(--surface-inset); border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.gallery__track img:hover { transform: translateY(-3px) scale(1.01); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .gallery__track li { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .gallery__track li { flex-basis: 100%; } }
.gallery__nav {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--brand-strong); font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.gallery__nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: scale(1.06); }
.gallery__nav:disabled { opacity: .4; cursor: default; background: var(--surface); color: var(--muted); transform: none; }

/* ---------- ДОКУМЕНТЫ ---------- */
.docs { list-style: none; margin: 0 0 var(--gap); padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.docs > li { display: flex; }
.doc-card {
  display: flex; align-items: center; gap: 14px; width: 100%; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); color: inherit; text-decoration: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
.doc-card:hover { border-color: rgba(31, 63, 214, .4); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.doc-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.doc-card__icon {
  font-size: 1.4rem; line-height: 1; flex: 0 0 auto;
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--facet); border-radius: 12px;
}
.doc-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.doc-card__name { font-weight: 700; color: var(--ink); }
.doc-card__note { font-size: .85rem; color: var(--muted); }
.doc-card.is-copied { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 63, 214, .14), var(--shadow-md); }
.doc-card.is-copied .doc-card__note { color: var(--brand-strong); font-weight: 600; }
.doc-card.is-copied .doc-card__icon { background: var(--brand); color: #fff; }

/* Тост-уведомление (копирование ОГРН) */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 1000;
  transform: translateX(-50%) translateY(12px);
  max-width: min(92vw, 460px); padding: 14px 20px;
  background: var(--ink); color: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-size: .95rem; line-height: 1.4; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- ОПЛАТА ---------- */
.donate {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md);
  scroll-margin-top: calc(var(--header-h) + 16px); overflow: hidden;
}
/* Тонкая грань-акцент в углу карточки оплаты */
.donate::before {
  content: ""; position: absolute; top: -46px; right: -46px; width: 120px; height: 120px;
  border-radius: 28px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--facet), transparent 70%); pointer-events: none;
}
.donate__title { position: relative; font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.donate__hint { position: relative; color: var(--ink-2); max-width: 64ch; margin: 0 0 22px; }
.accept {
  position: relative; display: flex; gap: 13px; align-items: flex-start; padding: 16px 18px;
  background: var(--surface-inset); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; margin-bottom: 22px; transition: border-color .15s var(--ease), background .15s var(--ease);
}
.accept:hover { border-color: var(--line-strong); }
.accept:has(input:checked) { border-color: rgba(31, 63, 214, .35); background: rgba(31, 63, 214, .05); }
.accept:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.accept input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--brand); flex: 0 0 auto; cursor: pointer; }

.qr { position: relative; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; text-align: center; min-height: 200px; }
.qr__media { display: flex; flex-direction: column; align-items: center; gap: 12px; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.qr__media img { width: 260px; height: 260px; border-radius: var(--radius); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); background: #fff; }
.qr__purpose { font-size: .9rem; color: var(--muted); max-width: 42ch; margin: 0; }
.qr__cover {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 20px; background: rgba(241, 244, 251, .9); backdrop-filter: blur(2px);
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
}
.qr__cover::before {
  content: ""; width: 40px; height: 40px;
  background: url("../assets/icons/gem.svg") no-repeat center / contain;
  filter: drop-shadow(0 5px 12px rgba(31, 63, 214, .26));
}
.qr__cover p { max-width: 34ch; color: var(--ink-2); font-weight: 600; margin: 0; }
.qr[data-locked="false"] .qr__media { filter: none; opacity: 1; }
.qr[data-locked="true"] .qr__media { filter: blur(6px); opacity: .5; pointer-events: none; }
.qr[data-locked="false"] .qr__cover { display: none; }

.donate__req-link { position: relative; margin: 20px 0 0; font-size: .95rem; color: var(--muted); }

/* ---------- РЕКВИЗИТЫ (стиль Сбера: плоский список, копирование полей) ---------- */
.req { display: block; max-width: none; margin: 0 0 8px; }
.req__row { position: relative; display: flex; gap: 16px; align-items: baseline; padding: 15px 52px 15px 0; border-bottom: 1px solid var(--line); }
.req__row:last-child { border-bottom: none; }
.req dt { flex: 0 0 200px; margin: 0; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.req dd { flex: 1; min-width: 0; margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.6; word-break: break-word; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .req__row { flex-direction: column; gap: 3px; padding-right: 44px; }
  .req dt { flex-basis: auto; }
}
.req__copy {
  position: absolute; top: 12px; right: 0; width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--muted); cursor: pointer; transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.req__copy:hover { color: var(--brand-strong); border-color: var(--brand); background: rgba(31, 63, 214, .05); }
.req__copy svg { width: 18px; height: 18px; }
.req__copy.is-copied { color: #0f8a44; border-color: #0f8a44; background: rgba(15, 138, 68, .06); }
.copy-status { margin-left: 12px; color: var(--brand-strong); font-weight: 600; font-size: .9rem; }

/* Отдельная страница реквизитов */
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: var(--gap); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-strong); }
.breadcrumb span[aria-hidden] { margin: 0 8px; }
.req-actions { margin-bottom: 18px; }
.req-note {
  color: var(--ink-2); max-width: none; margin: 0 0 24px;
  padding: 16px 18px; background: var(--surface-inset); border: 1px solid var(--line);
  border-radius: var(--radius); border-left: 4px solid var(--brand);
}

/* ---------- КОНТАКТЫ ---------- */
.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: none; }
.contacts li { display: flex; gap: 16px; align-items: baseline; }
.contacts__label { flex: 0 0 200px; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
@media (max-width: 560px) {
  .contacts li { flex-direction: column; gap: 2px; }
  .contacts__label { flex-basis: auto; }
}

/* ---------- ФУТЕР ---------- */
.site-footer { position: relative; background: var(--brand-deep); color: #c6cde8; padding: 46px 0 26px; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; top: -60px; left: 8%; width: 160px; height: 160px;
  border-radius: 34px; transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(255, 255, 255, .06), transparent 70%); pointer-events: none;
}
.footer-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav a { color: #c6cde8; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.footer-vk { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.footer-vk:hover { text-decoration: none; opacity: .85; }
.footer-legal { position: relative; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.footer-legal p { margin: 0; font-size: .85rem; color: #9aa3c6; max-width: none; }

/* ---------- ЛАЙТБОКС ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 12, 28, .9); backdrop-filter: blur(4px); }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .15s var(--ease); }
.lightbox__close:hover { background: rgba(255, 255, 255, .28); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 2.2rem; line-height: 1;
  cursor: pointer; transition: background .15s var(--ease);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
@media (max-width: 560px) { .lightbox__nav { width: 44px; height: 44px; font-size: 1.8rem; } .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; } }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .25s var(--ease);
  }
  .nav.is-open { max-height: 70vh; box-shadow: var(--shadow-md); }
  .nav__list { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 2px; }
  .nav__list a { padding: 12px 12px; }
  .nav__cta { text-align: center; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery__track { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
