/* ============================================================
   VOLOSYSHOP.RU — премиальный магазин волос для наращивания
   Дизайн-система: тёмный графит + шампань-золото
   Шрифты: Playfair Display (декоративная антиква) + Manrope (гротеск)
   ============================================================ */

:root {
  /* Палитра */
  --bg: #0d0c0a;
  --bg-2: #131109;
  --surface: #1a1712;
  --surface-2: #211d15;
  --gold: #c9a962;
  --gold-light: #e8d3a0;
  --gold-deep: #9a7c3f;
  --text: #f3eee2;
  --muted: #a79d89;
  --line: rgba(201, 169, 98, .16);
  --line-strong: rgba(201, 169, 98, .38);
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);

  /* Типографика */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  /* Отступы и радиусы */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --section: clamp(72px, 10vw, 128px);

  /* Анимации */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --dur: .7s;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

::selection { background: var(--gold); color: #14110a; }

/* Тонкая золотая полоса прокрутки */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Контейнер ---------- */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(13, 12, 10, .86);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .04em;
}
.brand .logo-mark {
  width: 38px; height: 38px;
  display: block;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.brand .logo-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand:hover .logo-mark { transform: rotate(45deg); background: rgba(201,169,98,.08); }
.brand b { color: var(--gold); font-weight: 600; }
.brand span { font-family: var(--font-body); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); display: block; }

.main-nav ul { display: flex; gap: 24px; align-items: center; }
.main-nav a {
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { white-space: nowrap; }
.header-phone { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--gold-light); white-space: nowrap; }

/* Бургер */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  position: relative;
  z-index: 120;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 5px); }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle.open span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .03em;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s, background .35s, border-color .35s;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 55%, var(--gold-light));
  color: #171307;
  box-shadow: 0 12px 34px rgba(201, 169, 98, .28);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(201, 169, 98, .4); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
  background: rgba(201, 169, 98, .04);
}
.btn-ghost:hover { background: rgba(201, 169, 98, .12); transform: translateY(-3px); }
.btn-sm { padding: 11px 22px; font-size: 13px; }

/* ---------- Герой ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -6% 0;
  background-size: cover;
  background-position: center;
  transform: translateY(0);
  will-change: transform;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,12,10,.5) 0%, rgba(13,12,10,.3) 44%, rgba(13,12,10,.8) 100%),
    radial-gradient(120% 85% at 50% 42%, rgba(13,12,10,.24) 0%, rgba(13,12,10,.6) 100%);
  z-index: -1;
}
.hero-content { max-width: 760px; margin-inline: auto; text-align: center; }
.hero-content .hero-sub { margin-inline: auto; }
.hero-content .hero-actions { justify-content: center; }
.hero-content .hero-trust { justify-content: center; }
.hero .eyebrow { color: var(--gold); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 74px);
  line-height: 1.06;
  font-weight: 600;
  margin: 20px 0 24px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 520px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-trust { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 26px; }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.hero-trust svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: grid; justify-items: center;
  padding-top: 8px;
}
.scroll-hint i {
  width: 3px; height: 9px; border-radius: 3px;
  background: var(--gold);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Надзаголовок / заголовки секций ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 600;
  line-height: 1.12;
  margin: 16px 0 18px;
}
.section-sub { color: var(--muted); max-width: 620px; font-size: 17px; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }

section { padding: var(--section) 0; position: relative; }
.section-alt { background: var(--bg-2); }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- Сетки ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Карточка товара ---------- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s var(--ease);
}
.product-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, var(--surface-2), var(--bg-2)); }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 14px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(13,12,10,.72);
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.product-text { color: var(--muted); font-size: 14.5px; flex: 1; }
.product-weight {
  position: absolute; top: 14px; right: 14px;
  padding: 6px 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
}
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.color-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.color-pick-label { font-size: 13px; color: var(--muted); }
.color-pick-label b { color: var(--text); font-weight: 600; }
.swatches { display: flex; gap: 7px; flex-wrap: wrap; }
.swatch {
  width: 22px; height: 22px; padding: 0;
  border-radius: 50%;
  background: var(--sw);
  border: 2px solid var(--line-strong);
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s var(--ease);
}
.swatch:hover { transform: scale(1.18); border-color: var(--gold); }
.swatch.active { border-color: var(--gold); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
.buy-lot-color { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.product-price { font-size: 19px; font-weight: 700; color: var(--gold-light); }
.product-price small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 520px) {
  .product-foot { flex-direction: column; align-items: stretch; }
  .product-actions { justify-content: stretch; }
  .product-actions .btn { flex: 1; text-align: center; }
}

/* ---------- Карточка услуги ---------- */
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.service-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 14px;
  color: var(--gold); background: rgba(201,169,98,.07);
}
.service-icon svg { width: 26px; height: 26px; }
.service-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.service-title a { color: inherit; }
.service-text { color: var(--muted); font-size: 14.5px; }
.service-meta { color: var(--text); font-size: 13.5px; letter-spacing: .02em; }
.service-card .product-foot { margin-top: auto; padding-top: 8px; }

/* ---------- Универсальная карточка (преимущества, услуги) ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .5s var(--ease), border-color .5s, background .5s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute; inset: 0 auto auto 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.feature-card:hover::before { transform: scaleX(1); }
.icon-badge {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(201, 169, 98, .07);
  color: var(--gold);
  margin-bottom: 20px;
  transition: transform .5s var(--ease), background .5s;
}
.feature-card:hover .icon-badge { transform: translateY(-4px) rotate(-6deg); background: rgba(201,169,98,.14); }
.icon-badge svg { width: 26px; height: 26px; }
.feature-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.feature-text { color: var(--muted); font-size: 15px; }

/* ---------- Цифры ---------- */
.stats-band { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-num sup { font-size: .5em; color: var(--gold-light); }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 14px; letter-spacing: .04em; }

/* ---------- Бегущая строка ---------- */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  color: #171307;
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scrollX 26s linear infinite; }
.marquee span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.marquee span::after { content: "◆"; font-size: 10px; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- Сплит-экран с изображением ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; transition: transform .8s var(--ease); }
.split-media:hover img { transform: scale(1.04); }
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.frame-chip {
  position: absolute; bottom: 18px; left: 18px;
  padding: 12px 20px;
  background: rgba(13,12,10,.78);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--gold-light);
}
.frame-chip b { display: block; font-family: var(--font-display); font-size: 18px; }

.check-list { display: grid; gap: 16px; margin-top: 26px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.check-list svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.check-list b { color: var(--text); font-weight: 600; }

/* ---------- Шаги ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  display: flex; gap: 22px;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), border-color .5s;
}
.step:hover { transform: translateX(8px); border-color: var(--line-strong); }
.step-num {
  counter-increment: step;
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  background: rgba(201,169,98,.06);
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .4s;
}
.faq-item.open { border-color: var(--line-strong); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}
.faq-q .chev {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--gold);
  transition: transform .45s var(--ease), background .45s;
}
.faq-item.open .chev { transform: rotate(180deg); background: rgba(201,169,98,.12); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Отзывы ---------- */
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .5s var(--ease), border-color .5s;
}
.review-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.stars { display: flex; gap: 4px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.review-text { color: var(--muted); font-size: 15px; flex: 1; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: #171307;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light));
  flex: none;
}
.review-author b { display: block; font-size: 15px; }
.review-author span { font-size: 13px; color: var(--muted); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { padding: 118px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); }
.breadcrumbs li + li::before { content: "—"; margin-right: 10px; color: var(--gold-deep); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--gold-light); }

/* ---------- Страничный герой (внутренние страницы) ---------- */
.page-hero { padding: 40px 0 0; }
.page-hero .hero-title { font-size: clamp(34px, 5vw, 58px); }
.page-hero .hero-sub { margin-bottom: 0; }
.hero-lite { padding: 46px 0 20px; }
.hero-lite .hero-title { margin-bottom: 18px; }
.hero-lite::after { content: none; }
.hero-lite .container { position: relative; z-index: 1; }
.hero-lite .eyebrow { margin-bottom: 6px; }

/* ---------- Таблица цен ---------- */
.price-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.price-table th, .price-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-light);
  letter-spacing: .03em;
}
.price-table tbody tr { transition: background .3s; }
.price-table tbody tr:hover { background: rgba(201,169,98,.05); }
.price-table td { color: var(--muted); }
.price-table td:first-child { color: var(--text); font-weight: 600; }
.price-val { color: var(--gold-light); font-weight: 700; white-space: nowrap; }

/* ---------- CTA-баннер ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); }
.cta-band .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,12,10,.92), rgba(13,12,10,.55)); }
.cta-inner { position: relative; z-index: 1; padding: clamp(44px, 7vw, 90px); max-width: 620px; }

/* ---------- Форма ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 48px);
}
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 15px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,98,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { font-size: 14px; color: var(--muted); min-height: 20px; }
.form-status.ok { color: var(--gold-light); }
.form-status.err { color: #e08a7a; }

/* ---------- Модалка быстрой покупки ---------- */
.buy-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.buy-dialog::backdrop { background: rgba(8, 7, 5, .78); backdrop-filter: blur(3px); }
.buy-form { display: grid; gap: 16px; padding: clamp(26px, 4vw, 38px); }
.buy-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.buy-head h2 { font: 600 clamp(22px, 3vw, 28px)/1.2 var(--font-display); color: var(--text); }
.buy-close {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-size: 24px; line-height: 1;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s, border-color .3s, transform .3s;
}
.buy-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
.buy-lot {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
}
.buy-lot-name { font-weight: 600; color: var(--text); }
.buy-lot-price { color: var(--gold); font-weight: 700; white-space: nowrap; }
.buy-actions { display: grid; gap: 12px; }
@media (min-width: 480px) { .buy-actions { grid-template-columns: 1fr 1fr; } }

/* ---------- Контакты ---------- */
.contact-card {
  display: flex; gap: 18px;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), border-color .5s;
}
.contact-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.contact-card .icon-badge { margin: 0; flex: none; width: 52px; height: 52px; }
.contact-card b { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.contact-card p, .contact-card a.val { color: var(--muted); font-size: 15px; }
.contact-card a.val:hover { color: var(--gold); }

/* ---------- Список городов (гео) ---------- */
.geo-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.geo-chips li {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  background: var(--surface);
  transition: color .3s, border-color .3s, transform .3s;
}
.geo-chips li:hover { color: var(--gold-light); border-color: var(--line-strong); transform: translateY(-2px); }
.geo-chips a { color: inherit; }
.geo-chips a::after { content: ' →'; color: var(--gold); }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; margin-bottom: 50px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 300px; }
.footer-col .footer-title { font-family: var(--font-display); font-size: 17px; margin: 0 0 18px; color: var(--gold-light); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; color: var(--muted); font-size: 14.5px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  color: var(--muted); font-size: 13px;
}
.footer-bottom a { color: var(--gold); }

/* ---------- Служебное ---------- */
.text-muted { color: var(--muted); }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.center { text-align: center; }
.actions-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.article-body { max-width: 780px; margin-inline: auto; }
.article-body h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); margin: 48px 0 18px; }
.article-body h3 { font-family: var(--font-display); font-size: 23px; margin: 34px 0 14px; }
.article-body p { color: var(--muted); margin-bottom: 18px; font-size: 16.5px; }
.article-body ul { margin: 0 0 20px; display: grid; gap: 10px; }
.article-body ul li { color: var(--muted); padding-left: 26px; position: relative; }
.article-body ul li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 5px; }
.article-body strong { color: var(--text); }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  /* backdrop-filter на шапке делает её containing block для position:fixed внутри —
     оверлей меню схлопывался в размер шапки. На мобильных отключаем blur, фон уплотняем. */
  .site-header, .site-header.scrolled { backdrop-filter: none; }
  .site-header.scrolled { background: rgba(13, 12, 10, .97); }
  .main-nav {
    position: fixed; inset: 0;
    background: rgba(13, 12, 10, .97);
    backdrop-filter: blur(12px);
    display: grid; place-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity .4s var(--ease);
    z-index: 110;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .brand { position: relative; z-index: 120; }
  .header-cta { position: relative; z-index: 120; }
  .main-nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .main-nav a { font-size: 22px; font-family: var(--font-display); }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}

@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .hero { padding-top: 120px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .step { flex-direction: column; }
  .price-table th, .price-table td { padding: 13px 14px; font-size: 14px; }
  /* Шапка: каталог доступен через бургер-меню и hero-кнопку, поэтому кнопку скрываем */
  .header-cta .btn { display: none; }
  .brand { gap: 9px; }
  .brand .logo-mark { width: 32px; height: 32px; }
  .brand span { font-size: 10px; letter-spacing: .2em; }
  .eyebrow { font-size: 10px; letter-spacing: .18em; gap: 8px; }
  .eyebrow::before { width: 22px; }
  .hero-title { font-size: clamp(32px, 8.6vw, 44px); }
  .page-hero .hero-title { font-size: clamp(28px, 7.4vw, 40px); }
}

/* Уважение к предпочтению reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
