/* =========================================================
   OBSIDIAN — посадочная / хаб направления
   Бренд-токены взяты с текущей страницы grilldacha.ru/obsidian/
   ========================================================= */
:root {
  --space: #1e1e1e; /* тёмный фон */
  --space-2: #2a2826; /* панели на тёмном */
  --milk: #fcfaf3; /* светлый фон */
  --paper: #f2ecdf; /* панели на светлом */
  --ink: #24221f; /* текст на светлом */
  --mute: #6e675c; /* вторичный текст на светлом */
  --mute-d: #b8b0a3; /* вторичный текст на тёмном */
  --gold: #d3a35c;
  --line: #b59a6a;
  --fire: #a32e28;
  --fire-h: #8a2420;

  --f-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --f-body:
    "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;

  --r-s: 6px;
  --r-m: 12px;
  --hdr: 72px;
  --wrap: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font: 400 17px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--milk);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--gold);
  color: var(--space);
  padding: 8px 14px;
}
.skip:focus {
  left: 8px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--narrow {
  max-width: 820px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
[hidden] {
  display: none !important;
}

/* ---------- типографика ---------- */
.h2 {
  font-family: var(--f-head);
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  max-width: 22ch;
}
.sec__sub,
.lede {
  font-size: 18px;
  max-width: 62ch;
  color: var(--mute);
}
.sec--dark .sec__sub,
.sec--dark .lede {
  color: var(--mute-d);
}
.sec__sub {
  margin-bottom: 40px;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-s);
  border: 1px solid transparent;
  font: 600 15px/1.2 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn--fire {
  background: var(--fire);
  color: #fff;
}
.btn--fire:hover {
  background: var(--fire-h);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--line {
  border-color: var(--line);
  color: inherit;
  background: transparent;
}
.btn--line:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.sec--milk .btn--line:hover {
  color: var(--fire);
  border-color: var(--fire);
}
.btn--text {
  background: none;
  border: 0;
  color: var(--mute);
  text-decoration: underline;
  min-height: 40px;
}
.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}
.btn--lg {
  min-height: 56px;
  padding: 16px 28px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
}

/* ---------- шапка ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(30, 30, 30, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(181, 154, 106, 0.25);
  padding-top: env(safe-area-inset-top, 0px);
  backdrop-filter: blur(8px);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--hdr);
}
.hdr__logo img {
  width: 64px;
  height: auto;
}
.hdr__nav {
  display: none;
  gap: 22px;
  margin-right: auto;
}
.hdr__nav a {
  text-decoration: none;
  font-size: 14px;
  font-family: var(--f-head);
  color: #e9e3d8;
}
.hdr__nav a:hover {
  color: var(--gold);
}
.hdr__contacts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.hdr__msg {
  display: grid;
  place-items: center;
  width: 44px;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hdr__msg svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.hdr__msg:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.hdr__phone {
  display: none;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.hdr__cta {
  display: none;
}
.hdr__burger {
  display: grid;
  gap: 5px;
  place-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.hdr__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}
.mnav {
  display: flex;
  flex-direction: column;
  background: var(--space);
  border-top: 1px solid rgba(181, 154, 106, 0.25);
  padding: 8px 20px 20px;
}
.mnav a {
  padding: 14px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 17px;
}
.mnav__phone {
  font-weight: 600;
  color: var(--gold);
}
@media (min-width: 760px) {
  .hdr__phone {
    display: block;
  }
  .hdr__cta {
    display: inline-flex;
  }
}
@media (min-width: 1100px) {
  .hdr__nav {
    display: flex;
  }
  .hdr__burger {
    display: none;
  }
  .hdr__in {
    gap: 32px;
  }
}

/* ---------- первый экран ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--space);
  padding-top: var(--hdr);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(30, 30, 30, 0.95) 0%,
    rgba(30, 30, 30, 0.85) 45%,
    rgba(30, 30, 30, 0.35) 100%
  );
}
.hero__in {
  padding-top: 28px;
  padding-bottom: 36px;
}
.crumbs {
  font-size: 14px;
  color: var(--mute-d);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--gold);
}
.hero__lead {
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 12px;
  max-width: 46ch;
}
.hero__title {
  font-family: var(--f-head);
  font-size: clamp(30px, 4.4vw, 52px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 24ch;
  margin-bottom: 14px;
}
.hero__price {
  font-size: 18px;
  color: #e9e3d8;
  margin-bottom: 22px;
}
.hero__price strong {
  font-family: var(--f-head);
  font-size: clamp(30px, 4vw, 40px);
  color: var(--gold);
  font-weight: 600;
  margin: 0 4px;
}
.hero__proofs {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 640px;
}
.hero__proofs li {
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.hero__proofs b {
  display: block;
  font-weight: 600;
  font-size: 17px;
}
.hero__proofs span {
  color: var(--mute-d);
  font-size: 15px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trustbar {
  list-style: none;
  margin: 0 auto;
  padding-top: 18px;
  padding-bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  font-size: 14px;
  color: #e9e3d8;
  border-top: 1px solid rgba(181, 154, 106, 0.3);
}
.trustbar li {
  position: relative;
  padding-left: 14px;
}
.trustbar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
@media (min-width: 900px) {
  .hero__in {
    padding-top: 72px;
    padding-bottom: 64px;
  }
  .hero__proofs {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    gap: 24px;
  }
  .trustbar {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 599px) {
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(30, 30, 30, 0.82) 0%,
      rgba(30, 30, 30, 0.92) 60%,
      rgba(30, 30, 30, 0.98) 100%
    );
  }
  .hero__proofs span {
    display: none;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .hero__actions .btn--ghost {
    min-height: 48px;
  }
}

/* ---------- секции ---------- */
.sec {
  padding: 72px 0;
}
.sec--milk {
  background: var(--milk);
  color: var(--ink);
}
.sec--dark {
  background: var(--space);
  color: #f1ece3;
}
@media (min-width: 900px) {
  .sec {
    padding: 104px 0;
  }
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 28px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--fire);
  border-bottom: 2px solid var(--fire);
  transform: rotate(-45deg);
}

/* что вы получаете */
.result__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.result__img img {
  border-radius: var(--r-m);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 900px) {
  .result__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
}

/* почему */
.why__grid {
  display: grid;
  gap: 2px;
  background: rgba(181, 154, 106, 0.2);
  border: 1px solid rgba(181, 154, 106, 0.2);
  border-radius: var(--r-m);
  overflow: hidden;
}
.why__item {
  background: var(--space);
  padding: 26px 24px;
}
.why__item h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: #fff;
}
.why__item p {
  color: var(--mute-d);
  font-size: 16px;
  margin: 0;
}
.why__item--main {
  background: var(--space-2);
}
.why__item--main h3 {
  font-family: var(--f-head);
  font-size: 28px;
  text-transform: uppercase;
  color: var(--gold);
}
@media (min-width: 760px) {
  .why__grid {
    grid-template-columns: 1fr 1fr;
  }
  .why__item--main {
    grid-column: 1/-1;
  }
}
@media (min-width: 1000px) {
  .why__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .why__item--main {
    grid-column: 1/-1;
    padding: 36px 40px;
  }
  .why__item--main p {
    max-width: 80ch;
    font-size: 17px;
  }
}
.details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.details figure {
  margin: 0;
}
.details img {
  border-radius: var(--r-s);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}
.details figcaption {
  font-size: 14px;
  color: var(--mute-d);
  margin-top: 8px;
}
@media (min-width: 900px) {
  .details {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ---------- каталог ---------- */
.filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.filter::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #d9cfbd;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  white-space: nowrap;
}
.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.cards {
  display: grid;
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e7dfd0;
  border-radius: var(--r-m);
  overflow: hidden;
  scroll-margin-top: calc(var(--hdr) + 16px);
}
.card.is-hidden {
  display: none;
}
.card.is-target {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}
.card__img {
  background: linear-gradient(180deg, #f1eee8, #e4e0d8);
  aspect-ratio: 3/2;
  display: grid;
  place-items: center;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}
.card__meta {
  font-size: 14px;
  color: var(--mute);
  margin-bottom: 6px;
}
.card__name {
  font-family: var(--f-head);
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card__desc {
  font-size: 15px;
  color: #4a453e;
  margin-bottom: 14px;
}
.card__price {
  font-family: var(--f-head);
  font-size: 28px;
  color: var(--fire);
  margin: auto 0 14px;
  padding-top: 4px;
}
.card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.card__actions:has(.hub-only:not([hidden])) {
  grid-template-columns: 1.4fr 1fr;
}
.seg {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--mute);
}
.seg span {
  margin-right: 4px;
}
.seg button {
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid #d9cfbd;
  background: #fff;
  border-radius: var(--r-s);
  cursor: pointer;
  font-size: 14px;
}
.seg button.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
@media (max-width: 759px) {
  .cards {
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 0 20px 12px;
    gap: 14px;
    scrollbar-width: thin;
  }
  .card {
    scroll-snap-align: start;
  }
  .card.is-hidden {
    display: none;
  }
}
@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.notsure {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--r-m);
  background: var(--paper);
  display: grid;
  gap: 16px;
  align-items: center;
}
.notsure p {
  margin: 0;
}
@media (min-width: 760px) {
  .notsure {
    grid-template-columns: 1fr auto;
    padding: 28px 32px;
  }
}

/* ---------- проекты ---------- */
.projects__grid {
  display: grid;
  gap: 24px;
}
.proj {
  background: var(--space-2);
  border-radius: var(--r-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.proj__img {
  margin: 0;
  aspect-ratio: 4/3;
  background: #2f2c29;
}
.proj__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj__body {
  padding: 24px;
}
.proj__price {
  font-family: var(--f-head);
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 8px;
}
.proj__price span {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--mute-d);
}
.proj h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}
.proj__where {
  font-size: 14px;
  color: var(--mute-d);
}
.proj blockquote {
  margin: 16px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--line);
  color: #dcd5c9;
  font-size: 16px;
}
@media (min-width: 900px) {
  .projects__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ---------- производство ---------- */
.factory__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.factory__proc {
  color: var(--mute);
  font-size: 16px;
}
.factory__media {
  border-radius: var(--r-m);
  overflow: hidden;
  background: linear-gradient(180deg, #f1eee8, #e4e0d8);
}
.factory__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 24px;
}
.factory__media video,
.factory__media iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
@media (min-width: 900px) {
  .factory__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

/* ---------- сделка ---------- */
.parties {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}
.party {
  border: 1px solid rgba(181, 154, 106, 0.35);
  border-radius: var(--r-m);
  padding: 22px;
}
.party h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 12px;
}
.party p {
  margin: 0 0 4px;
  color: var(--mute-d);
  font-size: 15px;
}
.party p b {
  color: #fff;
  font-size: 17px;
}
.party--money {
  background: var(--space-2);
  border-color: var(--gold);
}
.money {
  font-size: 16px !important;
}
.money b {
  font-family: var(--f-head);
  font-size: 30px !important;
  color: var(--gold) !important;
  margin-right: 6px;
}
@media (min-width: 900px) {
  .parties {
    grid-template-columns: 1fr 1fr 1.1fr;
  }
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
  display: grid;
  gap: 0;
}
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 24px 52px;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-size: 17px;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 4px;
  width: 1px;
  background: rgba(181, 154, 106, 0.35);
}
.steps li:last-child::after {
  display: none;
}
.steps h3 {
  font-size: 18px;
  color: #fff;
  margin: 6px 0 4px;
}
.steps p {
  color: var(--mute-d);
  font-size: 15px;
  margin: 0;
}
@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .steps li {
    padding: 52px 0 0;
  }
  .steps li::after {
    left: 44px;
    right: -16px;
    top: 18px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}

/* ---------- форма ---------- */
.project__grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 900px) {
  .project__grid {
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: start;
  }
}
.project__msg {
  margin-top: 28px;
}
.project__msg p {
  font-weight: 500;
  margin-bottom: 10px;
}
.project__msgbtns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lead {
  display: grid;
  gap: 14px;
  background: #fff;
  border: 1px solid #e7dfd0;
  border-radius: var(--r-m);
  padding: 24px;
}
.fld {
  display: grid;
  gap: 6px;
  margin: 0;
  border: 0;
  padding: 0;
  min-width: 0;
}
.fld > span,
.fld legend,
.fld--pair span {
  font-size: 14px;
  color: var(--mute);
  padding: 0;
}
.fld input,
.fld select {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #d6ccba;
  border-radius: var(--r-s);
  background: #fff;
  font-size: 16px;
}
.fld input:focus,
.fld select:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(211, 163, 92, 0.35);
}
.fld input.is-err {
  border-color: var(--fire);
}
.fld--radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fld--radio legend {
  width: 100%;
  margin-bottom: 6px;
}
.fld--radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #d6ccba;
  border-radius: var(--r-s);
  cursor: pointer;
  font-size: 15px;
}
.fld--radio label:has(input:checked) {
  border-color: var(--ink);
  background: var(--paper);
}
.fld--radio input {
  accent-color: var(--fire);
}
.fld--pair {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fld--pair label {
  display: grid;
  gap: 6px;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mute);
}
.consent input {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--fire);
}
.consent.is-err {
  color: var(--fire);
}
.lead__status {
  margin: 0;
  font-size: 15px;
  min-height: 1px;
}
.lead__status.is-ok {
  color: #2d6a3e;
  font-weight: 500;
}
.lead__status.is-err {
  color: var(--fire);
}
.lead.is-sent .fld,
.lead.is-sent .consent,
.lead.is-sent button[type="submit"] {
  display: none;
}

/* ---------- сравнение ---------- */
.cmp {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.cmp__head {
  display: none;
}
.cmp__row {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--r-m);
  background: var(--space-2);
}
.cmp__row h3 {
  font-size: 18px;
  color: var(--gold);
}
.cmp__row p {
  margin: 0;
  font-size: 15px;
  color: var(--mute-d);
}
.cmp__row p:nth-of-type(1) {
  color: #ede7dc;
}
.cmp__row p b {
  color: #fff;
  font-weight: 600;
}
@media (min-width: 900px) {
  .cmp {
    gap: 0;
    border-top: 1px solid rgba(181, 154, 106, 0.3);
  }
  .cmp__head {
    display: grid;
    background: none;
    font-weight: 600;
    color: var(--gold);
    padding: 14px 0;
  }
  .cmp__row {
    grid-template-columns: 200px 1fr 1fr;
    gap: 32px;
    background: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(181, 154, 106, 0.2);
    padding: 20px 0;
  }
  .cmp__row p b {
    display: none;
  }
}

/* ---------- конфигуратор ---------- */
.builder__wrap > summary {
  list-style: none;
  display: none;
}
.builder__wrap > summary::-webkit-details-marker {
  display: none;
}
.is-ad .builder__wrap > summary {
  display: inline-flex;
}
.is-ad .builder__wrap[open] > summary {
  display: none;
}
.bld {
  display: grid;
  gap: 20px;
}
.bld__top {
  display: grid;
  gap: 14px;
  align-items: end;
}
@media (min-width: 760px) {
  .bld__top {
    grid-template-columns: minmax(0, 420px) auto;
    justify-content: space-between;
  }
}
.seg--side {
  margin: 0;
  flex-wrap: wrap;
}
.seg--side button {
  min-height: 44px;
  padding: 6px 16px;
}
.bld__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 1000px) {
  .bld__grid {
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
  }
}
.bld__left {
  display: grid;
  gap: 16px;
}

/* сцена: вид кухни спереди */
.scene {
  position: relative;
  background: linear-gradient(180deg, #f3efe7, #e6dfd2);
  border: 1px solid #ded5c4;
  border-radius: var(--r-m);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.scene__track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  min-width: 100%;
  width: max-content;
  padding: 20px 24px 0;
  height: calc(var(--px, 140px) * 2.3 + 44px);
  margin: 0 auto;
  background: linear-gradient(
    0deg,
    #cfc6b6 0,
    #cfc6b6 calc(var(--px, 140px) * 0.07),
    transparent calc(var(--px, 140px) * 0.07)
  );
}
.scene__wall {
  display: flex;
  align-items: flex-end;
}
.u {
  position: relative;
  flex: none;
  width: calc(var(--px, 140px) * var(--w));
  height: calc(var(--px, 140px) * 0.85);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: calc(var(--px, 140px) * 0.07);
}
.u--stove {
  height: calc(var(--px, 140px) * 2.3);
}
.u > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}
.u--new {
  animation: pop 0.35s ease-out;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.u--wing {
  filter: brightness(0.93);
}
.u--wing::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0 6px,
    transparent 6px 10px
  );
}
.u__panel {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: calc(100% + var(--px, 140px) * 0.45);
  height: calc(var(--px, 140px) * var(--ph, 0.6));
  display: flex;
  align-items: flex-end;
}
.u__panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.u__tools {
  position: absolute;
  top: -2px;
  right: -2px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
}
.u:hover .u__tools,
.u:focus-within .u__tools,
.scene.is-touch .u__tools {
  opacity: 1;
}
.u__tools button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #cfc5b3;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.u__tools button:hover {
  border-color: var(--fire);
  color: var(--fire);
}
.slot {
  flex: none;
  align-self: flex-end;
  width: calc(var(--px, 140px) * 0.45);
  min-width: 44px;
  height: calc(var(--px, 140px) * 0.85);
  margin: 0 6px calc(var(--px, 140px) * 0.07);
  border: 2px dashed #bdb19c;
  border-radius: var(--r-s);
  background: rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  color: var(--mute);
  font-size: 24px;
  cursor: pointer;
}
.slot.is-on {
  border-color: var(--fire);
  color: var(--fire);
  background: rgba(163, 46, 40, 0.07);
}
.scene__turn {
  flex: none;
  align-self: flex-end;
  width: 2px;
  height: calc(var(--px, 140px) * 1.2);
  margin: 0 4px calc(var(--px, 140px) * 0.07);
  background: var(--line);
  position: relative;
}
.scene__turn span {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--mute);
  white-space: nowrap;
  padding-bottom: 4px;
}
.scene__meter {
  margin: -8px 0 0;
  font-size: 14px;
  color: var(--mute);
}
.scene__meter b {
  color: var(--ink);
}
.scene__meter .is-over {
  color: var(--fire);
  font-weight: 600;
}
.builder__note {
  font-size: 14px;
  color: var(--mute);
  margin: 0;
}
.palette {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
@media (min-width: 600px) {
  .palette {
    grid-template-columns: 1fr 1fr;
  }
}
.mod {
  display: grid;
  grid-template-columns: 64px 1fr 44px;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid #e7dfd0;
  border-radius: var(--r-s);
  padding: 10px;
}
.mod img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #f1eee8;
  border-radius: 4px;
}
.mod b {
  display: block;
  font-size: 15px;
}
.mod span {
  display: block;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.35;
}
.mod__add {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--fire);
  background: #fff;
  color: var(--fire);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.mod__add:hover {
  background: var(--fire);
  color: #fff;
}
.mod__add:disabled {
  border-color: #d6ccba;
  color: #bdb19c;
  background: #fff;
  cursor: not-allowed;
}
.spec {
  background: var(--space);
  color: #f1ece3;
  border-radius: var(--r-m);
  padding: 22px;
  position: sticky;
  top: calc(var(--hdr) + 16px);
}
.spec h3 {
  font-family: var(--f-head);
  text-transform: uppercase;
  font-size: 22px;
  margin-bottom: 10px;
}
.spec__list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 15px;
}
.spec__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.spec__sum {
  font-size: 14px;
  color: var(--mute-d);
}
.spec .btn--text {
  color: var(--mute-d);
  width: 100%;
  margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid rgba(181, 154, 106, 0.25);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq details p {
  color: var(--mute-d);
  padding-bottom: 20px;
  margin: 0;
  max-width: 70ch;
}

/* ---------- финал и футер ---------- */
.final {
  background: var(--fire);
  color: #fff;
}
.final .lede {
  color: #f6dcd8;
}
.final__in {
  display: grid;
  gap: 12px;
}
.final .h2 {
  max-width: none;
}
.lead--inline {
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 12px;
}
.lead--inline .fld > span {
  color: #f6dcd8;
}
.lead--inline .btn--fire {
  background: var(--space);
}
.lead--inline .btn--fire:hover {
  background: #000;
}
.lead--inline .consent {
  color: #f6dcd8;
}
.lead--inline .consent a {
  color: #fff;
}
.lead--inline .lead__status.is-ok,
.lead--inline .lead__status.is-err {
  color: #fff;
}
@media (min-width: 900px) {
  .lead--inline {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }
  .lead--inline .consent,
  .lead--inline .lead__status {
    grid-column: 1/-1;
  }
}

.ftr {
  background: #151515;
  color: var(--mute-d);
  font-size: 14px;
  padding: 48px 0 calc(96px + env(safe-area-inset-bottom, 0px));
}
.ftr a {
  color: #e9e3d8;
}
.ftr__grid {
  display: grid;
  gap: 24px;
}
.ftr__brand {
  font-family: var(--f-head);
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
}
.ftr__h {
  color: var(--gold);
  margin-bottom: 6px;
}
.ftr__small {
  font-size: 12px;
  color: #8c857a;
}
@media (min-width: 900px) {
  .ftr {
    padding-bottom: 48px;
  }
  .ftr__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- нижняя панель (мобильные) ---------- */
.mbar {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  display: flex;
  gap: 1px;
  background: rgba(181, 154, 106, 0.3);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.25);
}
.mbar a,
.mbar button {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 56px;
  background: var(--space);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
}
.mbar button {
  background: var(--fire);
}
@media (min-width: 900px) {
  .mbar {
    display: none;
  }
}

/* ---------- модалка ---------- */
.modal {
  border: 0;
  padding: 0;
  overflow: auto;
  border-radius: var(--r-m);
  width: min(460px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  background: transparent;
}
.modal::backdrop {
  background: rgba(15, 15, 15, 0.7);
}
.modal .lead {
  position: relative;
  padding: 28px 24px 22px;
}
.modal__x {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--mute);
}
.modal__title {
  font-family: var(--f-head);
  text-transform: uppercase;
  font-size: 26px;
  padding-right: 36px;
}
.modal__sub {
  font-size: 15px;
  color: var(--mute);
  margin: 0;
}
.modal__terms {
  font-size: 13px;
  color: var(--mute);
  margin: 0;
}

/* ---------- режим рекламного трафика ---------- */
.is-ad .hub-only {
  display: none !important;
}

/* =========================================================
   Идеи с grillburn.ru: полоса выставки, квиз, блок выставки
   ========================================================= */
/* полоса выставки над шапкой */
.expobar {
  display: block;
  background: var(--gold);
  color: var(--space);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 36px;
  height: 36px;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.expobar:hover {
  background: #e0b470;
}
.expobar__full {
  display: none;
}
@media (min-width: 900px) {
  .expobar__full {
    display: inline;
  }
  .expobar__short {
    display: none;
  }
}
body.has-expo {
  --bar: 36px;
}
.hero {
  padding-top: calc(var(--hdr) + var(--bar, 0px));
}
html {
  scroll-padding-top: calc(var(--hdr) + var(--bar, 0px) + 12px);
}
.card,
.spec {
  scroll-margin-top: calc(var(--hdr) + var(--bar, 0px) + 16px);
}
.spec {
  top: calc(var(--hdr) + var(--bar, 0px) + 16px);
}

/* ссылка на квиз в первом экране */
.hero__quiz {
  margin: 18px 0 0;
  font-size: 15px;
  color: #e9e3d8;
  max-width: 60ch;
}
.hero__quiz a {
  color: var(--gold);
  font-weight: 600;
}

/* доверие и подарок */
.factory__iso {
  font-size: 16px;
  color: var(--ink);
  border-left: 3px solid var(--fire);
  padding-left: 14px;
}
.project__gift {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: var(--r-s);
  background: var(--paper);
  font-weight: 500;
}

/* квиз */
.quiz__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .quiz__grid {
    grid-template-columns: 1fr 520px;
    gap: 64px;
  }
}
.ticks--light li::before {
  border-color: var(--gold);
}
.quiz__gift {
  display: none;
  margin-top: 28px;
  border-radius: var(--r-m);
  aspect-ratio: 3/2;
  object-fit: cover;
}
@media (min-width: 900px) {
  .quiz__gift {
    display: block;
  }
}
.qz {
  color: var(--ink);
  min-height: 440px;
  align-content: start;
}
.qz__head {
  display: grid;
  gap: 8px;
}
.qz__count {
  margin: 0;
  font-size: 14px;
  color: var(--mute);
}
.qz__bar {
  height: 4px;
  background: #ede6d8;
  border-radius: 2px;
  overflow: hidden;
}
.qz__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--fire);
  transition: width 0.3s;
}
.qz__step {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.qz__step.is-on {
  display: grid;
  gap: 14px;
}
.qz__step legend {
  font-family: var(--f-head);
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 14px;
  padding: 0;
}
.qz__step legend small {
  display: block;
  font-family: var(--f-body);
  font-size: 14px;
  text-transform: none;
  color: var(--mute);
  margin-top: 4px;
}
.qz__opts {
  display: grid;
  gap: 10px;
}
@media (min-width: 520px) {
  .qz__opts {
    grid-template-columns: 1fr 1fr;
  }
}
.opt {
  position: relative;
  display: flex;
  cursor: pointer;
}
.opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.opt span {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 12px 16px 12px 46px;
  border: 1px solid #d6ccba;
  border-radius: var(--r-s);
  background: #fff;
  font-size: 16px;
  position: relative;
}
.opt span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid #bdb19c;
  border-radius: 50%;
}
.opt input[type="checkbox"] + span::before {
  border-radius: 4px;
}
.opt:hover span {
  border-color: var(--ink);
}
.opt input:checked + span {
  border-color: var(--fire);
  background: #fbf1ef;
}
.opt input:checked + span::before {
  border-color: var(--fire);
  background: var(--fire);
  box-shadow: inset 0 0 0 3px #fff;
}
.opt input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.qz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.qz__nav [data-qz-next] {
  margin-left: auto;
}
.qz__rec {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: var(--r-s);
  background: var(--paper);
}
.qz__rec img {
  width: 120px;
  aspect-ratio: 3/2;
  object-fit: contain;
}
.qz__recLabel {
  margin: 0;
  font-size: 13px;
  color: var(--mute);
}
.qz__recName {
  margin: 2px 0;
  font-family: var(--f-head);
  font-size: 22px;
  text-transform: uppercase;
}
.qz__recPrice {
  margin: 0;
  color: var(--fire);
  font-weight: 600;
}
.qz__final-txt {
  margin: 0;
  font-weight: 500;
}
.qz.is-sent .qz__nav,
.qz.is-sent .qz__rec,
.qz.is-sent .qz__final-txt,
.qz.is-sent .qz__head {
  display: none;
}

/* блок выставки */
.expo {
  background: var(--paper);
}
.expo__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .expo__grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
  }
}
.expo__facts {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}
.expo__facts div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}
.expo__facts dt {
  color: var(--mute);
}
.expo__facts dd {
  margin: 0;
  font-weight: 600;
}
.expo__offer {
  background: var(--space);
  color: #f1ece3;
  border-radius: var(--r-m);
  padding: 28px;
}
.expo__offer p {
  color: var(--mute-d);
}
.expo__pct {
  font-family: var(--f-head);
  font-size: 72px;
  line-height: 1;
  color: var(--gold) !important;
  margin: 0 0 12px;
}

/* отзыв с фото */
.proj--feature {
  grid-column: 1/-1;
}
.proj__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: #2f2c29;
}
.proj__gallery a {
  display: block;
}
.proj__gallery img {
  width: 100%;
  aspect-ratio: 2.1/1;
  object-fit: cover;
}
.proj__said {
  margin: 16px 0 8px;
  color: var(--gold);
  font-weight: 500;
}
.proj__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.proj__points li {
  padding-left: 16px;
  border-left: 2px solid var(--line);
  color: #dcd5c9;
  font-size: 16px;
}
.proj__points b {
  color: #fff;
  font-weight: 600;
}
@media (min-width: 900px) {
  .proj--feature {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
  }
  .proj__gallery {
    grid-template-columns: 1fr;
  }
  .proj__gallery img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 220px;
  }
  .proj--feature .proj__body {
    padding: 32px;
  }
}
@media (max-width: 599px) {
  .proj__gallery {
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .proj__gallery a {
    scroll-snap-align: start;
  }
}

/* отзывы без фото */
.proj--text {
  border: 1px solid rgba(181, 154, 106, 0.25);
}
.proj--text .proj__body {
  padding: 28px;
}
/* увеличение фото отзыва */
.zoom {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 96vw);
  max-height: 92dvh;
}
.zoom::backdrop {
  background: rgba(10, 10, 10, 0.88);
}
.zoom img {
  display: block;
  max-width: 100%;
  max-height: 92dvh;
  border-radius: var(--r-s);
}
.zoom button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.proj__gallery a {
  cursor: zoom-in;
}
.proj__img {
  position: relative;
}
.proj__img figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #e9e3d8;
  font-size: 12px;
}
