/* AVatar Сайты — вариант в дизайн-системе Аспро (Приорити).
   Токены сняты с Figma «Priority2»: Onest, акцент #0077FF, радиус кнопки 8,
   карточки 20, секция 96×204 при 1920 (контейнер 1512), одна тень на систему. */

/* ── Шрифт ──────────────────────────────────────────────── */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('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('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 {
  --accent: #0077FF;
  --accent-hover: #1188FF;
  --accent-12: rgba(0, 119, 255, 0.12);
  --accent-35: rgba(0, 119, 255, 0.35);

  --text: #222428;
  --text-2: #555560;
  --text-3: #72809D;
  --muted: #9999AA;

  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;
  --line: #E4E8F3;
  --gray-hover: #E8EAED;
  --dark: #1A1C22;

  --warn: #EE8208;
  --err: #FC0017;

  --r-btn: 8px;
  --r-card: 20px;
  --r-sticker: 4px;
  --shadow: 0 4px 20px rgba(68, 68, 68, 0.12);

  --shell: 1512px;
  --gap: 24px;
  --sec-y: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
/* picture — обёртка без собственной геометрии: растягивается только img */
picture { display: contents; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

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

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

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

/* ── Типографика ────────────────────────────────────────── */
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }

.h1 { font-size: 48px; line-height: 58px; }
.section-title { font-size: 40px; line-height: 50px; }
.h3 { font-size: 28px; line-height: 38px; }

.lead { font-size: 18px; line-height: 28px; color: var(--text-2); margin: 0; }
.small { font-size: 14px; line-height: 22px; color: var(--text-3); }
.eyebrow {
  font-size: 13px; line-height: 16px; color: var(--muted);
  margin: 0 0 8px;
}

/* ── Кнопки (5 размеров × типы из набора Приорити) ──────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: inherit; font-weight: 500; line-height: 26px;
  padding: 12px 20px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  cursor: pointer; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--xl { padding: 14px 24px; font-size: 16px; }
.btn--sm { padding: 7px 16px; font-size: 15px; line-height: 24px; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }

.btn--secondary { background: var(--accent-12); color: var(--accent); }
.btn--secondary:hover { background: rgba(0, 119, 255, 0.18); color: var(--accent); }

.btn--transparent { background: transparent; border-color: var(--accent-35); color: var(--accent); }
.btn--transparent:hover { border-color: var(--accent); color: var(--accent-hover); }

.btn--gray { background: var(--bg-soft); color: var(--text); }
.btn--gray:hover { background: var(--gray-hover); color: var(--text); }

.btn--white { background: #fff; color: var(--text); }
.btn--white:hover { background: #F1F3F8; color: var(--text); }

.btn--blur {
  background: rgba(255, 255, 255, 0.18); color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}
.btn--blur:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

/* Круглая кнопка-стрелка 40×40 — универсальный маркер перехода */
.arrow-btn {
  flex: none;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--text);
  border: 0; border-radius: var(--r-btn); cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.arrow-btn:hover { background: var(--accent); color: #fff; }
.arrow-btn svg { width: 18px; height: 18px; }
.arrow-btn--onphoto { background: rgba(255, 255, 255, 0.92); color: var(--text); }
/* на серой подложке кнопка становится белой — иначе сливается с фоном секции */
.section--soft .arrow-btn { background: #fff; border: 1px solid var(--line); }
.section--soft .arrow-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Верхняя полоса + шапка ─────────────────────────────── */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px; line-height: 16px; color: var(--text-3);
}
.topbar__row { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 32px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand__mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--accent);
  position: relative; flex: none;
}
.brand__mark::after {
  content: ''; position: absolute; inset: 9px 9px auto 9px; height: 14px;
  border: 2px solid #fff; border-radius: 4px 4px 7px 7px; border-bottom-width: 3px;
}
.brand__word { font-weight: 500; font-size: 18px; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__link { color: var(--text); font-size: 15px; }
.nav__link:hover { color: var(--accent); }
.nav__phone { color: var(--text); font-weight: 500; }
.nav__phone:hover { color: var(--accent); }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-btn);
  background: #fff; cursor: pointer;
}
.burger__line { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--text); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: #fff; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; height: 76px; border-bottom: 1px solid var(--line); }
.mobile-menu__close { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--text); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.mobile-menu__link {
  display: block; padding: 14px 0; font-size: 18px; color: var(--text);
  border: 0; background: none; text-align: left; cursor: pointer; border-bottom: 1px solid var(--line);
}
.mobile-menu__link--cta { color: var(--accent); font-weight: 500; }

/* ── Секции ─────────────────────────────────────────────── */
.section { padding: var(--sec-y) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-bottom: 0; }

/* Шапка секции: заголовок с шевроном слева, лид справа */
.section__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
  gap: 40px; align-items: start;
  margin-bottom: 48px;
}
.section__head--single { grid-template-columns: minmax(0, 900px); }
.title-link { display: inline-flex; align-items: center; gap: 14px; color: var(--text); }
.title-link svg { width: 22px; height: 22px; color: var(--text); flex: none; }
.title-link:hover { color: var(--accent); }
.title-link:hover svg { color: var(--accent); }

/* ── Герой: главный баннер с фотографией ────────────────── */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 20, 0.86) 0%, rgba(10, 12, 20, 0.62) 52%, rgba(10, 12, 20, 0.38) 100%);
}
.hero__inner { position: relative; padding-top: 104px; padding-bottom: 56px; }
.hero__copy { max-width: 760px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.72); }
.hero__title { color: #fff; }
.hero__lead { color: rgba(255, 255, 255, 0.82); font-size: 18px; line-height: 28px; margin: 20px 0 0; max-width: 660px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin: 16px 0 0; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, 0.62); }

/* Полоса миниатюр под баннером — приём главной Приорити */
.hero__strip {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  margin-top: 56px;
}
.strip-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.06);
  aspect-ratio: 16 / 10;
}
.strip-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .3s ease; }
.strip-card:hover img { transform: scale(1.03); }
.strip-card__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 20, 0) 0%, rgba(0, 0, 20, 0.72) 100%);
  color: #fff; font-size: 15px; line-height: 22px; font-weight: 500;
}

/* ── Карточки-квадраты (одна с фотографией) ─────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  min-height: 320px; padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
}
.card__title { font-size: 20px; line-height: 30px; font-weight: 500; margin: 0 0 12px; }
.card__text { margin: 0; color: var(--text-2); font-size: 15px; line-height: 24px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 24px; }
.card__num { font-size: 44px; line-height: 44px; font-weight: 500; color: var(--accent); }

.card--photo { border-color: transparent; overflow: hidden; color: #fff; }
.card--photo .card__text { color: rgba(255, 255, 255, 0.82); }
.card--photo .card__num { color: #fff; }
.card__media { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r-card); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 20, 0.62) 0%, rgba(0, 0, 20, 0.48) 100%);
}
/* текст поднимается над фотографией, сама подложка остаётся absolute */
.card--photo > :not(.card__media) { position: relative; }

/* ── Строчный список с цифрами ──────────────────────────── */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 150px minmax(0, 300px) minmax(0, 1fr) 56px;
  gap: 32px; align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.row__num { font-size: 60px; line-height: 60px; font-weight: 500; color: var(--accent); }
.row__title { font-size: 20px; line-height: 30px; font-weight: 500; margin: 0; }
.row__text { margin: 0; color: var(--text-2); font-size: 15px; line-height: 24px; }
.row__aside { display: flex; justify-content: flex-end; }

/* ── Плитки-кадры ───────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.tile__media { position: relative; overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tile__body { padding: 24px; }
.tile__title { font-size: 16px; line-height: 26px; font-weight: 500; margin: 0 0 6px; }
.tile__text { margin: 0; font-size: 14px; line-height: 22px; color: var(--text-3); }

/* ── Баннер с текстом (половина фото, половина текст) ───── */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { border-radius: var(--r-card); overflow: hidden; background: var(--bg-soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body p { color: var(--text-2); font-size: 16px; line-height: 26px; }
.split__body .section-title { margin-bottom: 20px; }

.facts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 32px; }
.fact__num { font-size: 40px; line-height: 48px; font-weight: 500; color: var(--accent); }
.fact__label { font-size: 14px; line-height: 22px; color: var(--text-3); max-width: 200px; margin: 4px 0 0; }

/* ── Работы ─────────────────────────────────────────────── */
.works { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.work {
  position: relative; grid-column: span 2;
  border-radius: var(--r-card); overflow: hidden;
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; color: #fff;
  background: var(--dark);
}
.work--wide { grid-column: span 3; min-height: 400px; }
.work__media { position: absolute; inset: 0; }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.work:hover .work__media img { transform: scale(1.04); }
.work__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 20, 0.18) 0%, rgba(0, 0, 20, 0.42) 45%, rgba(0, 0, 20, 0.92) 100%);
}
.work__tag {
  position: relative; align-self: flex-start;
  font-size: 13px; line-height: 16px; padding: 4px 10px; border-radius: var(--r-sticker);
  background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px);
  margin-bottom: 12px;
}
.work__title { position: relative; font-size: 22px; line-height: 30px; font-weight: 500; margin: 0 0 8px; }
.work__line { position: relative; margin: 0; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, 0.78); max-width: 440px; }

/* ── Чеклист поставки ───────────────────────────────────── */
.included { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.checklist__item { display: flex; gap: 14px; }
.checklist__item svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 1px; }
.checklist__title { display: block; font-weight: 500; margin-bottom: 4px; }
.checklist__text { color: var(--text-2); font-size: 15px; line-height: 24px; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 32px; box-shadow: var(--shadow);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.panel__title { font-size: 20px; line-height: 30px; font-weight: 500; margin: 0; }
.panel__sticker {
  font-size: 13px; line-height: 16px; padding: 4px 10px; border-radius: var(--r-sticker);
  background: rgba(238, 130, 8, 0.14); color: #B6650A;
}
.leaders { list-style: none; margin: 0; padding: 0; }
.leaders__row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
  font-size: 15px; line-height: 24px;
}
.leaders__row:last-child { border-bottom: 0; }
.leaders__key { color: var(--text-2); }
.leaders__dots { flex: 1; border-bottom: 1px dotted #C9D0E3; transform: translateY(-4px); }
.leaders__val { font-weight: 500; white-space: nowrap; }
.panel__foot { margin-top: 24px; }
.panel__foot .btn { width: 100%; }

/* ── Тёмный CTA ─────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ''; position: absolute; inset: 0; background: rgba(8, 10, 18, 0.72); }
.cta__inner { position: relative; padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: center; }
.cta .eyebrow { color: rgba(255, 255, 255, 0.6); }
.cta__title { color: #fff; }
.cta__text { color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 26px; max-width: 640px; }
.cta__side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta__contact { font-size: 24px; line-height: 32px; font-weight: 500; color: #fff; }
.cta__sub { font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* ── Футер ──────────────────────────────────────────────── */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; }
.footer__head { font-size: 13px; line-height: 16px; color: var(--muted); margin: 0 0 16px; }
.footer__link { display: block; padding: 6px 0; color: var(--text); font-size: 15px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; }
.footer__link:hover { color: var(--accent); }
.footer__brand { color: var(--text-2); font-size: 15px; line-height: 24px; margin: 0 0 16px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  padding: 24px 0; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 16px; color: var(--text-3);
}
.footer__bottom a { color: var(--text-3); }
.footer__bottom a:hover { color: var(--accent); }

/* ── Модалка ────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(16, 18, 26, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  width: 100%; max-width: 460px; background: #fff; border-radius: var(--r-card);
  padding: 48px; box-shadow: var(--shadow); position: relative;
}
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 18px; }
.modal__close:hover { color: var(--text); }
.modal__title { font-size: 24px; line-height: 32px; margin: 0 0 8px; }
.modal__text { color: var(--text-2); font-size: 15px; line-height: 24px; margin: 0 0 24px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label { font-size: 14px; line-height: 22px; color: var(--text-2); }
.form-row input[type="text"], .form-row input[type="password"] {
  font: inherit; font-size: 15px; padding: 11px 16px;
  border: 1px solid var(--line); border-radius: var(--r-btn); background: #fff; color: var(--text);
}
.form-row input:focus { border-color: var(--accent); outline: none; }
.form-check { flex-direction: row; align-items: flex-start; gap: 10px; margin: 20px 0 24px; }
.form-check label { font-size: 13px; line-height: 20px; color: var(--text-3); }
.form-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
.modal .btn { width: 100%; }

/* ── Появление ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal-done { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Адаптив ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --sec-y: 72px; }
  .h1 { font-size: 40px; line-height: 48px; }
  .section-title { font-size: 32px; line-height: 40px; }
  .split { gap: 40px; }
  .included { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .works { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work, .work--wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .topbar__right { display: none; }
  .section__head { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 32px; }
  .cards-3 { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 240px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .cta__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 64px 0; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row {
    grid-template-columns: 72px minmax(0, 1fr) 40px;
    grid-template-areas: 'num title arrow' 'num text text';
    gap: 8px 20px; padding: 24px 0;
  }
  .row__num { grid-area: num; font-size: 40px; line-height: 40px; }
  .row__title { grid-area: title; }
  .row__text { grid-area: text; }
  .row__aside { grid-area: arrow; }
}

@media (max-width: 620px) {
  :root { --sec-y: 56px; }
  .h1 { font-size: 32px; line-height: 40px; }
  .section-title { font-size: 26px; line-height: 34px; }
  .hero__inner { padding-top: 64px; padding-bottom: 40px; }
  .hero__actions .btn { width: 100%; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .works { grid-template-columns: minmax(0, 1fr); }
  .work, .work--wide { grid-column: span 1; min-height: 300px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .modal { padding: 32px 24px; }
  .facts { gap: 24px; }
}
