/* ============================================================
   TEMPLATE E · split-catalog
   Одностраничник, у которого центр страницы — двухколоночный
   разворот каталога: липкая колонка чипов слева + сетка крупных
   карточек справа (обложка = 60 % высоты карточки).
   Hero — горизонтальная полоса «текст | KPI-стек».
   Лояльность — ряд карточек-ступеней с горизонтальным скроллом
   на мобиле. Касса — таблица. FAQ — одноколоночный аккордеон.
   Цвета, шрифты и префикс классов — через токены.
   Никакого JS: чипы — обычные якорные ссылки и <details>.
   ============================================================ */

:root {
  --bg:        #f1ead8;
  --bg2:       #dfd3bb;
  --accent:    #d63d32;
  --accent2:   #244a9d;
  --text:      #202124;
  --mute:      #6f706c;
  --line:      color-mix(in srgb, var(--mute) 24%, transparent);
  --panel:     color-mix(in srgb, var(--bg2) 90%, var(--text) 4%);
  --f-head:    'Unbounded', Georgia, 'Times New Roman', serif;
  --f-body:    'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gap:       20px;
  --pad:       clamp(16px, 4vw, 46px);
  --tap:       44px;
  --rail:      264px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

h1, h2, h3,
.baug__t, .baufilter__t, .baufoot__t {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(26px, 4.2vw, 44px); }
h2 { font-size: clamp(21px, 3vw, 32px); }
h3 { font-size: clamp(17px, 1.9vw, 21px); }

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ---------- skip link ---------- */

.bauskip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 18px;
  z-index: 60;
  border-radius: 0 0 8px 0;
}
.bauskip:focus { left: 0; }

/* ---------- шапка ---------- */

.baubar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px var(--pad);
  background: color-mix(in srgb, var(--bg) 92%, black 8%);
  border-bottom: 1px solid var(--line);
}

.baumark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  min-height: var(--tap);
}
.baumark:hover { text-decoration: none; }
.baumark__svg { width: 30px; height: 30px; flex: none; }
.baumark__t {
  font-family: var(--f-head);
  font-size: 18px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.baumark__sub {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.baunav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-inline-start: auto;
}
.baunav a {
  color: var(--mute);
  font-size: 14px;
  padding: 11px 12px;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
}
.baunav a:hover {
  color: var(--text);
  background: var(--panel);
  text-decoration: none;
}

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

.baucta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 12px 22px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--accent);
  text-align: center;
}
.baucta:hover { filter: brightness(1.08); text-decoration: none; }
.baucta--mini { padding: 10px 16px; font-size: 14px; }
.baucta--line {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.baucta--wide { width: 100%; margin-top: 18px; }
.baucta--big { padding: 16px 34px; font-size: 17px; }

/* ---------- 01 · HERO-полоса ---------- */

.bauband {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  padding: clamp(30px, 5vw, 62px) var(--pad);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 62%),
    var(--bg);
}

.bauover {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 0 0 10px;
}

.baulead { color: var(--mute); font-size: 17px; max-width: 68ch; }

.bauband__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* KPI-стек: 4 строки, число слева, подпись справа */
.baukpi {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}
.baukpi li {
  display: grid;
  grid-template-columns: minmax(96px, auto) 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.baukpi li:last-child { border-bottom: 0; }
.baukpi__v {
  font-family: var(--f-head);
  font-size: clamp(20px, 2.4vw, 27px);
  color: var(--accent2);
  line-height: 1.05;
}
.baukpi__l { font-size: 13.5px; color: var(--mute); line-height: 1.4; }

/* ---------- общая секция ---------- */

.bausec {
  padding: clamp(34px, 5vw, 66px) var(--pad);
  border-bottom: 1px solid var(--line);
}
.bauhead { max-width: 74ch; margin-bottom: 26px; }
.bauhead__p { color: var(--mute); }
.baunote {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--mute);
  max-width: 86ch;
}

/* ---------- 02 · РАЗВОРОТ КАТАЛОГА ---------- */

.baucatalog { background: color-mix(in srgb, var(--bg2) 40%, var(--bg)); }

.bausplit {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
  align-items: start;
}

.baufilter {
  position: sticky;
  top: 74px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}
.baufilter__t {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 18px 0 10px;
}
.baufilter__t:first-child { margin-top: 0; }

.bauchips { display: flex; flex-wrap: wrap; gap: 8px; }
.bauchip {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
}
.bauchip:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.bauhint {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.bauhint summary {
  cursor: pointer;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--accent2);
}
.bauhint p { font-size: 13.5px; color: var(--mute); margin-top: 8px; }

/* сетка карточек: 12 штук, обложка = 60 % высоты карточки */
.baugrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: var(--gap);
}

.baug {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg2);
}
.baug:hover { border-color: var(--accent2); }

.baug__img {
  flex: 0 0 60%;
  width: 100%;
  height: 60%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: color-mix(in srgb, var(--bg) 70%, var(--accent) 10%);
}

.baug__b {
  flex: 1 1 40%;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.baug__t { margin: 0; font-size: 17px; }

.baug__m {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  font-size: 13px;
}
.baug__m dt {
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  padding-top: 2px;
}
.baug__m dd { margin: 0; color: var(--text); }
.baug__m dd:last-of-type { color: var(--accent2); }

/* ---------- 03 · пакет: три карточки ---------- */

.bautrio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
}
.baucard {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.baucard__n {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.baucard p:last-child { color: var(--mute); font-size: 14.5px; }

/* ---------- 04 · ступени лояльности: ряд, на мобиле — свайп ---------- */

.bausteps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.baustep {
  scroll-snap-align: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--bg2);
}
.baustep__n {
  font-family: var(--f-head);
  font-size: 13px;
  color: var(--mute);
  margin: 0 0 6px;
}
.baustep h3 { margin-bottom: 6px; }
.baustep__v {
  color: var(--accent2);
  font-weight: 600;
  margin: 0 0 8px;
}
.baustep p:last-child { font-size: 14px; color: var(--mute); }

/* ---------- 05–06, 09 · две текстовые колонки ---------- */

.bautwo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 3vw, 40px);
  color: var(--mute);
  font-size: 15.5px;
}
.bautour { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }

/* ---------- 07 · доступ: 6 H3 в три колонки ---------- */

.baucols3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.baucols3 > div {
  padding: 18px;
  border-left: 2px solid var(--accent2);
  background: color-mix(in srgb, var(--bg2) 55%, transparent);
  border-radius: 0 12px 12px 0;
}
.baucols3 p { color: var(--mute); font-size: 14.5px; }

/* ---------- 08 · таблица кассы ---------- */

.bautw { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.bautbl {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
  font-size: 14.5px;
}
.bautbl caption {
  text-align: left;
  padding: 12px 16px;
  color: var(--mute);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.bautbl th, .bautbl td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.bautbl thead th {
  color: var(--accent2);
  font-family: var(--f-head);
  font-weight: 600;
  background: var(--panel);
}
.bautbl tbody th { font-weight: 600; }
.bautbl tbody tr:last-child th,
.bautbl tbody tr:last-child td { border-bottom: 0; }

/* ---------- 10 · отзывы ---------- */

.baurevs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--gap);
}
.baurev {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg2);
}
.baurev blockquote { margin: 0 0 12px; }
.baurev p { font-size: 15px; }
.baurev figcaption {
  font-size: 13px;
  color: var(--accent2);
  letter-spacing: 0.04em;
}

/* ---------- 11 · FAQ: одна колонка, крупные summary ---------- */

.bauacc { max-width: 92ch; }
.bauq {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.bauq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 12px 4px;
  font-family: var(--f-head);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.25;
}
.bauq summary::-webkit-details-marker { display: none; }
.bauq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
  flex: none;
}
.bauq[open] summary::after { content: '–'; }
.bauq p {
  padding: 0 4px 16px;
  color: var(--mute);
  font-size: 15px;
  max-width: 84ch;
}

/* ---------- 12 · финальный CTA ---------- */

.baufinal { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.baufin { max-width: 72ch; }
.baufin p { color: var(--mute); margin-bottom: 20px; }

/* ---------- 13 · author note ---------- */

.bauauthor p { color: var(--mute); font-size: 14.5px; max-width: 92ch; }

/* ---------- подвал ---------- */

.baufoot { padding: clamp(26px, 4vw, 46px) var(--pad); }
.baufoot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
  color: var(--mute);
  font-size: 14px;
}
.baufoot__t { color: var(--text); font-size: 16px; margin-bottom: 8px; }
.baufoot__c {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 13px;
}

/* ---------- планшет ---------- */

@media (max-width: 1080px) {
  .bausplit { grid-template-columns: 1fr; }
  .baufilter {
    position: static;
    max-height: none;
  }
  .baucols3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .bauband { grid-template-columns: 1fr; }
  .baunav { order: 3; width: 100%; margin-inline-start: 0; }
}

/* ---------- мобилка: одна колонка от 620 px ---------- */

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .baugrid { grid-template-columns: 1fr; }
  .baug { min-height: 0; }
  .baug__img { aspect-ratio: 3 / 2; }
  .bautrio,
  .bautwo,
  .baurevs,
  .baucols3,
  .baufoot__grid { grid-template-columns: 1fr; }
  .bausteps { grid-auto-columns: 78vw; }
  .baukpi li { grid-template-columns: 1fr; gap: 2px; }
  .baucta { width: 100%; }
  .baucta--mini { width: auto; }
  .bauband__btns { flex-direction: column; }
  .bauchip { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.seo-intents{max-width:1180px;margin:24px auto;padding:16px 20px;color:var(--muted,inherit);font-size:.78rem;line-height:1.8}.seo-intents p{margin:0}@media(max-width:620px){.seo-intents{padding:14px}}
