/* ====================================================================
   Vsteh.ru Design System — v2 (полный набор)
   Источник: web-design-preview/index.html + screens-1/2/3.js

   Все компонентные классы живут под namespace `.ds`, чтобы не
   конфликтовать с Bootstrap-разметкой старых страниц. Дизайн-токены
   объявлены на :root (видны везде, безвредны).

   Подключается через AppAsset. Постепенно меняем views и оборачиваем
   их в class="ds" — Bootstrap-стили остаются только там, где `.ds`
   родителя ещё нет.

   Алиас обратной совместимости: `.new-design` = `.ds`.
==================================================================== */

/* ── Шрифт ───────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

/* ── Дизайн-токены ───────────────────────────────────────────────── */
:root {
  --primary:       #FFC107;
  --primary-hover: #FBDD84;
  --dark:          #333333;
  --text:          #333333;
  --text-muted:    #828282;
  --text-light:    #BDBDBD;
  --accent:        #eb5757;
  --success:       #27AE60;
  --warning:       #FFA726;
  --danger:        #b42318;
  --border:        #DADADA;
  --border-light:  #E5E5E5;
  --bg:            #FFFFFF;
  --bg-grey:       #F0F0F0;
  --bg-light:      #F6F6F6;
  --shadow:        0 12px 23px rgba(0,0,0,.06);
  --shadow-lg:     0 16px 32px rgba(0,0,0,.10);

  /* Радиусы — в дизайне всё 4px. Делаем lg/xl для будущих карточек. */
  --r-sm: 2px;
  --r:    4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
}

/* ── База namespace ──────────────────────────────────────────────── */
.ds, .new-design {
  font-family: "Play", sans-serif;
  color: var(--text);
}
.ds *, .new-design *,
.ds *::before, .new-design *::before,
.ds *::after, .new-design *::after { box-sizing: border-box; }
.ds img, .new-design img { max-width: 100%; height: auto; }

/* ── Header вспомогательной шапки (.vh — vsteh header) ──────────── */
.ds .vh, .new-design .vh {
  background: var(--dark);
  color: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  height: 70px;
  flex-shrink: 0;
}
.ds .vh__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: .5px; }
.ds .vh__logo svg { display: block; }
.ds .vh__menu { display: flex; gap: 0; flex: 0 0 auto; margin-left: 30px; }
.ds .vh__menu a {
  color: #fff; text-decoration: none; font-size: 15px;
  padding: 0 15px; line-height: 30px; transition: color .3s;
}
.ds .vh__menu a:hover, .ds .vh__menu a.active { color: var(--primary); }
.ds .vh__search {
  flex: 1; max-width: 520px; background: #fff;
  border-radius: var(--r); padding: 0 16px;
  display: flex; align-items: center; gap: 10px;
  height: 40px; margin-left: auto;
}
.ds .vh__search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: "Play", sans-serif; font-size: 14px; color: var(--text);
}
.ds .vh__search input::placeholder { color: var(--text-light); }
.ds .vh__user { display: flex; align-items: center; gap: 24px; }
.ds .vh__user a {
  color: #fff; font-size: 14px; text-decoration: none;
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  transition: color .3s;
}
.ds .vh__user a:hover { color: var(--primary); }
.ds .vh__user svg { stroke: var(--primary); fill: none; stroke-width: 1.5; }
.ds .vh__notif { position: relative; }
.ds .vh__notif::after {
  content: ''; position: absolute; top: -2px; right: -4px;
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
}

/* ── Topbar (под-навигация кабинета, .vt) ───────────────────────── */
.ds .vt {
  background: var(--bg-grey); height: 50px; padding: 0 30px;
  display: flex; align-items: center; gap: 30px;
  flex-shrink: 0; font-size: 14px;
}
.ds .vt a {
  color: var(--text); text-decoration: none;
  padding-bottom: 14px; position: relative; cursor: pointer;
}
.ds .vt a:hover::before,
.ds .vt a.active::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--accent);
}

/* ── Тело страницы / контентный контейнер ───────────────────────── */
.ds .vb { flex: 1; display: flex; background: var(--bg-light); }
.ds .vc { flex: 1; padding: 30px 40px; }

/* ── Боковая навигация кабинета ─────────────────────────────────── */
.ds .vs {
  width: 240px; background: #fff;
  border-right: 1px solid var(--border-light);
  flex-shrink: 0; padding: 20px 0;
}
.ds .vs-section { padding: 0 0 20px; }
.ds .vs-title {
  font-size: 11px; text-transform: uppercase;
  color: var(--text-muted); letter-spacing: 1px; font-weight: 700;
  padding: 0 24px; margin-bottom: 8px;
}
.ds .vs-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 24px; color: var(--text); text-decoration: none;
  font-size: 14px; cursor: pointer;
  border-left: 3px solid transparent; transition: all .2s;
}
.ds .vs-link:hover { background: var(--bg-light); }
.ds .vs-link.active {
  background: var(--bg-light); border-left-color: var(--primary);
  color: var(--text); font-weight: 700;
}
.ds .vs-link .b {
  margin-left: auto; background: var(--primary); color: var(--text);
  font-size: 11px; font-weight: 700; padding: 2px 7px;
  border-radius: 10px; line-height: 1.4;
}
.ds .vs-link svg, .ds .vs-link .ico {
  width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0;
}

/* ── Кнопки ─────────────────────────────────────────────────────── */
.ds .btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 0 20px; border-radius: var(--r);
  border: 1px solid; cursor: pointer;
  font-family: "Play", sans-serif; font-size: 14px;
  line-height: 38px; height: 40px;
  text-decoration: none; font-weight: 400;
  transition: all .25s ease; white-space: nowrap;
}
.ds .btn-primary { background: var(--primary);     border-color: var(--primary);     color: var(--text); }
.ds .btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--text); }
.ds .btn-dark    { background: var(--dark);        border-color: var(--dark);        color: #fff; }
.ds .btn-dark:hover { background: var(--primary);  border-color: var(--primary);     color: var(--text); }
.ds .btn-transp  { background: #fff;               border-color: var(--text);        color: var(--text); }
.ds .btn-transp:hover { background: var(--text);   color: #fff; }
.ds .btn-link    { background: transparent;        border-color: transparent;        color: var(--text); text-decoration: underline; }
.ds .btn-link:hover { color: var(--primary); }
.ds .btn-sm      { height: 34px; line-height: 32px; font-size: 13px; padding: 0 14px; }
.ds .btn-lg      { height: 48px; line-height: 46px; font-size: 16px; padding: 0 28px; }
.ds .btn[disabled], .ds .btn.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* ── Заголовок страницы ─────────────────────────────────────────── */
.ds .page-h {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px; margin-bottom: 24px;
}
.ds .page-h h1 { font-size: 24px; font-weight: 700; color: var(--text); margin: 0; }
.ds .page-h p  { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.ds .page-acts { display: flex; gap: 10px; }

/* ── Карточка ───────────────────────────────────────────────────── */
.ds .card {
  background: #fff; border-radius: var(--r);
  padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.ds .card.no-shadow { box-shadow: none; border: 1px solid var(--border-light); }
.ds .card-h {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.ds .card-h h3 { font-size: 16px; font-weight: 700; margin: 0; }
.ds .card-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ── Поля формы ─────────────────────────────────────────────────── */
.ds .field { margin-bottom: 16px; }
.ds .field label {
  display: block; font-size: 13px;
  color: var(--text-muted); margin-bottom: 6px;
}
.ds .input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--r);
  font-size: 14px; background: #fff; outline: none;
  font-family: "Play", sans-serif; color: var(--text);
  transition: all .3s;
}
.ds .input:focus { border-color: var(--primary); }
.ds .input::placeholder { color: var(--text-light); }
.ds .input:disabled { background: var(--bg-light); color: var(--text-light); cursor: not-allowed; }
.ds .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ds .field-row > div { margin: 0; }

/* Чекбоксы и radio — accent-color на жёлтый */
.ds input[type="checkbox"],
.ds input[type="radio"] { accent-color: var(--primary); }
.ds .fs-check {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: 14px; cursor: pointer;
}

/* select под наш дизайн */
.ds select.input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23828282' stroke-width='2'><polyline points='1 1 6 6 11 1'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px;
}

/* ── Hero (главная) ─────────────────────────────────────────────── */
.ds .hero {
  background: linear-gradient(135deg, #1A1A1B 0%, #333333 100%);
  color: #fff; padding: 50px 40px; border-radius: var(--r);
  margin-bottom: 28px; position: relative; overflow: hidden;
}
.ds .hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 300px; height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(255,193,7,.18), transparent 60%);
  opacity: .8;
}
.ds .hero h1 {
  font-size: 38px; font-weight: 700; margin-bottom: 14px;
  line-height: 1.2; color: #fff; position: relative;
}
.ds .hero h1 b { color: var(--primary); }
.ds .hero p {
  font-size: 16px; opacity: .85; margin-bottom: 24px;
  max-width: 560px; color: #fff; position: relative; line-height: 1.55;
}
.ds .hero-cta { display: flex; gap: 10px; position: relative; }

/* ── Метрики ────────────────────────────────────────────────────── */
.ds .stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 28px;
}
.ds .stat {
  background: #fff; border-radius: var(--r);
  padding: 20px 22px; box-shadow: var(--shadow);
}
.ds .stat .v { font-size: 28px; font-weight: 700; color: var(--text); line-height: 1.2; }
.ds .stat .l {
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .5px;
  margin-top: 6px; font-weight: 700;
}
.ds .stat .t { font-size: 13px; color: var(--success); margin-top: 8px; }

/* ── Grid ───────────────────────────────────────────────────────── */
.ds .g2 { display: grid; grid-template-columns: 1fr 1fr;          gap: 16px; }
.ds .g3 { display: grid; grid-template-columns: repeat(3, 1fr);   gap: 16px; }
.ds .g4 { display: grid; grid-template-columns: repeat(4, 1fr);   gap: 16px; }
.ds .g5 { display: grid; grid-template-columns: repeat(5, 1fr);   gap: 14px; }

/* ── Badge ──────────────────────────────────────────────────────── */
.ds .badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r);
  font-size: 12px; font-weight: 700; line-height: 1.2;
}
.ds .b-yellow { background: var(--primary); color: var(--text); }
.ds .b-green  { background: var(--success); color: #fff; }
.ds .b-red    { background: var(--dark);    color: var(--primary); }
.ds .b-blue   { background: var(--bg-grey); color: var(--text); border: 1px solid var(--border-light); }
.ds .b-violet { background: var(--dark);    color: var(--primary); }
.ds .b-grey   { background: var(--bg-grey); color: var(--text); }
.ds .b-light  { background: var(--bg-light); color: var(--text); border: 1px solid var(--border-light); }
.ds .b-dark   { background: var(--dark);    color: #fff; }

/* ── Аватары ────────────────────────────────────────────────────── */
.ds .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #FFC107, #FBDD84);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.ds .av-sm { width: 32px; height: 32px; font-size: 12px; }
.ds .av-lg { width: 80px; height: 80px; font-size: 28px; }

/* ── Превью техники ─────────────────────────────────────────────── */
.ds .thumb {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #F6F6F6, #E8E8E8);
  border-radius: var(--r); display: flex; align-items: center;
  justify-content: center; color: var(--text-muted);
  font-size: 32px; flex-shrink: 0;
  border: 1px solid var(--border-light);
}
.ds .thumb-lg { width: 100%; height: 200px; font-size: 64px; border-radius: var(--r); }
.ds .thumb-xl { width: 100%; height: 340px; font-size: 96px; border-radius: var(--r); }

/* ── Звёзды рейтинга ────────────────────────────────────────────── */
.ds .stars       { color: var(--primary); font-size: 14px; letter-spacing: 1px; }
.ds .rating-num  { font-weight: 700; font-size: 13px; color: var(--text); margin-right: 6px; }

/* ── Таблица ────────────────────────────────────────────────────── */
.ds .tbl {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
}
.ds .tbl th {
  background: var(--bg-grey); padding: 14px 18px;
  text-align: left; font-size: 12px; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700; letter-spacing: .5px;
  border-bottom: 1px solid var(--border-light);
}
.ds .tbl td { padding: 16px 18px; font-size: 14px; border-bottom: 1px solid var(--border-light); color: var(--text); }
.ds .tbl tr:last-child td { border-bottom: none; }
.ds .tbl tr:hover { background: var(--bg-light); cursor: pointer; }
.ds .tbl .acts { display: flex; gap: 6px; justify-content: flex-end; }

/* ── Tabs ───────────────────────────────────────────────────────── */
.ds .tabs {
  display: flex; border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px; gap: 0;
}
.ds .tab {
  padding: 12px 22px; font-size: 14px;
  color: var(--text-muted); border: 0;
  border-bottom: 2px solid transparent;
  background: transparent; cursor: pointer;
  font-weight: 400; transition: all .3s;
  font-family: "Play", sans-serif;
}
.ds .tab:hover { color: var(--text); }
.ds .tab.active { color: var(--text); border-bottom-color: var(--primary); font-weight: 700; }

/* ── Chip (фильтры) ─────────────────────────────────────────────── */
.ds .chip {
  display: inline-flex; padding: 7px 14px; background: #fff;
  border: 1px solid var(--border); border-radius: 20px;
  font-size: 13px; cursor: pointer; color: var(--text);
  margin-right: 6px; margin-bottom: 6px; transition: all .3s;
}
.ds .chip:hover { border-color: var(--primary); }
.ds .chip.active { background: var(--primary); border-color: var(--primary); font-weight: 700; }

/* ── Фасет-сайдбар каталога ────────────────────────────────────── */
.ds .fs {
  width: 280px; background: #fff;
  border-right: 1px solid var(--border-light);
  padding: 24px; flex-shrink: 0;
}
.ds .fs-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.ds .fs-section {
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.ds .fs-section:last-child { border-bottom: none; }
.ds .fs-section h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }

/* ── Карточка товара ────────────────────────────────────────────── */
.ds .pc {
  background: #fff; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s;
  cursor: pointer; color: inherit; text-decoration: none; display: block;
}
.ds .pc:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; color: inherit; }
.ds .pc-img {
  height: 200px;
  background: linear-gradient(135deg, #F6F6F6, #E8E8E8);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: var(--text-muted); position: relative;
}
.ds .pc-fav {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted);
}
.ds .pc-fav:hover { color: var(--accent); }
.ds .pc-body  { padding: 16px; }
.ds .pc-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.ds .pc-meta  { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.ds .pc-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 1px solid var(--border-light);
}
.ds .pc-price { font-size: 18px; font-weight: 700; color: var(--text); }

/* ── Lead/order row (биржа заявок) ──────────────────────────────── */
.ds .lead {
  background: #fff; border-radius: var(--r);
  padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow);
  cursor: pointer; display: grid;
  grid-template-columns: auto 1fr auto; gap: 18px;
  align-items: center; transition: all .3s;
}
.ds .lead:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.ds .lead h4   { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ds .lead .meta  { font-size: 13px; color: var(--text-muted); }
.ds .lead .price { font-size: 18px; font-weight: 700; text-align: right; }

/* ── Kanban ─────────────────────────────────────────────────────── */
.ds .kanban {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 14px;
}
.ds .kcol {
  min-width: 280px; background: var(--bg-grey);
  border-radius: var(--r); padding: 14px; flex-shrink: 0;
}
.ds .kcol h4 {
  font-size: 13px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
  display: flex; justify-content: space-between;
  font-weight: 700; letter-spacing: .5px;
}
.ds .kcol h4 .c {
  background: #fff; color: var(--text);
  padding: 2px 8px; border-radius: 10px; font-size: 12px;
}
.ds .kcard {
  background: #fff; border-radius: var(--r);
  padding: 14px; margin-bottom: 10px;
  box-shadow: var(--shadow); font-size: 13px; cursor: pointer;
}
.ds .kcard h5 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.ds .kcard .meta { color: var(--text-muted); font-size: 12px; }

/* ── Bar ────────────────────────────────────────────────────────── */
.ds .bar { height: 8px; background: var(--bg-grey); border-radius: var(--r); overflow: hidden; }
.ds .bar > div { height: 100%; background: var(--primary); }

/* ── Empty state ────────────────────────────────────────────────── */
.ds .empty { padding: 80px 20px; text-align: center; color: var(--text-muted); }
.ds .empty-ico { font-size: 64px; margin-bottom: 14px; opacity: .3; }

/* ── QR ─────────────────────────────────────────────────────────── */
.ds .qr {
  width: 220px; height: 220px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 120px; color: var(--text);
}

/* ── Категории на главной ───────────────────────────────────────── */
.ds .cat {
  background: #fff; border-radius: var(--r);
  padding: 24px 16px; text-align: center; cursor: pointer;
  box-shadow: var(--shadow); transition: all .3s;
  text-decoration: none; color: inherit; display: block;
}
.ds .cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; color: inherit; }
.ds .cat .ico  { font-size: 42px; margin-bottom: 10px; display: block; }
.ds .cat .name { font-weight: 700; font-size: 14px; }

/* ── Footer (главной) ───────────────────────────────────────────── */
.ds .foot {
  background: var(--dark); color: #fff;
  padding: 30px 40px; font-size: 13px; flex-shrink: 0;
}
.ds .foot a { color: #fff; text-decoration: none; opacity: .7; }
.ds .foot a:hover { opacity: 1; color: var(--primary); }

/* ── Прочее ─────────────────────────────────────────────────────── */
.ds .muted   { color: var(--text-muted); font-size: 13px; }
.ds .divider { height: 1px; background: var(--border-light); margin: 14px 0; }
.ds .amount    { font-size: 24px; font-weight: 700; color: var(--text); }
.ds .amount-lg { font-size: 34px; font-weight: 700; color: var(--text); }
.ds .hint {
  background: #FFF8E1; border-left: 3px solid var(--primary);
  padding: 14px 18px; border-radius: var(--r);
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 16px;
}
.ds .hint .ico { font-size: 24px; flex-shrink: 0; }
.ds .icon-btn {
  width: 38px; height: 38px; border-radius: var(--r);
  background: transparent; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); transition: all .3s;
}
.ds .icon-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ── Алерты (replacement for Bootstrap .alert-*) ────────────────── */
.ds .alert {
  padding: 12px 16px; border-radius: var(--r);
  border-left: 3px solid; font-size: 14px;
  margin-bottom: 14px;
}
.ds .alert-success { background: rgba(39,174,96,.08);  border-left-color: var(--success); color: #145d2c; }
.ds .alert-warning { background: rgba(255,167,38,.10); border-left-color: var(--warning); color: #6b4500; }
.ds .alert-danger  { background: rgba(180,35,24,.08);  border-left-color: var(--danger);  color: var(--danger); }
.ds .alert-info    { background: rgba(50,50,50,.04);   border-left-color: var(--text-muted); color: var(--text); }

/* ── Bootstrap-override внутри .ds ──────────────────────────────────
   Если на странице с class="ds" остался Bootstrap-инпут с
   class="form-control" — перекрываем его нашим стилем .input.
   Эти правила имеют специфичность 0,2,0 (выше Bootstrap-овской 0,1,0). */
.ds .form-control,
.ds input.form-control,
.ds select.form-control,
.ds textarea.form-control {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--r);
  font-size: 14px; line-height: 1.4;
  background: #fff; color: var(--text);
  font-family: "Play", sans-serif; box-shadow: none;
  height: auto; outline: none;
  transition: all .3s;
}
.ds .form-control:focus { border-color: var(--primary); box-shadow: none; }
.ds .help-block { color: var(--text-muted); font-size: 12px; margin: 6px 0 0; }
.ds .has-error .form-control { border-color: var(--danger); }
.ds .has-error .help-block   { color: var(--danger); }

/* ── Адаптив ────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .ds .g5 { grid-template-columns: repeat(4, 1fr); }
  .ds .g4 { grid-template-columns: repeat(3, 1fr); }
  .ds .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ds .vh { padding: 12px 16px; height: 60px; gap: 14px; }
  .ds .vh__menu { display: none; }
  .ds .vh__search { max-width: none; }
  .ds .vc { padding: 20px 16px; }
  .ds .vb { flex-direction: column; }
  .ds .vs { width: 100%; }
  .ds .fs { width: 100%; }
  .ds .g5, .ds .g4 { grid-template-columns: repeat(2, 1fr); }
  .ds .g3 { grid-template-columns: 1fr 1fr; }
  .ds .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ds .hero { padding: 30px 20px; }
  .ds .hero h1 { font-size: 26px; }
  .ds .g3, .ds .g5, .ds .g4, .ds .g2 { grid-template-columns: 1fr; }
  .ds .page-h { flex-direction: column; }
}
