/* ==========================================================================
   PROTOS — яркий и смелый
   Красный — главный цвет, а не акцент. Крупные блоки, огромная типографика,
   контрастные полосы: белый / красный / чёрный.
   ========================================================================== */

:root {
  --red: #C70019;
  --red-d: #A30014;
  --ink: #15161B;
  --ink-2: #23252D;
  --grey: #F3F3F5;
  --grey-2: #E8E8EC;
  --line: #E3E3E8;
  --text: #15161B;
  --muted: #5E616E;
  --ok: #14A05C;
  --warn: #D98E00;

  --f-head: "Inter Tight", "Arial", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r: 28px;
  --r-sm: 16px;
  --wrap: 1520px;
  --gutter: clamp(16px, 4vw, 48px);
  --edge: clamp(8px, 1.2vw, 16px);      /* отступ «плавающих» блоков от края экрана */
  --section: clamp(72px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--red); color: #fff; }
.skip:focus { top: 12px; }
.i { flex: none; }

/* ---------- Типографика ---------- */
.h1 { font: 800 clamp(2.2rem, 5.4vw, 5.4rem)/1.02 var(--f-head); letter-spacing: -.025em; max-width: 18ch; }
.h2 { font: 800 clamp(2rem, 4.4vw, 4.2rem)/1.04 var(--f-head); letter-spacing: -.025em; }
.h3 { font: 700 clamp(1.3rem, 1.8vw, 1.7rem)/1.15 var(--f-head); letter-spacing: -.02em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--red);
  transition: gap .2s;
}
.link:hover { gap: 16px; }
.note { color: var(--muted); margin-top: 20px; }
.note a { color: var(--red); font-weight: 600; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--kaspi { width: 100%; margin-top: 12px; border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--kaspi:hover { background: var(--ink); color: #fff; }

/* ---------- Списки с отметками ---------- */
.ticks li { position: relative; padding-left: 30px; line-height: 1.5; }
.ticks li + li { margin-top: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; background: currentColor; }

/* ---------- Шапка ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; }
.footer .logo img { height: 48px; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 500; transition: background-color .2s, color .2s; }
.menu__link:hover { background: var(--grey); }
.menu__link.is-active { color: var(--red); }
.menu__phone { margin-left: 12px; }
.menu__group { position: relative; }
.menu__drop {
  position: absolute; top: calc(100% + 8px); left: 0; width: 380px; padding: 10px;
  background: #fff; border-radius: var(--r-sm);
  box-shadow: 0 24px 60px -18px rgba(21, 22, 27, .28), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.menu__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu__group:hover .menu__drop, .menu__group:focus-within .menu__drop { opacity: 1; visibility: visible; transform: none; }
.menu__drop a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; }
.menu__drop a:hover { background: var(--grey); }
.menu__drop b { display: block; font-weight: 600; }
.menu__drop small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.ico { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; }
.ico--lg { width: 64px; height: 64px; }
.nav__toggle { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--grey); cursor: pointer; }
.nav__toggle-close { display: none; }

/* ---------- Баннер ---------- */
.banner { padding: 0 var(--edge); }
.banner__box {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(820px, calc(100vh - 100px));
  border-radius: var(--r); background: var(--ink); color: #fff;
}
.banner__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 75% 50%;
  transform: scale(1.08); animation: zoom-out 16s ease-out forwards;
}
.banner__box::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 13, 17, .88) 0, rgba(12, 13, 17, .66) 38%, rgba(12, 13, 17, .18) 70%, rgba(12, 13, 17, 0) 100%),
    linear-gradient(0deg, rgba(12, 13, 17, .55) 0, transparent 35%);
}
.banner__in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter) clamp(132px, 12vw, 190px); }
.banner__title {
  max-width: 1100px;
  font: 800 clamp(2.3rem, 6.4vw, 6.6rem)/1 var(--f-head); letter-spacing: -.028em;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.banner__brand { white-space: nowrap; }
.banner__o { position: relative; color: var(--red); }
.banner__o::after {
  content: ""; position: absolute; left: -.02em; right: -.02em; bottom: -.06em; height: .085em;
  background: var(--red); transform-origin: left;
  animation: draw .6s .75s cubic-bezier(.2, .7, .2, 1) both;
}
.banner__lead {
  margin: 32px 0 40px; max-width: 46ch;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; color: rgba(255, 255, 255, .86);
  animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.banner .actions { animation: rise .9s .3s cubic-bezier(.2, .7, .2, 1) both; }

/* Красная плашка направлений поверх нижнего края баннера */
.tabs-wrap { position: relative; z-index: 2; margin-top: clamp(-96px, -7vw, -64px); }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tab { display: flex; gap: 18px; align-items: center; padding: 28px 30px; border-radius: var(--r); box-shadow: 0 30px 60px -34px rgba(21, 22, 27, .55); transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.tab:hover { transform: translateY(-4px); }
.tab--red { background: var(--red); color: #fff; }
.tab--ink { background: var(--ink); color: #fff; }
.tab--grey { background: #fff; color: var(--ink); box-shadow: 0 30px 60px -34px rgba(21, 22, 27, .45), inset 0 0 0 2px var(--grey-2); }
.tab--red .ico { background: #fff; color: var(--red); }
.tab--grey .ico { background: var(--ink); }
.tab b { display: block; font: 800 1.3rem/1.15 var(--f-head); letter-spacing: -.015em; }
.tab small { display: block; margin-bottom: 4px; font-size: .9rem; opacity: .75; }
.tab > .i:last-child { margin-left: auto; transition: transform .2s; }
.tab:hover > .i:last-child { transform: translateX(4px); }
.tab:focus-visible { outline-offset: 4px; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes zoom-out { to { transform: scale(1); } }
@keyframes draw { from { transform: scaleX(0); } }

/* ---------- Секции ---------- */
.section { padding-top: var(--section); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head p { margin: 0; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 54ch; }
.head p + p { margin-top: 14px; grid-column: 2; }

/* Вступление и цифры */
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.intro .lead { margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin: clamp(48px, 6vw, 88px) 0 0; }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 14px; padding-top: 24px; border-top: 3px solid var(--ink); }
.stats dd { margin: 0; font: 800 clamp(3rem, 6.4vw, 6rem)/.9 var(--f-head); letter-spacing: -.05em; color: var(--red); }
.stats dt { color: var(--muted); font-size: 1rem; line-height: 1.45; max-width: 26ch; }

  display: flex; flex-direction: column; min-height: 540px;
  padding: clamp(28px, 3vw, 44px); border-radius: var(--r);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 16px 48px; align-items: center;
  padding: clamp(24px, 3vw, 36px) clamp(12px, 2vw, 28px);
  border-bottom: 1px solid var(--line); border-radius: 0;
  transition: background-color .25s, color .25s, border-radius .25s;
}

/* Тёмная полоса: как мы работаем */
.band { margin: var(--section) var(--edge) 0; padding: var(--section) 0; border-radius: var(--r); background: var(--ink); color: #fff; }
.band .head p { color: rgba(255, 255, 255, .7); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.step__n { display: block; font: 800 clamp(4rem, 8vw, 7.5rem)/.85 var(--f-head); letter-spacing: -.05em; color: var(--red); margin-bottom: 28px; }
.step h3 { font: 700 1.5rem/1.2 var(--f-head); letter-spacing: -.02em; margin-bottom: 12px; }
.step p { color: rgba(255, 255, 255, .72); margin: 0; max-width: 36ch; }


/* Красный блок с формой */
.cta { margin: var(--section) var(--edge) 0; border-radius: var(--r); background: var(--red); color: #fff; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(48px, 7vw, 110px); padding-bottom: clamp(48px, 7vw, 110px); }
.cta__title { font: 800 clamp(3rem, 7.4vw, 7.4rem)/.95 var(--f-head); letter-spacing: -.035em; }
.cta .lead { color: rgba(255, 255, 255, .9); margin: 28px 0 36px; }
.cta__contacts li { display: flex; align-items: center; gap: 14px; font-size: 1.15rem; font-weight: 600; }
.cta__contacts li + li { margin-top: 14px; }
.cta__contacts .ico { background: #fff; color: var(--red); }
.cta__contacts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta .form { background: #fff; color: var(--text); box-shadow: 0 40px 80px -40px rgba(80, 0, 5, .55); }
.cta .form .field input, .cta .form .field select, .cta .form .field textarea { background-color: var(--grey); }
.cta .form .field input:focus, .cta .form .field select:focus, .cta .form .field textarea:focus { background-color: #fff; }
.cta :focus-visible { outline-color: #fff; }
.cta .form :focus-visible { outline-color: var(--red); }

/* ---------- Форма ---------- */
.panel { background: var(--grey); border-radius: var(--r); }
.form { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 18px; border-radius: var(--r); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px;
  background: var(--grey); border: 2px solid transparent; border-radius: 14px;
  transition: border-color .2s, background-color .2s;
}
.panel .field input, .panel .field select, .panel .field textarea { background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315161B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 48px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background-color: #fff; }
.field.is-invalid input { border-color: var(--red); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { margin: 0; font-weight: 500; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--red); }
.form.is-sending button { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Внутренние страницы ---------- */
.pagehead { padding: 0 var(--edge); }
.pagehead__box { border-radius: var(--r); background: var(--red); color: #fff; padding: clamp(40px, 6vw, 96px) 0 clamp(48px, 6vw, 96px); }
.pagehead .lead { color: rgba(255, 255, 255, .9); margin: 28px 0 0; }
.pagehead__kicker { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; margin-bottom: 22px; }
.pagehead__kicker .ico { background: #fff; color: var(--red); width: 40px; height: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .75); margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.crumbs a:hover { text-decoration-color: #fff; }
.pagehead :focus-visible { outline-color: #fff; }






/* О нас */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle { padding: clamp(28px, 3vw, 40px); border-radius: var(--r); background: var(--grey); transition: background-color .2s, color .2s; }
.principle h3 { font: 800 clamp(1.4rem, 2vw, 1.9rem)/1.1 var(--f-head); letter-spacing: -.03em; margin-bottom: 14px; }
.principle p { color: var(--muted); margin: 0; transition: color .2s; }
.principle:hover { background: var(--red); color: #fff; }
.principle:hover p { color: rgba(255, 255, 255, .9); }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { padding: 28px 32px; }
.contact-card .h3 { margin-bottom: 18px; }
.contact-card p { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 1.1rem; font-weight: 500; }
.contact-card p + p { margin-top: 12px; }
.contact-card .ico { width: 40px; height: 40px; }
.contact-card a:hover { color: var(--red); }
.form-h { margin-bottom: 18px; }

.prose > * { max-width: 75ch; }
.prose .h3 { margin: 40px 0 14px; }
.prose p { color: var(--muted); }
.prose a { color: var(--red); font-weight: 600; }
.prose .h3--sub { margin: 28px 0 10px; font-size: 1.15rem; }
.prose ul { margin: 0 0 1em; padding-left: 22px; list-style: disc; color: var(--muted); }
.prose li + li { margin-top: 6px; }

.notfound__code { font: 800 clamp(7rem, 22vw, 18rem)/.85 var(--f-head); letter-spacing: -.06em; color: #fff; margin-bottom: 24px; }
.notfound .actions { margin-top: 36px; }

/* ---------- Цветовые маркеры направлений ---------- */
.mark { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; }
.mark--red { background: var(--red); }
.mark--ink { background: var(--ink); }
.mark--grey { background: #C4C7D0; }
.menu__link { gap: 8px; white-space: nowrap; }
.menu__link .i { opacity: .5; }

/* ---------- Блоки направлений на главной ---------- */
.dir {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(32px, 5vw, 72px); border-radius: var(--r);
}
.dir + .dir { margin-top: 20px; }
.dir--flip .dir__visual { order: -1; }
.dir--red { background: var(--red); color: #fff; }
.dir--ink { background: var(--ink); color: #fff; }
.dir--grey { background: var(--grey); }
.dir__for { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; background: rgba(255, 255, 255, .16); }
.dir--grey .dir__for { background: #fff; }
.dir__title { font: 800 clamp(2.2rem, 4.6vw, 4.6rem)/1 var(--f-head); letter-spacing: -.03em; }
.dir__text { margin: 22px 0 26px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 48ch; opacity: .88; }
.dir .ticks { margin-bottom: 36px; }
.dir--red .ticks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C70019' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.dir--red :focus-visible, .dir--ink :focus-visible { outline-color: #fff; }

.dir__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.dir__stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 24px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); }
.dir__stats dd { margin: 0; font: 800 clamp(2.4rem, 4vw, 4rem)/.95 var(--f-head); letter-spacing: -.04em; }
.dir__stats dt { font-size: .92rem; line-height: 1.4; opacity: .85; }

.dir__visual { display: flex; justify-content: center; }
.app-shot { width: min(340px, 100%); height: auto; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .55)); }


.dir__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dir__logo { position: relative; display: flex; align-items: center; height: 100%; min-height: 96px; padding: 20px 22px; border-radius: var(--r-sm); background: #fff; transition: transform .2s, box-shadow .2s; }
.dir__logo:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(21, 22, 27, .4); }
.dir__logo img { width: 100%; height: auto; max-height: 56px; object-fit: contain; object-position: left; }
.dir__logo--soon img { filter: grayscale(1); opacity: .4; }
.dir__logo small { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px; background: #FFF3DB; color: var(--warn); font-weight: 600; font-size: .75rem; }

/* ---------- Шапка внутренних страниц: цвет по направлению ---------- */
.pagehead__box--ink { background: var(--ink); }
.pagehead__box--grey { background: var(--grey); color: var(--ink); }
.pagehead__box--grey .lead { color: var(--muted); }
.pagehead__box--grey .crumbs { color: var(--muted); }
.pagehead__box--grey .crumbs a { color: var(--ink); text-decoration-color: rgba(21, 22, 27, .3); }
.pagehead__box--grey .pagehead__kicker .ico { background: var(--ink); color: #fff; }
.pagehead__box--ink .pagehead__kicker .ico { background: var(--red); color: #fff; }
.pagehead__box--grey :focus-visible { outline-color: var(--red); }
.pagehead__actions { margin-top: 36px; }

/* Подменю раздела */
.subnav { position: sticky; top: 84px; z-index: 40; padding: 14px 0; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.subnav__in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--grey); font-weight: 600; font-size: .95rem; transition: background-color .2s, color .2s; }
.subnav a:hover { background: var(--grey-2); }
.subnav a[aria-current="page"] { background: var(--ink); color: #fff; }

.section--tight { padding-top: clamp(32px, 4vw, 56px); }

/* Разделы страницы «Системы мониторинга» */
.block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.block__head { position: sticky; top: 170px; }
.block__head .lead { margin-top: 22px; }
.block__lists { display: grid; gap: 16px; }
.feature { padding: clamp(28px, 3vw, 44px); }
.feature .h3 { margin-bottom: 24px; }

.crosslink { display: flex; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r); transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.crosslink:hover { transform: translateY(-4px); }
.crosslink--ink { background: var(--ink); color: #fff; }
.crosslink b { display: block; font: 800 clamp(1.4rem, 2.4vw, 2.2rem)/1.1 var(--f-head); letter-spacing: -.02em; }
.crosslink small { display: block; margin-top: 10px; max-width: 70ch; font-size: 1rem; opacity: .75; }
.crosslink > .i:last-child { margin-left: auto; }
.crosslink:focus-visible { outline-offset: 4px; }

/* Товары */

/* О компании */

/* ---------- Корзина в шапке и уведомление ---------- */
.menu { order: 2; }
.cart-btn { order: 3; position: relative; display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--grey); transition: background-color .2s; }
.cart-btn:hover { background: var(--grey-2); }
.nav__toggle { order: 4; }
.cart-btn__count { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font: 700 .75rem/22px var(--f-body); text-align: center; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 16px; max-width: calc(100% - 32px); padding: 14px 14px 14px 22px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); transform: translate(-50%, 20px); opacity: 0; transition: opacity .25s, transform .25s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast > div { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.toast p { margin: 0; font-weight: 500; }

.crumbs--dark { color: var(--muted); padding-top: 12px; margin-bottom: 24px; }
.crumbs--dark a { color: var(--ink); text-decoration-color: rgba(21, 22, 27, .3); }

/* ---------- Полоса брендов ---------- */
.pagehead__box--compact { padding: clamp(32px, 4vw, 64px) 0 clamp(36px, 4vw, 64px); }
.pagehead__logo { margin: 0; }
.pagehead__logo img { height: clamp(64px, 9vw, 120px); width: auto; }
.brand-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.brand-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 22px; border-radius: var(--r-sm); border: 2px solid var(--grey-2); background: #fff; transition: border-color .2s, transform .2s; }
.brand-tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.brand-tile.is-active { border-color: var(--red); }
.brand-tile img { height: 46px; width: auto; max-width: 100%; object-fit: contain; object-position: left; }
.brand-tile__name { font: 800 1.35rem/1.1 var(--f-head); letter-spacing: -.02em; min-height: 46px; display: flex; align-items: center; }
.brand-tile small { color: var(--muted); font-size: .85rem; line-height: 1.35; }
.brand-tile--soon img, .brand-tile--soon .brand-tile__name { filter: grayscale(1); opacity: .45; }
.brand-tile--soon small { color: var(--warn); font-weight: 600; }
.brand-about { columns: 2 340px; column-gap: 64px; margin-top: clamp(32px, 4vw, 48px); font-size: 1.1rem; color: var(--muted); }

/* ---------- Каталог ---------- */
.shop { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop--nofilters { grid-template-columns: minmax(0, 1fr); }
.filters { position: sticky; top: 104px; padding: 26px; border-radius: var(--r); background: var(--grey); }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.filters__toggle { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font: inherit; cursor: default; }
.filters__toggle .i { display: none; }
.filters__reset { border: 0; background: none; color: var(--red); font-weight: 600; cursor: pointer; }
.fgroup { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.fgroup:last-child { margin-bottom: 0; }
.fgroup legend { padding: 0; margin-bottom: 12px; font-weight: 600; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; }
.fcheck input { width: 18px; height: 18px; accent-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--grey-2); background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--check { padding: 0; border: 0; background: none; }
.chip--check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip--check span { padding: 9px 16px; border-radius: 999px; border: 2px solid var(--grey-2); background: #fff; transition: border-color .2s, background-color .2s, color .2s; }
.chip--check:hover span { border-color: var(--ink); }
.chip--check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--check input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.search { position: relative; flex: 1 1 260px; }
.search .i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input, .sort select { width: 100%; height: 52px; border: 2px solid transparent; border-radius: 999px; background: var(--grey); transition: border-color .2s; }
.search input { padding: 0 20px 0 50px; }
.sort select { appearance: none; padding: 0 48px 0 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315161B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; cursor: pointer; }
.search input:focus, .sort select:focus { outline: none; border-color: var(--ink); background-color: #fff; }
.toolbar__count { margin: 0 0 0 auto; color: var(--muted); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid[hidden], .pcard[hidden] { display: none; }
.pcard { display: flex; flex-direction: column; border: 2px solid var(--grey); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pcard:hover { border-color: var(--ink); box-shadow: 0 24px 50px -30px rgba(21, 22, 27, .45); }
.pcard__img { position: relative; display: block; aspect-ratio: 3 / 4; background: #fff; overflow: hidden; }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.pcard__alt { opacity: 0; }
.pcard:hover .pcard__alt { opacity: 1; }
.pcard__pack { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pcard__brand { margin: 0 0 6px; color: var(--red); font-weight: 600; font-size: .85rem; }
.pcard__title { font: 700 1.08rem/1.25 var(--f-head); letter-spacing: -.01em; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard { position: relative; }
.pcard__meta { margin: 8px 0 18px; color: var(--muted); font-size: .88rem; }
.pcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.pcard__price { font: 800 1.35rem/1 var(--f-head); white-space: nowrap; }
.pcard__add { position: relative; z-index: 1; }
.btn.is-added { background: var(--ok); }
.stock { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; color: var(--ok); font-weight: 600; font-size: .9rem; }
.stock--out { color: var(--muted); margin-left: 0; }

/* ---------- Страница товара ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gallery { position: sticky; top: 104px; }
.gallery__main { aspect-ratio: 3 / 4; max-height: 78vh; margin: 0 auto; border-radius: var(--r); background: #fff; border: 2px solid var(--grey); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; margin-top: 12px; }
.gallery__thumb { aspect-ratio: 3 / 4; border-radius: 12px; border: 2px solid var(--grey); overflow: hidden; transition: border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--grey-2); }
.gallery__thumb.is-active { border-color: var(--red); }
.pdp__brand img { height: 40px; width: auto; margin-bottom: 18px; }
.pdp__title { font: 800 clamp(1.8rem, 3vw, 2.8rem)/1.05 var(--f-head); letter-spacing: -.025em; }
.pdp__sku { margin: 14px 0 0; color: var(--muted); }
.pdp__note { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: #FFF3DB; color: #7A5200; font-weight: 500; }
.pdp__variants { margin-top: 26px; }
.pdp__label { margin: 0 0 10px; font-weight: 600; }
.buybox { margin: 26px 0 32px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--grey); }
.buybox__price { margin: 0 0 20px; font: 800 clamp(2.2rem, 3.4vw, 3rem)/1 var(--f-head); letter-spacing: -.03em; }
.buybox__price small { display: block; margin-top: 8px; font: 500 .95rem/1.3 var(--f-body); letter-spacing: 0; color: var(--muted); }
.buybox__row { display: flex; flex-wrap: wrap; gap: 12px; }
.buybox__row .btn { flex: 1 1 200px; }
.buybox__facts { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--grey-2); }
.buybox__facts li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.buybox__facts .i { color: var(--red); }
.qty { display: inline-flex; align-items: center; height: 60px; border-radius: 999px; border: 2px solid var(--grey-2); background: #fff; }
.qty button { width: 48px; height: 100%; border: 0; background: none; font-size: 1.4rem; cursor: pointer; border-radius: 999px; }
.qty button:hover { color: var(--red); }
.qty input { width: 52px; height: 100%; border: 0; background: none; text-align: center; font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 44px; }
.qty--sm button { width: 38px; }
.qty--sm input { width: 40px; }
.specs { width: 100%; border-collapse: collapse; }
.specs caption { text-align: left; margin-bottom: 10px; font: 800 1.5rem/1.2 var(--f-head); letter-spacing: -.02em; }
.specs th, .specs td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 45%; padding-right: 16px; font-weight: 400; color: var(--muted); }
.specs td { font-weight: 600; }
.about-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.about-block { padding: clamp(26px, 3vw, 38px); }
.about-block .h3 { margin-bottom: 14px; }
.about-block p { color: var(--muted); }

/* ---------- Корзина и оформление ---------- */
.cart-page { padding-bottom: 8px; }
.cart-page__title { margin-bottom: clamp(24px, 3vw, 40px); }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: clamp(24px, 3vw, 40px); align-items: start; }
.cart[hidden] { display: none; }
.cart__list { border-top: 3px solid var(--ink); }
.citem { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.citem__img { display: block; width: 96px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 2px solid var(--grey); }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__title { font: 700 1.1rem/1.25 var(--f-head); }
.citem__title:hover { color: var(--red); }
.citem__sku { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.citem__sum { margin: 0; min-width: 110px; text-align: right; font: 800 1.25rem/1 var(--f-head); white-space: nowrap; }
.citem__del { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--grey); cursor: pointer; transition: background-color .2s, color .2s; }
.citem__del:hover { background: var(--red); color: #fff; }
.cart__clear { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; border: 0; background: none; color: var(--muted); font-weight: 500; cursor: pointer; }
.cart__clear:hover { color: var(--red); }
.checkout { position: sticky; top: 104px; display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); }
.checkout .h3 { margin-top: 8px; }
.summary { padding-bottom: 6px; }
.summary p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.summary__total { margin-top: 14px !important; padding-top: 14px; border-top: 2px solid var(--ink); font: 800 1.6rem/1 var(--f-head); }
.seg { display: inline-flex; width: max-content; padding: 4px; border-radius: 999px; background: #fff; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 10px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--red); }
.options { display: grid; gap: 8px; }
.option { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 2px solid transparent; background: #fff; cursor: pointer; transition: border-color .2s; }
.option:hover { border-color: var(--grey-2); }
.option:has(input:checked) { border-color: var(--ink); }
.option input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--red); flex: none; }
.option b { display: block; font-weight: 600; }
.option small { display: block; margin-top: 2px; color: var(--muted); font-size: .88rem; }
.field span small { font-weight: 400; color: var(--muted); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.checkout__submit { width: 100%; }
.checkout__note { margin: 0; color: var(--muted); font-size: .88rem; }
.done { max-width: 720px; padding: clamp(32px, 5vw, 64px) 0; }
.done__icon { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 28px; border-radius: 50%; background: #E7F7EE; color: var(--ok); }
.done .lead { margin: 20px 0 32px; }

/* ---------- О компании ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.about-hero__mark { height: clamp(140px, 17vw, 260px); width: auto; }
.manifesto { padding: clamp(32px, 5vw, 72px); border-radius: var(--r); background: var(--red); color: #fff; }
.manifesto__label { margin: 0 0 20px; font-weight: 700; opacity: .85; }
.manifesto__text { margin: 0; max-width: 20ch; font: 800 clamp(2.2rem, 5vw, 5rem)/1.02 var(--f-head); letter-spacing: -.03em; }
.manifesto__parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 5vw, 64px); }
.manifesto__parts a { display: grid; gap: 12px; align-content: start; height: 100%; padding: 26px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .13); transition: background-color .2s; }
.manifesto__parts a:hover { background: rgba(255, 255, 255, .22); }
.manifesto__parts b { font: 800 1.3rem/1.15 var(--f-head); letter-spacing: -.015em; }
.manifesto__parts span:last-child { opacity: .88; }
.manifesto .ico { background: #fff; color: var(--red); }
.manifesto .ico--ink { background: var(--ink); color: #fff; }
.manifesto :focus-visible { outline-color: #fff; }
.principle .ico { margin-bottom: 22px; transition: background-color .2s, color .2s; }
.principle:hover .ico { background: #fff; color: var(--red); }

/* Крупные заголовки в красном блоке — размер от ширины колонки, длинные слова не вылезают */
.cta__grid > div:first-child { container-type: inline-size; }
.cta__title { font-size: clamp(2.6rem, 6vw, 7.4rem); font-size: min(7.4rem, 12.5cqi); overflow-wrap: break-word; }
.empty { padding: clamp(28px, 4vw, 48px); }
.empty p { color: var(--muted); margin: 12px 0 24px; }

/* ---------- Подвал ---------- */
.footer { margin: clamp(48px, 6vw, 96px) var(--edge) 0; padding-top: clamp(56px, 7vw, 96px); border-radius: var(--r) var(--r) 0 0; background: var(--ink); color: #fff; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand p { color: rgba(255, 255, 255, .7); margin-top: 20px; max-width: 34ch; }
.footer__h { font: 700 1.1rem/1.3 var(--f-head); margin-bottom: 18px; }
.footer__list li + li { margin-top: 12px; }
.footer__list a { color: rgba(255, 255, 255, .72); transition: color .2s; }
.footer__list a:hover { color: #fff; }
.footer__contacts li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .72); }
.footer__contacts .i { color: var(--red); margin-top: 3px; }
.footer__word { margin-top: clamp(48px, 6vw, 80px); font: 800 clamp(5rem, 21vw, 24rem)/.78 var(--f-head); letter-spacing: -.06em; color: var(--ink-2); text-align: center; white-space: nowrap; user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: rgba(255, 255, 255, .55); }
.footer__bottom a:hover { color: #fff; }
.footer :focus-visible { outline-color: #fff; }

/* ---------- Адаптив ---------- */
@media (max-width: 1280px) and (min-width: 961px) {
  .menu__link { padding: 0 12px; }
  .menu__phone { padding: 0 16px; }
  .menu__phone-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (max-width: 1100px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .pgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart { grid-template-columns: 1fr; }
  .checkout { position: static; }
  .about-blocks { grid-template-columns: 1fr; }
  .tab { padding: 24px; }
  .tab > .i:last-child { display: none; }
}

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .menu {
    position: absolute; top: 100%; left: var(--edge); right: var(--edge);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; border-radius: var(--r-sm);
    background: #fff; box-shadow: 0 24px 60px -18px rgba(21, 22, 27, .3), 0 0 0 1px var(--line);
    max-height: calc(100vh - 100px); overflow-y: auto;
    display: none;
  }
  .nav.is-open .menu { display: flex; }
  .nav.is-open .nav__toggle-open { display: none; }
  .nav.is-open .nav__toggle-close { display: inline; }
  .menu__link { min-height: 52px; padding: 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .menu__link:hover { background: none; }
  .menu__drop { position: static; width: auto; padding: 6px 0 10px; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .menu__drop a { padding: 10px 0; }
  .menu__phone { margin: 20px 0 0; }
  .tabs { grid-template-columns: 1fr; gap: 10px; }
  .dir, .dir--flip { grid-template-columns: 1fr; }
  .dir--flip .dir__visual { order: 2; }
  .block { grid-template-columns: 1fr; }
  .block__head { position: static; }
  .cart-btn { margin-left: auto; }
  .nav__toggle { margin-left: 8px; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .manifesto__parts { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__mark { display: none; }
  .head, .intro, .cta__grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .head p + p { grid-column: 1; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .principles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__in { min-height: 72px; }
  .logo img { height: 36px; }
  .banner__box { min-height: 0; }
  .banner__box::before { background: linear-gradient(0deg, rgba(12, 13, 17, .92) 0, rgba(12, 13, 17, .72) 100%); }
  .banner .actions .btn, .notfound .actions .btn { flex: 1 1 100%; }
  .stats { gap: 28px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .dir__stats div { padding: 18px 16px; }
  .pgrid, .pgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .brand-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dir__logos { gap: 8px; }
  .dir__logo { min-height: 72px; padding: 12px; }
  .dir__logo small { top: 6px; right: 6px; font-size: .7rem; }
  .brand-tile { padding: 14px; gap: 10px; }
  .brand-tile img { height: 32px; }
  .brand-tile__name { font-size: 1.05rem; min-height: 32px; }
  .brand-tile small { font-size: .78rem; }
  .filters { padding: 18px 20px; }
  .filters__head { margin-bottom: 0; }
  .filters__toggle { cursor: pointer; }
  .filters__toggle .i { display: block; }
  .filters .fgroup { display: none; }
  .filters.is-open .fgroup { display: block; }
  .filters.is-open .filters__head { margin-bottom: 18px; }
  .pcard__body { padding: 14px; }
  .pcard__foot { flex-wrap: wrap; }
  .pcard__add span { display: none; }
  .pcard__add { padding: 0 14px; }
  .citem { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px 14px; }
  .citem__img { width: 72px; grid-row: span 2; }
  .citem .qty { grid-column: 2; }
  .citem__sum { grid-column: 2; grid-row: 3; text-align: left; }
  .citem__del { grid-column: 3; grid-row: 1; }
  .toolbar__count { margin-left: 0; }
  .nav__toggle, .cart-btn { width: 46px; height: 46px; }
  .contact-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
