/* ══════════════════════════════════════════════════════════════════
   Pay & Fiscal — лендинг payandfiscal.ru.
   Стиль — токены приложения (TUI Design System, ui/theme: Color.kt /
   Type.kt / Shape.kt). Структура — «коллаж»: стикеры вокруг заголовка,
   наклонная лента, косые секции, зигзаг-таймлайн, веер, доска.
   ══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/roboto-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/roboto-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/roboto-700.woff2) format('woff2');
}

:root {
  /* Цвета приложения */
  --accent: #FFDD2D;          /* TuiAccent — главный CTA */
  --accent-hover: #FCC521;
  --on-accent: #333333;       /* TuiOnAccent — текст на жёлтом */
  --action: #428BF9;          /* TuiAccent2 — акцент для иконок и заливок */
  --action-text: #2264C9;     /* синий для текста: тот же тон, но контраст AA */
  --positive: #00B92D;        /* OperationGreen — успешные суммы */
  --negative: #F52222;        /* ошибки */
  --bg: #FFFFFF;
  --fill: #F6F7F8;            /* NeutralFill — поля и чипы */
  --neutral-1: rgba(0, 16, 36, 0.03);
  --border: rgba(0, 16, 36, 0.12);
  --text: #333333;
  --text-secondary: #66707B;  /* затемнён относительно TUI ради контраста AA */
  --text-tertiary: rgba(0, 16, 36, 0.22);
  --graphite: #3C4554;        /* фон иконки приложения */
  --graphite-dark: #3D4551;
  --graphite-light: #5B636F;

  /* Радиусы Shape.kt: 4/8/12/16/24 */
  --r-s: 12px;
  --r-m: 16px;
  --r-l: 24px;

  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  font-family: 'Roboto', -apple-system, system-ui, sans-serif;
  font-size: 17px;             /* bodyL 17sp */
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
}

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

h1, h2, h3 { font-weight: 500; line-height: 1.2; }
h1 { font-size: 46px; letter-spacing: -0.5px; }
h2 { font-size: 32px; margin-bottom: 12px; }   /* heading4 28sp ≈ */
h3 { font-size: 20px; }                        /* heading6 20sp */
p  { color: var(--text); }

a { color: var(--action-text); text-decoration: none; }

img { display: block; }

/* Маркер-выделение в заголовке (жёлтый штрих в стиле Т-Банка) */
h1 mark {
  background: linear-gradient(0deg, var(--accent) 0 34%, transparent 34%);
  color: inherit;
}

/* ─── Кнопки: плоские плиты, радиус 16, высота 56 — как в приложении ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--r-m);
  font-size: 16px;             /* labelLarge 16sp Medium */
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: scale(0.98); }

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

.btn--secondary { background: var(--neutral-1); color: var(--action-text); }
.btn--secondary:hover { background: rgba(0, 16, 36, 0.06); }

.btn--compact { height: 44px; padding: 0 20px; }
.btn--big { height: 60px; padding: 0 36px; font-size: 17px; }

/* ─── Шапка: плавающая пилюля, «жидкое стекло» (макет Figma 3336:1644) ─── */
.header {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1112px, calc(100% - 32px));
  border-radius: 100px;
  /* стекло: почти прозрачная плёнка, фон под ней размывается и насыщается */
  background: linear-gradient(115deg,
    rgba(255, 255, 255, 0.40) 0%,
    rgba(255, 255, 255, 0.12) 38%,
    rgba(255, 255, 255, 0.20) 72%,
    rgba(255, 255, 255, 0.34) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 12px 34px rgba(0, 16, 36, 0.13),          /* тень под стеклом */
    0 0 0 1px rgba(0, 16, 36, 0.04),            /* тонкая внешняя кромка */
    inset 0 1px 1px rgba(255, 255, 255, 0.9),   /* световая грань сверху */
    inset 0 -12px 24px -16px rgba(0, 16, 36, 0.10); /* толща стекла снизу */
}
/* блики-отражения на поверхности */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(130% 220% at 10% -30%, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(90% 200% at 92% 130%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 38%);
}
/* без backdrop-filter стекло не работает — даём плотную подложку */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header { background: rgba(246, 247, 248, 0.96); }
}
.header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 63px;
  padding: 0 12px 0 20px;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.header__logo { width: 36px; height: 36px; }
.header__nav {
  display: flex;
  gap: 20px;
}
.header__nav a {
  color: var(--text);
  font-size: 15px;
  white-space: nowrap;
}
.header__nav a:hover { color: var(--action-text); }
/* синяя кнопка из макета: 39px, полностью скруглённая */
.btn--header {
  height: 39px;
  padding: 0 20px;
  border-radius: 100px;
  background: var(--action);
  color: #fff;
  font-size: 15px;
}
.btn--header:hover { background: #2F7BE8; }

/* ─── Общее для секций ─── */
.section { padding: 80px 0; }
.section--fill { background: var(--fill); }
.section__sub {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 8px;
  max-width: 640px;
}
.section__sub--light { color: rgba(255, 255, 255, 0.72); }

.chip {
  display: inline-block;
  background: var(--fill);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 19px;
  color: var(--text);
  opacity: 0.8;
  margin: 20px 0 28px;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ─── Карточки ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.cards--integrations { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg);
  border-radius: var(--r-l);
  padding: 28px;
}
.section:not(.section--fill) .card { background: var(--fill); }
.card__icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: rgba(66, 139, 249, 0.10);
  position: relative;
  margin-bottom: 18px;
}
.card__icon::after {
  content: '';
  position: absolute;
  inset: 11px;
  background-color: var(--action);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.card h3 { margin-bottom: 8px; font-size: 18px; }
.card p { font-size: 15px; opacity: 0.75; }

/* ─── Формула: Pay to Phone + CloudKassir = касса ─── */
.formula {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}
.formula__pill {
  padding: 14px 24px;
  border-radius: 100px;
  background: var(--fill);
  font-size: 17px;
  font-weight: 500;
}
.formula__pill--result {
  background: var(--accent);
  color: var(--on-accent);
}
.formula__op {
  font-size: 26px;
  font-weight: 500;
  color: var(--text-secondary);
}
.formula__note {
  text-align: center;
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ─── Бейджи сервисов ─── */
.role__badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.role__badge--manager { background: rgba(66, 139, 249, 0.12); color: var(--action-text); }
.role__badge--admin { background: rgba(0, 185, 45, 0.12); color: #00701C; }
.role__badge--owner { background: var(--accent); color: var(--on-accent); }

/* ─── Карточки «кто за что отвечает» (на графите) ─── */
.duty {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-l);
  padding: 26px;
}
.duty--ours {
  background: rgba(255, 221, 45, 0.10);
  border-color: rgba(255, 221, 45, 0.45);
}
.duty ul { list-style: none; }
.duty li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}
.duty li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.duty--ours li::before { background: var(--accent); }
.duty .role__badge { margin-bottom: 16px; }
/* на графите цветные бейджи ролей нечитаемы — здесь это светлые плашки */
.duty .role__badge--manager { background: rgba(255, 255, 255, 0.92); color: #2264C9; }
.duty .role__badge--admin { background: rgba(255, 255, 255, 0.92); color: #00701C; }
.duties__note {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--r-m);
  padding: 18px 24px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* ─── Контакты ─── */
.contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
  max-width: 860px;
}
.contact-card {
  background: var(--bg);
  border-radius: var(--r-l);
  padding: 28px;
}
.contact-card h3 { margin-bottom: 8px; font-size: 18px; }
.contact-card p { font-size: 15px; opacity: 0.75; }

/* ─── Футер ─── */
.footer {
  background: var(--graphite-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 500;
}
.footer__nav { display: flex; gap: 20px; }
.footer__nav a { color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.footer__nav a:hover { color: #fff; }
.footer__legal {
  flex-basis: 100%;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* ══════════════════════════════════════════════════════════════════
   Коллажный слой
   ══════════════════════════════════════════════════════════════════ */

/* ─── Появление при скролле (js/motion.js вешает .in) ─── */
@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .rv--left { transform: translateX(-36px); }
  .rv--right { transform: translateX(36px); }
  .rv[data-d="1"] { transition-delay: 0.08s; }
  .rv[data-d="2"] { transition-delay: 0.16s; }
  .rv[data-d="3"] { transition-delay: 0.24s; }
  .rv.in { opacity: 1; transform: none; }
}

/* ─── Hero-коллаж ─── */
.hero3 {
  position: relative;
  padding: 158px 0 110px;   /* 30 + 63 пилюли + воздух */
  text-align: center;
  overflow: hidden;
}
.hero3 .chip { margin-bottom: 22px; }
.hero3 h1 { max-width: 760px; margin: 0 auto; }
.hero3 .hero__sub { margin: 22px auto 30px; }
.hero3 .hero__actions { justify-content: center; }
.hero3 .hero__note { text-align: center; }

/* стикеры вокруг заголовка */
.sticker {
  position: absolute;
  z-index: 1;
  border-radius: var(--r-m);
  box-shadow: 0 14px 34px rgba(0, 16, 36, 0.14);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .sticker { animation: drift 7s ease-in-out infinite; }
  .sticker:nth-child(odd) { animation-duration: 8.5s; animation-delay: 1.2s; }
  @keyframes drift {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
  }
}
.sticker--paid {
  left: 6%; top: 190px;
  rotate: -7deg;
  background: var(--bg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: left;
}
.sticker--paid b { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.sticker--paid .float-card__check {
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--positive);
  color: #fff;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.sticker--card {
  right: 5%; top: 170px;
  rotate: 8deg;
  width: 150px; height: 94px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--graphite-light), var(--graphite-dark));
}
.sticker--card::before {
  content: '';
  position: absolute;
  top: 16px; left: 16px;
  width: 26px; height: 19px;
  border-radius: 5px;
  background: linear-gradient(135deg, #FFE666, #FCC521);
}
.sticker--card::after {
  content: '•••• 2154';
  position: absolute;
  left: 16px; bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 2px;
}
.sticker--receipt {
  left: 10%; bottom: 90px;
  rotate: 5deg;
  background: var(--bg);
  border-radius: 14px 14px 0 0;
  padding: 14px 16px 12px;
  width: 168px;
  font-size: 12px;
  text-align: left;
}
.sticker--receipt::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 7px;
  background: var(--bg);
  clip-path: polygon(0 0, 7% 100%, 14% 0, 21% 100%, 28% 0, 35% 100%, 42% 0, 50% 100%,
    58% 0, 65% 100%, 72% 0, 79% 100%, 86% 0, 93% 100%, 100% 0);
}
.sticker--receipt i {
  display: flex;
  justify-content: space-between;
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 8px;
}
.sticker--receipt i em { font-style: normal; color: var(--positive); font-size: 11.5px; }
.sticker--receipt u {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--fill);
  margin-bottom: 6px;
  text-decoration: none;
}
.sticker--receipt u:last-child { width: 60%; }
.sticker--qr {
  right: 9%; bottom: 110px;
  rotate: -6deg;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
}
.sticker--nfc {
  left: 23%; top: 100px;
  rotate: 4deg;
  background: var(--fill);
  color: var(--text);
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  box-shadow: none;
}

/* ─── Наклонная бегущая лента ─── */
.ribbon {
  background: var(--accent);
  color: var(--on-accent);
  overflow: hidden;
  rotate: -1.6deg;
  scale: 1.03;
  margin: -8px 0 8px;
  box-shadow: 0 10px 30px rgba(252, 197, 33, 0.35);
}
.ribbon__inner { display: flex; width: max-content; padding: 12px 0; }
.ribbon__inner span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
  padding-right: 28px;
}
@media (prefers-reduced-motion: no-preference) {
  .ribbon__inner { animation: ribbon 20s linear infinite; }
  @keyframes ribbon { to { transform: translateX(-50%); } }
}

/* ─── Косые секции ─── */
.slant {
  position: relative;
  background: var(--fill);
  clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%);
  padding: calc(3vw + 64px) 0 calc(3vw + 64px);
  margin: 26px 0;
}
.slant--reverse {
  clip-path: polygon(0 0, 100% 3vw, 100% 100%, 0 calc(100% - 3vw));
}
.slant--dark {
  background: linear-gradient(135deg, var(--graphite-light) 0%, var(--graphite-dark) 60%);
  color: #fff;
}
.slant--dark h2 { color: #fff; }

/* ─── Зигзаг-таймлайн ─── */
.zig { position: relative; margin-top: 48px; }
.zig::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  border-left: 2px dashed rgba(0, 16, 36, 0.2);
}
.zig__item {
  position: relative;
  width: calc(50% - 44px);
  background: var(--bg);
  border-radius: var(--r-l);
  padding: 24px 26px;
  margin-bottom: 28px;
  box-shadow: 0 14px 36px rgba(0, 16, 36, 0.07);
}
.zig__item:nth-child(odd) { margin-right: auto; }
.zig__item:nth-child(even) { margin-left: auto; }
.zig__num {
  position: absolute;
  top: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  border: 5px solid var(--fill);
}
.zig__item:nth-child(odd) .zig__num { right: -66px; }
.zig__item:nth-child(even) .zig__num { left: -66px; }
.zig__item h3 { margin-bottom: 8px; }
.zig__item p { font-size: 15px; opacity: 0.75; }

/* ─── Веер «кто за что» ─── */
.fan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
  align-items: start;
}
.fan .duty {
  transition: rotate 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.3s ease;
}
.fan .duty:first-child { rotate: -3deg; translate: 6px 14px; }
.fan .duty:last-child { rotate: 3deg; translate: -6px 14px; }
.fan .duty:hover { rotate: 0deg; translate: 0 6px; }
.fan .duty--ours {
  rotate: 0deg;
  background: rgba(255, 221, 45, 0.12);
  border-color: rgba(255, 221, 45, 0.55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  z-index: 1;
}

/* ─── Доска-стикеры возможностей ─── */
.board {
  margin-top: 44px;
  border: 2px dashed var(--border);
  border-radius: 32px;
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background:
    radial-gradient(rgba(0, 16, 36, 0.05) 1.2px, transparent 1.6px) 0 0 / 22px 22px,
    var(--bg);
}
.board .card {
  position: relative;
  background: var(--fill);
  transition: rotate 0.25s ease, translate 0.25s ease, box-shadow 0.25s ease;
}
.board .card:nth-child(6n + 1) { rotate: -1.6deg; }
.board .card:nth-child(6n + 2) { rotate: 1.2deg; }
.board .card:nth-child(6n + 3) { rotate: -0.8deg; }
.board .card:nth-child(6n + 4) { rotate: 1.8deg; }
.board .card:nth-child(6n + 5) { rotate: -1.2deg; }
.board .card:nth-child(6n + 6) { rotate: 0.9deg; }
.board .card:hover {
  rotate: 0deg;
  translate: 0 -6px;
  box-shadow: 0 18px 40px rgba(0, 16, 36, 0.12);
}
/* «скотч» на карточках */
.board .card::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  translate: -50% 0;
  rotate: -4deg;
  width: 74px; height: 20px;
  background: rgba(255, 221, 45, 0.5);
  border-radius: 3px;
}

/* ─── Финальный аккорд: скачивание ─── */
.finale {
  text-align: center;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.finale h2 { font-size: clamp(28px, 4vw, 44px); }
.finale .section__sub { margin: 0 auto 30px; }
.finale__qr {
  margin: 36px auto 0;
  width: min(380px, 100%);
  background: var(--fill);
  border-radius: 28px;
  padding: 28px;
  rotate: -1.5deg;
  transition: rotate 0.3s ease;
}
.finale__qr:hover { rotate: 0deg; }
.finale__qr img { margin: 0 auto 10px; background: #fff; border-radius: var(--r-m); padding: 12px; }
.finale__qr > span {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.finale__meta { margin-top: 10px; font-size: 12.5px; color: var(--text-secondary); }
.finale__steps {
  max-width: 480px;
  margin: 30px auto 0;
  text-align: left;
  padding-left: 22px;
}
.finale__steps li { padding: 5px 0; font-size: 15.5px; opacity: 0.8; }

/* ─── Адаптив ─── */
@media (max-width: 960px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }

  .section { padding: 56px 0; }
  .cards, .cards--integrations, .contacts { grid-template-columns: 1fr; }
  .formula__pill { font-size: 15px; padding: 12px 18px; }

  .hero3 { padding: 64px 0 84px; }
  /* на узких экранах стикеры «выглядывают» из-за краёв, не задевая текст */
  .sticker--paid { left: -74px; top: -12px; bottom: auto; scale: 0.78; }
  .sticker--card { right: -70px; top: -20px; scale: 0.75; }
  .sticker--receipt { left: -86px; bottom: -34px; scale: 0.8; }
  .sticker--qr { right: -40px; bottom: 6px; scale: 0.85; }
  .sticker--nfc { display: none; }
  .slant { clip-path: polygon(0 16px, 100% 0, 100% calc(100% - 16px), 0 100%); padding: 72px 0; }
  .slant--reverse { clip-path: polygon(0 0, 100% 16px, 100% 100%, 0 calc(100% - 16px)); }
  .zig::before { left: 21px; }
  .zig__item { width: auto; margin-left: 56px !important; margin-right: 0 !important; }
  .zig__item .zig__num { left: -56px !important; right: auto !important; top: 20px; scale: 0.85; }
  .fan { grid-template-columns: 1fr; }
  .fan .duty { rotate: 0deg !important; translate: 0 0 !important; }
  .board { grid-template-columns: 1fr; padding: 22px; }
}

/* на мобильных и узких планшетах шапки нет — hero начинается сразу */
@media (max-width: 840px) {
  .header { display: none; }
  html { scroll-padding-top: 20px; }
  .hero3 { padding-top: 64px; }
}

@media (max-width: 420px) {
  .btn--big { width: 100%; }
  .hero__actions .btn { flex: 1; }
}
