/* ============================================================
   Средняя школа № 12 — стили
   Порядок: переменные → база → компоненты → секции → адаптив
   ============================================================ */

:root {
  --brand-900: #0f172a;
  --brand-800: #1e293b;
  --brand-700: #334155;
  --brand-500: #64748b;
  --brand-300: #cbd5e1;
  --brand-100: #e2e8f0;
  --brand-50:  #f8fafc;

  --accent-600: #0284c7;
  --accent-500: #38bdf8;
  --accent-100: #e0f2fe;

  --ok-600: #059669;
  --warn-600: #d97706;
  --err-600: #dc2626;

  --bg: #ffffff;
  --bg-alt: var(--brand-50);
  --text: var(--brand-800);
  --muted: var(--brand-500);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow:    0 4px 12px rgba(15, 23, 42, .07), 0 2px 4px rgba(15, 23, 42, .05);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .14);

  --container: 1180px;
  --header-h: 72px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          "Noto Sans", Arial, sans-serif;
}

/* ---------- База ---------- */

*, *::before, *::after { 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: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--brand-900);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-500); }

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--brand-900);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; top: 0; color: #fff; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.btn:hover { transform: translateY(-2px); color: inherit; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent-600);
  color: #fff;
  box-shadow: 0 6px 16px rgba(2, 132, 199, .28);
}
.btn--primary:hover { background: var(--accent-500); color: var(--brand-900); }

.btn--ghost {
  background: transparent;
  color: var(--brand-900);
  border-color: var(--brand-300);
}
.btn--ghost:hover { border-color: var(--brand-900); background: var(--brand-50); }

.btn--sm { padding: 9px 16px; font-size: .92rem; }

.link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.link:hover { border-bottom-color: transparent; }

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-100);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brand-900);
  flex-shrink: 0;
}
.brand img { border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 1.02rem; letter-spacing: -.01em; }
.brand__text small { color: var(--muted); font-size: .8rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--brand-700);
  font-weight: 500;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.nav__link:hover { background: var(--brand-50); color: var(--brand-900); }
.nav__link.is-active { color: var(--accent-600); background: var(--accent-100); }

.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--brand-300);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brand-800);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Герой ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -12%, rgba(56, 189, 248, .28), transparent 60%),
    radial-gradient(700px 380px at 5% 105%, rgba(14, 165, 233, .16), transparent 62%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--brand-100);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-block: 76px 84px;
}

.badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--accent-100);
  color: var(--accent-600);
  font-size: .85rem;
  font-weight: 600;
}

.accent { color: var(--accent-600); }

.hero__lead {
  max-width: 54ch;
  font-size: 1.13rem;
  color: var(--brand-700);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 34px;
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--brand-100);
}
.stat { display: flex; flex-direction: column-reverse; }
.stat dt { color: var(--muted); font-size: .86rem; }
.stat dd {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--brand-900);
}

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__card {
  position: absolute;
  left: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fef3c7;
  color: var(--warn-600);
  font-size: 1.2rem;
}
.hero__card strong { display: block; font-size: .92rem; color: var(--brand-900); }
.hero__card small { color: var(--muted); font-size: .8rem; }

/* ---------- Секции ---------- */

.section { padding-block: 84px; }
.section--alt { background: var(--bg-alt); }

.section__head {
  max-width: 70ch;
  margin-bottom: 44px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-600);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section__lead { color: var(--muted); font-size: 1.06rem; }

/* ---------- О школе ---------- */

.about {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 52px;
  align-items: start;
}

.about__text p { color: var(--brand-700); }

.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 11px; }
.checklist li { position: relative; padding-left: 34px; color: var(--brand-700); }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-600);
  font-size: .78rem;
  font-weight: 700;
}

.about__aside { display: grid; gap: 22px; }

.quote {
  padding: 28px;
  background: var(--brand-900);
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.quote p {
  margin: 0 0 14px;
  font-size: 1.18rem;
  line-height: 1.5;
  color: #f8fafc;
}
.quote cite { font-style: normal; font-size: .9rem; color: var(--brand-300); }

.facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 6px 24px;
  background: #fff;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--brand-100);
}
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 600; color: var(--brand-900); text-align: right; }

/* ---------- Новости ---------- */

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

.news__item {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.news__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news__item h3 { margin: 12px 0 10px; font-size: 1.12rem; }
.news__item h3 a { color: inherit; text-decoration: none; }
.news__item h3 a:hover { color: var(--accent-600); }
.news__item p { margin: 0 0 auto; color: var(--muted); font-size: .96rem; }

.news__item--featured {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: center;
  padding: 42px;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 100%);
  border-color: transparent;
  color: #cbd5e1;
}
.news__item--featured h3 { color: #f8fafc; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.news__item--featured p { color: var(--brand-300); font-size: 1.04rem; }
.news__item--featured .link { color: var(--accent-500); align-self: flex-start; margin-top: 24px; }
.news__item--featured .news__date { color: var(--brand-300); }

.news__date {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.tag {
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: .76rem;
  font-weight: 600;
}
.tag--accent { background: var(--accent-500); color: var(--brand-900); }
.news__item--featured .tag--accent { background: var(--accent-500); color: var(--brand-900); }

/* ---------- Учителя ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.card {
  padding: 30px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; }
.card h3 { margin: 0 0 6px; font-size: 1.04rem; }
.card__role { margin: 0 0 4px; color: var(--accent-600); font-size: .92rem; font-weight: 500; }
.card__meta { margin: 0; color: var(--muted); font-size: .84rem; }

/* ---------- Галерея ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  background: var(--brand-100);
}
.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 18px 14px;
  background: linear-gradient(to top, rgba(15, 23, 42, .88), transparent);
  color: #f8fafc;
  font-size: .92rem;
  font-weight: 500;
}

/* ---------- Контакты ---------- */

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form {
  padding: 34px;
  background: var(--bg-alt);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg);
}
.form h3 { margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--brand-700);
}
.field label span { color: var(--err-600); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--brand-900);
  background: #fff;
  border: 1px solid var(--brand-300);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .28);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--err-600); }

.field__error {
  margin: 6px 0 0;
  min-height: 0;
  color: var(--err-600);
  font-size: .84rem;
}

.form__status {
  margin: 14px 0 0;
  padding: 0;
  font-size: .92rem;
  font-weight: 500;
}
.form__status:empty { display: none; }
.form__status.is-ok {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #dcfce7;
  color: var(--ok-600);
}
.form__status.is-err {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fee2e2;
  color: var(--err-600);
}

.info { display: grid; gap: 24px; }

.info__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.info__list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--brand-100);
}
.info__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info__label { color: var(--muted); font-size: .9rem; }
.info__value { color: var(--brand-900); font-weight: 500; }

.map {
  height: 240px;
  overflow: hidden;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Подвал ---------- */

.footer {
  padding-block: 46px 34px;
  background: var(--brand-900);
  color: var(--brand-300);
}
.footer__inner { display: grid; gap: 26px; }

.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { display: block; color: #f8fafc; font-size: 1rem; }
.footer__brand small { color: var(--brand-300); font-size: .84rem; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__nav a { color: var(--brand-300); text-decoration: none; font-size: .95rem; }
.footer__nav a:hover { color: var(--accent-500); }

.footer__copy {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--brand-800);
  font-size: .86rem;
  color: var(--brand-500);
}

/* ---------- Просмотрщик фотографий ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(15, 23, 42, .92);
}
.lightbox[hidden] { display: none; }

.lightbox__figure { margin: 0; max-width: min(1000px, 100%); }
.lightbox__figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}
.lightbox__figure figcaption {
  margin-top: 16px;
  color: #e2e8f0;
  text-align: center;
  font-size: .98rem;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
  color: #f8fafc;
  background: rgba(255, 255, 255, .1);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }

body.is-locked { overflow: hidden; }

/* ---------- Появление при прокрутке ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Четыре опоры школы ---------- */

.pillars {
  padding-block: 52px;
  background: var(--brand-900);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.pillar__num {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-500);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.pillar h3 {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: 1.08rem;
}

.pillar p {
  margin: 0;
  color: var(--brand-300);
  font-size: .94rem;
  line-height: 1.6;
}

/* ---------- Программы ---------- */

.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 26px;
}

.stage {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--brand-100);
  border-top: 3px solid var(--accent-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.stage:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.stage__head {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--brand-100);
}
.stage__head h3 { margin: 0; font-size: 1.22rem; }
.stage__age {
  margin-bottom: 6px;
  color: var(--accent-600);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.stage__sub { color: var(--muted); font-size: .92rem; font-weight: 500; }

.stage > p { color: var(--brand-700); font-size: .97rem; }

.stage ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.stage li {
  position: relative;
  padding-left: 26px;
  color: var(--brand-700);
  font-size: .93rem;
}
.stage li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent-500);
  border-bottom: 2px solid var(--accent-500);
  transform: rotate(-45deg);
}

.extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.extra {
  padding: 30px 28px;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 100%);
  border-radius: var(--radius-lg);
  color: #cbd5e1;
}
.extra h3 { color: #f8fafc; margin-bottom: 12px; }
.extra p { margin-bottom: 14px; font-size: .97rem; }
.extra p:last-child { margin-bottom: 0; }
.extra__list {
  color: var(--accent-500);
  font-size: .89rem;
  font-weight: 600;
  letter-spacing: .01em;
}

/* ============================================================
   Адаптив
   ============================================================ */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-block: 56px 64px; }
  .hero__media { max-width: 620px; }
  .hero__card { left: 12px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .contacts { grid-template-columns: 1fr; gap: 34px; }
  .news { grid-template-columns: repeat(2, 1fr); }
  .news__item--featured { grid-column: span 2; grid-row: auto; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 30px; }
  .stages { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--brand-100);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav__cta { margin: 10px 0 0; }

  .section { padding-block: 60px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 30px; }
  .news { grid-template-columns: 1fr; }
  .news__item--featured { grid-column: auto; padding: 30px; }
  .info__list li { grid-template-columns: 1fr; gap: 4px; }
  .form { padding: 26px 22px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .hero__inner { padding-block: 40px 52px; }
  .hero__card { position: static; margin-top: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat dd { font-size: 1.5rem; }
  .gallery { grid-template-columns: 1fr; }
  .lightbox { padding: 16px; }
  .pillars__grid { grid-template-columns: 1fr; gap: 22px; }
  .pillars { padding-block: 40px; }
  .stage { padding: 26px 22px; }
  .extra { padding: 26px 22px; }
}

/* ---------- Печать ---------- */

@media print {
  .header, .nav-toggle, .hero__card, .lightbox, .skip-link, .footer__nav { display: none; }
  body { font-size: 12pt; }
  .section { padding-block: 18pt; page-break-inside: avoid; }
  .news__item, .card, .form { box-shadow: none; border: 1pt solid #ccc; }
}