/* ЯрВторМет — демоверсия. Стиль «Графит и сталь»: графит, стальные серые, белый, оранжевые акценты. */

:root {
  --g-950: #1d2025;
  --g-900: #262a30;
  --g-800: #30353c;
  --g-700: #3d434b;
  --steel-600: #5b636d;
  --steel-500: #78818b;
  --steel-400: #9aa2ab;
  --steel-300: #c3c9cf;
  --steel-200: #dde1e5;
  --steel-100: #eceef1;
  --steel-50: #f5f6f8;
  --white: #ffffff;
  --accent: #f07022;
  --accent-600: #d95f14;
  --accent-soft: rgba(240, 112, 34, .12);
  --text: #1f2328;
  --muted: #5b636d;
  --danger: #c8372d;

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(29,32,37,.06), 0 8px 24px rgba(29,32,37,.08);
  --shadow-lg: 0 2px 4px rgba(29,32,37,.08), 0 18px 40px rgba(29,32,37,.14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 16px;
  --dock-h: calc(72px + env(safe-area-inset-bottom));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--steel-50);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--dock-h);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 18px rgba(240,112,34,.28); }
.btn--primary:hover { background: var(--accent-600); box-shadow: 0 8px 22px rgba(240,112,34,.36); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn--dark { background: var(--g-900); color: var(--white); }
.btn--dark:hover { background: var(--g-700); }

/* ---------- Шапка ---------- */
.header {
  position: relative; z-index: 20;
  background: var(--g-900);
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--white);
}
.header__row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "logo phone" "switch switch" "nav nav";
  align-items: center; gap: 10px 16px;
  padding-top: 12px; padding-bottom: 12px;
}
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* Значок — векторный (SVG в разметке), цвет берётся из color */
.logo__mark { display: block; width: 27px; height: 31px; flex: none; color: var(--white); }
/* Надпись повторяет образец wordmark-reference.jpg. Цвет образца (#253245) на тёмной шапке
   не читается, поэтому здесь белый — как на вывеске с фото. */
.logo__text {
  font-family: "Wix Madefor Display", var(--font-body); font-size: 23px; font-weight: 800;
  line-height: 1; letter-spacing: -.01em; color: var(--white);
}
.logo__accent { color: var(--accent); }

/* Кнопка отдельного магазина «Деловой лом» (на месте прежнего телефона): оранжевый контур */
.shop {
  grid-area: phone;
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 6px 12px 6px 10px; border-radius: var(--radius-sm);
  border: 2px solid var(--accent); color: var(--white);
  text-decoration: none; white-space: nowrap; line-height: 1;
  transition: background-color .2s var(--ease);
}
.shop svg { width: 22px; height: 22px; flex: none; color: var(--accent); transition: color .2s; }
.shop__text { display: grid; gap: 3px; }
.shop__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .03em; text-transform: uppercase; }
.shop__sub { font-size: 12px; font-weight: 500; color: var(--steel-300); transition: color .2s; }
.shop:hover { background: var(--accent); }
.shop:hover svg, .shop:hover .shop__sub { color: var(--white); }

.switch {
  grid-area: switch; position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: var(--radius-sm);
  background: var(--g-800); border: 1px solid rgba(255,255,255,.08);
}
.switch__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 4px; background: var(--accent);
  transition: transform .35s var(--ease);
}
body[data-audience="business"] .switch__thumb { transform: translateX(100%); }
.switch__btn {
  position: relative; z-index: 1;
  min-height: 40px; padding: 0 12px;
  border: 0; background: transparent; color: var(--steel-300);
  font-family: var(--font-display); font-size: 15px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  transition: color .25s var(--ease);
}
.switch__btn[aria-selected="true"] { color: var(--white); }
.switch__btn:not([aria-selected="true"]):hover { color: var(--white); }

/* Меню: на телефоне — строка с горизонтальной прокруткой под переключателем */
.nav {
  grid-area: nav;
  display: flex; gap: 6px;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  overflow-x: auto; scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; padding: 7px 12px; border-radius: 999px;
  background: var(--g-800); border: 1px solid rgba(255,255,255,.08);
  color: var(--steel-200); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
}
/* Телефоны и планшеты: все пять пунктов в одну строку без прокрутки.
   Длинные названия переносятся на две строки внутри своей кнопки. */
@media (max-width: 999px) {
  .nav { gap: 3px; margin: 0 -8px; padding: 0; overflow: visible; }
  .nav a {
    flex: 1 1 auto;
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 4px 3px; border-radius: 8px;
    font-size: clamp(10.5px, 3.3vw, 13px); line-height: 1.15; text-align: center; white-space: normal;
  }
}

@media (min-width: 1000px) {
  .header { position: sticky; top: 0; }
  .header__row {
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas: "logo switch nav phone";
    gap: 20px; padding-top: 14px; padding-bottom: 14px;
  }
  .switch { width: 290px; }
  .nav { justify-content: flex-end; gap: 18px; margin: 0; padding: 0; overflow: visible; }
  .nav a { padding: 0; border: 0; border-radius: 0; background: none; color: var(--steel-300); font-size: 14px; transition: color .2s; }
  .switch__btn { padding: 0 8px; font-size: 14px; letter-spacing: .03em; white-space: nowrap; }
  .nav a:hover { color: var(--white); }
}
/* Узкие ноутбуки: кнопке магазина не хватает места в одной строке — меню уходит во вторую строку шапки */
@media (min-width: 1000px) and (max-width: 1279px) {
  .header__row {
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "logo switch phone" "nav nav nav";
    gap: 10px 20px; padding-top: 10px; padding-bottom: 10px;
  }
  .shop { justify-self: end; }
  .nav { justify-content: flex-start; gap: 22px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.07); }
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--white);
  background: var(--g-900);
}
/* Заглушка под фото: «стальная» текстура из градиентов. Фото подставляется через background-image. */
.hero__photo {
  position: absolute; inset: -12px; z-index: -2;
  background:
    radial-gradient(70% 60% at 78% 30%, rgba(154,162,171,.22), transparent 70%),
    radial-gradient(50% 50% at 95% 90%, rgba(240,112,34,.12), transparent 70%),
    repeating-linear-gradient(100deg, rgba(255,255,255,.025) 0 2px, transparent 2px 7px),
    linear-gradient(135deg, var(--g-800), var(--g-900) 55%, var(--g-950));
  background-size: cover;
  background-position: center;
  background-image: url("../../images/hero-scrap.jpg");
  filter: blur(1.5px);
  /* Плавное приближение и отдаление: 4,5 с туда + 4,5 с обратно = цикл 9 с.
     Двигается только фоновый слой, текст и кнопки неподвижны. */
  transform-origin: 50% 60%;
  animation: hero-zoom 4.5s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(38,42,48,.94) 0%, rgba(38,42,48,.78) 55%, rgba(38,42,48,.45) 100%),
    linear-gradient(0deg, rgba(29,32,37,.6), transparent 40%);
}
.hero__inner { position: relative; padding-top: 44px; padding-bottom: 40px; }
.hero__content { max-width: 820px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--steel-300);
}
.hero__eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }

/* Телефоны в начале первого экрана: мобильный крупно, городской мельче, под ними часы работы */
.hero__phones {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 28px;
  padding-bottom: 20px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.hero__tel { color: var(--white); text-decoration: none; white-space: nowrap; }
.hero__tel--main { display: inline-flex; align-items: center; gap: 14px; }
.hero__tel-icon {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--accent); box-shadow: 0 6px 18px rgba(240,112,34,.35);
}
.hero__tel-icon svg { width: 24px; height: 24px; color: var(--white); }
.hero__tel-num { font-family: var(--font-display); line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; transition: color .2s; }
.hero__tel--main .hero__tel-num { font-weight: 600; font-size: clamp(30px, 8.6vw, 62px); }
.hero__tel--city .hero__tel-num { font-weight: 500; font-size: clamp(22px, 6vw, 34px); color: var(--steel-200); }
.hero__tel-label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; color: var(--steel-300); }
.hero__tel:hover .hero__tel-num { color: var(--accent); }
.hero__hours { width: 100%; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--steel-300); }
.hero__hours svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
@media (min-width: 640px) {
  .hero__tel--city { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }
}

.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 9.4vw, 74px); line-height: 1.08;
  letter-spacing: .005em; text-transform: uppercase;
  text-wrap: balance;
}
.hero__lead { margin-top: 18px; max-width: 36ch; font-size: 18px; color: var(--steel-200); }
.hero__actions { display: grid; gap: 12px; margin-top: 28px; }

.hero__chips {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero__chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-size: 14px; color: var(--steel-100);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__chips svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

@media (min-width: 640px) {
  .hero__actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 1000px) {
  .hero { min-height: min(760px, calc(100vh - 73px)); display: flex; align-items: center; }
  .hero__inner { padding-top: 64px; padding-bottom: 88px; }
  .hero__tel-icon { width: 64px; height: 64px; border-radius: var(--radius); }
  .hero__tel-icon svg { width: 32px; height: 32px; }
  .hero__lead { font-size: 21px; }
  .hero__chips { margin-top: 48px; gap: 10px; }
  .hero__chips li { font-size: 15px; padding: 9px 14px; }
}

/* Появление первого экрана */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.anim-in { animation: rise .75s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }

/* ---------- Счётчики внизу первого экрана: четыре карточки в один ряд на любой ширине ---------- */
.stats__list {
  list-style: none; margin: 24px -8px 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
}
.stats__card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-width: 0; padding: 10px 4px; text-align: center;
  background: var(--steel-100); border: 1px solid rgba(255,255,255,.7); border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.stats__num {
  font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: 0;
  font-size: clamp(20px, 6.2vw, 38px); color: var(--accent);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stats__label {
  max-width: 100%;
  font-size: clamp(10px, 3.1vw, 14px); line-height: 1.2; color: var(--muted);
  overflow-wrap: break-word; hyphens: auto;
}
/* Телефоны: подписи разной длины — прижимаем содержимое к верху,
   чтобы цифры стояли на одной линии и подписи начинались с одного уровня */
@media (max-width: 639px) {
  .stats__card { justify-content: flex-start; }
}
@media (min-width: 640px) {
  .stats__list { gap: 12px; margin: 32px 0 0; }
  .stats__card { gap: 6px; min-height: 100px; padding: 16px 10px; border-radius: 14px; }
}
@media (min-width: 1000px) {
  .stats__list { gap: 20px; margin-top: 40px; }
  .stats__card { padding: 18px 16px; }
}

/* ---------- Секции ---------- */
.flow { display: flex; flex-direction: column; }
/* Для предприятий их блок поднимается сразу под первый экран */
body[data-audience="business"] [data-block="business"] { order: -1; }

.section { padding: 64px 0; scroll-margin-top: 0; }
.section--white { background: var(--white); }
.section--light { background: var(--steel-100); }
.section--dark { background: var(--g-900); color: var(--white); }

.section__head { margin-bottom: 32px; }
.section__head--row { display: grid; gap: 20px; align-items: end; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-600);
}
.kicker::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
.kicker--accent { color: var(--accent); }
.section__title {
  margin-top: 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 7.6vw, 54px); line-height: 1.26; text-transform: uppercase;
  max-width: 20ch; text-wrap: balance;
}
.section__sub {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 14px; color: var(--muted); font-size: 16px;
}
.section__sub svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

@media (min-width: 1000px) {
  .section { padding: 96px 0; scroll-margin-top: 72px; }
  .section__head { margin-bottom: 44px; }
  .section__head--row { grid-template-columns: 1fr auto; }
}

/* Появление при прокрутке (включается скриптом, без него всё видно сразу) */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }

/* ---------- Преимущества ---------- */
.adv { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.adv__item {
  display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start;
  padding: 18px; border: 1px solid var(--steel-200); border-radius: var(--radius);
  background: var(--white);
}
.adv__icon {
  grid-row: span 2;
  width: 52px; height: 52px; padding: 11px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.adv__item h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.adv__item p { margin-top: 4px; color: var(--muted); font-size: 15px; }

@media (min-width: 640px) { .adv { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .adv { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .adv__item { display: block; padding: 24px 22px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
  .adv__item:hover { border-color: var(--steel-300); box-shadow: var(--shadow); transform: translateY(-3px); }
  .adv__icon { margin-bottom: 16px; }
}

/* ---------- Что принимаем ---------- */
.cards { display: grid; gap: 12px; }
.card {
  display: grid; grid-template-columns: 96px 1fr;
  background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .25s, transform .25s var(--ease);
}
.card__media {
  display: grid; place-items: center;
  min-height: 100%;
  background:
    radial-gradient(80% 70% at 30% 20%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(140deg, var(--steel-200), var(--steel-300));
  color: var(--g-700);
}
.card__media--copper {
  background:
    radial-gradient(80% 70% at 30% 20%, rgba(255,255,255,.45), transparent 70%),
    linear-gradient(140deg, #f1d2bd, #d9a07c);
  color: #7a3f1c;
}
.card__media svg { width: 44px; height: 44px; transition: transform .35s var(--ease); }
.card__body { padding: 16px 18px; }
.card h3 { font-size: 19px; font-weight: 700; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.card p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.card:hover { border-color: var(--steel-300); box-shadow: var(--shadow); }
.card:hover .card__media svg { transform: scale(1.08); }

.note { margin-top: 24px; font-size: 16px; color: var(--muted); }
.note a { font-weight: 600; color: var(--text); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }

@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .card__media { aspect-ratio: 4 / 3; }
  .card__media svg { width: 56px; height: 56px; }
  .card__body { padding: 20px 20px 24px; }
  .card h3 { font-size: 17px; }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}

/* ---------- Площадки и карта ---------- */
.nearest-msg {
  margin: -12px 0 24px; padding: 14px 16px;
  background: var(--g-900); color: var(--white);
  border-left: 4px solid var(--accent); border-radius: var(--radius-sm);
  font-size: 16px;
}

.points { display: grid; gap: 20px; }
.points__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.point {
  position: relative;
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 18px 18px 20px;
  background: var(--steel-50);
  border: 1px solid var(--steel-200); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.point:hover { border-color: var(--steel-300); background: var(--white); box-shadow: var(--shadow); }
.point.is-flash { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,112,34,.22); }
.point.is-nearest { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(240,112,34,.18); }
.point.is-nearest::after {
  content: "Ближайшая"; position: absolute; top: -10px; right: 14px;
  padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.point__pin { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.point__addr { font-size: 19px; font-weight: 700; line-height: 1.3; }
.point__city { margin-top: 2px; font-size: 15px; color: var(--muted); }
.point__note { color: var(--text); }
.point__dist { color: var(--accent-600); font-weight: 600; }
.point__hours {
  display: flex; align-items: flex-start; gap: 6px;
  margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--muted);
}
.point__hours svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--steel-500); }
.point__route {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 10px 14px; min-height: 44px;
  background: var(--g-900); color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: background-color .2s var(--ease);
}
.point__route svg { width: 20px; height: 20px; flex: none; color: var(--accent); transition: color .2s; }
.point__route:hover { background: var(--accent); }
.point__route:hover svg { color: var(--white); }

.points__map {
  position: relative; order: -1;
  height: 360px;
  background: var(--steel-100);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--steel-200);
}
.points__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 640px) { .points__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .points { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; }
  .points__list { grid-template-columns: 1fr; }
  .points__map { order: 0; position: sticky; top: 96px; height: 600px; }
}

/* ---------- Шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start;
  padding: 18px; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius);
}
.step__icon {
  grid-row: span 2;
  width: 56px; height: 56px; padding: 12px; border-radius: 50%;
  background: var(--g-900); color: var(--white);
}
.step h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.step p { margin-top: 4px; color: var(--muted); font-size: 15px; }

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
  .step { display: block; padding: 26px 24px 28px; position: relative; }
  .step__icon { width: 64px; height: 64px; padding: 15px; margin-bottom: 18px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 57px; right: -16px; width: 16px; height: 2px; background: var(--steel-300);
  }
}

/* ---------- Предприятиям ---------- */
.business {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(154,162,171,.12), transparent 60%),
    var(--g-900);
}
.business__grid { display: grid; gap: 36px; align-items: center; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--steel-200); font-size: 17px; }
.ticks svg { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--white); margin-top: 1px; }
.ticks b { color: var(--white); font-weight: 600; }
.business__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }

.business__photo {
  aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1);
  background: var(--g-800);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.business__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }

.photo-slot {
  display: grid; place-items: center; align-content: center; gap: 14px;
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(255,255,255,.22); border-radius: var(--radius);
  background:
    radial-gradient(70% 60% at 30% 25%, rgba(255,255,255,.07), transparent 70%),
    linear-gradient(140deg, var(--g-800), var(--g-950));
  color: var(--steel-500);
}
.photo-slot svg { width: 96px; height: 96px; }
.photo-slot figcaption { font-size: 14px; color: var(--steel-400); }

@media (min-width: 1000px) {
  .business__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .ticks li { font-size: 18px; }
}

/* Мессенджеры (демо) */
.messengers { display: flex; gap: 10px; }
.messenger {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .04em;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.messenger svg { width: 24px; height: 24px; }
.messenger:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }

.business__cashless {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 10px 0;
  color: #e9a97c; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(217,138,82,.45);
  transition: color .2s, border-color .2s, gap .2s var(--ease);
}
.business__cashless svg { width: 20px; height: 20px; }
.business__cashless:hover { color: var(--white); border-color: var(--white); gap: 12px; }

/* ---------- Безналичный расчёт ---------- */
.cashless {
  --cl-bg: #14171c;
  --cl-card: #1c2027;
  --cl-line: rgba(255,255,255,.07);
  --cl-copper: #d98a52;
  --cl-text: #a9b1bb;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
  background: var(--cl-bg); color: var(--white);
}
body[data-audience="business"] [data-block="cashless"] { order: -1; }

.cashless__label {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cl-copper);
}
.cashless__title {
  margin-top: 12px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 7vw, 52px); line-height: 1.22; text-transform: uppercase;
  max-width: 22ch; text-wrap: balance;
}
.cashless__sub { margin-top: 14px; max-width: 56ch; font-size: 18px; color: var(--cl-text); }

.cashless__cards { display: grid; gap: 12px; }
.cashless__card {
  padding: 24px 22px 26px 24px;
  background: var(--cl-card);
  border: 1px solid var(--cl-line); border-left: 3px solid var(--cl-copper);
  border-radius: 4px;
  transition: border-color .25s, transform .25s var(--ease);
}
.cashless__card:hover { border-color: rgba(255,255,255,.14); border-left-color: var(--cl-copper); transform: translateY(-2px); }
.cashless__icon { width: 40px; height: 40px; color: var(--cl-copper); }
.cashless__card h3 {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; text-transform: uppercase;
}
.cashless__card p { margin-top: 8px; font-size: 16px; color: var(--cl-text); }

.cashless__perks {
  list-style: none; margin: 20px 0 0; padding: 16px 0;
  display: grid; gap: 10px;
  border-top: 1px solid var(--cl-line); border-bottom: 1px solid var(--cl-line);
}
.cashless__perks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: #d6dbe1; }
.cashless__perks svg { width: 20px; height: 20px; color: var(--cl-copper); margin-top: 1px; }

.cashless__contact {
  display: grid; gap: 20px; align-items: center;
  margin-top: 24px; padding: 24px;
  background: var(--cl-card);
  border: 1px solid var(--cl-line); border-left: 3px solid var(--cl-copper);
  border-radius: 4px;
}
.cashless__contact-title {
  margin-top: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.2; text-transform: uppercase;
}
.cashless__contact-text { margin-top: 6px; color: var(--cl-text); font-size: 16px; }
.cashless__phones { display: grid; gap: 10px; }
.cashless__phone span { font-family: var(--font-mono); font-weight: 600; font-size: 17px; letter-spacing: 0; text-transform: none; }
.cashless .btn--primary { background: var(--cl-copper); box-shadow: none; }
.cashless .btn--primary:hover { background: #c4773f; }
.cashless .btn--ghost { border-color: rgba(217,138,82,.55); }
.cashless .btn--ghost:hover { border-color: var(--cl-copper); background: rgba(217,138,82,.1); }

@media (min-width: 760px) {
  .cashless__cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cashless__perks { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1000px) {
  .cashless__card { padding: 30px 28px 32px; }
  .cashless__contact { grid-template-columns: 1fr auto; padding: 30px 32px; gap: 32px; }
  .cashless__phones { grid-auto-flow: column; }
}

/* ---------- Заявка ---------- */
.callback__grid { display: grid; gap: 28px; align-items: center; }
.callback__lead { margin-top: 14px; font-size: 19px; color: var(--muted); }
.callback__or { margin-top: 14px; font-size: 16px; color: var(--muted); }
.callback__or a { color: var(--text); font-weight: 600; white-space: nowrap; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.form {
  display: grid; gap: 16px;
  padding: 22px; border-radius: 14px;
  background: var(--steel-50); border: 1px solid var(--steel-200);
}
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--text); }
.field__input {
  width: 100%; min-height: 54px; padding: 0 16px;
  font: inherit; font-size: 17px; color: var(--text);
  background: var(--white); border: 1.5px solid var(--steel-300); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: var(--steel-400); }
.field__input:hover { border-color: var(--steel-500); }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240,112,34,.16); }
.field__input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { min-height: 0; font-size: 14px; color: var(--danger); }
.field__error:empty { display: none; }
.form__demo { font-size: 13px; line-height: 1.4; color: var(--steel-600); text-align: center; }
.field__opt { font-weight: 400; color: var(--steel-600); }
.field__input--area { min-height: 96px; padding: 12px 16px; line-height: 1.4; resize: vertical; }
/* Состояние заявки: mail — письмо подготовлено, ok — отправлено, error — ошибка, wait — отправляется */
.form__status {
  display: grid; gap: 8px;
  padding: 14px 16px; border-radius: 8px;
  font-size: 15px; line-height: 1.45; animation: rise .45s var(--ease) both;
  background: var(--steel-100); border: 1px solid var(--steel-300);
}
.form__status a { color: var(--text); font-weight: 600; white-space: nowrap; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.form__status--mail, .form__status--ok { background: var(--accent-soft); border-color: rgba(240,112,34,.35); }
.form__status--error { background: rgba(200,55,45,.08); border-color: rgba(200,55,45,.4); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.form__status a.form__mail { color: var(--accent-600); }
.form__copy {
  min-height: 40px; padding: 0 14px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--white); border: 1.5px solid var(--steel-300); border-radius: 6px; cursor: pointer;
}
.form__copy:hover { border-color: var(--accent); }

@media (min-width: 1000px) {
  .callback__grid { grid-template-columns: 1fr 460px; gap: 64px; }
  .form { padding: 30px; }
}

/* ---------- Прайс-лист ---------- */
.prices__wrap { border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prices__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prices__table th {
  padding: 14px 18px; text-align: left;
  background: var(--g-900); color: var(--white); border-bottom: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 15px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
}
.prices__table td { padding: 13px 18px; border-top: 1px solid var(--steel-200); color: var(--text); }
.prices__table tbody tr:first-child td { border-top: 0; }
.prices__table tbody tr:nth-child(odd) { background: var(--white); }
.prices__table tbody tr:nth-child(even) { background: var(--steel-100); }
.prices__table tbody tr:hover { background: var(--accent-soft); }
.prices__table .prices__n { width: 1%; padding-right: 4px; color: var(--steel-500); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices__table th.prices__n { color: var(--steel-400); }
.prices__table .prices__price { text-align: right; white-space: nowrap; }
.prices__table td.prices__price { font-weight: 600; color: var(--accent-600); }
.prices__nojs { padding: 16px 18px; }
@media (max-width: 639px) {
  .prices__table { font-size: 15px; }
  .prices__table th { padding: 12px; font-size: 14px; }
  .prices__table td { padding: 11px 12px; }
  .prices__table .prices__n { padding-right: 2px; }
}

/* ---------- Вопросы ---------- */
.faq { display: grid; gap: 8px; }
.faq details {
  background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
/* Подзаголовки групп вопросов — в стиле .kicker */
.faq__group { margin: 20px 0 4px; }
.faq__group:first-child { margin-top: 0; }
.faq details:hover { border-color: var(--steel-300); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 56px 18px 20px; min-height: 60px;
  font-size: 18px; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 16px 2.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2.5px 16px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); font-size: 17px; }

/* ---------- Контакты ---------- */
.contacts__grid { display: grid; gap: 12px; margin-top: 32px; }
.contact {
  display: grid; gap: 4px; padding: 20px 22px;
  background: var(--g-800); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s, transform .2s var(--ease);
}
.contact:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact small { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-400); }
.contact span { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: .02em; overflow-wrap: anywhere; }
.contact--main { background: var(--accent); border-color: var(--accent); }
.contact--main small { color: rgba(255,255,255,.8); }
.contacts__msg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.contacts__msg-label { font-size: 15px; color: var(--steel-400); margin-right: 4px; }

@media (min-width: 1000px) {
  .contacts__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .contact span { font-size: 30px; }
}

/* ---------- Подвал ---------- */
.footer { background: var(--g-950); color: var(--steel-400); font-size: 14px; }
.footer__row { display: grid; gap: 8px; padding-top: 28px; padding-bottom: 28px; }
.footer a { color: var(--steel-200); }
@media (min-width: 1000px) { .footer__row { grid-template-columns: 1fr auto; } }

/* ---------- Плавающие кнопки связи (компьютер) ---------- */
.float {
  position: fixed; right: 18px; bottom: 32px; z-index: 30;
  display: none; flex-direction: column; gap: 10px;
}
.float__btn {
  position: relative;
  display: grid; place-items: center;
  width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 12px;
  background: var(--accent); color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .04em;
  box-shadow: 0 6px 16px rgba(240,112,34,.32);
  transition: scale .2s var(--ease), background-color .2s;
}
/* Мягкая пульсация: от кнопки расходится оранжевое кольцо. Анимируется только кольцо,
   сама кнопка не двигается. Кнопки пульсируют по очереди с шагом 1,5 с. */
.float__btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  animation: contact-pulse 4.5s ease-out 1s infinite;
}
.float__btn:nth-child(2)::after { animation-delay: 2.5s; }
.float__btn:nth-child(3)::after { animation-delay: 4s; }
.float__btn svg { width: 24px; height: 24px; }
.float__btn:hover, .float__btn:focus-visible { scale: 1.08; background: var(--accent-600); }
.float__btn:hover::after, .float__btn:focus-visible::after { animation-play-state: paused; }
/* Подсказка */
.float__btn::before {
  content: attr(data-tip);
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: 7px 12px; border-radius: 6px; white-space: nowrap;
  background: var(--g-900); color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0;
  opacity: 0; pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity .2s, transform .2s var(--ease);
}
.float__btn:hover::before, .float__btn:focus-visible::before { opacity: 1; transform: translate(0, -50%); }

/* Кольцо расходится ~2 с, затем пауза до конца цикла */
@keyframes contact-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,112,34,.65); }
  45%  { box-shadow: 0 0 0 16px rgba(240,112,34,0); }
  100% { box-shadow: 0 0 0 16px rgba(240,112,34,0); }
}
/* Телефон: кольцо тоньше и спокойнее */
@keyframes dock-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,112,34,.55); }
  40%  { box-shadow: 0 0 0 5px rgba(240,112,34,0); }
  100% { box-shadow: 0 0 0 5px rgba(240,112,34,0); }
}

@media (min-width: 1000px) { .float { display: flex; } }

/* ---------- Нижняя панель (телефон) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(38,42,48,.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.dock__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 56px; padding: 0 4px;
  background: var(--g-800); color: var(--white);
  border: 0; border-radius: 8px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.dock__btn svg { width: 22px; height: 22px; }
/* Телефон: три кнопки связи пульсируют по очереди (Позвонить → Telegram → MAX) */
.dock__btn:nth-child(1), .dock__btn:nth-child(2), .dock__btn:nth-child(3) { animation: dock-pulse 6s ease-out 1s infinite; }
.dock__btn:nth-child(2) { animation-delay: 3s; }
.dock__btn:nth-child(3) { animation-delay: 5s; }
.dock__max {
  display: grid; place-items: center; height: 22px; padding: 0 4px;
  border: 1.5px solid currentColor; border-radius: 5px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: .04em;
}
.dock__btn--call {
  flex-direction: row; gap: 6px;
  background: var(--accent); color: var(--white);
  font-family: var(--font-display); font-size: 15px; letter-spacing: .03em; text-transform: uppercase;
}
.dock__btn--call svg { flex: none; width: 20px; height: 20px; }

@media (min-width: 1000px) {
  .dock { display: none; }
  body { --dock-h: 0px; }
}

/* ---------- Подсказка для демо-кнопок ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--dock-h) + 16px); z-index: 60;
  max-width: min(92vw, 420px); padding: 12px 16px;
  background: var(--g-900); color: var(--white); border-radius: 8px; box-shadow: var(--shadow-lg);
  font-size: 15px; text-align: center;
  transform: translateX(-50%);
  animation: rise .3s var(--ease) both;
}

/* ---------- Окно с предложением заявки ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(29,32,37,.62); animation: fade .25s ease both; }
.modal__box {
  position: relative; width: 100%; max-width: 460px;
  padding: 28px 24px 24px; border-radius: 14px;
  background: var(--white); box-shadow: var(--shadow-lg);
  animation: pop .35s var(--ease) both;
}
.modal__close {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 8px; background: transparent; color: var(--steel-600);
}
.modal__close:hover { background: var(--steel-100); color: var(--text); }
.modal__close svg { width: 22px; height: 22px; }
.modal__title { padding-right: 32px; font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.2; text-transform: uppercase; }
.modal__lead { margin-top: 8px; color: var(--muted); }
.form--modal { margin-top: 18px; padding: 0; background: none; border: 0; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Мягкая плашка на телефоне ---------- */
.nudge {
  position: fixed; left: 8px; right: 8px; bottom: calc(var(--dock-h) + 8px); z-index: 40;
  display: grid; gap: 10px;
  padding: 14px 48px 14px 16px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--steel-200); box-shadow: var(--shadow-lg);
  font-size: 15px;
  animation: rise .4s var(--ease) both;
}
.nudge .btn { min-height: 46px; font-size: 15px; justify-self: start; }
.nudge__close {
  position: absolute; top: 6px; right: 6px;
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; background: transparent; color: var(--steel-600); border-radius: 8px;
}
.nudge__close svg { width: 20px; height: 20px; }

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.reveal-on .reveal:not(.is-in) { opacity: 1; transform: none; }
}

/* ==========================================================================
   РАСКЛАДКА 2026-10-19 (утверждённый вариант «1Б++»).
   Первый экран — 70% высоты окна: номера сверху, заголовок с подписью посередине,
   кнопки у нижнего края. Сразу под ним — блок площадок с картой (видна нижняя треть экрана),
   затем тёмная полоса с плашками и счётчиками. Правила ниже перекрывают прежние.
   ========================================================================== */

/* ---------- Шапка поджата: те же надписи, меньше воздуха ---------- */
.header__row { gap: 8px 16px; padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 999px) {
  .shop { min-height: 40px; padding-top: 4px; padding-bottom: 4px; }
  .switch { padding: 3px; }
  .switch__btn { min-height: 36px; }
  .nav a { min-height: 38px; padding-top: 2px; padding-bottom: 2px; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .header__row { padding-top: 6px; padding-bottom: 6px; }
  .nav { padding-top: 6px; }
}

/* ---------- Первый экран: 70% видимой высоты под шапкой ----------
   Высота шапки: телефон ≈158px, ноутбук 1000–1279 (меню во второй строке) ≈100px, компьютер ≈67px.
   На телефоне из видимой высоты вычитается нижняя панель связи (--dock-h). */
.hero {
  --hdr: 158px;
  display: flex; align-items: center;
  min-height: calc((100svh - var(--dock-h)) * .7 - var(--hdr));
}
.hero__inner { width: 100%; padding-top: 16px; padding-bottom: 22px; }
.hero__phones { gap: 4px 24px; padding-bottom: 12px; margin-bottom: 0; }
.hero__title { padding-top: 21px; font-size: clamp(30px, 8.4vw, 60px); }
/* Подпись под заголовком — оранжевая чёрточка и «Приём металлолома · Ярославль и область» */
.hero__eyebrow--under { margin-top: 8px; gap: 8px; font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
.hero__eyebrow--under::before { width: 16px; }
.hero__actions { margin-top: 14px; }
/* Телефон: «Позвонить» и «Ближайшая площадка» в одну строку */
@media (max-width: 639px) {
  .hero__tel-icon { width: 40px; height: 40px; }
  .hero__tel-icon svg { width: 21px; height: 21px; }
  .hero__actions { grid-template-columns: auto 1fr; gap: 8px; }
  .hero__actions .btn--lg { min-height: 50px; padding: 0 10px; gap: 6px; font-size: 14px; letter-spacing: .01em; white-space: nowrap; }
  .hero__actions .btn svg { width: 16px; height: 16px; }
}
@media (min-width: 1000px) {
  .hero { --hdr: 67px; min-height: calc(100svh * .7 - var(--hdr)); align-items: stretch; }
  /* Номера — сверху; заголовок с подписью — посередине между чертой и кнопками; кнопки — внизу.
     Размеры зависят и от ширины, и от высоты окна, чтобы пропорции держались на разных мониторах. */
  .hero__inner { display: flex; flex-direction: column; padding-top: 26px; padding-bottom: 34px; }
  .hero__phones { padding-bottom: 18px; }
  .hero__tel--main .hero__tel-num { font-size: clamp(44px, min(4.8vw, 7.8vh), 76px); }
  .hero__tel--city .hero__tel-num { font-size: clamp(28px, min(2.7vw, 4.4vh), 42px); }
  .hero__tel-icon { width: 70px; height: 70px; }
  .hero__tel-icon svg { width: 34px; height: 34px; }
  .hero__hours { font-size: 15px; }
  .hero__content { flex: 1; display: flex; flex-direction: column; max-width: 1120px; }
  .hero__content[hidden] { display: none; }
  .hero__title { margin-top: auto; padding-top: 20px; font-size: clamp(46px, min(6.2vw, 9.6vh), 96px); line-height: 1.02; }
  .hero__eyebrow--under { margin-top: clamp(12px, 1.8vh, 20px); gap: 10px; font-size: 14px; letter-spacing: .08em; }
  .hero__eyebrow--under::before { width: 24px; }
  .hero__actions { margin-top: auto; padding-top: 20px; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .hero { --hdr: 100px; }
  .hero__content { padding-right: 84px; } /* заголовок не заходит под кнопки связи справа */
}

/* ---------- Кнопки связи справа (компьютер) — посередине высоты окна ---------- */
.float { top: 50%; bottom: auto; transform: translateY(-50%); }

/* ---------- Порядок блоков: площадки → полоса «коротко» → остальное ---------- */
[data-block="points"] { order: -3; }
[data-block="band"] { order: -2; }

/* ---------- Блок площадок: заголовок в строку, адреса слева, карта справа ---------- */
#points { padding: 26px 0 44px; background: var(--steel-50); }
.points__head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 24px; margin-bottom: 16px; }
#points .section__title {
  display: flex; align-items: center; gap: 14px; margin: 0; max-width: none;
  font-size: clamp(18px, 4.6vw, 30px); line-height: 1.15; text-wrap: pretty;
}
#points .section__title::before { content: ""; flex: none; width: 18px; height: 3px; background: var(--accent); }
#points .section__sub { display: none; margin: 0; max-width: 32ch; font-size: 14px; line-height: 1.35; }
@media (min-width: 1000px) {
  #points { padding: 32px 0 64px; }
  #points .section__title::before { width: 28px; }
  #points .section__sub { display: flex; align-items: center; }
  #points .section__sub svg { margin-top: 0; }
  .points__map { height: 520px; top: 72px; }
}

/* ---------- Тёмная полоса: плашки и счётчики (раньше были на первом экране) ---------- */
.band { padding: 32px 0 36px; background: var(--g-900); color: var(--white); }
.band .hero__chips { margin-top: 0; }
.band .stats__list { margin-top: 20px; }
@media (min-width: 1000px) { .band { padding: 44px 0 52px; } .band .stats__list { margin-top: 28px; } }

/* ---------- Меню при прокрутке (телефон и планшет) ----------
   Шапка ушла за верхний край — сверху выезжает узкая полоса со значками разделов;
   раздел, который сейчас на экране, подсвечен. На компьютере шапка и так закреплена. */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px;
  padding: calc(4px + env(safe-area-inset-top)) 6px 4px;
  background: rgba(38,42,48,.95); border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(-110%); visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s linear .3s;
}
.topnav.is-shown { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.topnav__link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 48px; padding: 4px 2px; border-radius: 8px;
  color: var(--steel-300); text-decoration: none; -webkit-tap-highlight-color: transparent;
  font-size: 11px; font-weight: 600; line-height: 1.1; text-align: center;
  transition: color .2s, background-color .2s;
}
.topnav__link svg { width: 22px; height: 22px; flex: none; }
.topnav__link[aria-current="true"] { color: var(--white); background: rgba(240,112,34,.16); }
.topnav__link[aria-current="true"] svg { color: var(--accent); }
@media (max-width: 999px) {
  /* Переход по разделам — с учётом полосы меню сверху */
  .section, .band { scroll-margin-top: 64px; }
}
@media (min-width: 1000px) { .topnav { display: none; } }

/* ==========================================================================
   2026-10-19: фон «Сталь» для блока площадок, компактные карточки адресов,
   нижняя панель связи на телефоне — ниже на ~15%.
   ========================================================================== */

/* ---------- Блок площадок: фон «Сталь», карточки и карта — белые «таблички» ---------- */
#points { background: #e2e6ea; }
#points .section__sub { color: var(--steel-600); }
.points__map { border-color: rgba(29,32,37,.06); box-shadow: 0 1px 2px rgba(29,32,37,.06), 0 6px 18px rgba(29,32,37,.08); }

/* ---------- Карточка адреса — компактная (примерно вдвое ниже прежней) ----------
   [метка] Адрес                          [кнопка маршрута]
           Город · расстояние
           Часы работы                                        */
.points__list { gap: 8px; }
.point {
  grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 12px 12px 12px 14px;
  background: var(--white); border-color: rgba(29,32,37,.06);
  box-shadow: 0 1px 2px rgba(29,32,37,.06), 0 6px 18px rgba(29,32,37,.06);
}
.point:hover { background: var(--white); }
.point__pin { width: 20px; height: 20px; margin-top: 1px; }
.point__body { display: grid; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 12px; align-items: center; }
.point__body > p { grid-column: 1; }
.point__addr { font-size: 16px; line-height: 1.25; }
.point__city { margin-top: 1px; font-size: 13px; line-height: 1.3; }
.point__hours { margin-top: 4px; gap: 5px; font-size: 12.5px; line-height: 1.3; }
.point__hours svg { width: 13px; height: 13px; margin-top: 1px; }
/* Маршрут — квадратная кнопка со значком; надпись остаётся для экранных чтецов и в подсказке */
.point__route {
  grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-content: center;
  width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0;
  font-size: 0; line-height: 0; border-radius: var(--radius-sm);
}
.point__route svg { width: 22px; height: 22px; }
.point.is-nearest::after { top: -9px; padding: 1px 8px; font-size: 11px; }
@media (min-width: 1000px) {
  .points__list { gap: 10px; }
  .point { padding: 14px 14px 14px 16px; }
  .point__addr { font-size: 17px; }
}

/* ---------- Нижняя панель связи (телефон) — ниже на ~15%, нажимать так же удобно ---------- */
:root { --dock-h: calc(60px + env(safe-area-inset-bottom)); }
.dock { gap: 5px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.dock__btn { min-height: 48px; gap: 2px; font-size: 12px; }
.dock__btn svg { width: 20px; height: 20px; }
.dock__max { height: 20px; font-size: 10px; }
.dock__btn--call { font-size: 14px; }
.dock__btn--call svg { width: 18px; height: 18px; }

/* ---------- Кнопка «Построить маршрут» у площадок (2026-10-19) ----------
   Светлый стальной квадрат: оранжевый ромб с белым значком «Путь А → Б», под ним подпись. */
.point__body { grid-template-columns: minmax(0, 1fr) 78px; }
.point__route {
  flex-direction: column; gap: 7px;
  width: 78px; height: 72px; padding: 0 4px;
  background: #eef1f4; color: var(--g-900); border: 1px solid var(--steel-200);
  font-size: 10.5px; font-weight: 700; line-height: 1.15; text-align: center;
  transition: background-color .2s, border-color .2s, color .2s;
}
.point__route-dia {
  display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px;
  background: var(--accent); border-radius: 6px; transform: rotate(45deg);
  transition: background-color .2s;
}
.point__route .point__route-dia svg { width: 17px; height: 17px; color: var(--white); transform: rotate(-45deg); }
.point__route-cap { max-width: 64px; }
.point__route:hover { background: var(--white); border-color: var(--accent); color: var(--accent-600); }
.point__route:hover .point__route-dia { background: var(--accent-600); }

/* ==========================================================================
   2026-10-19: телефон — компактная кнопка «Деловой лом» (логотип главный),
   и ничего не вылезает за край на узких Android-экранах (360 px и уже).
   ========================================================================== */
@media (max-width: 999px) {
  /* Логотип крупнее, кнопка магазина — небольшая справа (примерно 70 / 30) */
  .logo__text { font-size: 26px; }
  .logo__mark { width: 30px; height: 35px; }
  .shop { min-height: 36px; gap: 0; padding: 4px 9px; border-width: 1.5px; }
  .shop svg { display: none; }
  .shop__text { gap: 2px; }
  .shop__name { font-size: 13px; letter-spacing: .02em; }
  .shop__sub { font-size: 10.5px; }

  /* Меню: пункты сжимаются под ширину экрана, длинные слова переносятся */
  .nav a { flex: 1 1 auto; padding-left: 4px; padding-right: 4px; hyphens: manual; overflow-wrap: normal; font-size: clamp(10px, 3.1vw, 13px); }
  .switch__btn { min-width: 0; padding: 0 6px; font-size: clamp(12px, 3.9vw, 15px); }
  .dock__btn, .topnav__link { min-width: 0; }
}
/* Узкие телефоны (многие Android): чуть плотнее */
@media (max-width: 374px) {
  .logo__text { font-size: 23px; }
  .logo__mark { width: 27px; height: 31px; }
  .nav { gap: 2px; margin: 0 -6px; }
  .nav a { padding: 4px 2px; font-size: 10px; }
  .hero__actions .btn--lg { padding: 0 8px; font-size: 13px; letter-spacing: 0; }
  .hero__eyebrow--under { font-size: 10px; letter-spacing: .02em; }
  .dock { gap: 4px; padding-left: 6px; padding-right: 6px; }
  .dock__btn { font-size: 11px; }
  .dock__btn--call { font-size: 13px; }
  .topnav__link { font-size: 10px; }
}

/* ---------- Значок «Постоянным клиентам» — рукопожатие из PNG (как в демо-версии) ----------
   Обычная картинка (работает и при открытии файла с диска); чёрный рисунок перекрашен фильтром
   в цвет, близкий к фирменному оранжевому (#f07022). */
span.adv__icon { display: block; }
.adv__img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: invert(56%) sepia(99%) saturate(2873%) hue-rotate(349deg) brightness(99%) contrast(91%);
}

/* ---------- Первый экран без черты под номерами (2026-10-20) ---------- */
.hero__phones { border-bottom: 0; }
