/* UNIDOM — под фирменные карточки: светлый бетон, красные плашки,
   тяжёлый чёрный дисплейный шрифт, фото без рамок и полей. */

:root {
  --paper: #F2F3F5;
  --paper-2: #E9EBEE;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-2: #3A3F47;
  --muted: #6E7680;
  --line: #DADEE3;
  --red: #D8232A;
  --red-2: #B8181E;
  --red-tint: #FCEBEC;
  --ok: #1E8E45;
  --ok-tint: #E4F5EA;
  --warn: #B45F06;
  --warn-tint: #FDF1E0;

  --font-head: "Montserrat", "Arial Black", Arial, sans-serif;
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --r: 4px;
  --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  color: var(--ink); background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; text-transform: uppercase; }
h1 { font-size: clamp(30px, 3.6vw, 48px); }
h2 { font-size: clamp(22px, 2.6vw, 32px); }
h3 { font-size: 18px; }
h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: .9em; }
p { margin: 0 0 1em; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 60ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red); }
.link:hover { color: var(--red-2); }
.link-btn { background: none; border: 0; padding: 0; color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ico { flex: none; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: var(--r); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); color: #fff; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- шапка ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 3px solid var(--ink); }
.head-row { display: flex; align-items: center; gap: 36px; height: 78px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav > a, .nav-item > a { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); padding: 8px 0; border-bottom: 3px solid transparent; }
.nav > a:hover, .nav-item > a:hover { color: var(--red); }
.nav > a.is-active, .nav-item > a.is-active { border-color: var(--red); }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.drop {
  position: absolute; top: 100%; left: -16px; min-width: 320px; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 6px 6px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.35); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.drop a { display: flex; flex-direction: column; gap: 2px; padding: 10px 20px; }
.drop a:hover { background: var(--paper); color: var(--ink); }
.drop a span { font-weight: 700; font-size: 15px; }
.drop a small { color: var(--muted); font-size: 12.5px; }
.drop-sm { min-width: 260px; }
.drop-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; color: var(--red) !important; font-weight: 700; }
.nav-phones { display: none; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.head-phone .ico { color: var(--red); }
.burger { display: none; background: none; border: 2px solid var(--ink); border-radius: var(--r); padding: 5px; color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); max-width: 17ch; }
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 50ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-glow { display: none; }
.hero-visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.45); }
.hero-tag {
  position: absolute; left: -16px; bottom: 28px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px;
  transform: rotate(-3deg); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
}
.hero-tag:hover { color: #fff; background: var(--red); }
.hero-tag-model { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.hero-tag span:last-child { color: rgba(255,255,255,.75); }

/* ---------- категории ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-grid-wide { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.cat {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  transition: box-shadow .15s, transform .15s;
}
.cat:hover { color: var(--ink); box-shadow: 0 16px 40px -18px rgba(0,0,0,.4); transform: translateY(-2px); }
.cat-img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.cat-ico { color: var(--red); margin: 18px 18px 4px; }
.cat-name { font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.3; text-transform: uppercase; margin: 16px 18px 6px; }
.cat-range { color: var(--ink-2); font-size: 14px; margin: 0 18px; }
.cat-lead { color: var(--ink-2); font-size: 14px; line-height: 1.45; margin: 6px 18px 8px; }
.cat-count { margin: auto 18px 0; color: var(--muted); font-size: 13px; padding: 12px 0 16px; border-top: 1px solid var(--line); }
.cat-sm .cat-ico { margin-top: 14px; }
.cat-sm .cat-range { padding-bottom: 16px; }

/* ---------- карточки товаров ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; height: 100%; position: relative;
  transition: box-shadow .15s, transform .15s;
}
.card:hover { color: var(--ink); box-shadow: 0 16px 40px -18px rgba(0,0,0,.4); transform: translateY(-2px); }
.card-img { aspect-ratio: 1; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.card-model { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.card-chip { color: var(--red); font-weight: 700; font-size: 14px; }
.card-chip span { color: var(--muted); font-weight: 400; }
.card-chip span::before { content: " · "; }
.card-name { color: var(--ink-2); font-size: 13.5px; line-height: 1.4; margin-top: 4px; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card-price { font-family: var(--font-head); font-weight: 600; font-size: 16px; }

.stock { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 3px; white-space: nowrap; text-transform: uppercase; letter-spacing: .03em; }
.stock-in { color: var(--ok); background: var(--ok-tint); }
.stock-order { color: var(--warn); background: var(--warn-tint); }

/* ---------- страница категории ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a::after { content: "/"; margin-left: 6px; color: var(--line); }
.crumbs span { color: var(--ink); }
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-meta { display: flex; gap: 24px; color: var(--muted); font-size: 14px; }
.cat-meta strong { color: var(--ink); font-family: var(--font-head); font-size: 22px; margin-right: 4px; }
.toolbar { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; font-size: 14px; color: var(--ink-2); }
.toolbar select { margin-left: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font: inherit; color: var(--ink); }
.toolbar .check { display: inline-flex; align-items: center; gap: 8px; }
.toolbar input[type=checkbox] { accent-color: var(--red); width: 16px; height: 16px; }
.grid-item { display: contents; }
.grid-item[hidden] { display: none; }
.empty { color: var(--muted); padding: 24px 0; }
.prose { max-width: 72ch; color: var(--ink-2); }
.prose h1, .prose h2 { color: var(--ink); margin-top: 0; }

/* ---------- страница товара ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
.prod-img { position: sticky; top: 100px; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0,0,0,.45); }
.prod-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.prod-model { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 4vw, 52px); letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; }
.prod-info h1 { font-size: 18px; font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-2); line-height: 1.45; }
.prod-chip { display: inline-block; background: var(--red); color: #fff; font-weight: 700; padding: 6px 12px; border-radius: 3px; margin: 8px 0 24px; }
.prod-chip span { color: rgba(255,255,255,.8); font-weight: 400; }
.prod-chip span::before { content: " · "; }
.prod-buy { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.prod-price { font-family: var(--font-head); font-weight: 800; font-size: 30px; }
.prod-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.prod-note { color: var(--muted); font-size: 14px; max-width: 52ch; }
.h-specs { font-size: 16px; margin: 32px 0 10px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 400; color: var(--muted); width: 46%; padding-right: 16px; }
.prod-desc { margin-top: 48px; padding-top: 36px; border-top: 3px solid var(--ink); }

/* ---------- о компании / факты ---------- */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-strip p { color: var(--ink-2); max-width: 52ch; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts li { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--font-head); font-weight: 600; font-size: 14px; text-transform: uppercase; }
.facts span { color: var(--muted); font-size: 14px; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; max-width: none; align-items: start; }
.about-side { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; font-size: 15px; }
.about-side h3 { font-family: var(--font-body); font-size: 13px; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin: 18px 0 6px; }
.about-side h3:first-child { margin-top: 0; }
.about-side ul { padding-left: 18px; margin: 0; }

/* ---------- контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contacts-list { display: flex; flex-direction: column; gap: 22px; }
.contact { display: flex; gap: 14px; align-items: flex-start; }
.contact .ico { color: var(--red); margin-top: 2px; }
.contact div { display: flex; flex-direction: column; color: var(--ink-2); }
.contact a { color: var(--ink); font-weight: 700; font-size: 18px; }
.contact span { color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.contacts-list .btn { align-self: flex-start; margin-top: 8px; }
.map { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); }
.map iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ---------- CTA ---------- */
.cta { background: var(--red); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); margin: 0; max-width: 52ch; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta .btn-primary { background: var(--ink); }
.cta .btn-primary:hover { background: #fff; color: var(--ink); }

/* ---------- подвал ---------- */
.site-foot { background: var(--ink); color: #C9CED4; padding: 52px 0 24px; font-size: 14.5px; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--red); }
.site-foot h4 { color: #8A929B; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.logo-plate { display: inline-block; background: #fff; border-radius: 6px; padding: 8px 12px; }
.logo-plate img { height: 40px; width: auto; }
.foot-brand p { color: #8A929B; max-width: 40ch; margin-top: 16px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col p { color: #8A929B; margin: 8px 0 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8A929B; font-size: 13px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #2B3037; }

/* ---------- модальное окно ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-back { position: absolute; inset: 0; background: rgba(17,17,17,.7); }
.modal-box { position: relative; background: var(--white); border-radius: 6px; padding: 28px; width: min(460px, 100%); max-height: 90vh; overflow: auto; border-top: 5px solid var(--red); }
.modal-x { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: var(--muted); padding: 6px; }
.modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.req-form { display: flex; flex-direction: column; gap: 12px; }
.req-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--muted); }
.req-form input, .req-form textarea { font: inherit; font-size: 15px; color: var(--ink); padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.req-form input[readonly] { color: var(--ink-2); background: var(--paper); }
.req-form input:focus, .req-form textarea:focus { border-color: var(--ink); outline: none; }
.req-form .btn { margin-top: 6px; }
.form-status { margin: 0; font-size: 14px; min-height: 1.4em; color: var(--ink-2); }
.form-status.is-error { color: var(--red); }
.form-status.is-ok { color: var(--ok); }
.hp { position: absolute; left: -9999px; }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .hero-tag { left: 12px; }
  .about-strip, .about-grid, .contacts-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 44px 0; }
  .wrap { padding: 0 18px; }
  .head-row { gap: 16px; height: 66px; }
  .logo img { height: 34px; }
  .nav { position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 3px solid var(--ink); padding: 8px 18px 16px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav-item > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a.is-active, .nav-item > a.is-active { border-color: var(--red); }
  .nav-item > a { display: flex; justify-content: space-between; }
  .drop { position: static; min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 8px 12px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-drop.is-open .drop { display: block; }
  .has-drop::after { display: none; }
  .nav-phones { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; font-weight: 700; }
  .head-phone span { display: none; }
  .head-phone { margin-left: auto; padding: 8px; border: 2px solid var(--ink); border-radius: var(--r); }
  .burger { display: inline-flex; }
  .hero-grid { padding-top: 40px; padding-bottom: 40px; }
  .cat-grid, .cat-grid-wide { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod { grid-template-columns: 1fr; gap: 24px; }
  .prod-img { position: static; }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .map iframe { height: 300px; }
}
@media (max-width: 480px) {
  .cat-grid, .cat-grid-wide { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ================= главная: живые блоки ================= */
.plashka { display: inline-block; background: var(--red); color: #fff; font-family: var(--font-body); font-weight: 500; font-size: 14px; letter-spacing: .02em; padding: 9px 16px; border-radius: 3px; margin-bottom: 22px; }

.hero { position: relative; overflow: hidden; background: var(--ink); border: 0; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; opacity: .6; filter: saturate(1.1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.95) 0%, rgba(17,17,17,.85) 40%, rgba(17,17,17,.25) 75%, rgba(17,17,17,.1) 100%); }
.hero-inner { position: relative; padding-top: 96px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 68px); max-width: 15ch; margin-bottom: 20px; }
.hero-lead { color: rgba(255,255,255,.82); font-size: 18px; max-width: 46ch; margin-bottom: 32px; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper-2); color: var(--ink); }

.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; padding-bottom: 32px; gap: 24px; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: #fff; }
.hero-stats span { color: rgba(255,255,255,.7); font-size: 13.5px; max-width: 22ch; }

.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 12px 0; border-bottom: 3px solid var(--ink); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: .04em; padding: 0 28px; white-space: nowrap; position: relative; }
.ticker-track span + span::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; background: #fff; border-radius: 50%; transform: translate(-3px, -50%); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

.cat { position: relative; }
.cat-badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 12px; padding: 6px 10px; border-radius: 3px; }
.cat-count { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.step-n { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--red); }
.steps strong { font-family: var(--font-head); font-weight: 600; font-size: 15px; text-transform: uppercase; margin-top: 6px; }
.steps li > span:last-child { color: var(--ink-2); font-size: 14.5px; }

.section-dark { background: var(--ink); color: #fff; }
.section-dark h2 { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why { display: flex; flex-direction: column; gap: 8px; padding: 26px 22px; border: 1px solid #2B3037; border-radius: 6px; background: #181A1D; }
.why-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin-bottom: 8px; }
.why strong { font-family: var(--font-head); font-weight: 600; font-size: 14px; text-transform: uppercase; }
.why span:last-child { color: #B7BDC5; font-size: 14.5px; }

.card-img { position: relative; }
.card:hover .card-img img { transform: scale(1.03); }
.card-img img { transition: transform .3s; }

@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { padding-top: 56px; padding-bottom: 40px; }
  .hero-bg { object-position: 60% 50%; opacity: .35; }
  .hero-shade { background: linear-gradient(180deg, rgba(17,17,17,.7), rgba(17,17,17,.95)); }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- о компании: направления ---------- */
.dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.dir { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 14.5px; }
.dir strong { color: var(--ink); font-size: 15.5px; }
.dir a, .dir .link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; text-decoration: none; margin-top: 4px; font-size: 14.5px; }
.dir a:hover { text-decoration: underline; }
.about-side ul { list-style: none; padding: 0; }
.about-side li { margin-bottom: 6px; }
.about-side li a { color: var(--red); font-weight: 600; }
@media (max-width: 768px) { .dirs { grid-template-columns: 1fr; } }

/* Название категории уже есть на картинке — текст оставляем только для поисковиков и скринридеров */
.cat-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.cat-count { margin-top: 0; border-top: 0; padding: 14px 0 16px; }
.cat-lead { margin-top: 14px; }
