@charset "utf-8";
/* ==========================================================================
   ХСК «Маяк» / CSC "Lighthouse" — Design system
   Direction A "Warm Evolution" (deep indigo anchor + warm amber accent),
   with grafts from directions B and C.
   100% offline: system fonts only, no @import, no url() to remote hosts.

   TABLE OF CONTENTS
     01  Tokens
     02  Reset & base
     03  Typography
     04  Layout & utilities
     05  Buttons, links, chips
     06  Topbar
     07  Header & navigation
     08  Hero, page head, breadcrumb
     09  Sections & section index rail
     10  Cards & grids
     11  Split / media frame / feature
     12  Partners
     13  Q&A (FAQ) blocks
     14  Schedule cards
     15  Team portraits
     16  Bank details (monospace + copy)
     17  Document download cards
     18  Photo gallery
     19  Callout
     20  Footer
     21  Focus, motion
     22  Error page (404)
     23  Print (tuned for the donate page)
   ========================================================================== */


/* ── 01 Tokens ─────────────────────────────────────────────────────────────
   Palette, type scale, spacing, radii, shadows. Change values here only. */
:root {
  color-scheme: light;                 /* stops UA dark-mode scrollbar/control weirdness */

  /* Brand — deep indigo / violet (evolved from the original overlay #290E62) */
  --indigo-950: #150737;
  --indigo-900: #1d0a4b;
  --indigo-800: #290e62;
  --indigo-700: #38178a;
  --indigo-600: #4a24ae;
  --indigo-500: #5e33cc;
  --indigo-300: #b7a2f0;
  --indigo-100: #e7dffb;
  --indigo-050: #f4f0fd;

  /* Accent — warm amber / orange */
  --amber-800: #7f3a06;
  --amber-700: #9c4708;
  --amber-600: #b85a08;
  --amber-500: #ee8412;
  --amber-400: #fba43a;
  --amber-300: #ffc072;
  --amber-100: #ffe3bd;
  --amber-050: #fff6ea;

  /* Warm neutrals */
  --ink: #1f1633;
  --ink-soft: #4a4160;
  --ink-mute: #6b6280;
  --line: #e8e1d8;
  --line-strong: #d8cfc3;
  --paper: #fbf7f2;
  --paper-2: #f4ede4;
  --white: #ffffff;

  /* Semantic aliases */
  --brand: var(--indigo-700);
  --brand-deep: var(--indigo-900);
  --accent: var(--amber-500);
  --accent-strong: var(--amber-600);
  --accent-text: var(--amber-700);     /* 6.3:1 on white — safe for body-size text */
  --on-accent: #2a1502;
  --bg: var(--paper);
  --surface: var(--white);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --border: var(--line);
  --focus: var(--indigo-600);
  --on-dark: rgba(255, 255, 255, 0.86);

  /* Type — system stacks only, never a webfont */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", "DejaVu Sans Mono", monospace;

  --fs-2xs: 0.75rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --fs-lg: clamp(1.25rem, 1.14rem + 0.5vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.28rem + 1vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.5rem + 1.7vw, 2.75rem);
  --fs-3xl: clamp(2rem, 1.55rem + 2.1vw, 3.25rem);
  --fs-hero: clamp(2rem, 1.3rem + 3.1vw, 4rem);
  --fs-num: clamp(2.75rem, 2rem + 3.2vw, 4rem);   /* schedule age numeral */

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5rem;
  --section-y: clamp(3.25rem, 2.2rem + 4.2vw, 6.5rem);
  --gutter: clamp(1.125rem, 0.7rem + 1.6vw, 2.5rem);
  --gutter-index: 5.5rem;              /* left rail width for the 01/02/03 numerals */
  --maxw: 76rem;
  --maxw-narrow: 46rem;
  --header-h: 4.4rem;                  /* sticky header height — drives scroll-padding */

  /* Radius */
  --r-1: 0.5rem;
  --r-2: 0.875rem;
  --r-3: 1.25rem;
  --r-4: 1.75rem;
  --r-5: 2.25rem;
  --r-pill: 999px;

  /* Shadow — indigo-tinted, never neutral black */
  --shadow-sm: 0 1px 2px rgba(34, 16, 86, 0.06), 0 2px 8px rgba(34, 16, 86, 0.05);
  --shadow-md: 0 2px 4px rgba(34, 16, 86, 0.05), 0 10px 26px rgba(34, 16, 86, 0.09);
  --shadow-lg: 0 4px 10px rgba(34, 16, 86, 0.06), 0 22px 52px rgba(34, 16, 86, 0.14);
  --shadow-accent: 0 6px 18px rgba(184, 90, 8, 0.3);

  /* Motion */
  --t-fast: 140ms ease;
  --t: 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (min-width: 64em) {
  :root { --header-h: 5.1rem; }
}


/* ── 02 Reset & base ─────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
/* NOTE: body{overflow-x:hidden} is deliberately NOT set. Every grid here is
   overflow-safe by construction; the band-aid would only hide future bugs. */

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

img { height: auto; }

ul, ol { padding: 0; }

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

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

a { color: var(--brand); }

::selection { background: var(--amber-300); color: var(--on-accent); }


/* ── 03 Typography ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--indigo-900);
  text-wrap: balance;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { text-wrap: pretty; }

/* .lede — larger opening paragraph */
.lede {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--text-soft);
}
.lede strong,
.lede b { color: var(--indigo-900); font-weight: 800; }

.text-soft { color: var(--text-soft); }
.text-mute { color: var(--ink-mute); font-size: var(--fs-sm); }

/* .prose — readable body column; auto-spaces its children */
.prose { max-width: 68ch; color: var(--text-soft); }
.prose > * + * { margin-top: 1.05em; }

/* .mono — inline monospace, click-selects the whole run */
.mono {
  font-family: var(--font-mono);
  font-size: 0.95em;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}


/* ── 04 Layout & utilities ───────────────────────────────────────────────── */
/* .container — the single horizontal wrapper used by every band */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--maxw-narrow) + var(--gutter) * 2); }

.stack > * + * { margin-top: var(--sp-4); }      /* vertical rhythm, 1rem */
.stack-lg > * + * { margin-top: var(--sp-5); }   /* vertical rhythm, 1.5rem */

/* .visually-hidden — for screen readers only */
.visually-hidden {
  position: absolute !important;
  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 — first focusable element on every page */
.skip-link {
  position: absolute;
  top: -200%;
  left: var(--gutter);
  z-index: 200;
  padding: 0.8rem 1.2rem;
  background: var(--indigo-800);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--r-2) var(--r-2);
  box-shadow: var(--shadow-lg);
}
.skip-link:focus { top: 0; }

hr.divider {
  border: 0;
  height: 1px;
  background: var(--border);
  margin-block: var(--sp-6);
}


/* ── 05 Buttons, links, chips ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t), background-color var(--t),
    border-color var(--t), color var(--t);
}
.btn__icon { width: 1.15em; height: 1.15em; flex: none; }
.btn__icon--arrow { transition: transform var(--t); }
.btn:hover .btn__icon--arrow { transform: translateX(3px); }

/* .btn--primary — amber, the page's main action */
.btn--primary {
  background: linear-gradient(180deg, var(--amber-400), var(--amber-500));
  color: var(--on-accent);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--amber-300), var(--amber-400));
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(184, 90, 8, 0.36);
}
.btn--primary:active { transform: translateY(0); }

/* .btn--brand — solid indigo */
.btn--brand {
  background: var(--indigo-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(41, 14, 98, 0.25);
}
.btn--brand:hover { background: var(--indigo-600); transform: translateY(-2px); }

/* .btn--outline — quiet secondary on light backgrounds */
.btn--outline {
  background: var(--surface);
  color: var(--indigo-800);
  border-color: rgba(56, 23, 138, 0.28);
}
.btn--outline:hover { background: var(--indigo-050); border-color: var(--indigo-600); }

/* .btn--light — secondary on dark/photo backgrounds (hero) */
.btn--light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }

.btn--sm { min-height: 2.5rem; padding: 0.45rem 1.05rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

/* .link-strong — emphasised inline link (phone numbers inside copy) */
.link-strong {
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
}
.link-strong:hover { color: var(--amber-800); }

/* .chip-row / .chip-link — messenger + contact pills */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.15rem;
  min-height: 2.85rem;
  border-radius: var(--r-pill);
  background: var(--indigo-050);
  border: 1px solid var(--indigo-100);
  color: var(--indigo-800);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: background-color var(--t), border-color var(--t), transform var(--t);
}
.chip-link svg { width: 1.15rem; height: 1.15rem; flex: none; }
.chip-link:hover {
  background: var(--indigo-100);
  border-color: var(--indigo-300);
  transform: translateY(-2px);
}

/* .cta-panel — warm "call or write to us" block */
.cta-panel {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  background: var(--amber-050);
  border: 1px solid var(--amber-100);
  border-radius: var(--r-3);
}
.cta-panel p { color: var(--indigo-900); font-weight: 600; }
.cta-panel .chip-link { background: var(--white); border-color: var(--amber-100); }
.cta-panel .chip-link:hover { background: var(--amber-100); border-color: var(--amber-300); }

/* .icon-line — small icon + text row (addresses, notes) */
.icon-line { display: flex; align-items: flex-start; gap: 0.7rem; }
.icon-line svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 0.22rem; }


/* ── 06 Topbar ───────────────────────────────────────────────────────────────
   Persistent dark strip above the header: tap-to-call phone, socials, UK/EN.
   Present on every page so the primary conversion action is never buried. */
.topbar {
  background: var(--indigo-950);
  color: var(--on-dark);
  font-size: var(--fs-xs);
  --focus: var(--amber-300);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 2.75rem;
  padding-block: 0;
}

.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; }

/* .topbar__phone — the tap-to-call link, amber icon */
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.topbar__phone svg { width: 0.95rem; height: 0.95rem; flex: none; color: var(--amber-300); }

.topbar__right { display: flex; align-items: center; gap: var(--sp-4); }

/* .topbar__social — compact icon row; hidden on the narrowest phones */
.topbar__social { display: none; gap: var(--sp-3); list-style: none; margin: 0; }
.topbar__social a { display: block; padding: 0.85rem; }
.topbar__social svg { width: 1.05rem; height: 1.05rem; }
.topbar__social a:hover svg { color: var(--amber-300); }

@media (min-width: 34em) {
  .topbar__social { display: flex; }
}

/* .lang-switch — UK / EN pair; lives inside the topbar */
.lang-switch {
  display: inline-flex;
  padding: 0;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.75rem;
  padding: 0 0.55rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.lang-switch a:hover { background: rgba(255, 255, 255, 0.16); }
.lang-switch a[aria-current] {
  background: var(--amber-400);
  color: var(--on-accent);
}
.lang-switch a[aria-current]:hover { background: var(--amber-300); color: var(--on-accent); }


/* ── 07 Header & navigation ──────────────────────────────────────────────────
   No-JS floor: nav is a wrapped row of pills, always visible.
   With JS (<html class="js">): header sticks and the nav becomes a drawer
   toggled by .nav-toggle. Above 64em both paths render the same inline nav. */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--indigo-800) 0%, var(--indigo-600) 45%, var(--amber-500) 100%);
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  padding-block: 0.65rem;
}

/* .brand — logo + two-line wordmark, links to the language's index.html */
.brand {
  order: 1;
  /* flex-basis 0 keeps the brand from pushing the toggle onto a second line
     on 360px screens — it shrinks instead of wrapping. */
  flex: 1 1 0;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-2);
  min-width: 0;
}
.brand__logo {
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 2px var(--indigo-100), var(--shadow-sm);
}
.brand__text { display: grid; line-height: 1.12; min-width: 0; }
/* Below 30em the kicker is allowed to wrap onto two tight lines rather than
   forcing the toggle onto a second row — the header stays under 80px. */
.brand__kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (min-width: 30em) {
  .brand__kicker { font-size: var(--fs-2xs); letter-spacing: 0.09em; }
}
.brand__name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--indigo-900);
}
.brand:hover .brand__name { color: var(--indigo-600); }

/* .nav-toggle — hamburger; only exists when JS ran */
.nav-toggle {
  order: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--r-2);
  border: 1px solid var(--indigo-100);
  background: var(--indigo-050);
  color: var(--indigo-800);
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] { background: var(--indigo-800); color: #fff; border-color: var(--indigo-800); }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.js .nav-toggle { display: inline-flex; }

.site-nav {
  order: 3;
  flex-basis: 100%;
  border-top: 1px solid var(--border);
  padding-top: 0.55rem;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
}
.nav-link {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--indigo-800);
  text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav-link:hover { background: var(--indigo-050); color: var(--indigo-600); }
.nav-link[aria-current="page"] { background: var(--indigo-800); color: #fff; }

/* JS-enhanced drawer */
.js .site-header { position: sticky; top: 0; }
.js .site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: none;
  padding: var(--sp-4) 0 var(--sp-5);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.js .site-nav[data-open] { display: block; }
.js .nav-list { flex-direction: column; flex-wrap: nowrap; gap: 0.15rem; }
.js .nav-link { display: block; padding: 0.75rem 1rem; font-size: var(--fs-base); }

@media (min-width: 64em) {
  .site-header { position: sticky; top: 0; }
  .header__inner { flex-wrap: nowrap; padding-block: 0.8rem; gap: 1.5rem; }
  .brand { flex: 0 0 auto; }
  .brand__logo { width: 3rem; height: 3rem; }
  .nav-toggle,
  .js .nav-toggle { display: none; }
  .site-nav,
  .js .site-nav {
    position: static;
    display: block;
    order: 2;
    flex-basis: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .nav-list,
  .js .nav-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: clamp(0.5rem, 1.5vw, 1.5rem);
  }
  .nav-link,
  .js .nav-link {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0.15rem;
    font-size: var(--fs-sm);
    border-radius: 0;
    background: none;
    white-space: nowrap;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--amber-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
  }
  .nav-link:hover { background: none; }
  .nav-link[aria-current="page"] { background: none; color: var(--indigo-900); }
  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after { transform: scaleX(1); }
}


/* ── 08 Hero, page head, breadcrumb ──────────────────────────────────────── */
/* .hero — homepage only. Photo + double gradient + copy. svh avoids the
   mobile browser-chrome jump; the vh line above it is the fallback. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(30rem, 74vh, 44rem);
  min-height: clamp(30rem, 78svh, 44rem);
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(4rem, 8vw, 6rem);
  background: var(--indigo-900);
  color: #fff;
  overflow: hidden;
  --focus: var(--amber-300);
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 14%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(21, 7, 55, 0.5) 0%,
      rgba(21, 7, 55, 0.1) 30%,
      rgba(24, 8, 62, 0.68) 74%,
      rgba(21, 7, 55, 0.92) 100%),
    linear-gradient(90deg,
      rgba(41, 14, 98, 0.86) 0%,
      rgba(41, 14, 98, 0.52) 46%,
      rgba(41, 14, 98, 0.16) 100%);
}

.hero__inner { position: relative; width: 100%; }
.hero__content { max-width: 46rem; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero__eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(251, 164, 58, 0.28);
}

.hero__title {
  margin-top: var(--sp-5);
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(12, 4, 34, 0.5);
}

.hero__tagline {
  margin-top: var(--sp-5);
  padding-left: 1.05rem;
  border-left: 4px solid var(--amber-400);
  max-width: 34ch;
  font-size: var(--fs-md);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

.hero__actions {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

@media (min-width: 48em) { .hero { align-items: center; } }

/* .page-head — indigo banner at the top of every inner page */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5.5vw, 4.5rem);
  background: linear-gradient(135deg, var(--indigo-900) 0%, var(--indigo-700) 58%, var(--indigo-600) 100%);
  color: #fff;
  --focus: var(--amber-300);
}
.page-head::after {
  content: "";
  position: absolute;
  top: -8rem;
  right: -6rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 164, 58, 0.32), rgba(251, 164, 58, 0) 66%);
  pointer-events: none;
}
.page-head__inner { position: relative; }
.page-head h1 { color: #fff; letter-spacing: -0.025em; }
.page-head__lead {
  margin-top: var(--sp-4);
  max-width: 58ch;
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.88);
}

/* .breadcrumb — "Головна / Футбол" trail, sits above the h1 in .page-head */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: var(--sp-4);
  list-style: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.4em; min-height: 2.75rem; }
.breadcrumb li + li::before { content: "/"; opacity: 0.55; }
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.1rem;
  color: inherit;
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--amber-300); text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }


/* ── 09 Sections & section index rail ────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }         /* white band */
.section--paper   { background: var(--paper); }           /* warm off-white band */
.section--warm    { background: linear-gradient(180deg, var(--amber-050) 0%, var(--paper) 100%); }
.section--tint    { background: var(--indigo-050); }      /* pale indigo band */
.section--brand {                                         /* dark indigo band */
  background: linear-gradient(140deg, var(--indigo-900), var(--indigo-700));
  color: rgba(255, 255, 255, 0.88);
  --focus: var(--amber-300);
}
.section--brand h2,
.section--brand h3 { color: #fff; }
.section--brand .section-title::before {
  background: linear-gradient(90deg, var(--amber-400), var(--amber-300));
}
.section--flush-top { padding-top: 0; }

/* .section__head — heading block above a section's content */
.section__head {
  max-width: var(--maxw-narrow);
  margin-bottom: clamp(1.75rem, 3.2vw, 3rem);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section-title::before { left: 50%; transform: translateX(-50%); }

/* .section-title — h2 with the amber dash above it */
.section-title { position: relative; padding-top: 1.25rem; }
.section-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 4px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--amber-500), var(--amber-300));
}
.section__intro { margin-top: var(--sp-4); color: var(--text-soft); font-size: var(--fs-md); }

/* .section__head--indexed + .section__index — editorial 01/02/03 rail.
   Hairline rule above the head; numeral moves into the left gutter >=62em. */
.section__head--indexed {
  display: grid;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.1rem;
  max-width: var(--maxw-narrow);
}
.section__index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.section--brand .section__head--indexed { border-top-color: rgba(255, 255, 255, 0.24); }
.section--brand .section__index { color: var(--amber-300); }

@media (min-width: 62em) {
  .section__head--indexed {
    grid-template-columns: var(--gutter-index) minmax(0, 1fr);
    max-width: calc(var(--maxw-narrow) + var(--gutter-index));
  }
  .section__head--indexed > * { grid-column: 2; }
  .section__head--indexed > .section__index {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    padding-top: 1.35rem;
  }
}


/* ── 10 Cards & grids ────────────────────────────────────────────────────── */
/* .card — generic white panel */
.card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-sm);
}
.card--raised { box-shadow: var(--shadow-md); border-color: transparent; }
.card__title { font-size: var(--fs-lg); }
.card__text { color: var(--text-soft); }
.card__actions { margin-top: auto; padding-top: var(--sp-3); }

/* .card--link — whole card is an <a> */
.card--link {
  text-decoration: none;
  color: inherit;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber-300);
}

/* .grid — explicit column counts, so a lone third card never strands */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 30em) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 44em) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 48em) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 64em) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* .intro — white card that lifts over the bottom of the hero */
.intro { padding-block: 0 var(--section-y); }
.intro__card {
  position: relative;
  z-index: 3;
  margin-top: clamp(-4rem, -6vw, -2rem);
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  box-shadow: var(--shadow-lg);
}
.intro__emblem {
  width: clamp(4.5rem, 12vw, 6.5rem);
  height: auto;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 6px var(--amber-050), 0 0 0 7px var(--amber-100);
}
.intro__card .lede { max-width: 68ch; }
@media (min-width: 46em) {
  .intro__card { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
}


/* ── 11 Split / media frame / feature ────────────────────────────────────── */
/* .split — text column + media column ("Наша мета") */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
  .split--media-last .split__media { order: 2; }
}
.split__body > * + * { margin-top: var(--sp-4); }
.split__body .section-title + p,
.split__body .section__head + p { margin-top: var(--sp-5); }

/* .media-frame — offset amber slab behind a photo; padding keeps it in-cell */
.media-frame { position: relative; padding: 0 0.9rem 0.9rem 0; }
.media-frame::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 72%;
  border-radius: var(--r-5);
  background: linear-gradient(140deg, var(--amber-100), var(--amber-300));
}
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-5);
  box-shadow: var(--shadow-lg);
}
/* .media-frame--free — same frame, but the photo keeps its real proportions */
.media-frame--free img { aspect-ratio: auto; object-fit: contain; }

/* .feature — large single offering card ("Напрямки" → Футбол) */
.feature {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3.6vw, 2.75rem);
  padding-left: clamp(1.75rem, 3.9vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  box-shadow: var(--shadow-md);
}
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  background: linear-gradient(180deg, var(--amber-400), var(--indigo-600));
}
@media (min-width: 52em) {
  .feature { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
}
.feature__icon {
  display: grid;
  place-items: center;
  width: clamp(3.75rem, 8vw, 5rem);
  aspect-ratio: 1;
  border-radius: var(--r-3);
  background: linear-gradient(140deg, var(--indigo-700), var(--indigo-500));
  color: #fff;
  box-shadow: 0 10px 24px rgba(56, 23, 138, 0.28);
}
.feature__icon svg { width: 55%; height: 55%; }
.feature__body > * + * { margin-top: var(--sp-4); }
.feature__title { font-size: var(--fs-xl); }
.feature__text { color: var(--text-soft); font-size: var(--fs-md); max-width: 72ch; }


/* ── 12 Partners ──────────────────────────────────────────────────────────
   Hairline grid: 1px gaps show the container background as rules. Logos stay
   in FULL COLOUR — they are a trust signal, never greyed out. */
.partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  overflow: hidden;
  list-style: none;
  margin: 0;
}
@media (min-width: 56em) {
  .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.partner {
  display: grid;
  place-items: center;
  min-height: 8rem;
  height: 100%;
  padding: clamp(1.1rem, 2.6vw, 1.9rem) clamp(1rem, 2vw, 1.5rem);
  background: var(--surface);
  transition: background-color var(--t);
}
.partner img {
  max-width: min(100%, 12rem);
  max-height: 4rem;
  width: auto;
  object-fit: contain;
}
.partner:hover { background: var(--amber-050); }


/* ── 13 Q&A (FAQ) blocks ──────────────────────────────────────────────────
   Numbered 01, 02, 03… via a CSS counter; left border alternates
   amber / indigo. Two columns from 56em so the football page is not a tower. */
.qa { display: grid; gap: clamp(0.85rem, 2vw, 1.25rem); counter-reset: qa; }
@media (min-width: 56em) {
  .qa { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
.qa__item {
  padding: clamp(1.1rem, 2.6vw, 1.65rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 6px solid var(--amber-400);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-sm);
}
.qa__item:nth-child(even) { border-left-color: var(--indigo-600); }

.qa__q {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
}
.qa__n {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.7em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--accent-text);
}
.qa__n::before {
  counter-increment: qa;
  content: counter(qa, decimal-leading-zero);
}
.qa__item:nth-child(even) .qa__n { color: var(--indigo-600); }

.qa__a { color: var(--text-soft); }
.qa__a + .qa__a { margin-top: 0.4rem; }
/* The venue answer is an <address>, either wrapping the text or carrying .qa__a
   itself — kill the UA stylesheet's italic in both shapes. */
.qa__a address,
address.qa__a { font-style: normal; color: var(--text-soft); }


/* ── 14 Schedule cards ────────────────────────────────────────────────────
   3-up group cards. Oversized age numeral in the coloured head; each of the
   three heads takes a different colour so groups are scannable at a glance.
   Rows put day + time on one line and the venue on its own line beneath. */
.sched-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 44em) { .sched-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .sched-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sched {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-sm);
}

.sched__head {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2.4vw, 1.5rem) clamp(1.1rem, 2.4vw, 1.5rem) 1rem;
  background: linear-gradient(140deg, var(--indigo-900), var(--indigo-700));
  color: #fff;
}
.sched__head::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
/* Colour-code the three groups (also available as explicit modifiers) */
.sched-grid > .sched:nth-child(2) .sched__head,
.sched--b .sched__head { background: linear-gradient(140deg, var(--indigo-700), var(--indigo-500)); }
.sched-grid > .sched:nth-child(3) .sched__head,
.sched--c .sched__head { background: linear-gradient(140deg, var(--amber-800), var(--amber-700)); }

/* .sched__age — the big numeral, e.g. "6–8" */
.sched__age {
  position: relative;
  display: block;
  font-size: var(--fs-num);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--amber-300);
}
.sched-grid > .sched:nth-child(3) .sched__age,
.sched--c .sched__age { color: var(--amber-100); }

/* .sched__label — the uppercase group caption under the numeral */
.sched__label {
  position: relative;
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* .sched__note — venue note strip between head and rows (optional) */
.sched__note {
  padding: 0.7rem clamp(1.1rem, 2.4vw, 1.5rem);
  background: var(--paper-2);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--indigo-800);
}

/* .sched__rows / .sched__row — one training slot per row */
.sched__rows { list-style: none; margin: 0; padding: 0.25rem clamp(1.1rem, 2.4vw, 1.5rem) 1.25rem; flex: 1; }
.sched__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.75rem;
  padding-block: 0.8rem;
  border-bottom: 1px dashed var(--line-strong);
}
.sched__row:last-child { border-bottom: 0; padding-bottom: 0; }
.sched__day { font-size: var(--fs-sm); font-weight: 800; color: var(--indigo-900); }
.sched__time {
  margin-left: auto;
  font-size: var(--fs-md);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
  white-space: nowrap;
}
.sched__place {
  flex-basis: 100%;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-mute);
}


/* ── 15 Team portraits ────────────────────────────────────────────────────
   Use inside .grid.grid--4 (2-up on phones, 4-up from 62em). */
.person {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.person__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  background: var(--indigo-050);
}
.person__body { display: grid; gap: 0.25rem; padding: 1.1rem clamp(1rem, 2.2vw, 1.4rem) 1.4rem; }
.person__name { font-size: var(--fs-md); }
.person__role {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.person__meta { font-size: var(--fs-sm); color: var(--ink-mute); font-variant-numeric: tabular-nums; }


/* ── 16 Bank details (monospace + copy) ───────────────────────────────────
   .data-card wraps a <dl class="details"> of <div class="details__row">.
   At >=48em the label sits in a fixed left column so a 29-char IBAN reads as
   one continuous string. Values are monospace and click-select whole. */
.data-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-sm);
}
.data-card--accent { border-top: 5px solid var(--amber-400); }
.data-card__title { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.data-card__note { font-size: var(--fs-sm); color: var(--ink-mute); }

.details { display: grid; margin: 0; border-top: 1px solid var(--line-strong); }
.details__row {
  display: grid;
  gap: 0.3rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 48em) {
  .details__row {
    grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1.58fr);
    gap: 0.3rem var(--sp-5);
    align-items: baseline;
  }
}
.details__row dt {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.details__row dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}

/* .data-value — the copyable monospace string itself */
.data-value {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  background: var(--indigo-050);
  border: 1px solid var(--indigo-100);
  border-radius: var(--r-1);
  font-family: var(--font-mono);
  font-size: 0.95em;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}

/* .copy-btn — hidden until main.js confirms clipboard support (data-ready) */
.copy-btn {
  display: none;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--indigo-100);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--indigo-800);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.copy-btn[data-ready] { display: inline-flex; }
.copy-btn svg { width: 0.85rem; height: 0.85rem; flex: none; }
.copy-btn:hover { background: var(--indigo-800); border-color: var(--indigo-800); color: #fff; }
.copy-btn[data-copied] {
  background: var(--amber-050);
  border-color: var(--amber-300);
  color: var(--amber-800);
}


/* ── 17 Document download cards ──────────────────────────────────────────── */
.doc-card {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 1.35rem);
  padding: clamp(1rem, 2.6vw, 1.6rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber-300);
}
.doc-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-2);
  background: var(--amber-050);
  border: 1px solid var(--amber-100);
  color: var(--amber-700);
}
.doc-card__icon svg { width: 1.5rem; height: 1.5rem; }
.doc-card__body { display: grid; gap: 0.2rem; min-width: 0; }
.doc-card__title { font-size: var(--fs-md); }
.doc-card__meta { font-size: var(--fs-sm); color: var(--ink-mute); }
/* .doc-card__size — mono treatment for "5.6 МБ" / "552 КБ" */
.doc-card__size {
  font-family: var(--font-mono);
  font-size: 0.92em;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.doc-card__cue { margin-left: auto; flex: none; color: var(--indigo-600); }
.doc-card__cue svg { width: 1.35rem; height: 1.35rem; }


/* ── 18 Photo gallery ─────────────────────────────────────────────────────
   CSS columns, not a cropping grid: the club's photo set is fixed and mixes
   1920x1815 landscape with 970x1400 portraits. Every photo keeps its own
   aspect ratio. No JS, no lightbox. */
.gallery {
  columns: 1;
  column-gap: clamp(0.75rem, 2vw, 1.25rem);
  list-style: none;
  margin: 0;
}
@media (min-width: 34em) { .gallery { columns: 2; } }
@media (min-width: 62em) { .gallery { columns: 3; } }

.gallery__item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 clamp(0.75rem, 2vw, 1.25rem);
  overflow: hidden;
  border-radius: var(--r-3);
  background: var(--indigo-050);
  box-shadow: var(--shadow-sm);
}
.gallery__item img { width: 100%; transition: transform var(--t); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__caption {
  padding: 0.6rem 0.9rem 0.8rem;
  background: var(--surface);
  font-size: var(--fs-sm);
  color: var(--ink-mute);
}


/* ── 19 Callout ───────────────────────────────────────────────────────────── */
.callout {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  background: var(--amber-050);
  border: 1px solid var(--amber-100);
  border-left: 5px solid var(--amber-400);
  border-radius: var(--r-3);
  color: var(--text-soft);
}
.callout svg { width: 1.35rem; height: 1.35rem; flex: none; margin-top: 0.2rem; color: var(--amber-700); }
.callout a { color: var(--accent-text); font-weight: 700; }


/* ── 20 Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--indigo-900) 0%, var(--indigo-950) 100%);
  color: rgba(255, 255, 255, 0.8);
  --focus: var(--amber-300);
}
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--amber-500) 0%, var(--indigo-600) 55%, var(--indigo-800) 100%);
}

.footer__main { padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }
.footer__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 40em) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }

.footer__col > * + * { margin-top: var(--sp-4); }

.footer__brand { display: flex; align-items: center; gap: 0.85rem; }
.footer__brand img {
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.footer__name {
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer__list { list-style: none; margin: 0; display: grid; gap: 0; }
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--r-1);
  transition: color var(--t-fast);
}
.footer__link svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--amber-300); }
.footer__link:hover { color: var(--amber-300); }

/* .footer__note — small grey qualifier after a link, e.g. the name "Данило" */
.footer__note {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
}

.footer__address {
  display: flex;
  gap: 0.6rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
}
.footer__address svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: 0.2rem; color: var(--amber-300); }

.social { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; }
.social__link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: background-color var(--t), color var(--t), transform var(--t), border-color var(--t);
}
.social__link svg { width: 1.25rem; height: 1.25rem; }
.social__link:hover {
  background: var(--amber-400);
  border-color: transparent;
  color: var(--on-accent);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.25rem 1.5rem;
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.68);
}


/* ── 21 Focus, motion ────────────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

/* Fallback for engines without :focus-visible */
a:focus,
button:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* .partners has overflow:hidden, so an outward ring is clipped away.
   Draw this one inside the cell instead. */
.partner:focus-visible { outline-offset: -3px; }
.partner:focus { outline-offset: -3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ── 22 Error page ────────────────────────────────────────────────────────
   404.html. A dead end should still offer a way onward, so the section
   links are part of the design rather than an afterthought. */
.notfound {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.notfound__code {
  font-size: clamp(4.5rem, 18vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--indigo-100);
  margin: 0;
}

.notfound__title {
  margin-block: 0.5rem 0.75rem;
  font-size: var(--fs-2xl);
}

.notfound__text {
  color: var(--text-soft);
  margin-bottom: 1.75rem;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.notfound__links a {
  color: var(--text-soft);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}

.notfound__links a:hover,
.notfound__links a:focus-visible { color: var(--indigo-600); text-decoration: underline; }


/* ── 23 Print ─────────────────────────────────────────────────────────────
   Tuned for donate.html — people print the bank details. Chrome is dropped,
   colour is flattened, and link/phone targets are spelled out. */
@media print {
  .topbar,
  .site-header,
  .site-footer,
  .skip-link,
  .nav-toggle,
  .copy-btn,
  .hero__img,
  .btn,
  .chip-row,
  .social { display: none !important; }

  html { scroll-padding-top: 0; }

  body {
    background: #fff;
    color: #000;
    font-size: 11.5pt;
    line-height: 1.45;
  }

  .hero,
  .page-head,
  .section,
  .section--brand,
  .section--warm,
  .section--tint,
  .section--surface,
  .section--paper {
    background: #fff !important;
    color: #000 !important;
    padding-block: 0.6rem;
  }
  .hero::after,
  .page-head::after,
  .media-frame::before { display: none; }
  .hero__title,
  .page-head h1,
  h1, h2, h3 { color: #000 !important; text-shadow: none; }
  .section-title::before { background: #000 !important; }

  .container { max-width: none; padding-inline: 0; }

  .card,
  .data-card,
  .doc-card,
  .qa__item,
  .sched,
  .partner {
    box-shadow: none !important;
    border: 1px solid #999 !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Bank details: two firm columns, no tinted chips, nothing split across pages */
  .details__row {
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 0.5rem 1rem;
    align-items: baseline;
    break-inside: avoid;
    page-break-inside: avoid;
    border-bottom: 1px solid #ccc;
  }
  .details__row dt { color: #000; }
  .data-value {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    font-size: 11pt;
  }
  .grid--3, .grid--2, .grid--4, .sched-grid, .qa { grid-template-columns: minmax(0, 1fr); }

  /* Spell out targets that a printed page cannot follow */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
  a[href^="tel:"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  a[href^="#"]::after,
  a[href$=".html"]::after,
  a.partner::after { content: ""; }
}
