/* ==========================================================
   DAOLI — концепт B «Ноктюрн»
   Тёмный кинематографичный шоурум: графит, золото, алый, слоновая кость
   ========================================================== */

@font-face {
  font-family: "Golos Text";
  src: url("../assets/fonts/GolosText.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #111110;
  --bg-2: #171614;
  --panel: #1c1a17;
  --ivory: #f2ecdf;
  --muted: #9d9485;
  --gold: #c8a25e;
  --gold-soft: #a9854a;
  --red: #c0222a;
  --red-deep: #98141b;
  --line: rgba(242, 236, 223, 0.13);
  --line-soft: rgba(242, 236, 223, 0.07);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Golos Text", Corbel, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: #111; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

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

.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.hdr.solid {
  background: rgba(17, 17, 16, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 30px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  width: 52px;
  height: 52px;
  display: block;
  flex: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}
.brand .word { font-family: var(--serif); font-size: 22px; letter-spacing: 0.26em; margin-right: -0.26em; }
.brand .sub {
  display: block;
  font-size: 8px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8d0c2;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: 0.2s;
}
.nav a:hover { color: var(--gold); border-color: var(--gold); }

.hdr-right { display: flex; align-items: center; gap: 22px; }
.hdr-tel { font-size: 13.5px; white-space: nowrap; }
.hdr-tel small {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.2s;
  white-space: nowrap;
  border-radius: 10px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-gold { border-color: var(--gold); color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: #111; }
.btn-ghost { border-color: rgba(242, 236, 223, 0.3); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--ivory); background: var(--ivory); color: #111; }
.btn .arw { font-size: 15px; line-height: 1; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 12px; width: 20px; height: 1px; background: var(--ivory); transition: 0.25s;
}
.burger span { top: 21px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 75;
  background: #0e0e0d;
  padding: 110px 24px 40px;
  overflow: auto;
}
body.menu-open .mobile-menu { display: block; }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 26px;
}
.mobile-menu .btn { margin-top: 26px; width: 100%; font-family: var(--sans); font-size: 10px; }

/* ---------- фото ---------- */

.ph {
  position: relative;
  background-color: #f7f3e9;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/wm.svg") repeat;
  opacity: 0.32;
  pointer-events: none;
}

/* ---------- герой ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: 60% center;
  background-size: cover;
  filter: brightness(0.95) contrast(1.03) saturate(1);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #111110 0%, rgba(17, 17, 16, 0.94) 32%, rgba(17, 17, 16, 0.5) 62%, rgba(17, 17, 16, 0.24) 100%),
    linear-gradient(0deg, #111110 0%, rgba(17, 17, 16, 0.1) 48%, rgba(17, 17, 16, 0.55) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 46px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  flex-wrap: wrap;
  row-gap: 6px;
  max-width: 100%;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 78px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 28px 0 0;
  max-width: 880px;
}
.hero h1 em { font-style: italic; color: var(--gold); }

.hero .lead {
  max-width: 480px;
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #c4bcae;
}
.hero .btns { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero .btns.hero-btns-col { flex-direction: column; align-items: flex-start; gap: 12px; }
.hero .btns.hero-btns-col .btn { min-width: min(340px, 100%); justify-content: center; }

.hero-foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(17, 17, 16, 0.55);
  backdrop-filter: blur(6px);
}
.hero-foot .wrap {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
}
.hero-foot .stat { display: flex; align-items: baseline; gap: 10px; }
.hero-foot b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ivory); }
.hero-foot span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-foot .scroll {
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-foot .scroll::after { content: "↓"; color: var(--gold); }

/* ---------- бренды ---------- */

.marks {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.marks .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.marks .lbl { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.marks ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.marks li { font-family: var(--serif); font-size: 16px; color: #857d70; letter-spacing: 0.06em; }

/* ---------- секции ---------- */

.section { padding: 112px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.08;
  margin: 16px 0 0;
  letter-spacing: -0.01em;
}
.sec-link {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(200, 162, 94, 0.5);
  padding-bottom: 5px;
  white-space: nowrap;
}
.sec-link:hover { color: var(--ivory); border-color: var(--ivory); }

/* ---------- каталог ---------- */

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; align-items: center; }
.chip {
  height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: #cfc6b7;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--gold); border-color: var(--gold); color: #15130f; }
.filters .count { margin-left: auto; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.car-card { display: flex; flex-direction: column; border: 1px solid var(--line-soft); background: var(--bg-2); transition: 0.3s; }
.car-card:hover { border-color: rgba(200, 162, 94, 0.55); transform: translateY(-4px); }
.car-card .ph { aspect-ratio: 4 / 3; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(17, 17, 16, 0.8);
  color: var(--ivory);
  font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 9px;
  border-left: 2px solid var(--red);
}
.badge.way { border-left-color: var(--gold); }
.cc-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.cc-top { display: flex; justify-content: space-between; font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cc-body h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; margin: 6px 0 8px; line-height: 1.15; }
.cc-specs { font-size: 11.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.cc-specs span + span::before { content: "·"; color: var(--gold); margin-right: 8px; }
.cc-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cc-price-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-price { font-family: var(--serif); font-size: 18px; color: var(--gold); }
.cc-note { font-size: 8px; line-height: 1.35; color: var(--muted); letter-spacing: 0.02em; }
.price-disclaimer { font-size: 10.5px; color: var(--muted); margin: -14px 0 26px; letter-spacing: 0.02em; }
.cc-more { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: #b9b0a1; }
.cc-more:hover { color: var(--gold); }
.empty { grid-column: 1 / -1; padding: 60px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }

/* ---------- красная полоса ---------- */

.redband { margin-top: 112px; background: var(--red); color: #fff; }
.redband .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; padding-top: 72px; padding-bottom: 72px; }
.redband .k { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.redband h2 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.1; margin: 16px 0 0; }
.redband p { color: rgba(255, 255, 255, 0.78); margin: 18px 0 0; max-width: 560px; }
.redband ul { list-style: none; margin: 0; padding: 0; align-self: center; }
.redband li { display: flex; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 13.5px; }
.redband li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.redband li b { font-family: var(--serif); font-weight: 400; color: #f4d9a8; min-width: 26px; }

/* ---------- процесс ---------- */

.timeline { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 22px; margin-top: 58px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 7px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 162, 94, 0.15));
}
.step { position: relative; padding-top: 34px; }
.step::before {
  content: "";
  position: absolute;
  top: 1px; left: 0;
  width: 13px; height: 13px;
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.step .n { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 0.1em; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; margin: 10px 0 8px; }
.step p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 250px; }
.step h3 { font-size: 21px; }

/* ---------- калькулятор ---------- */

.calc {
  margin-top: 112px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 84px 0;
}
.calc .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.calc h2 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.1; margin: 16px 0 0; }
.calc p { color: var(--muted); margin: 16px 0 0; max-width: 400px; font-size: 14px; }
.calc-box { border: 1px solid var(--line); padding: 34px; background: var(--panel); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.calc-row .lbl { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.calc-row .val { font-family: var(--serif); font-size: 30px; color: var(--gold); }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: rgba(242, 236, 223, 0.2);
  margin: 26px 0 8px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--panel);
  box-shadow: 0 0 0 1px var(--red);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); border: 3px solid var(--panel); cursor: pointer;
}
.calc-scale { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.calc-result { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.calc-result .big { font-family: var(--serif); font-size: 38px; color: var(--ivory); line-height: 1; }
.calc-result .sub { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-top: 8px; }
.calc-mini { display: flex; gap: 10px; margin-top: 18px; }
.calc-mini a {
  flex: 1;
  border: 1px solid var(--line);
  padding: 10px;
  font-size: 10.5px;
  line-height: 1.4;
  color: #cfc6b7;
  transition: 0.2s;
}
.calc-mini a:hover { border-color: var(--gold); color: var(--gold); }
.calc-mini b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 400; color: var(--ivory); }

/* ---------- заявка ---------- */

.cta { padding: 112px 0 0; }
.cta .inner {
  border: 1px solid rgba(200, 162, 94, 0.35);
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(200, 162, 94, 0.08), transparent 70%),
    var(--bg-2);
}
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.1; margin: 14px 0 0; }
.cta p { color: var(--muted); margin: 14px 0 0; font-size: 14px; max-width: 400px; }
.cta form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta input {
  height: 52px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  min-width: 0;
}
.cta input:focus { border-color: var(--gold); }
.cta .btn { grid-column: 1 / -1; }
.cta .note { grid-column: 1 / -1; font-size: 10px; color: #776f63; margin: 0; line-height: 1.5; }

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

.footer { margin-top: 112px; border-top: 1px solid var(--line); padding: 64px 0 26px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.fbrand { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.flogo { width: 58px; height: 58px; display: block; flex: none; }
.footer .word { font-family: var(--serif); font-size: 24px; letter-spacing: 0.26em; margin-right: -0.26em; color: var(--ivory); }
.footer .about { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer h4 { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 15px; font-weight: 400; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; font-size: 12.5px; color: #b7ae9f; }

.phones li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.phones li:last-child { border-bottom: 0; }
.phones span { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.phones a { color: var(--ivory); }
.phones a:hover { color: var(--gold); }

.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.soc {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfc6b7;
  line-height: 1.2;
  transition: 0.2s;
}
.soc svg { width: 16px; height: 16px; flex: none; }
.soc.tg { grid-column: 1 / -1; border-color: rgba(200, 162, 94, 0.55); color: var(--gold); }
.soc:hover { border-color: var(--gold); color: var(--gold); }
.soc.soon { opacity: 0.42; cursor: default; }
.soc.soon:hover { border-color: var(--line); color: #cfc6b7; }
.footer a:hover { color: var(--ivory); }
.footer .bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: #7f7769; flex-wrap: wrap; }
.footer .demo { margin-top: 12px; font-size: 9.5px; color: #6d665b; line-height: 1.6; }

/* ---------- карточка ---------- */

.crumbs { padding: 110px 0 0; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--ivory); }

.car-layout { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 56px; padding-top: 34px; align-items: start; }
.gallery-main { aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.gallery-thumbs .ph { aspect-ratio: 4 / 3; border: 1px solid var(--line); opacity: 0.6; cursor: pointer; transition: 0.2s; }
.gallery-thumbs .ph:hover, .gallery-thumbs .ph.active { opacity: 1; border-color: var(--gold); }
.gallery-note { margin-top: 14px; font-size: 10px; color: var(--muted); display: flex; gap: 8px; }
.gallery-note::before { content: "◈"; color: var(--gold); }

.car-aside { position: sticky; top: 108px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.status::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.status.way { color: var(--muted); }
.status.way::before { background: var(--muted); }
.car-aside .brandline { margin-top: 18px; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.car-aside h1 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.06; margin: 8px 0 0; }
.car-price { margin-top: 22px; }
.car-price b { font-family: var(--serif); font-weight: 400; font-size: 36px; color: var(--gold); }
.car-price small { display: block; margin-top: 4px; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.key-specs { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.key-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.key-specs span { color: var(--muted); }
.car-aside .btn { width: 100%; margin-top: 20px; }
.car-aside .btn + .btn { margin-top: 10px; }
.vin-note { margin-top: 16px; padding: 14px; background: var(--bg-2); border: 1px solid var(--line); font-size: 11px; color: var(--muted); line-height: 1.6; }
.vin-note b { color: var(--ivory); letter-spacing: 0.08em; }

.spec-section { padding: 96px 0 0; }
.spec-section h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; margin: 0 0 26px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-row span { color: var(--muted); }
.spec-row b { font-weight: 400; text-align: right; }
.condition { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cond-box { border: 1px solid var(--line); padding: 24px; background: var(--bg-2); }
.cond-box .k { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.cond-box p { margin: 8px 0 0; font-size: 14px; }
.cond-box .ok { color: #8fbf86; }
.similar { padding: 96px 0 0; }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--ivory); color: #111; padding: 15px 24px; font-size: 12px;
  letter-spacing: 0.05em; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 200;
  border-left: 3px solid var(--red); max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }



/* ---------- 03.12.2026: фильтры каталога, пагинация, состояние ---------- */
.f-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.f-lbl { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.f-clean { border-color: rgba(200, 162, 94, 0.45); color: #d9c49a; }
.f-clean.active { background: var(--gold); color: #111; border-color: var(--gold); }
.cc-cond { font-size: 12px; color: #b9a98f; margin-top: 8px; }
.show-more { display: block; margin: 44px auto 0; min-width: 260px; }



/* ---------- 03.12.2026: окно подбора, заглушка фото, лайтбокс ---------- */
.pick-box { max-width: 760px; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick-grid .pick-wide { grid-column: 1 / -1; }
.pick-form .btn { margin-top: 16px; }
.ph-empty { display: flex; align-items: center; justify-content: center; min-height: 220px;
  background: #1b1a17; border: 1px dashed rgba(200, 162, 94, 0.35); }
.ph-empty { flex-direction: column; gap: 14px; }
.ph-empty span { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; text-align: center; padding: 0 14px; }
.ph-empty .btn { height: 42px; padding: 0 20px; font-size: 9.5px; }
.lightbox { position: fixed; inset: 0; z-index: 320; display: none; align-items: center; justify-content: center;
  background: rgba(5, 5, 5, 0.94); }
.lightbox.open { display: flex; }
.lb-img { width: min(94vw, 1400px); height: min(88vh, 1000px); background-position: center; background-size: contain; background-repeat: no-repeat; }
.lb-close { position: absolute; top: 18px; right: 26px; background: none; border: 0; color: #f2ecdf; font-size: 40px; line-height: 1; }
.lb-download { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--ivory);
  border: 1px solid rgba(242, 236, 223, 0.4); padding: 10px 22px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.lb-download:hover { background: var(--ivory); color: #111; }
@media (max-width: 640px) {
  .pick-grid { grid-template-columns: 1fr; }
  .lb-img { width: 100vw; height: 80vh; }
}



/* ---------- 03.12.2026: кнопка опта, стрелки лайтбокса ---------- */
.opt-link { margin-top: 18px; background: none; border: 0; color: #d9c49a; font-size: 12.5px; letter-spacing: 0.02em;
  border-bottom: 1px dashed rgba(217, 196, 154, 0.5); padding: 0 0 3px; text-align: left; }
.opt-link:hover { color: var(--ivory); border-bottom-color: var(--ivory); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border-radius: 50%;
  background: rgba(20, 19, 15, 0.7); border: 1px solid rgba(242, 236, 223, 0.3); color: var(--ivory); font-size: 36px; line-height: 1;
  display: flex; align-items: center; justify-content: center; }
.lb-nav:hover { background: rgba(242, 236, 223, 0.92); color: #111; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
@media (max-width: 640px) { .lb-nav { width: 46px; height: 46px; font-size: 26px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

/* ---------- адаптив ---------- */

@media (max-width: 1180px) {
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .timeline::before { display: none; }
  .hero h1 { font-size: 62px; }
  .nav { gap: 20px; }
  .hdr-tel { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .calc .wrap { gap: 44px; }
}

@media (max-width: 980px) {
  .wrap { padding: 0 26px; }
  .nav, .hdr-right .btn { display: none; }
  .burger { display: block; }
  .hdr .wrap { height: 72px; }
  .brand .logo { width: 44px; height: 44px; }
  .hero { min-height: 92vh; padding-top: 110px; }
  .hero h1 { font-size: 50px; }
  .hero-bg { background-position: 52% center; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .sec-head h2, .calc h2 { font-size: 38px; }
  .redband .wrap { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 34px; }
  .timeline::before { display: none; }
  .calc .wrap { grid-template-columns: 1fr; gap: 34px; }
  .cta .inner { grid-template-columns: 1fr; gap: 30px; padding: 36px; }
  .car-layout { grid-template-columns: 1fr; gap: 36px; }
  .car-aside { position: static; }
  .cta form { grid-template-columns: 1fr; }
  .similar-grid, .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .cols { gap: 32px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 38px; }
  .hero-bg { background-position: 74% 62%; background-size: 175% auto; }
  .hero::before { background: linear-gradient(0deg, #111110 0%, rgba(17,17,16,0.88) 42%, rgba(17,17,16,0.12) 100%); }
  .hero .lead { font-size: 14.5px; }
  .hero-foot .wrap { gap: 18px 30px; }
  .hero-foot .scroll { display: none; }
  .marks ul { gap: 16px; }
  .marks li { font-size: 14px; }
  .section { padding-top: 72px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .sec-head h2, .calc h2, .redband h2, .cta h2 { font-size: 31px; }
  .cat-grid { grid-template-columns: 1fr; }
  .filters .count { margin-left: 0; width: 100%; }
  .redband .wrap { padding-top: 48px; padding-bottom: 48px; }
  .timeline { grid-template-columns: 1fr; }
  .calc-box { padding: 22px; }
  .calc-result .big { font-size: 30px; }
  .cta .inner { padding: 24px 18px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .cols > div:last-child { grid-column: 1 / -1; }
  .footer .bottom { flex-direction: column; gap: 8px; }
  .car-aside h1 { font-size: 34px; }
  .spec-grid, .condition { grid-template-columns: 1fr; }
  .similar-grid { grid-template-columns: 1fr; }
  .crumbs { padding-top: 92px; }
}



/* ---------- 03.12.2026: окно заявки (бронь / видео) ---------- */
.lead-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(8, 8, 7, 0.82); backdrop-filter: blur(6px); }
.lead-modal.open { display: flex; }
.lead-box { position: relative; width: 100%; max-width: 460px; background: var(--bg-2); border: 1px solid var(--line); padding: 34px 30px 26px; }
.lead-box h2 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.2; margin: 14px 0 0; }
.lead-sub { color: var(--muted); font-size: 13px; margin: 10px 0 0; min-height: 18px; }
.lead-form { display: grid; gap: 12px; margin-top: 22px; }
.lead-form input, .lead-form textarea { width: 100%; background: #14130f; border: 1px solid var(--line); color: var(--ivory);
  padding: 13px 14px; font-size: 14px; border-radius: 6px; outline: none; }
.lead-form textarea { min-height: 76px; resize: vertical; }
.lead-form select { width: 100%; background: #14130f; border: 1px solid var(--line); color: var(--ivory); padding: 13px 14px; font-size: 14px; border-radius: 6px; outline: none; -webkit-appearance: none; appearance: none; }
.lead-form select option { background: #14130f; color: var(--ivory); }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--gold); }
.lead-form .btn { margin-top: 4px; }
.lead-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; }
.lead-close:hover { color: var(--ivory); }
.lead-status { font-size: 13px; color: var(--gold); margin: 14px 0 0; min-height: 18px; }
.lead-status.err { color: #e08b8b; }
.lead-note { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 14px 0 0; }


/* ---------- 03.12.2026: адрес и реквизиты в футере ---------- */
.addr { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.addr-row { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.addr-row span { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.addr-row b { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--ivory); line-height: 1.5; }
.addr-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.addr-links a { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.addr-links a:hover { color: var(--ivory); }


/* ---------- 04.12.2026: доверие, о компании, разбивка цены ---------- */
.page-hero { padding: 150px 0 10px; }
.page-hero .crumbs { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.page-hero .crumbs a { color: var(--muted); }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1.1; margin: 16px 0 0; max-width: 900px; }
.page-hero .lead { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 640px; margin: 20px 0 0; }
.sec-sub { color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 340px; }
.placeholder-note { color: var(--muted); font-size: 12px; margin-top: 16px; }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card { aspect-ratio: 4 / 3; border: 1px dashed rgba(200, 162, 94, 0.32); background: #161513; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; color: var(--muted); }
.trust-card span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.trust-card small { font-size: 11px; opacity: 0.75; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--bg-2); border: 1px solid var(--line); padding: 26px 24px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.review.empty { border-style: dashed; }
.review-text { color: var(--muted); font-size: 14px; line-height: 1.7; }
.review-by { color: var(--gold); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 18px; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case { background: var(--bg-2); border: 1px solid var(--line); padding: 26px 24px; }
.case.empty { border-style: dashed; }
.case-tag { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.case h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 12px 0 0; }
.case-steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: c; }
.case-steps li { counter-increment: c; color: var(--muted); font-size: 13px; padding: 5px 0 5px 26px; position: relative; }
.case-steps li::before { content: "0" counter(c); position: absolute; left: 0; color: var(--gold); font-size: 10px; letter-spacing: 0.08em; top: 7px; }
.case-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.case-fotos span { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #161513; border: 1px dashed rgba(200, 162, 94, 0.3); color: var(--muted); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

.calc-example { background: var(--bg-2); border: 1px solid var(--line); padding: 10px 26px 24px; max-width: 760px; }
.calc-example table { width: 100%; border-collapse: collapse; }
.calc-example td { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ivory); }
.calc-example td:last-child { text-align: right; }
.calc-example .calc-note td { color: var(--muted); font-size: 12.5px; }
.calc-example .calc-total td { font-family: var(--serif); font-size: 22px; color: var(--gold); border-bottom: 0; padding-top: 18px; }
.calc-sub { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 14px 0 0; }

.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.about-text p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0 0 16px; }
.about-card { background: var(--bg-2); border: 1px solid var(--line); padding: 26px 24px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card { background: var(--bg-2); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.team-card.empty { border-style: dashed; }
.team-photo { aspect-ratio: 1 / 1; background: #161513; border: 1px dashed rgba(200, 162, 94, 0.28); margin-bottom: 12px; }
.team-card b { font-size: 15px; font-weight: 400; }
.team-card small { color: var(--muted); font-size: 12px; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-card { background: var(--bg-2); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.doc-card.empty { border-style: dashed; }
.doc-card b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.doc-card span { color: var(--muted); font-size: 13px; line-height: 1.7; }

.price-breakdown { margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }
.pb-title { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pb-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 6px 0; color: var(--ivory); }
.pb-row span { color: var(--muted); }
.pb-row b { font-weight: 400; }
.pb-note { font-size: 12.5px; }
.pb-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-family: var(--serif); font-size: 20px; }
.pb-total span { color: var(--ivory); }
.pb-total b { color: var(--gold); font-weight: 400; }
.pb-hint { color: var(--muted); font-size: 11.5px; line-height: 1.6; margin-top: 12px; }
@media (max-width: 980px) {
  .page-hero h1 { font-size: 40px; }
  .trust-grid, .team { grid-template-columns: 1fr 1fr; }
  .reviews, .cases, .docs, .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding-top: 110px; }
  .page-hero h1 { font-size: 31px; }
}


/* ---------- 04.12.2026: шапка с новыми ссылками ---------- */
.hdr-right .btn { white-space: nowrap; }
@media (max-width: 1500px) {
  .nav { gap: 18px; }
  .nav a { font-size: 10.5px; letter-spacing: 0.1em; }
  .hdr-tel { font-size: 13px; }
}
@media (max-width: 1180px) {
  .hdr-right .hdr-tel { display: none; }
}


/* 04.12.2026: общий класс .empty растягивал карточки на всю ширину — возвращаем нормальную сетку */
.trust-card.empty, .review.empty, .case.empty, .team-card.empty, .doc-card.empty {
  grid-column: auto;
}
.trust-card.empty { padding: 0; text-align: center; }
.review.empty, .case.empty, .team-card.empty, .doc-card.empty { text-align: left; }


/* 04.12.2026: экспертиза и чекбокс */
.pb-sep { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 16px 0 8px; }
.pick-check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.pick-check input { margin-top: 3px; width: 15px; height: 15px; accent-color: #b3202a; }


/* ---------- 04.12.2026: поиск по каталогу ---------- */
.catalog-search { position: relative; margin: 0 0 18px; }
.catalog-search input { width: 100%; background: #14130f; border: 1px solid var(--line); color: var(--ivory);
  padding: 16px 46px 16px 16px; font-size: 14.5px; border-radius: 8px; outline: none; }
.catalog-search input::placeholder { color: #776f63; }
.catalog-search input:focus { border-color: var(--gold); }
.catalog-search input::-webkit-search-cancel-button { display: none; }
.search-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0;
  color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 8px; }
.search-clear:hover { color: var(--ivory); }
.catalog-empty { grid-column: 1 / -1; border: 1px dashed rgba(200, 162, 94, 0.35); background: #161513; padding: 46px 24px; text-align: center; }
.catalog-empty b { font-family: var(--serif); font-weight: 400; font-size: 26px; display: block; }
.catalog-empty p { color: var(--muted); font-size: 13.5px; line-height: 1.7; max-width: 460px; margin: 12px auto 22px; }


/* 04.12.2026: ожидание возраста, кнопка и чип бюджета */
.pb-small { font-size: 11.5px; color: var(--muted); margin: -2px 0 6px; }
.pb-age-hint { margin-top: 14px; padding: 12px 14px; background: rgba(200, 162, 94, 0.08); border-left: 2px solid var(--gold); color: #e4d4b4; font-size: 12.5px; line-height: 1.65; }
.pb-age-hint.warn { background: rgba(179, 32, 42, 0.12); border-left-color: #b3202a; color: #efc9c9; }
.calc-show { width: 100%; justify-content: center; margin-top: 18px; }
.budget-filter { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; background: rgba(200, 162, 94, 0.1); border: 1px solid rgba(200, 162, 94, 0.35); padding: 9px 14px; font-size: 12.5px; color: #e4d4b4; }
.budget-filter[hidden] { display: none; }
.budget-filter button { background: none; border: 0; color: var(--gold); font-size: 18px; line-height: 1; margin-left: auto; }

/* ---------- 04.12.2026: мобильная вёрстка (лечим обрезанные надписи) ---------- */
@media (max-width: 640px) {
  html, body { overflow-x: hidden; }
  .hero { min-height: 100svh; padding-top: 96px; }
  .hero h1 { font-size: 34px; line-height: 1.06; margin-top: 20px; }
  .hero .lead { font-size: 14px; line-height: 1.65; margin-top: 18px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.12em; gap: 8px; row-gap: 5px; }
  .eyebrow::before { width: 20px; flex: 0 0 20px; }
  .hero h1, .hero .lead, .section h2 { overflow-wrap: anywhere; }
  .hero .btns { width: 100%; margin-top: 26px; }
  .hero .btns.hero-btns-col { width: 100%; align-items: stretch; }
  .hero .btns.hero-btns-col .btn { min-width: 0; width: 100%; }
  .btn { white-space: normal; height: auto; min-height: 48px; padding: 12px 16px; line-height: 1.35; text-align: center; }
  .hero-foot .wrap { gap: 14px 22px; padding-top: 18px; padding-bottom: 18px; }
  .hero-foot b { font-size: 22px; }
  .hero-foot span { font-size: 9px; letter-spacing: 0.1em; }
  .sec-head h2, .calc h2, .redband h2, .cta h2 { font-size: 28px; }
  .sec-link { font-size: 9px; letter-spacing: 0.14em; }
  .mobile-menu a { font-size: 22px; }
  .page-hero h1 { font-size: 30px; }
  .car-aside h1 { font-size: 30px; }
  .spec-row { gap: 12px; }
  .pb-row { gap: 10px; }
}
