/* ============================================================
   СТРОЙSHOP — базовая система
   Фон строго #ffffff. Один сигнальный акцент (переключаемый).
   Шрифт: Montserrat, обычное начертание (400) + 500 для заголовков.
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #33333a;
  --muted: #66666e;
  --line: #e7e7ea;
  --line-2: #d5d5da;
  --accent: #ff5a00;          /* активная тема меняет только этот цвет */
  --accent-soft: rgba(255, 90, 0, .08);
  --ok: #0e8345;

  --font-body: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Montserrat', 'Segoe UI', system-ui, sans-serif;

  --w: 1280px;
  --pad: clamp(18px, 4vw, 48px);
  --sec: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* Темы акцента: фон остаётся белым всегда.
   Графит lighten до #55555c — иначе кнопки-акцент сливаются
   с чёрными кнопками (жалоба «чёрное на чёрном»). */
html[data-accent="orange"] { --accent: #ff5a00; --accent-soft: rgba(255, 90, 0, .09); }
html[data-accent="blue"]   { --accent: #1d5deb; --accent-soft: rgba(29, 93, 235, .09); }
html[data-accent="green"]  { --accent: #0e8345; --accent-soft: rgba(14, 131, 69, .10); }
html[data-accent="graphite"] { --accent: #55555c; --accent-soft: rgba(85, 85, 92, .10); }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 5.2rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #fff; }

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

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sec { padding-block: var(--sec); position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }

.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.sec-head h2 { margin: 0; }
.sec-head .more { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .25s, color .25s; }
.sec-head .more:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Метки и типографика ---------- */

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
}

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

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;          /* «В корзину» всегда в одну строку */
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  will-change: transform;
  isolation: isolate;           /* свой stacking context: подложка hover не перекрывает текст */
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .38s var(--ease);
  z-index: -1;                  /* выше фона кнопки, ниже текста — текст виден на hover */
}

.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn:hover { border-color: var(--accent); }

.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent::before { background: var(--ink); }
.btn-accent:hover { border-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { color: #fff; }
.btn-ghost::before { background: var(--ink); }

/* одна высота и размер для всех компактных кнопок-плашек
   («В корзину» в карточках, «Позвонить» в шапке, «Подробнее») */
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; flex: none; }

.btn-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow svg { transform: translateX(4px); }

/* ---------- Хедер ---------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: transform .4s var(--ease);
}

.header.hide { transform: translateY(-100%); }

/* при открытом меню шапка (лого + крестик) над шторкой */
body.menu-open .header {
  z-index: 96;
  background: transparent;
  border-color: transparent;
}

.header-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -.02em;
  flex: none;
}

.logo svg { width: 34px; height: 34px; color: var(--accent); transition: transform .4s var(--ease); }
.logo:hover svg { transform: rotate(-8deg); }

.logo b { font-weight: 500; }
.logo span { color: var(--accent); }

.nav { display: flex; gap: 4px; margin-left: auto; }

.nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  white-space: nowrap;          /* «О магазине» не переносится на две строки */
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.head-tools { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav + .head-tools { margin-left: 0; }

.themes { display: flex; gap: 8px; align-items: center; }

.themes button {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
  transition: transform .25s var(--ease);
}

.themes button:hover { transform: scale(1.2); }
.themes button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.themes [data-set="orange"] { background: #ff5a00; }
.themes [data-set="blue"] { background: #1d5deb; }
.themes [data-set="green"] { background: #0e8345; }
.themes [data-set="graphite"] { background: #55555c; }

.head-phone { font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.head-phone:hover { color: var(--accent); }

.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 95;
}

.burger i, .burger i::before, .burger i::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease), opacity .3s;
}

.burger i { top: 21px; }
.burger i::before { left: 0; top: -7px; }
.burger i::after { left: 0; top: 7px; }
.burger.open i { background: transparent; }
.burger.open i::before { top: 0; transform: rotate(45deg); }
.burger.open i::after { top: 0; transform: rotate(-45deg); }

/* Мобильное меню */

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 92;
  background: var(--bg);
  padding: calc(110px + env(safe-area-inset-top)) var(--pad) calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 8px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .5s var(--ease-io), visibility 0s .5s;
  overflow: auto;
}

.mmenu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease-io); }

.mmenu a.mlink {
  font-size: clamp(1.9rem, 8vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -.02em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s;
}

.mmenu.open a.mlink { transform: none; opacity: 1; }
.mmenu.open a.mlink:nth-child(2) { transition-delay: .06s; }
.mmenu.open a.mlink:nth-child(3) { transition-delay: .12s; }
.mmenu.open a.mlink:nth-child(4) { transition-delay: .18s; }
.mmenu.open a.mlink:nth-child(5) { transition-delay: .24s; }

.mmenu a.mlink:active { color: var(--accent); }
.mmenu a.mlink small { font-family: var(--font-mono); font-size: 12px; color: var(--muted); font-weight: 400; }

.mmenu-foot { margin-top: auto; display: grid; gap: 6px; }
.mmenu-foot .btn { justify-content: center; }

/* ---------- Прелоадер (boot) ----------
   Если JS сломался — boot скрывается: html без .js прячет его,
   а инлайн-страховка в <body> добавляет .done через 1.8 с. */

html:not(.js) .boot { display: none; }

.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: clip-path .6s var(--ease-io);
  clip-path: inset(0 0 0 0);
}

.boot.done { clip-path: inset(0 0 100% 0); pointer-events: none; }

.boot b {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -.02em;
  animation: bootPulse 1.1s var(--ease) infinite alternate;
}

.boot b span { color: var(--accent); }

@keyframes bootPulse { from { opacity: .35; } to { opacity: 1; } }

/* ---------- Вайп-переход между страницами ----------
   Живёт в HTML каждой страницы, НЕ создаётся скриптом.
   .enter — страница открылась: колонки закрыты и уезжают вверх
   чистым CSS, без JS. Лечит зависший чёрный экран на медленном
   хостинге: раскрытие происходит даже если скрипты не запустились.
   .in — клик по ссылке: закрываем страницу и уходим. */

.wipe {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  display: flex;
}

.wipe i {
  flex: 1 1 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
}

/* перекрытие 1px убирает волосяную щель между колонками */
.wipe i + i { margin-left: -1px; }

.wipe.in i { animation: wipeIn .34s var(--ease-io) forwards; }
.wipe.in i:nth-child(2) { animation-delay: .03s; }
.wipe.in i:nth-child(3) { animation-delay: .06s; }
.wipe.in i:nth-child(4) { animation-delay: .09s; }
.wipe.in i:nth-child(5) { animation-delay: .12s; }

@keyframes wipeIn { to { transform: scaleY(1); } }

/* раскрытие после загрузки: закрыто минимум .12s, затем уезжает;
   fill both держит закрытое состояние в задержке */
.wipe.enter i { transform: scaleY(1); animation: wipeOut .55s var(--ease-io) .12s both; }

@keyframes wipeOut { to { transform: scaleY(0); } }

.wipe .wipe-brand {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -.02em;
  opacity: 0;
  transition: opacity .2s .18s;
}

.wipe.enter .wipe-brand, .wipe.in .wipe-brand { opacity: 1; }
/* бренд уезжает вместе с раскрытием даже без JS */
.wipe.enter .wipe-brand { animation: brandAway .3s var(--ease) .25s both; }

@keyframes brandAway { to { opacity: 0; } }

/* страховка: даже если JS мёртв и .in залип — раскрыть принудительно */
.wipe.in.auto-out i { animation: wipeOut .55s var(--ease-io) both; }

/* ---------- Reveal при скролле ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal].vis { opacity: 1; transform: none; }

.split .ln {
  display: block;
  overflow: hidden;
}

.split .ln > span {
  display: block;
  transform: translateY(110%);
  transition: transform .9s var(--ease);
}

.split.vis .ln:nth-child(1) > span { transition-delay: .05s; }
.split.vis .ln:nth-child(2) > span { transition-delay: .15s; }
.split.vis .ln:nth-child(3) > span { transition-delay: .25s; }
.split.vis .ln > span { transform: none; }

/* ---------- Хиро ---------- */

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* двойная подложка: снизу вверх (весь текст) + слева направо
     (левая колонка, где стоит текст). Фото видно справа сверху,
     текст читается везде — жалоба «на главной не видно текст» */
  background:
    linear-gradient(to top,
      #ffffff 0%,
      rgba(255, 255, 255, .97) 24%,
      rgba(255, 255, 255, .82) 42%,
      rgba(255, 255, 255, .46) 58%,
      rgba(255, 255, 255, .10) 76%,
      rgba(255, 255, 255, 0) 90%),
    linear-gradient(97deg,
      rgba(255, 255, 255, .52) 0%,
      rgba(255, 255, 255, .30) 38%,
      rgba(255, 255, 255, 0) 60%);
}

.hero-bg img { object-position: center top; }

.hero-in { padding-block: clamp(28px, 4vw, 56px); width: 100%; }

.hero h1 { margin-bottom: 18px; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-2);
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-meta .pulse { animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
  50% { box-shadow: 0 0 0 6px var(--accent-soft); }
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  gap: 20px;
}

.hero-stats b {
  display: block;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.hero-stats b sup { font-size: .55em; color: var(--accent); }
.hero-stats span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; max-width: 22ch; }

.hero-corner {
  position: absolute;
  right: var(--pad);
  top: 104px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.7;
}

/* ---------- Бегущие штрихи-метки (углы) ---------- */

.marks { position: relative; }
.marks::before, .marks::after {
  content: "+";
  position: absolute;
  font-family: var(--font-mono);
  color: var(--line-2);
  font-size: 18px;
  line-height: 1;
}
.marks::before { left: 0; top: -6px; }
.marks::after { right: 0; top: -6px; }

/* ---------- Карточки-панели ---------- */

.panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.panel:hover { border-color: var(--ink); }

/* ---------- Преимущества (список-строки) ---------- */

.rows { border-top: 1px solid var(--line); }

.row-item {
  display: grid;
  grid-template-columns: 64px 1fr 1.2fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}

.row-item:hover { padding-left: 14px; }
.row-item:hover .row-num { color: var(--accent); }

.row-num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); transition: color .3s; }
.row-item h3 { margin: 0; }
.row-item p { margin: 0; color: var(--muted); font-size: 15.5px; }
.row-item .row-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ---------- Сетка категорий (асимметричная) ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.cat-card {
  grid-column: span 4;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 44px;
  min-height: 230px;
  position: relative;
  overflow: hidden;
}

.cat-card:nth-child(6n+1) { grid-column: span 5; }
.cat-card:nth-child(6n+2) { grid-column: span 3; }
.cat-card:nth-child(6n+3) { grid-column: span 4; }
.cat-card:nth-child(6n+4) { grid-column: span 3; }
.cat-card:nth-child(6n+5) { grid-column: span 4; }
.cat-card:nth-child(6n+6) { grid-column: span 5; }

.cat-card .cat-n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.cat-card h3 { margin: 0; max-width: 14ch; }
.cat-card .cat-count { margin-top: auto; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.cat-card::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent-soft);
  transform: scale(0);
  transition: transform .45s var(--ease);
}
.cat-card:hover::after { transform: scale(1.6); }
.cat-card:hover { border-color: var(--accent); }

/* ---------- Футер ---------- */

.footer {
  border-top: 1px solid var(--ink);
  padding: clamp(48px, 6vw, 80px) 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer h4 { font-size: 13px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--accent); }
.footer .f-about p { color: var(--muted); font-size: 14.5px; max-width: 34ch; }
.footer .f-word { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.footer .f-word span { color: var(--accent); }

.footer .f-contact li { display: flex; gap: 8px; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 8px; font-size: 14.5px; }
.footer .f-contact a { font-weight: 500; }

.footer-bar {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.footer-bar a { color: var(--ink); font-weight: 500; }
.footer-bar a:hover { color: var(--accent); }
.footer-bar .orvyx { display: inline-flex; align-items: baseline; gap: 6px; }
.footer-bar .orvyx b { font-weight: 500; letter-spacing: .02em; }
.footer-bar .orvyx b:hover { color: var(--accent); }
.footer-bar button { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-bar button:hover { color: var(--accent); }

/* ---------- Хлебные крошки и шапка страницы ---------- */

.page-hero {
  padding-top: calc(72px + clamp(40px, 6vw, 72px));
  padding-bottom: clamp(28px, 4vw, 48px);
}

.crumbs { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-style: normal; color: var(--line-2); }

.page-hero h1 { margin-bottom: 14px; max-width: 18ch; }

/* ---------- Адаптив ---------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .head-tools { margin-left: 0; }
  .head-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-card, .cat-card:nth-child(6n+1), .cat-card:nth-child(6n+2), .cat-card:nth-child(6n+3),
  .cat-card:nth-child(6n+4), .cat-card:nth-child(6n+5), .cat-card:nth-child(6n+6) { grid-column: span 6; }
  .row-item { grid-template-columns: 48px 1fr auto; }
  .row-item p { grid-column: 2 / -1; grid-row: 2; }
  .hero-corner { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .themes { display: none; }
  .head-cta { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .cat-card, .cat-card:nth-child(6n+n) { grid-column: span 12; min-height: 0; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .row-item { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .row-item p { grid-column: auto; }
  .row-num { order: -1; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .more { justify-self: start; }
}

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