/* ПРАЙМ — дизайн-система: «технологичный премиум».
   Композиция строится на перепаде глубины: сверху тёмная СЦЕНА (утилит-бар +
   шапка + строка разделов + герой), ниже светлый ЛИСТ контента, который
   наезжает на неё скруглёнными углами. Сигнатура бренда — 9 круглых точек 3×3:
   тот же мотив живёт в фоновом точечном поле и в водяном знаке карточек.
   Mobile-first: база — телефон, @media (min-width) — расширение. */

:root {
  /* бренд */
  --brand: #F55B0F;
  --brand-hot: #E14A00;
  --ember: #FF8F45;
  --brand-soft: #FFF1E9;
  --brand-soft-2: #FFE3D1;
  --brand-glow: rgba(245, 91, 15, .32);

  /* тёмный слой */
  --void: #080B0F;
  --slab: #0D1218;
  --chalk: #EDF1F6;
  --steel: #93A2B3;
  --steel-2: #6C7B8C;
  --hair: rgba(255, 255, 255, .085);
  --hair-2: rgba(255, 255, 255, .16);

  /* светлый слой */
  --ink: #14181D;
  --ink-2: #1F262E;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F9;
  --bg-soft-2: #EDF0F4;
  --paper: #FFFFFF;
  --line: #E5E9EF;
  --line-2: #D5DBE3;

  --txt: #191E24;
  --txt-2: #55606D;
  --txt-3: #78838F;          /* контрастнее прежнего: моно-подписи проходят AA */

  --ok: #17803D;
  --ok-soft: #E7F7ED;
  --warn: #9A6512;
  --warn-soft: #FDF3DF;
  --bad: #C81E1E;
  --bad-soft: #FDECEC;

  --font-d: "Unbounded", "Arial Narrow", sans-serif;         /* дисплей: заголовки (техно-гротеск) */
  --font-b: "IBM Plex Sans", system-ui, sans-serif;           /* текст (инженерная классика) */
  --font-m: "IBM Plex Mono", ui-monospace, monospace;         /* артикулы, цены, счётчики */

  --r: 16px;                  /* карточки */
  --r-s: 11px;                /* кнопки/инпуты */
  --r-lg: 26px;               /* крупные блоки */
  --shadow-sm: 0 1px 2px rgba(20,24,29,.04), 0 1px 3px rgba(20,24,29,.05);
  --shadow: 0 2px 6px rgba(20,24,29,.05), 0 12px 32px rgba(20,24,29,.07);
  --shadow-up: 0 8px 18px rgba(20,24,29,.08), 0 26px 56px rgba(20,24,29,.14);
  --wrap: 1300px;
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* clip (а не hidden) — не создаёт скролл-контейнер и не ломает position:sticky */
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--txt);
  font: 400 15px/1.55 var(--font-b);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-hot); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
/* Unbounded — широкий гротеск, сам по себе «разрядка», поэтому letter-spacing
   почти нулевой и текст НЕ uppercase (иначе разъезжается и трудно читается) */
h1, h2, h3 { font-family: var(--font-d); font-weight: 600; line-height: 1.14; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(22px, 3.8vw, 32px); }
h2 { font-size: clamp(19px, 3vw, 26px); text-transform: uppercase; letter-spacing: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .wrap { padding: 0 28px; } }
/* грид-дети не должны раздувать колонку своим min-content */
.grid > *, .cat-lead > *, .ribbon > *, .brands > *, .facets > *, .slice > *,
.how > *, .steps > *, .stock-tiles > * { min-width: 0; }

/* полоса во всю ширину экрана внутри .wrap (тёмные секции главной) */
.bleed { margin-inline: calc(50% - 50vw); }

.mono { font-family: var(--font-m); font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 0 0 var(--r-s) 0;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* надзаголовок секции */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-m); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-hot);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); flex: none; }
.eyebrow.on-dark { color: var(--ember); }

/* ---------- заголовки секций ---------- */
.sec-title { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 16px; }
.sec-title h2 { margin: 0; font-weight: 700; }
.sec-title h2 em { font-style: normal; color: var(--brand); }
.sec-title .more {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--txt-2); white-space: nowrap;
}
.sec-title .more::after { content: "→"; transition: transform .15s; }
.sec-title .more:hover { color: var(--brand-hot); }
.sec-title .more:hover::after { transform: translateX(3px); }

/* ================= ТЁМНАЯ СЦЕНА ================= */
.stage { position: relative; background: var(--void); color: var(--chalk); isolation: isolate; }
.stage > * { position: relative; z-index: 1; }
/* эффекты живут в отдельном слое с overflow:hidden — сама .stage без обрезки,
   иначе position:sticky у шапки перестаёт работать */
.stage-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.stage-fx::before {                       /* точечное поле = мотив логотипа */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,91,15,.30) 1.1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(115% 85% at 62% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(115% 85% at 62% 40%, #000 0%, transparent 72%);
  opacity: .5;
}
.fx-glow {
  position: absolute; width: 620px; height: 620px; right: -160px; top: -160px;
  border-radius: 50%; filter: blur(60px);
  background: radial-gradient(closest-side, rgba(245,91,15,.40), transparent 70%);
}
.fx-glow.fx-2 {
  width: 520px; height: 520px; left: -140px; top: -40px; right: auto;
  background: radial-gradient(closest-side, rgba(72,102,140,.34), transparent 70%);
}

/* утилит-бар */
.util { border-bottom: 1px solid var(--hair); font-size: 12.5px; color: var(--steel); }
.util-in {
  display: flex; align-items: center; gap: 22px; padding: 9px 0;
  overflow-x: auto; scrollbar-width: none;
}
.util-in::-webkit-scrollbar { display: none; }
.util b { color: var(--chalk); font-weight: 600; }
.u-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.u-item svg { color: var(--brand); flex: none; }
.util-r { margin-left: auto; display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.util-tel {
  font-family: var(--font-d); font-weight: 600; font-size: 15px;
  letter-spacing: .03em; color: #fff;
}
.util-tel:hover { color: var(--ember); }
@media (max-width: 767px) {
  .util-in { gap: 16px; }
  .u-adr { display: none; }
}

/* ================= ШАПКА ================= */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 11, 15, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.hdr-in {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center;
  gap: 10px; padding-top: 10px; padding-bottom: 10px;
}
@media (min-width: 1024px) {
  .hdr-in { grid-template-columns: auto minmax(240px, 660px) auto; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
}

/* --- логотип: ПРАЙМ по ширине подписи (буквы распределены) --- */
.logo { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; }
.logo:hover { color: inherit; }
.logo-dots { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 14px var(--brand-glow)); }
.logo-text { display: inline-flex; flex-direction: column; }
.logo-text b {
  display: flex; justify-content: space-between;  /* распределить буквы на ширину подписи */
  font-family: var(--font-b); font-weight: 800; font-size: 20px; line-height: 1;
  color: #fff;
}
.logo-text b span { display: block; }
.logo-text i {
  display: block; font-style: normal; font-size: 8.7px; line-height: 1;
  letter-spacing: .015em; color: var(--steel-2); margin-top: 4px; white-space: nowrap;
}
@media (min-width: 1024px) {
  .logo-dots { width: 44px; height: 44px; }
  .logo-text b { font-size: 23px; }
  .logo-text i { font-size: 9.9px; margin-top: 5px; }
}
@media (max-width: 419px) { .logo-text { display: none; } }

/* бургер */
.nav-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4.5px;
  width: 44px; height: 44px; padding: 11px; background: rgba(255,255,255,.05);
  border: 1px solid var(--hair); border-radius: var(--r-s); color: #fff;
}
.nav-burger span { height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-burger { display: none; } }

/* поиск */
.search { position: relative; grid-column: 1 / -1; order: 5; display: flex; }
@media (min-width: 1024px) { .search { grid-column: auto; order: 0; justify-self: center; width: 100%; } }
.search-ic { position: absolute; left: 16px; top: 50%; margin-top: -9px; color: var(--steel-2); pointer-events: none; }
.search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 58px 0 42px;
  background: rgba(255,255,255,.06); border: 1px solid var(--hair-2); border-radius: 999px;
  color: #fff; transition: border-color .15s, box-shadow .15s, background .15s;
}
.search input::placeholder { color: var(--steel-2); }
.search input:focus {
  outline: none; background: rgba(255,255,255,.10); border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(245,91,15,.16);
}
.search button {
  position: absolute; right: 5px; top: 5px; height: 36px; min-width: 44px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--brand); color: #fff; border: 0; border-radius: 999px;
  font-weight: 600; font-size: 14px; transition: background .15s, box-shadow .15s;
}
.search button span { display: none; }
.search button:hover { background: var(--brand-hot); box-shadow: 0 6px 20px var(--brand-glow); }
@media (min-width: 1024px) {
  .search input { height: 50px; padding-right: 118px; }
  .search button { height: 40px; padding: 0 20px; }
  .search button span { display: inline; }
}

/* корзина */
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  height: 44px; min-width: 44px; padding: 0 14px; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--hair);
  border-radius: var(--r-s); color: #fff;
  transition: border-color .15s, background .15s;
}
.cart-btn:hover { border-color: var(--brand); color: #fff; background: rgba(245,91,15,.14); }
.cart-badge {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px;
  display: grid; place-items: center; padding: 0 5px;
  background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700;
  border-radius: 10px; border: 2px solid var(--void);
}
.cart-sum { font-family: var(--font-d); font-weight: 600; font-size: 15px; letter-spacing: .03em; }
@media (max-width: 1023px) { .cart-sum { display: none; } .cart-btn { padding: 0; width: 44px; } }
@media (min-width: 1024px) { .cart-btn { height: 50px; padding: 0 18px; } }

/* строка разделов */
.hdr-nav { position: relative; z-index: 55; border-bottom: 1px solid var(--hair); }

/* ================= СВЕТЛЫЙ ЛИСТ ================= */
.sheet { position: relative; z-index: 2; background: var(--bg); padding-bottom: 8px; }
.sheet-hero {
  margin-top: -70px; border-radius: 34px 34px 0 0;
  box-shadow: 0 -24px 70px rgba(0,0,0,.45);
}
@media (max-width: 640px) { .sheet-hero { margin-top: -52px; border-radius: 26px 26px 0 0; } }

/* ================= КНОПКИ ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border: 0; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 14.5px;
  transition: background .16s, transform .06s, box-shadow .16s;
}
.btn:hover { background: var(--brand-hot); color: #fff; box-shadow: 0 6px 18px var(--brand-glow); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--txt-3); cursor: not-allowed; box-shadow: none; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: var(--ink-2); box-shadow: 0 6px 18px rgba(20,24,29,.22); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-hot); box-shadow: none; }
.btn-lg { min-height: 52px; font-size: 16px; padding: 12px 30px; }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 13px; }

/* «пилюля» — второстепенная ссылка секции */
.link-more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
  transition: border-color .16s, color .16s, background .16s;
}
.link-more:hover { border-color: var(--brand); color: var(--brand-hot); background: var(--brand-soft); }
.link-more svg { transition: transform .16s; }
.link-more:hover svg { transform: translateX(3px); }

/* ================= БЕЙДЖИ НАЛИЧИЯ ================= */
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.stock-ok { background: var(--ok-soft); color: var(--ok); }
.stock-few { background: var(--warn-soft); color: var(--warn); }
.stock-no { background: var(--bad-soft); color: var(--bad); }

/* ================= СЕТКА + КАРТОЧКА ТОВАРА ================= */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 660px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1220px) { .grid { grid-template-columns: repeat(5, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-up); transform: translateY(-4px); border-color: transparent; }
/* Слот фото — ЖЁСТКИЙ квадрат. Фото абсолютом внутри: вертикальные снимки
   (холодильники) не раздувают слот, пропорции всегда сохраняются, обрезки нет. */
.card-img {
  position: relative; display: block; aspect-ratio: 1;
  background: radial-gradient(120% 110% at 50% 0%, #FBFCFD 0%, var(--bg-soft) 100%);
}
.card-img::before {                       /* водяной знак 3×3 */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(20,24,29,.05) 1.1px, transparent 1.3px);
  background-size: 16px 16px;
}
.card-img img {
  position: absolute; inset: 0; margin: auto;
  max-width: calc(100% - 26px); max-height: calc(100% - 26px);
  width: auto; height: auto; object-fit: contain;
}
/* скромная заглушка: линейный силуэт по типу товара + честная подпись */
.card-noimg {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.card-noimg .glyph { width: 38%; max-width: 74px; height: auto; color: #AEBAC8; transition: color .25s, transform .25s; }
.card:hover .card-noimg .glyph { color: var(--brand); transform: scale(1.06); }
.card-noimg-tx { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #A4AFBC; }
.card-disc {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--brand); color: #fff; font-family: var(--font-m);
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 8px; border-radius: 7px; box-shadow: 0 4px 12px var(--brand-glow);
}
.card-sku {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 10px; letter-spacing: .03em; color: var(--txt-3);
  background: rgba(255,255,255,.82); padding: 3px 7px; border-radius: 6px;
}
.card-body {
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px; flex: 1;
  padding: 13px 13px 14px; border-top: 1px solid var(--line);
}
.card-vendor {
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; color: var(--brand-hot);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-name {
  align-self: stretch; font-size: 14px; line-height: 1.36; font-weight: 500; color: var(--txt);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.36em * 2); overflow-wrap: break-word;
}
.card:hover .card-name { color: var(--brand-hot); }
/* моно-строка ключевых параметров (цоколь, номинал, объём…) — ровно одна строка,
   иначе карточки в ряду разъезжаются по высоте */
.card-specs {
  align-self: stretch; height: 20px; display: flex; align-items: center;
  padding: 0 7px; border-radius: 6px; background: var(--bg-soft);
  border: 1px solid var(--line); color: var(--txt-2);
  font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.price { font-family: var(--font-d); font-weight: 700; font-size: 21px; letter-spacing: .01em; white-space: nowrap; color: var(--ink); }
.price small { font-size: 12px; font-weight: 500; }
.price-old { font-size: 12.5px; color: var(--txt-3); text-decoration: line-through; font-weight: 400; white-space: nowrap; }
.price-old i { font-style: normal; text-decoration: none; font-size: 10px; letter-spacing: .06em; }

/* форма — флекс-элемент карточки: на всю ширину и прижата к низу,
   чтобы кнопки «В корзину» стояли на одном уровне во всех карточках */
.card-body form { align-self: stretch; width: 100%; margin-top: auto; }
.card-body .card-foot { margin-top: auto; }
.card-add {
  width: 100%; margin-top: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--r-s);
  background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px;
  transition: background .15s, box-shadow .16s, transform .06s;
}
.card-add:hover { background: var(--brand); color: #fff; box-shadow: 0 8px 20px var(--brand-glow); }
.card-add:active { transform: translateY(1px); }
.card-add svg { flex: none; }

/* ================= ХЛЕБНЫЕ КРОШКИ ================= */
.crumbs { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 18px 0 4px; font-size: 12.5px; color: var(--txt-3); }
.crumbs a { color: var(--txt-2); }
.crumbs a:hover { color: var(--brand-hot); }
.crumbs li { list-style: none; display: flex; gap: 5px; }
.crumbs li + li::before { content: "›"; color: var(--txt-3); }

/* ================= ПАГИНАЦИЯ ================= */
.pager { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin: 26px 0; }
.pager a, .pager span {
  min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 10px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-s);
  font-weight: 600; font-size: 14px; color: var(--txt-2);
}
.pager a:hover { border-color: var(--brand); color: var(--brand-hot); }
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .gap { border: 0; background: transparent; color: var(--txt-3); }

/* ================= ФОРМЫ ================= */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.field label { font-size: 13px; font-weight: 600; color: var(--txt-2); }
.field input, .field select, .field textarea {
  min-height: 46px; padding: 11px 14px; background: var(--paper);
  border: 1.5px solid var(--line-2); border-radius: var(--r-s); color: var(--txt);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(245,91,15,.13);
}
.field .err { color: var(--bad); font-size: 12.5px; }

/* степпер количества */
.qty-box { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: var(--r-s); overflow: hidden; background: var(--paper); }
.qty-box button { width: 44px; border: 0; background: transparent; font-size: 20px; font-weight: 600; color: var(--txt-2); }
.qty-box button:hover { background: var(--brand-soft); color: var(--brand-hot); }
.qty-box input {
  width: 58px; border: 0; text-align: center; font-weight: 600; font-size: 15px;
  -moz-appearance: textfield; appearance: textfield;
}
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-box input:focus { outline: none; background: var(--brand-soft); }

/* ================= ТОСТЫ ================= */
.toasts { padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 15px; border-radius: var(--r-s); font-weight: 500; font-size: 14px; }
.toast-success { background: var(--ok-soft); color: var(--ok); }
.toast-error { background: var(--bad-soft); color: var(--bad); }
.toast-info, .toast-warning { background: var(--warn-soft); color: var(--warn); }

/* ================= ПАНЕЛИ ================= */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
@media (min-width: 768px) { .panel { padding: 24px; } }

/* ================= ФУТЕР ================= */
.ftr { position: relative; background: var(--void); color: var(--steel); margin-top: 56px; overflow: hidden; }
.ftr::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,91,15,.22) 1.1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 120% at 85% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70% 120% at 85% 0%, #000, transparent 70%);
  opacity: .5;
}
.ftr > * { position: relative; }
.ftr-in { display: grid; gap: 30px; padding-top: 44px; padding-bottom: 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ftr-in { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (min-width: 1024px) { .ftr-in { grid-template-columns: 1.15fr 1.5fr .9fr; gap: 44px; padding-top: 52px; } }
.ftr-brand-blk { max-width: 380px; }
.ftr-brand { display: inline-flex; gap: 11px; align-items: center; margin-bottom: 14px; }
.ftr-brand .logo-text b { color: #fff; }
.ftr-brand .logo-text i { color: var(--steel-2); }
.ftr-about { font-size: 13.5px; line-height: 1.65; color: var(--steel-2); margin: 0 0 18px; }
.ftr-cts { font-size: 13.5px; line-height: 1.7; color: var(--steel); display: flex; flex-direction: column; gap: 8px; }
.ftr-tel {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font-family: var(--font-d); font-size: 20px; font-weight: 600; letter-spacing: .03em; color: #fff;
}
.ftr-tel svg { color: var(--brand); flex: none; }
.ftr-tel:hover { color: var(--ember); }
.ftr-col h4 { margin: 0 0 14px; font-family: var(--font-d); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; color: #fff; }
.ftr-col > a { display: block; padding: 6px 0; color: var(--steel); font-size: 13.5px; }
.ftr-col > a:hover { color: var(--ember); }
.ftr-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--steel-2); }
.ftr-bottom { border-top: 1px solid var(--hair); padding: 16px 0 22px; font-size: 12px; color: var(--steel-2); }
.ftr-bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }

/* ================= УТИЛИТЫ ================= */
.muted { color: var(--txt-2); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.hide-m { display: none; }
@media (min-width: 768px) { .hide-m { display: initial; } }
.hide-d { display: initial; }
@media (min-width: 768px) { .hide-d { display: none; } }

/* появление секций при скролле (ставит .in через IntersectionObserver) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

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