/* Brand: #38412a + золото #fcf0bf → #c9914b */

:root {
  --olive: #38412a;
  --olive-dark: #2a3120;
  --olive-light: #eceee6;
  --gold-light: #fcf0bf;
  --gold-dark: #c9914b;
  --terra: #c9914b;
  --terra-dark: #a8763d;
  --gold-gradient: linear-gradient(135deg, #fcf0bf 0%, #e0b56e 48%, #c9914b 100%);
  --gold-gradient-v: linear-gradient(180deg, #fcf0bf 0%, #d9a862 45%, #c9914b 100%);
  --ink: #1a1f1c;
  --muted: #6b6054;
  --bg: #f8f9f6;
  --bg-gray: #eef0e9;
  --surface: #ffffff;
  --line: #dde2d6;
  --teal: #4a6b52;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 6px 28px rgba(26, 30, 28, 0.07);
  --shadow-accent: 0 2px 4px rgba(26, 30, 28, 0.06), 0 14px 32px -6px rgba(201, 145, 75, 0.38);
  --ring-accent: 0 0 0 3px rgba(201, 145, 75, 0.24);
  --font: "Manrope", system-ui, sans-serif;
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
main,
#main {
  flex: 1 0 auto;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; top: -100%; left: 16px; z-index: 9999; padding: 10px 16px; background: var(--olive); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
[data-lucide] { width: 20px; height: 20px; stroke-width: 1.75; flex-shrink: 0; }
.i-xs { width: 14px; height: 14px; }

.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra-dark); }
.tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--teal); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; font-weight: 700; font-size: 14px; border-radius: var(--radius);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--olive); color: #fff; }
.btn--primary:hover { background: var(--olive-dark); box-shadow: var(--shadow); }
.btn--cta {
  background: var(--gold-gradient-v);
  color: #fff;
}
.btn--cta:hover {
  background: linear-gradient(180deg, #f5e5a8 0%, var(--gold-dark) 100%);
  color: #fff;
}
.btn--accent {
  background: var(--gold-gradient-v);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), var(--shadow-accent);
  border: 1px solid rgba(201, 145, 75, 0.45);
}
.btn--accent:hover {
  background: linear-gradient(180deg, #f5e5a8 0%, #b88240 55%, var(--terra-dark) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), var(--ring-accent), 0 18px 36px -8px rgba(201, 145, 75, 0.45);
}
.btn--accent:active { transform: translateY(0); }
.btn--accent:focus-visible {
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), var(--ring-accent), var(--shadow-accent);
}
.btn--ghost { background: transparent; border: 1.5px solid var(--line); color: var(--olive); }
.btn--ghost:hover { border-color: var(--olive); background: var(--olive-light); }

.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sec-head--row { align-items: flex-end; }
.sec-title { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.sec-sub { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.sec-link { font-size: 14px; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 4px; }
.sec-link:hover { color: var(--terra-dark); }
.sec-link--light { color: rgba(255,255,255,0.85); }

.section { padding: 48px 0; }
.section--gray { background: var(--bg-gray); }
/* Вторичные блоки — тише, чтобы hero/заявка читались главными */
.section--secondary { background: #f0eeea; }
.section--secondary .sec-title { font-weight: 700; color: #3d3d38; }
.section--secondary .sec-sub,
.section--secondary .split__note { color: #94948c; }
.section--secondary .sec-link { color: #5a8f84; font-weight: 600; }
.section--secondary .tag { color: #6a9a90; }
.section--secondary .proj__img { opacity: 0.94; filter: saturate(0.92); }
.section--secondary .proj:hover .proj__img { opacity: 1; filter: none; }
.section--secondary .mini-cats a {
  background: rgba(255, 255, 255, 0.55);
  border-color: #e3e0d9;
  box-shadow: none;
}
.section--secondary .mini-cats a:hover {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

/* Topbar */
.topbar { background: var(--olive-dark); color: rgba(255,255,255,0.85); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar__city { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--terra); }
.topbar__pro { font-weight: 600; opacity: 0.75; }
.topbar__pro:hover { opacity: 1; }
.topbar__phone { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 200; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,0.03); }
.header__inner {
  display: grid; grid-template-columns: auto auto 1fr auto;
  align-items: center; gap: 14px;
  min-height: 76px;
  padding-block: 6px;
  box-sizing: border-box;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { height: 58px; width: auto; max-width: min(220px, 42vw); object-fit: contain; }

.header__catalog {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--olive); color: #fff;
  font-weight: 700; font-size: 14px; border-radius: var(--radius);
}
.header__catalog:hover, .header__catalog[aria-expanded="true"] { background: var(--olive-dark); }

.header__search {
  display: flex; align-items: center;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.header__search:focus-within { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(56, 65, 42, 0.12); }
.header__search [data-lucide],
.header__search > svg:first-of-type {
  margin-left: 14px;
  color: var(--muted);
  flex-shrink: 0;
}
.header__search input { flex: 1; border: none; background: transparent; padding: 13px 12px; font-size: 15px; outline: none; min-width: 0; }
.header__search button {
  margin: 4px; padding: 10px 20px; background: var(--olive); color: #fff;
  font-weight: 700; font-size: 14px; border-radius: calc(var(--radius-lg) - 4px);
}
.header__search button:hover { background: var(--olive-dark); }

.header__acts { display: flex; align-items: center; gap: 2px; }
.header__act {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 10px; font-size: 11px; font-weight: 600; color: var(--muted); border-radius: 8px;
}
.header__act:hover { color: var(--olive); background: var(--bg); }
.header__act em {
  position: absolute; top: 4px; right: 6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  font-style: normal; font-size: 10px; font-weight: 800;
  line-height: 16px; text-align: center;
  background: var(--terra); color: #fff; border-radius: 999px;
}
.header__acts .btn { margin-left: 6px; }
.header__burger {
  display: none; flex-shrink: 0;
  width: 44px; height: 44px;
  place-items: center;
  margin-left: 4px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  color: var(--olive); background: var(--surface);
}
.header__burger-icon {
  display: grid; place-items: center;
  grid-row: 1; grid-column: 1;
}
.header__burger-icon [data-lucide],
.header__burger-icon svg { width: 22px; height: 22px; }
.header__burger-icon--close { display: none; }
.header__burger.is-open .header__burger-icon--menu { display: none; }
.header__burger.is-open .header__burger-icon--close { display: grid; }
.header__burger.is-open { border-color: var(--olive); background: var(--olive-light); }

/* Mega */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 24px 0;
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr 260px; gap: 36px; }
.mega h3 { margin: 0 0 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.mega a { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-weight: 600; font-size: 14px; }
.mega a:hover { color: var(--olive); }
.mega [data-lucide] { width: 18px; color: var(--terra); }
.mega__promo {
  padding: 20px; background: var(--olive-light); border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 65, 42, 0.12);
}
.mega__promo p { margin: 0 0 12px; font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--olive); }
.mega__promo a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--teal); padding: 0; }

/* Subnav */
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav__inner {
  display: flex; gap: 4px; align-items: center;
  min-height: 48px;
  padding: 10px 0;
}
.subnav__link {
  padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--muted);
  border-radius: 8px; white-space: nowrap;
}
.subnav__link:hover { color: var(--olive); background: var(--bg); }
.subnav__link--on { color: var(--olive); background: var(--olive-light); }
.subnav__link--req {
  color: #fff; background: var(--olive); font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 14px -4px rgba(56, 65, 42, 0.45);
}
.subnav__link--req:hover { background: var(--olive-dark); color: #fff; }
.subnav__link--muted { opacity: 0.65; font-weight: 500; }
.subnav__sep { width: 1px; height: 20px; background: var(--line); margin: 0 8px; flex-shrink: 0; }

/* Hero hybrid */
.hero {
  padding: 40px 0 32px;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(201,145,75,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(56,65,42,0.06) 0%, transparent 50%),
    var(--bg);
}
.hero__layout {
  display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 32px; align-items: start;
}
.hero__left { min-width: 0; }
.hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; color: var(--olive-dark);
}
.hero__lead { margin: 0 0 22px; font-size: 16px; color: var(--muted); line-height: 1.6; max-width: 520px; }

.hero__stats {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-stat {
  display: flex; align-items: center; gap: 12px;
}
.hero-stat__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--olive);
}
.hero-stat__icon [data-lucide] { width: 20px; height: 20px; stroke: var(--olive); stroke-width: 2; }
.hero-stat--accent .hero-stat__icon {
  background: var(--olive-light);
  border-color: rgba(56, 65, 42, 0.2);
}
.hero-stat--accent .hero-stat__icon [data-lucide] { stroke: var(--olive-dark); }
.hero-stat__text strong {
  display: block; font-size: 1.35rem; font-weight: 800;
  color: var(--olive-dark); letter-spacing: -0.02em; line-height: 1.15;
}
.hero-stat__text span { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.35; }

.quick-req {
  padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.quick-req--hero {
  margin-bottom: 0;
  padding: 26px 28px 24px;
  border-color: rgba(56, 65, 42, 0.14);
  box-shadow: var(--shadow), 0 0 0 1px rgba(201, 145, 75, 0.12);
}
.quick-req__head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.quick-req__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--olive-dark);
}
.quick-req__sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}
.quick-req__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-bottom: 18px;
}
.quick-req__field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--olive); }
.quick-req label + select { margin-bottom: 0; }
.quick-req select {
  width: 100%; padding: 13px 14px; font-family: var(--font); font-size: 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg);
  outline: none; cursor: pointer;
}
.quick-req select:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(56, 65, 42, 0.12); }
.quick-req__actions .btn { margin-top: 0; }
.quick-req .btn { margin-top: 4px; }
.quick-req__hint {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: 12px; color: var(--muted);
}
.quick-req__hint [data-lucide] { width: 14px; height: 14px; color: var(--teal); }

/* Hero right — visual */
.hero__right { display: flex; flex-direction: column; gap: 12px; }

.hero-visual {
  position: relative; margin: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.hero-visual__badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin: 0;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(8px);
  border-radius: var(--radius); box-shadow: 0 4px 16px rgba(26,26,24,0.12);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.hero-visual__badge strong { color: var(--olive-dark); font-weight: 800; }
.hero-visual__badge [data-lucide] { width: 20px; height: 20px; color: var(--terra); flex-shrink: 0; }
.hero-visual__badge--top { top: 16px; left: 16px; }
.hero-visual__badge--bottom { bottom: 16px; right: 16px; }

.trust-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.trust-mini div {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 11px; font-weight: 700; color: var(--muted);
}
.trust-mini [data-lucide] { width: 20px; height: 20px; color: var(--terra); }

/* Object tracker — unique v4 */
.object-track { padding: 0 0 40px; margin-top: -8px; }
.object-track__card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center; gap: 24px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--olive-dark) 0%, #222818 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow);
}
.object-track__label {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 8px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--terra);
}
.object-track__info h2 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.object-track__info p { margin: 0; font-size: 13px; opacity: 0.65; }

.object-track__stages {
  display: flex; gap: 8px;
}
.stage {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; min-width: 110px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.stage span {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
  background: rgba(255,255,255,0.1);
  border-radius: 50%; flex-shrink: 0;
}
.stage strong { display: block; font-size: 12px; }
.stage small { font-size: 10px; opacity: 0.6; }
.stage--done { border-color: rgba(61,122,110,0.5); background: rgba(61,122,110,0.15); }
.stage--done span { background: var(--teal); }
.stage--active { border-color: var(--terra); background: rgba(201, 145, 75, 0.15); }
.stage--active span { background: var(--terra); }

.object-track__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--terra);
  white-space: nowrap;
}
.object-track__link:hover { color: #fff; }

/* Work types grid */
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.work-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: 0.2s;
}
.work-card:hover { border-color: var(--olive); box-shadow: var(--shadow); transform: translateY(-2px); }
.work-card [data-lucide] { width: 28px; height: 28px; color: var(--terra); }
.work-card strong { font-size: 16px; font-weight: 800; }
.work-card span { font-size: 13px; color: var(--muted); font-weight: 600; }
.work-card--cta {
  background: var(--olive); color: #fff; border-color: var(--olive);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px -10px rgba(56, 65, 42, 0.55);
}
.work-card--cta [data-lucide] { color: var(--terra); }
.work-card--cta span { color: rgba(255,255,255,0.7); }
.work-card--cta:hover {
  background: var(--olive-dark); border-color: var(--olive-dark);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 28px -8px rgba(56, 65, 42, 0.5);
}

/* Steps */
.steps__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.step-card {
  padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.step-card__num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; margin-bottom: 14px;
  font-size: 16px; font-weight: 800; color: #fff;
  background: var(--olive); border-radius: 50%;
}
.step-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.step-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Split: specialists + materials */
.split {
  display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 24px; align-items: start;
}
.split__note { margin: -8px 0 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.split__shop--compact .goods-card { grid-template-columns: 64px 1fr; }
.split__shop--compact .goods-card__img { width: 64px; height: 64px; }
.split__shop--secondary {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px dashed #ddd9d2;
  border-radius: var(--radius-lg);
}
.split__shop--secondary .sec-title { font-size: 1.15rem; font-weight: 700; color: #5c5c56; }
.split__shop--secondary .goods-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: #e8e5df;
  box-shadow: none;
}
.split__shop--secondary .goods-card:hover { box-shadow: 0 4px 16px rgba(26, 26, 24, 0.05); }
.goods { display: flex; flex-direction: column; gap: 10px; }
.goods-card {
  display: grid; grid-template-columns: 80px 1fr auto;
  align-items: center; gap: 14px;
  padding: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: 0.2s;
}
.split__shop--compact .goods-card { background: var(--bg-gray); }
.goods-card:hover { box-shadow: var(--shadow); }
.goods-card__img {
  width: 80px; height: 80px; padding: 8px;
  background: var(--bg); border-radius: var(--radius);
  display: grid; place-items: center;
}
.goods-card__img img { width: 100%; height: 100%; object-fit: contain; }
.goods-card__body h3 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.goods-card__body h3 a:hover { color: var(--olive); }
.goods-card__body strong { font-size: 16px; font-weight: 800; }
.goods-card__btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--olive); color: #fff; border-radius: var(--radius);
}
.goods-card__btn:hover { background: var(--terra); }

.spec-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.spec-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: 0.2s;
}
.spec-row:hover { border-color: var(--olive); box-shadow: var(--shadow); }
.spec-row__ava {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: var(--olive);
  background: var(--olive-light); border-radius: var(--radius); flex-shrink: 0;
}
.spec-row strong { display: block; font-size: 14px; margin-bottom: 2px; }
.spec-row span { font-size: 12px; color: var(--muted); }
.spec-row [data-lucide]:last-child { margin-left: auto; color: var(--muted); width: 18px; }
.split__cta { margin-top: 4px; }

/* CTA band */
.cta-band {
  padding: 40px 0;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: #fff;
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { margin: 0; font-size: 15px; opacity: 0.85; }
.cta-band .btn--accent { border-color: rgba(255, 255, 255, 0.25); }

/* Reviews */
.reviews__rating {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--terra-dark);
}
.reviews__rating [data-lucide] { width: 18px; height: 18px; fill: var(--terra); stroke: var(--terra); }
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.review-card {
  margin: 0; padding: 22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.review-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.review-card footer { font-size: 12px; font-weight: 700; color: var(--muted); }

/* Public: страница специалиста и магазина (бренда) */
.pub-page { padding: 24px 0 56px; }
.pub-hero {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 24px; align-items: start;
  padding: 28px; margin-bottom: 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.pub-hero__ava {
  width: 96px; height: 96px;
  display: grid; place-items: center;
  font-size: 28px; font-weight: 800; color: var(--olive);
  background: var(--olive-light); border-radius: var(--radius-lg);
}
.pub-hero__main h1 { margin: 0 0 8px; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; color: var(--olive-dark); }
.pub-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-bottom: 12px; font-size: 14px; font-weight: 700;
}
.pub-hero__meta .reviews__rating { font-size: 15px; }
.pub-hero__desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.pub-hero__acts { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 200px; }
.pub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pub-chip {
  padding: 6px 12px; font-size: 12px; font-weight: 700;
  color: var(--olive); background: var(--olive-light); border-radius: 999px;
}
a.pub-chip { text-decoration: none; transition: filter 0.15s, transform 0.15s; }
a.pub-chip:hover { filter: brightness(1.06); }
.pub-chip [data-lucide] { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }
.pub-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-bottom: 24px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.pub-tabs button, .pub-tabs a {
  padding: 10px 18px; border-radius: calc(var(--radius-lg) - 4px);
  font-size: 14px; font-weight: 700; color: var(--muted);
}
.pub-tabs button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--font);
}
.pub-tabs a.is-active, .pub-tabs button.is-active { background: var(--olive); color: #fff; }
.pub-tabs a:hover:not(.is-active), .pub-tabs button:hover:not(.is-active) { color: var(--olive); }
.pub-tab-panels { min-width: 0; }
.pub-tab-panel[hidden] { display: none !important; }
.pub-tab-panel > .sec-title { margin-bottom: 16px; }
.pub-portfolio .proj-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  align-items: stretch;
}
.pub-portfolio .proj {
  display: flex; flex-direction: column; height: 100%;
}
.pub-portfolio .proj__img {
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.pub-portfolio .proj--lg .proj__img,
.pub-portfolio .proj--lg {
  grid-column: auto;
  grid-row: auto;
}
.pub-portfolio .proj__cap {
  flex: 1;
  display: flex; flex-direction: column;
}
.pub-portfolio .proj__cap h3 { flex: 1; }
.pub-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pub-blog-tile {
  display: flex; flex-direction: column;
  height: 100%;
  text-decoration: none; color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.pub-blog-tile:hover {
  border-color: rgba(56, 65, 42, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.pub-blog-tile__cover {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--bg-gray);
}
.pub-blog-tile__cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.pub-blog-tile:hover .pub-blog-tile__cover img { transform: scale(1.04); }
.pub-blog-tile__body {
  display: flex; flex-direction: column; flex: 1; gap: 8px;
  padding: 18px 18px 20px;
}
.pub-blog-topic {
  align-self: flex-start;
  padding: 4px 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--olive);
  background: var(--olive-light); border-radius: 999px;
}
.pub-blog-tile__body h3 {
  margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.35;
  color: var(--olive-dark); letter-spacing: -0.02em;
}
.pub-blog-tile:hover h3 { color: var(--olive); }
.pub-blog-tile__excerpt {
  margin: 0; flex: 1;
  font-size: 13px; font-weight: 600; line-height: 1.55; color: var(--muted);
}
.pub-blog-tile__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 4px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.pub-blog-tile__foot span:last-child {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--teal); font-weight: 800;
}
.pub-blog-tile__foot [data-lucide] { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .pub-portfolio .proj-grid { grid-template-columns: 1fr; }
  .pub-blog-grid { grid-template-columns: 1fr; }
}
/* Кабинет публичного профиля (схема: сайдбар + обложка и вкладки) */
.pub-cabinet {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
}
.pub-cabinet__side {
  position: sticky;
  top: 80px;
}
.pub-cabinet__avatar {
  width: 120px; height: 120px;
  margin-bottom: 16px;
  display: grid; place-items: center;
  font-size: 32px; font-weight: 800; color: var(--olive);
  background: var(--olive-light);
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 4px 20px rgba(26, 26, 24, 0.08);
  overflow: hidden;
}
.pub-cabinet__avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.pub-cabinet__avatar--store {
  font-size: 28px; letter-spacing: -0.04em;
  background: linear-gradient(145deg, var(--olive-light) 0%, #e8e5df 100%);
}
.pub-cabinet__side h1 {
  margin: 0 0 10px;
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--olive-dark); line-height: 1.2;
}
.pub-cabinet__rating-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin-bottom: 10px; font-size: 14px; font-weight: 700;
}
.pub-cabinet__rating-row .reviews__rating { font-size: 15px; }
.pub-cabinet__rating-row button {
  padding: 0; border: none; background: none; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--teal);
  text-decoration: underline; text-underline-offset: 2px;
}
.pub-cabinet__stat {
  margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.45;
}
.pub-cabinet__verify {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 14px 0 10px; padding: 8px 12px;
  font-size: 12px; font-weight: 700; color: #2d6a5e;
  background: rgba(61, 122, 110, 0.1); border-radius: var(--radius);
}
.pub-cabinet__verify [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; }
.pub-cabinet__response {
  margin: 0 0 18px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.pub-cabinet__side .btn { width: 100%; justify-content: center; margin-bottom: 8px; }
.pub-cabinet__side-list {
  margin: 18px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none; font-size: 13px; font-weight: 600; color: var(--muted);
}
.pub-cabinet__side-list li { padding: 5px 0; }
.pub-cabinet__main { min-width: 0; }
.pub-cabinet__cover {
  position: relative;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-gray);
}
.pub-cabinet__cover img {
  display: block; width: 100%; height: 220px; object-fit: cover;
}
.pub-cabinet__toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px;
  margin-bottom: 8px;
}
.pub-cabinet__tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.pub-cabinet__tool:hover { border-color: var(--olive); background: var(--olive-light); }
.pub-cabinet__tool--icon {
  padding: 8px 10px; color: var(--muted);
}
.pub-cabinet__tool [data-lucide] { width: 18px; height: 18px; }
.pub-tabs--underline {
  display: flex; flex-wrap: nowrap; gap: 0;
  margin-bottom: 20px; padding: 0;
  overflow-x: auto; scrollbar-width: thin;
  background: transparent; border: none; border-radius: 0;
  border-bottom: 1px solid var(--line);
}
.pub-tabs--underline button {
  flex-shrink: 0;
  padding: 14px 18px;
  margin-bottom: -1px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pub-tabs--underline button.is-active {
  background: transparent;
  color: var(--olive-dark);
  border-bottom-color: var(--olive-dark);
}
.pub-tabs--underline button:hover:not(.is-active) {
  color: var(--olive);
  background: transparent;
}
.pub-cabinet .pub-tab-panels { flex: 1; }
@media (max-width: 900px) {
  .pub-cabinet {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pub-cabinet__side {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .pub-cabinet__avatar { grid-row: span 3; width: 88px; height: 88px; margin-bottom: 0; font-size: 24px; }
  .pub-cabinet__side h1 { grid-column: 2; margin-bottom: 4px; font-size: 1.35rem; }
  .pub-cabinet__rating-row { grid-column: 2; margin-bottom: 0; }
  .pub-cabinet__stat { grid-column: 2; }
  .pub-cabinet__verify { grid-column: 1 / -1; margin-top: 4px; }
  .pub-cabinet__response { grid-column: 1 / -1; margin-bottom: 12px; }
  .pub-cabinet__side .btn { grid-column: 1 / -1; }
  .pub-cabinet__side-list { grid-column: 1 / -1; margin-top: 0; padding-top: 12px; }
  .pub-cabinet__cover img { height: 180px; }
}
.pub-store-body { max-width: 100%; }
.pub-master-link {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px;
  margin-top: 24px; padding: 18px 20px;
  text-decoration: none; color: inherit;
  background: var(--olive-light); border: 1px solid rgba(56, 65, 42, 0.14);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pub-master-link:hover {
  border-color: rgba(56, 65, 42, 0.28);
  box-shadow: var(--shadow);
}
.pub-master-link__ava {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: var(--olive);
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line);
}
.pub-master-link__body { flex: 1; min-width: min(100%, 240px); }
.pub-master-link__body strong {
  display: block; margin-bottom: 4px;
  font-size: 15px; font-weight: 800; color: var(--olive-dark);
}
.pub-master-link__body span {
  font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--muted);
}
.pub-master-link__go {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--teal);
  white-space: nowrap;
}
.pub-master-link:hover .pub-master-link__go { color: var(--olive); }
.pub-master-link__go [data-lucide] { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .pub-master-link__go { width: 100%; justify-content: flex-start; }
}
.pub-aside-card {
  padding: 20px; margin-bottom: 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.pub-aside-card h3 { margin: 0 0 12px; font-size: 14px; font-weight: 800; }
.pub-aside-card ul { margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.pub-aside-card li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.pub-aside-card li:last-child { border-bottom: none; }
.pub-store-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  margin-bottom: 24px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f5f3ef;
}
.pub-store-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: -72px;
  padding: 22px 88px 22px 28px;
  background: linear-gradient(
    90deg,
    #f5f3ef 0%,
    #f5f3ef 38%,
    rgba(245, 243, 239, 0.96) 52%,
    rgba(245, 243, 239, 0.82) 64%,
    rgba(245, 243, 239, 0.52) 76%,
    rgba(245, 243, 239, 0.22) 88%,
    rgba(245, 243, 239, 0) 100%
  );
}
.pub-store-hero__chips { margin-top: 14px; }
.pub-store-hero__media {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  height: 232px;
  max-height: 232px;
}
.pub-store-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #f5f3ef 0%,
    rgba(245, 243, 239, 0.97) 6%,
    rgba(245, 243, 239, 0.88) 14%,
    rgba(245, 243, 239, 0.72) 24%,
    rgba(245, 243, 239, 0.48) 36%,
    rgba(245, 243, 239, 0.26) 48%,
    rgba(245, 243, 239, 0.1) 58%,
    transparent 70%
  );
}
.pub-store-hero__media img {
  display: block;
  width: 100%;
  height: 232px;
  max-height: 232px;
  object-fit: cover;
  object-position: 72% center;
}
.pub-store-hero h1 { margin: 0 0 8px; font-size: 1.75rem; font-weight: 800; color: var(--olive-dark); }
.pub-store-hero p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 520px; }
@media (max-width: 820px) {
  .pub-store-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .pub-store-hero__content {
    margin-right: 0;
    padding: 20px 22px 22px;
    background: #f5f3ef;
  }
  .pub-store-hero__media {
    order: -1;
    height: 192px;
    max-height: 192px;
  }
  .pub-store-hero__media::before {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(245, 243, 239, 0.08) 40%,
      rgba(245, 243, 239, 0.45) 68%,
      rgba(245, 243, 239, 0.85) 88%,
      #f5f3ef 100%
    );
  }
  .pub-store-hero__media img {
    height: 192px;
    max-height: 192px;
    object-position: center;
  }
}
.pub-store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 12px; padding: 6px 12px;
  font-size: 12px; font-weight: 800; color: var(--teal);
  background: rgba(61, 122, 110, 0.1); border-radius: 999px;
}
.pub-goods-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.pub-breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-bottom: 16px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.pub-breadcrumbs a:hover { color: var(--olive); }
.lead-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 20px;
}
.lead-toolbar select {
  padding: 9px 12px; font-family: var(--font); font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--ink); cursor: pointer;
}
.lead-toolbar select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(56, 65, 42, 0.12); }
.pub-goods-grid .goods-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  height: 100%; padding: 0; overflow: hidden;
}
.pub-goods-grid .goods-card__img {
  display: block;
  width: 100%; height: auto; min-height: 0; padding: 0;
  aspect-ratio: 4 / 3; border-radius: 0;
  background: var(--bg-gray);
}
.pub-goods-grid .goods-card__img img {
  width: 100%; height: 100%; object-fit: cover;
}
.pub-goods-grid .goods-card__body {
  padding: 14px 16px 16px; flex: 1;
}
.pub-goods-grid .goods-card__tag {
  display: inline-block; margin-bottom: 6px; padding: 4px 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  color: #fff; background: var(--terra); border-radius: 6px;
}
.pub-goods-grid .goods-card__price-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
}
.pub-goods-grid .goods-card__price-old {
  font-size: 13px; font-weight: 700; color: var(--muted);
  text-decoration: line-through;
}
.pub-chip--promo {
  color: var(--olive-dark); background: var(--gold-gradient);
  box-shadow: 0 4px 14px -6px rgba(201, 145, 75, 0.45);
}
.pub-chip--promo [data-lucide] { stroke: var(--olive-dark); }
.pub-promo-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 20px; padding: 16px 20px;
  background: linear-gradient(135deg, rgba(252, 240, 191, 0.55) 0%, #fff 58%);
  border: 1.5px solid rgba(201, 145, 75, 0.45);
  border-radius: var(--radius-lg);
}
.pub-promo-banner__main { min-width: 0; }
.pub-promo-banner__eyebrow {
  margin: 0 0 4px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--terra-dark);
}
.pub-promo-banner__title {
  margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--olive-dark);
}
.pub-promo-banner__meta { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.pub-promo-banner__value {
  flex-shrink: 0; padding: 10px 16px;
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, #d9a862 0%, var(--gold-dark) 55%, var(--terra-dark) 100%);
  border-radius: var(--radius); border: 1px solid rgba(201, 145, 75, 0.45);
}
.pub-aside-card--promo {
  border-color: rgba(201, 145, 75, 0.55);
  background: linear-gradient(180deg, #fff 0%, rgba(252, 240, 191, 0.25) 100%);
  box-shadow: 0 8px 24px -12px rgba(201, 145, 75, 0.35);
}
.pub-aside-card--promo h3 {
  display: flex; align-items: center; gap: 8px; color: var(--terra-dark);
}
.pub-aside-card--promo h3 [data-lucide] { width: 18px; height: 18px; color: var(--terra); }
.pub-aside-card__promo-value {
  margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--terra-dark);
}
.pub-aside-card__promo-deadline {
  margin: 6px 0 12px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.pub-info-list {
  margin: 0; padding: 0; list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pub-info-list li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 20px 18px; font-size: 15px; line-height: 1.45; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); height: 100%;
}
.pub-info-list li [data-lucide] {
  flex-shrink: 0; width: 22px; height: 22px; margin: 0;
  padding: 11px;
  color: var(--olive);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-sizing: content-box;
}
.pub-info-list li strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--olive-dark); }
.pub-info-list li span { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.5; }
.pub-info-list__highlight {
  border-color: rgba(61, 122, 110, 0.35);
  background: linear-gradient(160deg, rgba(61, 122, 110, 0.1) 0%, var(--surface) 55%);
}
.pub-info-list__highlight [data-lucide] {
  color: var(--teal);
  background: rgba(61, 122, 110, 0.1);
  border-color: rgba(61, 122, 110, 0.25);
}
@media (max-width: 900px) {
  .pub-info-list { grid-template-columns: 1fr; }
}
.pub-section { margin-top: 40px; }
.pub-section .sec-title { margin-bottom: 16px; }
.pub-note {
  margin: 20px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.5;
}
.spec-row__ava [data-lucide] { width: 20px; height: 20px; }
.spec-row__ava svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .pub-hero { grid-template-columns: 1fr; }
  .pub-hero__acts { flex-direction: row; flex-wrap: wrap; }
  .pub-cabinet { grid-template-columns: 1fr; }
  .pub-goods-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pub-goods-grid { grid-template-columns: 1fr; }
}

/* Materials compact */
.mini-cats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.mini-cats--row { grid-template-columns: repeat(4, 1fr); }
.mini-cats a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); transition: 0.2s;
}
.mini-cats a:hover { border-color: var(--olive); box-shadow: var(--shadow); }
.mini-cats img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.mini-cats span { font-weight: 700; font-size: 14px; }

/* Projects */
.proj-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto; gap: 16px;
}
.proj--lg { grid-row: span 2; }
.proj__img {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; margin-bottom: 10px;
}
.proj--lg .proj__img { aspect-ratio: auto; min-height: 360px; height: calc(100% - 72px); }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.proj:hover .proj__img img { transform: scale(1.03); }
.proj__cap h3 { margin: 4px 0 4px; font-size: 15px; font-weight: 700; }
.proj--lg .proj__cap h3 { font-size: 19px; }
.proj__cap h3 a:hover { color: var(--olive); }
.proj__cap > span:last-child { font-size: 12px; color: var(--muted); }
.proj__cap .tag { margin-bottom: 4px; }

/* Join — compact bar */
.join--compact { padding: 24px 0; background: #f0eeea; border-top: 1px solid #e8e5df; }
.join__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; background: transparent;
  border: none; border-radius: var(--radius-lg);
}
.join__bar > span { font-size: 13px; font-weight: 600; color: #94948c; }
.join__links { display: flex; gap: 20px; flex-wrap: wrap; }
.join__links a { font-size: 14px; font-weight: 700; color: var(--teal); }
.join__links a:hover { color: var(--olive); }

/* Footer */
.footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 40px 0 28px;
  background: var(--olive-dark);
  color: rgba(255,255,255,0.75);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer__brand img {
  display: inline-block;
  margin-bottom: 12px;
  padding: 12px 16px;
  height: 64px;
  width: auto;
  max-width: 220px;
  box-sizing: content-box;
  object-fit: contain;
  background: linear-gradient(180deg, #ffffff 0%, #f5eed8 100%);
  border: 1px solid rgba(252, 240, 191, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.footer__brand p { margin: 0 0 8px; font-size: 14px; }
.footer__brand small { font-size: 12px; opacity: 0.45; }
.footer h4 { margin: 0 0 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; color: #fff; }
.footer a { display: block; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: var(--terra); }

/* Dock */
.dock {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.dock a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px; font-size: 10px; font-weight: 600; color: var(--muted);
}
.dock [data-lucide] { width: 22px; height: 22px; }
.dock--on { color: var(--olive); }
.dock--cta { color: var(--terra); font-weight: 800; }
.dock--cta [data-lucide] { stroke: var(--terra); }

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 400; }
.mobile-drawer[hidden] { display: none; }
.mobile-drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(26, 26, 24, 0.5);
  border: none; cursor: pointer;
  backdrop-filter: blur(2px);
}
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(100%, 340px);
  display: flex; flex-direction: column;
  background: var(--bg);
  box-shadow: -12px 0 40px rgba(26, 26, 24, 0.15);
  overflow: hidden;
  animation: drawer-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes drawer-in {
  from { transform: translateX(100%); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}
.mobile-drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.mobile-drawer__logo {
  display: inline-flex;
  align-items: center;
}
.mobile-drawer__logo img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.mobile-drawer__close {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--olive);
  background: var(--bg);
}
.mobile-drawer__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.mobile-drawer__city {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; font-size: 13px; font-weight: 700;
  color: var(--olive); background: var(--olive-light);
  border-radius: 999px;
}
.mobile-drawer__login {
  font-size: 14px; font-weight: 800; color: var(--teal);
}
.mobile-drawer__cta-wrap {
  flex-shrink: 0;
  padding: 14px 16px 0;
  max-width: 100%;
  box-sizing: border-box;
}
.mobile-drawer__hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 10px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
.mobile-drawer__hero-cta span {
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-drawer__search {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 16px 0; padding: 4px 4px 4px 12px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
}
.mobile-drawer__search input {
  flex: 1; border: none; background: transparent;
  font-family: var(--font); font-size: 14px; outline: none; min-width: 0;
}
.mobile-drawer__search button {
  padding: 10px 14px; font-size: 13px; font-weight: 700;
  color: #fff; background: var(--olive);
  border-radius: calc(var(--radius-lg) - 4px);
}
.mobile-drawer__search [data-lucide],
.mobile-drawer__search > svg:first-of-type {
  color: var(--muted);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.mobile-drawer__shortcuts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 12px 16px 0;
}
.mobile-drawer__shortcuts a {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px;
  font-size: 11px; font-weight: 700; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mobile-drawer__shortcuts a [data-lucide] { width: 20px; height: 20px; color: var(--terra); }
.mobile-drawer__shortcuts em {
  position: absolute; top: 8px; right: 12px;
  min-width: 16px; height: 16px; padding: 0 4px;
  font-style: normal; font-size: 10px; font-weight: 800;
  line-height: 16px; text-align: center;
  background: var(--terra); color: #fff; border-radius: 999px;
}
.mobile-drawer__sections {
  flex: 1; overflow-y: auto;
  margin-top: 14px; padding: 0 16px 12px;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer__section { margin-bottom: 8px; }
.mobile-drawer__label {
  margin: 0 0 6px; padding: 0 4px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.mobile-drawer__list { margin: 0; padding: 0; list-style: none; }
.mobile-drawer__list a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.mobile-drawer__list a [data-lucide] { width: 20px; height: 20px; color: var(--terra); flex-shrink: 0; }
.mobile-drawer__list a:active { background: var(--olive-light); color: var(--olive); }
.mobile-drawer__list--sub a { padding-left: 44px; font-size: 14px; font-weight: 600; color: var(--muted); }
.mobile-drawer__list--sub a:active { color: var(--olive); }
.mobile-drawer__accordion {
  margin-bottom: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mobile-drawer__accordion summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 14px; cursor: pointer;
  font-size: 15px; font-weight: 800; color: var(--olive-dark);
  list-style: none;
}
.mobile-drawer__accordion summary::-webkit-details-marker { display: none; }
.mobile-drawer__accordion summary span { display: flex; align-items: center; gap: 10px; }
.mobile-drawer__accordion summary span [data-lucide] { width: 20px; height: 20px; color: var(--terra); }
.mobile-drawer__chev { width: 18px !important; height: 18px !important; color: var(--muted) !important; transition: transform 0.2s; }
.mobile-drawer__accordion[open] .mobile-drawer__chev { transform: rotate(180deg); }
.mobile-drawer__accordion .mobile-drawer__list { border-top: 1px solid var(--line); padding: 4px 0; }
.mobile-drawer__bottom {
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.mobile-drawer__partner {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--olive);
}
.mobile-drawer__partner [data-lucide] { width: 18px; height: 18px; }
.mobile-drawer__note {
  margin: 0; font-size: 12px; font-weight: 600; line-height: 1.45;
  color: var(--muted);
}
body.mobile-menu-open { overflow: hidden; }

.header__cta-mob { display: none; }
.header__login { display: inline-flex; }
@media (max-width: 1100px) {
  .hero__layout { grid-template-columns: 1fr; }
  .quick-req__fields { grid-template-columns: 1fr 1fr; }
  .object-track__card { grid-template-columns: 1fr; }
  .object-track__stages { flex-wrap: wrap; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .mini-cats--row { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj--lg { grid-row: span 1; }
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .mega__promo { grid-column: span 2; }
  .cta-band__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  html, body { overflow-x: clip; }
  body { max-width: 100%; }

  .container { width: min(100% - 24px, var(--container)); max-width: 100%; }

  .topbar { font-size: 12px; }
  .topbar__inner { min-height: 32px; gap: 8px; }
  .topbar__left a { display: none; }
  .topbar__pro { display: none; }
  .topbar__phone-text { display: none; }
  .topbar__phone [data-lucide] { width: 18px; height: 18px; }

  .header__inner {
    grid-template-columns: 1fr auto;
    min-height: 56px;
    padding-block: 6px;
    gap: 8px;
  }
  .logo img { height: 44px; max-width: 180px; }
  .header__catalog, .header__search { display: none; }
  .header__act span { display: none; }
  .header__acts { gap: 6px; margin-left: auto; }
  .header__acts .btn { margin-left: 0; }
  .header__acts .btn--ghost.header__login { display: none; }
  .header__burger { display: grid; }

  .subnav { display: none; }

  .mega__grid { grid-template-columns: 1fr; }
  .mega__promo { grid-column: span 1; }

  .hero { padding: 24px 0 20px; }
  .hero__title { font-size: clamp(1.55rem, 6vw, 2rem); margin-bottom: 10px; }
  .hero__lead { font-size: 15px; margin-bottom: 18px; max-width: none; }
  .hero__right { display: none; }
  .quick-req--hero { padding: 20px 18px; }
  .quick-req__head { margin-bottom: 14px; padding-bottom: 12px; }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
    padding-top: 0;
    border-top: none;
  }
  .hero-stat {
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 14px rgba(26, 26, 24, 0.04);
  }
  .hero-stat--accent {
    border-color: rgba(201, 145, 75, 0.35);
    background: linear-gradient(135deg, #fff 0%, #faf6f3 100%);
  }
  .hero-stat__icon { width: 44px; height: 44px; border-radius: 12px; }
  .hero-stat__text strong { font-size: 1.25rem; }
  .hero-stat__text span { font-size: 13px; }

  .section--secondary .proj-grid { gap: 14px; }
  .proj-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .proj--lg {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .proj--lg .proj__img {
    margin-bottom: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 0;
  }
  .proj--lg .proj__cap {
    padding: 14px 16px 16px;
  }
  .proj--lg .proj__cap h3 { font-size: 1.1rem; }
  .proj:not(.proj--lg) {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
  }
  .section--secondary .proj:not(.proj--lg) {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e3e0d9;
  }
  .proj:not(.proj--lg) .proj__img {
    margin-bottom: 0;
    width: 100px;
    height: 100px;
    aspect-ratio: 1;
    border-radius: var(--radius);
  }
  .proj:not(.proj--lg) .proj__cap h3 {
    font-size: 14px;
    margin: 2px 0 4px;
    line-height: 1.35;
  }
  .section--secondary .proj:not(.proj--lg) .proj__img {
    opacity: 1;
    filter: none;
  }
  .section--secondary .proj--lg .proj__img { opacity: 1; filter: none; }

  .object-track { padding: 24px 0 28px; margin-top: 0; }
  .object-track__card {
    padding: 18px 16px; gap: 16px;
    grid-template-columns: 1fr;
  }
  .object-track__info h2 { font-size: 1.05rem; }
  .object-track__stages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    overflow: visible;
  }
  .object-track__stages .stage {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .object-track__link { justify-content: center; width: 100%; padding-top: 4px; }

  .section { padding: 32px 0; }
  .sec-head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 14px; }
  .sec-head--row { align-items: stretch; }
  .sec-head .btn { width: 100%; justify-content: center; }
  .sec-title { font-size: 1.2rem; }
  .sec-sub { font-size: 13px; }

  .work-card { padding: 18px; }
  .step-card { padding: 20px; }

  .split__shop--secondary { padding: 14px; }
  .spec-row { padding: 12px; }

  .cta-band { padding: 28px 0; }
  .cta-band h2 { font-size: 1.25rem; }
  .cta-band .btn { width: 100%; justify-content: center; }

  .review-card { padding: 18px; }
  .join__bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .join__links { flex-direction: column; gap: 10px; width: 100%; }

  .footer { padding: 32px 0 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }

  .quick-req__fields { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .mini-cats--row { grid-template-columns: 1fr; }

  .dock { display: flex; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .topbar__city { font-size: 11px; }
  .header__act { padding: 8px; }
  .object-track__stages { grid-template-columns: 1fr; }
  .hero-stat { padding: 12px 14px; }
  .hero-stat__text strong { font-size: 1.15rem; }
  .btn--lg { padding: 14px 22px; font-size: 15px; }
}
