/* ==========================================================================
   ФАЙЕРПРОМ — единая дизайн-система сайта
   Цветовая схема: графит + сталь + сигнальный красный акцент
   ========================================================================== */

:root {
  --ink: #14181c;
  --graphite: #21272e;
  --steel: #38424d;
  --muted: #5e6773;
  --line: #e3e7eb;
  --line-soft: #eef1f4;
  --surface: #f5f7f9;
  --surface-2: #eceff2;
  --white: #fff;

  --accent: #c8352a;
  --accent-600: #a82a21;
  --accent-soft: #fbedeb;
  --amber: #b8722c;
  --amber-soft: #fdf1e3;
  --ok: #2f7d52;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(20, 24, 28, .05), 0 4px 12px rgba(20, 24, 28, .04);
  --shadow-lg: 0 2px 4px rgba(20, 24, 28, .06), 0 18px 40px rgba(20, 24, 28, .10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --h-header: 72px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--h-header) + 10px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-600); }

h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.2vw, 46px); }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0 0 0 20px; }

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

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); display: block; }
.lead { font-size: 18px; color: var(--muted); }
.section { padding: 72px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 52px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .lead, .section--dark p { color: rgba(255, 255, 255, .72); }
.section--dark .eyebrow { color: #ff8377; }
.section--dark .eyebrow::before { background: #ff8377; }
.section__head { max-width: 720px; margin-bottom: 36px; }
.section__head--row {
  max-width: none; display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
}
.section__head--row > div { max-width: 640px; }

.grid { display: grid; gap: 20px; align-items: stretch; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-600); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--steel); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 13px; }
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }
.topbar__sep { flex: 1; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { flex: none; opacity: .65; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header__in {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 18px; min-height: var(--h-header);
}
.header__actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.header__cta { white-space: nowrap; }

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.logo__text { display: flex; flex-direction: column; justify-content: center; }
.logo:hover { color: var(--ink); }
.logo__mark { flex: none; }
.logo__name { font-size: 19px; font-weight: 750; letter-spacing: .02em; line-height: 1; }
.logo__sub { display: block; font-size: 11px; color: var(--muted); letter-spacing: .01em; margin-top: 4px; line-height: 1.15; white-space: nowrap; }

.nav { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 2px; min-width: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-radius: var(--r-sm);
  color: var(--steel); font-size: 15px; font-weight: 550;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--surface); color: var(--ink); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; background: var(--accent);
}
.nav__caret { transition: transform .18s ease; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }


/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: min(1080px, calc(100vw - 48px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 22px;
  display: none; grid-template-columns: repeat(4, 1fr); gap: 6px 22px;
}
.nav__item.is-open .mega { display: grid; }
.mega__bridge { position: absolute; left: 0; right: 0; top: -18px; height: 20px; display: block; }
.mega__col { padding: 4px 0; }
.mega__title {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--ink); padding: 8px; border-radius: var(--r-sm);
}
.mega__title:hover { background: var(--surface); color: var(--ink); }
.mega__title svg { flex: none; margin-top: 1px; color: var(--accent); }
.mega__list { list-style: none; padding: 0 0 0 20px !important; margin: 0 0 6px;}
.mega__list a { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); }
.mega__list a:hover { color: var(--accent); }
.mega__list li {
    list-style: none;
}
.mega__list li::marker {
    display: none;
}
.mega__list ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.mega__foot {
  grid-column: 1 / -1; border-top: 1px solid var(--line-soft); margin-top: 8px; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
}

/* Burger + mobile */
.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.mpanel {
  position: fixed; inset: 0; z-index: 80; background: #fff; padding: 0 0 32px;
  overflow-y: auto; display: none;
}
.mpanel.is-open { display: block; }
.mpanel__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff;
}
.mpanel__close {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink);
}
.mpanel__body { padding: 12px 20px; }
.mpanel__link {
  display: block; padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--ink); font-weight: 600; font-size: 16px;
}
.mpanel__group { padding: 8px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mpanel__sub { display: block; padding: 10px 0 10px 14px; color: var(--muted); border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.mpanel__actions { display: grid; gap: 10px; margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14, 17, 20, .94) 0%, rgba(14, 17, 20, .82) 42%, rgba(14, 17, 20, .38) 100%);
}
.hero__in { position: relative; padding: 78px 0 0; }
.hero__inner { max-width: 700px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 100px;
  font-size: 13px; color: rgba(255, 255, 255, .86);
}
.hero__kicker b { color: #fff; font-weight: 650; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #ff8377; }
.hero__lead { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 600px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats {
  position: relative; margin-top: 62px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__stat { padding: 22px 24px 26px 0; }
.hero__stat b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.hero__stat span { font-size: 14px; color: rgba(255, 255, 255, .66); }

/* ---------- Page hero (внутренние) ---------- */
.phero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 26px 0 42px; }
.phero h1 { margin-bottom: 14px; }
.phero .lead { max-width: 850px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 7px; opacity: .5; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
a.card:hover { border-color: #cfd6dd; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card__icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.card__title { font-size: 18px; font-weight: 650; color: var(--ink); }
.card__text { font-size: 15px; color: var(--muted); }
.card__list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.card__list li { padding: 6px 0; border-top: 1px solid var(--line-soft); color: var(--steel); }
.card__more { margin-top: auto; font-size: 14px; font-weight: 650; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
a.card:hover .card__more { color: var(--accent-600); }
a.card:hover .card__more svg { transform: translateX(3px); }
.card__more svg { transition: transform .16s ease; }

/* Товарная карточка */
.pcard { position: relative; padding: 0; gap: 0; overflow: hidden; height: 100%; }
.pcard__media {
  position: relative; aspect-ratio: 4 / 3; background: var(--surface);
  border-bottom: 1px solid var(--line-soft); overflow: hidden;
}
.pcard__img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s ease; }
a.card:hover .pcard__img { transform: scale(1.03); }
.pcard__img.is-placeholder,
a.card:hover .pcard__img.is-placeholder { object-fit: contain; padding: 7%; transform: none; }
.pcard__media .badge { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--accent-600); box-shadow: var(--shadow); }
.pcard__icon {
  position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .93); color: var(--accent);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__title { font-size: 17px; font-weight: 650; color: var(--ink); }
.pcard__text { font-size: 14.5px; color: var(--muted); flex: 1; }

/* Промо-карточки направлений */
.promo { padding: 0; gap: 0; overflow: hidden; }
.promo__media { aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
a.promo:hover .promo__media img { transform: scale(1.03); }
.promo__body { padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }

/* Галерея изделия */
.gal { display: flex; flex-direction: column; gap: 12px; outline: none; }
.gal__stage {
  position: relative; aspect-ratio: 4 / 3; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.gal__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.gal__slide.is-active { opacity: 1; visibility: visible; }
.gal__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gal__img.is-placeholder { object-fit: contain; padding: 7%; }
.gal__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .94); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.gal__nav:hover { background: #fff; color: var(--accent); }
.gal__nav--prev { left: 12px; }
.gal__nav--next { right: 12px; }
.gal__counter {
  position: absolute; right: 12px; bottom: 12px; padding: 4px 11px; border-radius: 100px;
  background: rgba(20, 24, 28, .74); color: #fff; font-size: 13px; font-weight: 600;
}
.gal__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gal__thumb {
  width: 86px; height: 64px; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
}
.gal__thumb:hover { border-color: #cfd6dd; }
.gal__thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.gal__timg { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.price { font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.price--req { font-size: 14px; font-weight: 600; color: var(--muted); }
.badge {
  flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: var(--accent-soft); color: var(--accent-600);
}
.badge--neutral { background: var(--surface-2); color: var(--steel); }
.badge--amber { background: var(--amber-soft); color: var(--amber); }

/* ---------- Split (текст + фото) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split__media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.split__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.split--reverse .split__media { order: -1; }

/* ---------- Преимущества ---------- */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.adv__item { background: #fff; padding: 26px 24px; }
.adv__item svg { color: var(--accent); margin-bottom: 14px; }
.adv__item b { display: block; font-size: 16px; margin-bottom: 6px; }
.adv__item p { font-size: 14.5px; color: var(--muted); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.step { border-top: 2px solid var(--line); padding-top: 16px; }
.step b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }
.step__num {
  counter-increment: s; font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: .08em; margin-bottom: 10px; display: block;
}
.step__num::before { content: "0" counter(s); }
.section--dark .step { border-top-color: rgba(255, 255, 255, .2); }
.section--dark .step__num { color: #ff8377; }
.section--dark .step p { color: rgba(255, 255, 255, .66); }

/* ---------- Работы (по умолчанию — вертикальные для главной) ---------- */
.work {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
a.work:hover {
  border-color: #cfd6dd;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.work__media { aspect-ratio: 16 / 10; background: var(--surface-2); position: relative; overflow: hidden; }
.work__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
a.work:hover .work__media img { transform: scale(1.03); }
.work__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9aa4ae; }
.work__body { padding: 20px; }
.work__tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.work__body b { display: block; font-size: 17px; margin: 8px 0 8px; transition: color .16s ease; }
a.work:hover .work__body b { color: var(--accent); }
.work__body p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Горизонтальные работы (страница «Наши работы») ---------- */
.work--horizontal {
  position: relative;
  flex-direction: row;
  min-height: 260px;
  margin-bottom: 20px;
}
.work--horizontal .work__media {
  flex: 0 0 420px;
  max-width: 420px;
  aspect-ratio: auto;
  position: relative;
}
.work--horizontal .work__body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}
.work--horizontal .work__body b {
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0;
}
.work__date {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(20,24,28,.74);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 5;
}
.work__more {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
  color: var(--accent);
  transition: color .16s ease;
}
.work__more svg {
  transition: transform .16s ease;
}
a.work:hover .work__more {
  color: var(--accent-600);
}
a.work:hover .work__more svg {
  transform: translateX(3px);
}

/* ---------- Мобильные ---------- */
@media (max-width: 768px) {
  .work--horizontal {
    flex-direction: column;
    min-height: auto;
  }
  .work--horizontal .work__media {
    flex: none;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .work--horizontal .work__media img {
    position: static;
    height: 100%;
  }
  .work--horizontal .work__body {
    padding: 20px;
    padding-bottom: 70px;
  }
  .work__more {
    right: 20px;
    bottom: 20px;
  }
}
/* ---------- Статьи ---------- */
.acard { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.acard__meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.acard__meta i { font-style: normal; color: var(--accent); font-weight: 650; }
.acard b { font-size: 17.5px; font-weight: 650; }
.acard p { font-size: 14.5px; color: var(--muted); }

a.work:hover .work__media img {
    transform: scale(1.03);
}
.work__media img {
    transition: transform .3s ease;
}

/* ---------- Сертификаты ---------- */
.cert {
  border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); padding: 22px;
  background: rgba(255, 255, 255, .04);
}
.cert svg { color: #ff8377; margin-bottom: 14px; }
.cert b { display: block; font-size: 16px; margin-bottom: 4px; }
.cert span { font-size: 14px; color: rgba(255, 255, 255, .66); display: block; }
.cert em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- Спецификация ---------- */
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; font-weight: 550; color: var(--muted); padding-right: 20px; }
.specs td { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li {
  padding: 6px 12px; border-radius: 100px; background: var(--surface);
  border: 1px solid var(--line); font-size: 14px; color: var(--steel);
}

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 8px 0 8px 30px; font-size: 15px; color: var(--steel); border-bottom: 1px solid var(--line-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ---------- Продуктовая страница ---------- */
.player { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.pbox {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--surface);
  position: sticky; top: calc(var(--h-header) + 20px);
}
.pbox .price { font-size: 26px; display: block; margin-bottom: 4px; }
.pbox__hint { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.pbox__actions { display: grid; gap: 10px; }
.pbox__contacts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pbox__contacts a { color: var(--ink); font-weight: 600; }

/* ---------- Якорная навигация каталога ---------- */
.anchors {
  position: sticky; top: var(--h-header); z-index: 40;
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.anchors__in { display: flex; gap: 8px; overflow-x: auto; padding: 12px 24px; scrollbar-width: none; }
.anchors__in::-webkit-scrollbar { display: none; }
.anchors a {
  flex: none; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 550; color: var(--steel); background: #fff; white-space: nowrap;
}
.anchors a:hover { border-color: #c9d1d9; color: var(--ink); }
.anchors a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.cat-section { padding: 60px 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 30px; }
.cat-section:last-of-type { border-bottom: 0; }
.cat-section__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.cat-section__head .card__icon { width: 52px; height: 52px; }
.cat-section__head h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.cat-section__head p { font-size: 16px; color: var(--muted); max-width: 640px; }

/* ---------- Форма ---------- */
.formcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 550; color: var(--steel); }
.input, .textarea, select.input {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.form__note { font-size: 13px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 44px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .72); }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta__contacts { display: grid; gap: 10px; font-size: 15px; }
.cta__contacts a { color: var(--ink); font-weight: 600; }
.cta__contacts span { color: var(--muted); }
.cta .cta__contacts a { color: #fff; }
.cta .cta__contacts span { color: rgba(255, 255, 255, .6); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 40px 18px 0; font-size: 17px; font-weight: 600;
  position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 40px 20px 0; color: var(--muted); }

/* ---------- Проза ---------- */
.prose { max-width: 760px; font-size: 16.5px; }
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; color: var(--steel); }
.prose li { margin-bottom: 7px; }
.prose blockquote {
  margin: 22px 0; padding: 16px 20px; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--steel);
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: 56px 0 28px; font-size: 14.5px; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__title { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: rgba(255, 255, 255, .5); }
.footer__about { margin: 18px 0; max-width: 300px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.footer__social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5);
}

/* ---------- Плавающие контакты ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 9px; }
.fab a {
  width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: background .16s ease, transform .16s ease;
}
.fab a:hover { color: #fff; transform: translateY(-2px); }
.fab__btn--wa:hover { background: #1faa53; }
.fab__btn--tg:hover { background: #2aabee; }
.fab__btn--mail:hover { background: var(--accent); }
.fab__btn--call:hover { background: var(--accent); }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__in { grid-template-columns: auto 1fr; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media { order: 0; }
  .player { grid-template-columns: 1fr; gap: 28px; }
  .pbox { position: static; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 860px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat { padding: 18px 16px 18px 0; }
  .topbar__in { min-height: 0; padding: 8px 0; gap: 14px; }
  .topbar__hide { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .adv { grid-template-columns: 1fr; }
  .hero__in { padding-top: 56px; }
  .hero__stats { margin-top: 42px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta { padding: 26px; }
  .formcard { padding: 22px; }
  .anchors__in { padding: 10px 18px; }
  .cat-section__head { flex-direction: column; gap: 12px; }
  .fab { right: 8px; bottom: 12px; gap: 7px; }
  .fab a { width: 42px; height: 42px; }
  .gal__nav { width: 38px; height: 38px; }
  .gal__thumb { width: 68px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ── MODX: FormIt / AjaxForm ─────────────────────────────── */
.field__err {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #c8352a;
}
.field__err:empty { display: none; }
.nospam {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.af_message,
.form__msg {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fbedeb;
  color: #a82a21;
  font-size: 14px;
  line-height: 1.45;
}
.af_message.success,
.form__msg--ok {
  background: #eaf5ee;
  color: #2f7d52;
}
.form.is-loading { opacity: .6; pointer-events: none; }

/* ── Компактная шапка на средних экранах (без горизонтального скролла) ── */
.nav__link { white-space: nowrap; }

@media (max-width: 1400px) {
  .header__in { gap: 14px; }
  .nav__link { padding: 9px 9px; font-size: 14.5px; }
}
@media (max-width: 1280px) {
  .header__in { gap: 10px; }
  .nav__link { padding: 8px 7px; font-size: 13.5px; }
  .logo__name { font-size: 18px; }
  .logo__sub { font-size: 10.5px; }
}
@media (max-width: 1180px) {
  .header__cta { display: none; }
}

/* ---------- Слайдер "Похожие товары" ---------- */
.carousel {
    position: relative;
    padding: 0 50px;
}
.carousel__viewport {
    overflow: hidden;
    width: 100%;
}
.carousel__track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}
.carousel__track > div {
    flex: 0 0 calc(33.333% - 14px) !important;
    width: calc(33.333% - 14px) !important;
    min-width: 0 !important;
    max-width: calc(33.333% - 14px) !important;
}
.carousel__nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E3E7EB;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(20,24,28,0.1);
    color: #14181C;
    font-size: 18px;
}
.carousel__nav--prev { left: 0; }
.carousel__nav--next { right: 0; }

/* ---------- Слайдер "Похожие товары" Мобильные ---------- */
@media (max-width: 768px) {
    .carousel {
        padding: 0 40px;
    }
    .carousel__track > div {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    .carousel__nav {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

/* ---------- Капча---------- */
#captcha-field.has-error iframe {
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 0 2px red;
    border-radius: 4px;
}

#captcha-field.has-error .field__err {
    display: block !important;
    color: red;
}

/* ---------- Страница поста "Наши работы" ---------- */
.works-section h2 {
  font-size: 28px;
  margin: 0 0 24px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 3px solid var(--accent);
  margin-bottom: 20px;
  display: inline-block;
}

.works-section h3 {
  font-size: 20px;
  margin: 32px 0 16px;
  font-weight: 650;
  color: var(--ink);
}
.works-section .ticks li {
    color: var(--ink);
    font-size: 16px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 16px 0 24px;
}
.detail-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--r);
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.detail-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}
.detail-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
}
.detail-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 8px;
}
.detail-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 16px 0;
  justify-content: center;
}
.address-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.address-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}
.address-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.address-card-image {
  width: 100%;
  height: 320px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.address-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.address-card-content {
  padding: 24px;
}
.address-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 650;
  color: var(--ink);
}
.address-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.address-meta .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    color: var(--muted);
    padding: 6px 12px;
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid var(--line);
    line-height: 1;
    min-height: 30px;
}
.address-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  margin: 0 0 16px;
}
.map-section {
  padding-top: 20px;
  border-top: 2px solid var(--line);
}
.map-container {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.map-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}
.map-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}
.section-divider {
  height: 1px;
  background: var(--line);
  margin: 48px 0;
}
@media (max-width: 768px) {
  .works-section h2 {
    font-size: 24px;
  }
  .details-grid {
    grid-template-columns: 1fr;
  }
  .addresses-grid {
    grid-template-columns: 1fr;
  }
  .map-container iframe {
    height: 300px;
  }
}

/* ---------- Стили для пагинации ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}
.pagination li {
    display: inline-flex;
}
.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .16s ease;
}
.pagination .page-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    opacity: .4;
    pointer-events: none;
}

@media (max-width: 600px) {
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }
    .pagination .page-link {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 13px;
    }
}






/* ============================================================
   СТАТЬИ — ЕДИНАЯ СИСТЕМА СТИЛЕЙ
   ============================================================ */

/* --- Обёртка статьи --- */
.article-body {
    max-width: 100%;
}
.article-body p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--steel);
    margin: 0 0 18px;
}
.article-body b,
.article-body strong {
    color: var(--ink);
}

/* --- Заголовки --- */
.article-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin: 36px 0 16px;        /* было 48px 0 20px */
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.article-body h3 {
    font-size: 19px;
    font-weight: 650;
    color: var(--ink);
    margin: 24px 0 12px;        /* было 32px 0 14px */
}
.article-body h4 {
    font-size: 17px;
    font-weight: 650;
    color: var(--ink);
    margin: 20px 0 10px;        /* было 24px 0 10px */
}

/* --- Таблицы в статьях --- */
.article-body .article-table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
}
.article-body .article-table th {
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 650;
    text-align: left;
    padding: 14px 18px;
    font-size: 14px;
    border-bottom: 2px solid var(--line);
}
.article-body .article-table td {
    padding: 12px 18px;
    color: var(--steel);
    vertical-align: top;
    line-height: 1.6;
    border-bottom: 1px solid var(--line-soft);
}
.article-body .article-table tr:last-child td {
    border-bottom: none;
}
.article-body .article-table td:first-child {
    color: var(--ink);
    font-weight: 600;
}
.article-body .article-table tr:hover td {
    background: var(--surface);
}
@media (max-width: 640px) {
    .article-body .article-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* --- Списки с галочками --- */
.article-body .ticks {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.article-body .ticks li {
    position: relative;
    padding: 8px 0 8px 30px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--steel);
}
.article-body .ticks li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 16px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* --- Обычные списки --- */
.article-body ul:not(.ticks) {
    padding-left: 22px;
    margin: 0 0 20px;
}
.article-body ul:not(.ticks) li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--steel);
    margin-bottom: 6px;
}

/* --- Оглавление --- */
.article-toc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px 28px;
    margin: 0 0 32px;
}
.article-toc__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 14px;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.article-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
    columns: 2;
    column-gap: 32px;
}
.article-toc li {
    padding: 6px 0;
    counter-increment: toc;
    break-inside: avoid;
}
.article-toc a {
    color: var(--steel);
    font-size: 15px;
    font-weight: 550;
    transition: color .16s ease;
    text-decoration: none;
}
.article-toc a:hover {
    color: var(--accent);
}
.article-toc a::before {
    content: counter(toc) ". ";
    color: var(--accent);
    font-weight: 700;
    margin-right: 4px;
}
@media (max-width: 768px) {
    .article-toc ol { columns: 1; }
}

/* --- Инфо-карточки (акценты) --- */
.article-note {
    border-radius: var(--r);
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--steel);
}
.article-note b {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.article-note--info {
    background: #eef4fb;
    border-left: 4px solid #3b82c4;
}
.article-note--info b { color: #2b6ea3; }
.article-note--warn {
    background: #fdf6e6;
    border-left: 4px solid #d99a2b;
}
.article-note--warn b { color: #a87415; }
.article-note--success {
    background: #edf6f0;
    border-left: 4px solid #2f7d52;
}
.article-note--success b { color: #24603f; }

/* --- Карточки классификации (EI 30 / 60 / 90) --- */
.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0 32px;
}
.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--r);
    padding: 20px 22px;
    transition: box-shadow .16s ease, transform .16s ease;
}
.article-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.article-card__title {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    line-height: 1.2;
}
.article-card__text {
    font-size: 14.5px;
    color: var(--steel);
    line-height: 1.6;
    margin: 0;
}

/* --- Критерии выбора --- */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: 24px 0;
}
.criteria-item {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: border-color .16s ease;
}
.criteria-item:hover {
    border-color: #cfd6dd;
}
.criteria-item__num {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.criteria-item__text {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--steel);
}
.criteria-item__text b {
    display: block;
    color: var(--ink);
    font-weight: 650;
    margin-bottom: 2px;
}

/* ============================================================
   ЗАГРУЗКА ФАЙЛОВ — DRAG-AND-DROP
   ============================================================ */

/* Зона drag-and-drop */
.file-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 20px;
    background: var(--surface);
    border: 2px dashed var(--line);
    border-radius: var(--r-lg);
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
    outline: none;
}
.file-drop:hover,
.file-drop:focus-visible {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.file-drop.is-dragover {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.file-drop__icon {
    color: var(--accent);
    opacity: .85;
}
.file-drop__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.file-drop__link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.file-drop__hint {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
    max-width: 340px;
}

/* Список выбранных файлов */
.file-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.file-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    font-size: 13.5px;
    color: var(--steel);
}
.file-list li b {
    color: var(--ink);
    font-weight: 600;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}
.file-list li .file-size {
    color: var(--muted);
    font-size: 12.5px;
    white-space: nowrap;
}
.file-list li .file-remove {
    flex: none;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    transition: background .16s ease, color .16s ease;
}
.file-list li .file-remove:hover {
    background: var(--surface-2);
    color: var(--accent);
}
.file-list li.is-error {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.file-list li.is-error b {
    color: var(--accent-600);
}