/* ==========================================================================
   NORDÉN · Ужгород · линия А

   СТРУКТУРА ИДЁТ ОТ КОНТЕНТА, А НЕ ОТ ПРИВЫЧКИ.
   У него редкая для OLX вещь: 12 кухонь с СОБСТВЕННЫМИ ИМЕНАМИ и ценами
   от 16 999 до 46 999. Поэтому страница построена как модельный ряд бренда,
   а не как галерея: список моделей по возрастанию цены — это спина страницы.
   Дальше три модели раскрыты, потом подтверждаемые факты (BLUM на макро-кадрах,
   свой цех), потом остальные комнаты, потом честный слот под то, чего в его
   объявлениях нет вообще.

   НЕ ПОВТОРЯЕТ: Prostir (редакционная галерея), Кузня Суми (прайс услуг).
   Здесь именованный лайнап с ценовой лестницей.

   Palette: тёплый графит #14161A + бумага #F2F0EC + латунь #B4884A,
   взята пипеткой из его же бронзовых ручек на Неокласиці.
   Латунь тут не «премиальный дефолт», а цвет фурнитуры в кадре.
   ========================================================================== */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-v12-cyrillic_latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-v7-cyrillic_latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-v7-cyrillic_latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #14161a;
  --ink2: #1d2025;
  --paper: #f2f0ec;
  --paper2: #e7e4de;
  --text: #14161a;
  --muted: rgba(20, 22, 26, 0.66);
  --subtle: rgba(20, 22, 26, 0.45);
  --line: rgba(20, 22, 26, 0.15);
  --on-ink: #ecebe8;
  --on-ink-dim: rgba(236, 235, 232, 0.66);
  --accent: #8a6222; /* латунь, затемнена до 4.9:1 на белом тексте */
  --accent-h: #6f4e1a;
  --brass: #b4884a; /* пипетка с ручек, только как тонкая линия */
  --disp: "Unbounded", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
  --pad: 18px;
  --gap: 10px;
  --sec: 58px;
}
@media (min-width: 900px) {
  :root {
    --pad: 44px;
    --gap: 16px;
    --sec: 92px;
  }
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  padding-bottom: 62px;
}
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--on-ink);
  padding: 10px 16px;
}
h2 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(1.4rem, 4.4vw, 2.1rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
}
.lab {
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 600;
}

/* ---------- ШАПКА ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px var(--pad);
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid var(--brass);
}
.bar__n {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
}
.bar__c {
  font-size: 12px;
  color: var(--on-ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar__t {
  font-weight: 600;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 6px 0;
}
@media (max-width: 640px) {
  .bar__c {
    display: none;
  }
  .bar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}

/* ---------- МОДЕЛЬНЫЙ РЯД: спина страницы ---------- */
.lineup {
  padding: calc(var(--sec) * 0.7) var(--pad) var(--sec);
}
.lineup__head h1 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(1.7rem, 6.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lineup__head p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}
@media (min-width: 900px) {
  .lineup__head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: 5vw;
    align-items: end;
  }
  .lineup__head p {
    margin-top: 0;
  }
}

.mods {
  list-style: none;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.mod {
  display: grid;
  grid-template-columns: 1fr 78px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.mod__l {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 16px;
  padding: 14px 0;
  min-height: 44px;
}
.mod__nm {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(1.05rem, 4.2vw, 1.6rem);
  letter-spacing: -0.016em;
  transition: color var(--d-fast) var(--ease-out);
}
.mod__p {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(1.05rem, 4.2vw, 1.6rem);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.mod__p::after {
  content: " грн";
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  color: var(--subtle);
}
.mod__d {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--muted);
  text-wrap: pretty;
}
.mod__m {
  display: block;
  width: 78px;
  height: 62px;
  overflow: clip;
}
.mod__m img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--d-default) var(--ease-out);
}
.mod:hover .mod__m img {
  transform: scale(1.06);
}
.mod:hover .mod__nm {
  color: var(--accent);
}
@media (min-width: 900px) {
  .mod {
    grid-template-columns: 1fr 148px;
    gap: 30px;
  }
  .mod__l {
    grid-template-columns: 15rem 1fr auto;
    align-items: center;
    padding: 18px 0;
  }
  .mod__d {
    grid-column: auto;
    font-size: 15px;
  }
  .mod__m {
    width: 148px;
    height: 100px;
  }
}
.lineup__note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--subtle);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ---------- BLUM ---------- */
.inside {
  background: var(--ink);
  color: var(--on-ink);
  padding: var(--sec) var(--pad);
  display: grid;
  gap: 24px;
}
.inside p {
  margin-top: 10px;
  color: var(--on-ink-dim);
  max-width: 46ch;
  text-wrap: pretty;
}
.inside__g {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr 1fr;
}
.inside__g img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.inside__g figcaption {
  padding-top: 8px;
  font-size: 13px;
  color: var(--on-ink-dim);
}
@media (min-width: 900px) {
  .inside {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    column-gap: 5vw;
    align-items: center;
  }
}

/* ---------- ПРОЄКТИ ---------- */
.proj {
  padding: var(--sec) var(--pad);
  border-bottom: 1px solid var(--line);
}
.proj--alt {
  background: var(--paper2);
}
.proj__h h2 {
  margin-top: 10px;
}
.proj__d {
  margin-top: 12px;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}
.proj__g {
  margin-top: 24px;
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
.proj__g .frame {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: clip;
}
.proj__g .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 760px) {
  .proj__g {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .proj__g .frame:first-child {
    grid-row: span 1;
  }
}

/* ---------- ЦЕХ ---------- */
.shop {
  padding: var(--sec) var(--pad);
  display: grid;
  gap: 22px;
  background: var(--paper2);
}
.shop__m {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: clip;
}
.shop__m img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}
@media (min-width: 900px) {
  .shop {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 5vw;
    align-items: center;
  }
}

/* ---------- ІНШІ КІМНАТИ ---------- */
.more {
  padding: var(--sec) var(--pad);
}
.more__d {
  margin-top: 8px;
  color: var(--muted);
}
.more__g {
  margin-top: 24px;
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr 1fr;
}
.more__g img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.more__g figcaption {
  padding-top: 8px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
}
.more__g figcaption span {
  font-weight: 400;
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 760px) {
  .more__g {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- СЛОТ ПІД ДАНІ ---------- */
.gap {
  background: var(--ink);
  color: var(--on-ink);
  padding: var(--sec) var(--pad);
}
.gap .lab {
  color: rgba(236, 235, 232, 0.45);
}
.gap h2 {
  margin-top: 10px;
}
.gap__d {
  margin-top: 12px;
  color: var(--on-ink-dim);
  max-width: 52ch;
  text-wrap: pretty;
}
.gap__l {
  list-style: none;
  margin-top: 24px;
  max-width: 720px;
}
.gap__l li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid rgba(236, 235, 232, 0.16);
  color: var(--on-ink-dim);
  font-size: 15px;
}
.gap__l span {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 13px;
  color: var(--on-ink);
  letter-spacing: 0.01em;
}
@media (min-width: 700px) {
  .gap__l li {
    grid-template-columns: 13rem 1fr;
    gap: 20px;
    align-items: baseline;
  }
}

/* ---------- CTA ---------- */
.end {
  padding: var(--sec) var(--pad);
  background: var(--paper2);
}
.end h2 {
  font-size: clamp(1.6rem, 5.6vw, 2.8rem);
}
.end p {
  margin: 12px 0 24px;
  color: var(--muted);
  max-width: 50ch;
  text-wrap: pretty;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  transition:
    background-color var(--d-fast) var(--ease-out),
    transform var(--d-fast) var(--ease-out);
}
.btn:hover {
  background: var(--accent-h);
}
.btn:active {
  transform: scale(0.98);
}

.foot {
  padding: 24px var(--pad) 34px;
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--subtle);
}
@media (min-width: 900px) {
  .foot {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
  }
}

.callbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) {
  .callbar {
    display: none;
  }
}
