/* ARISTO • СБС КРАСНОДАР — Архитектурный люкс 2026 (Улучшенная дизайн-система) */
:root {
  --bg: #111215;
  --bg-2: #16181c;
  --card: #1b1d22;
  --card-2: #21242b;
  --glass: rgba(24, 26, 31, 0.74);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --gold: #cfa96e;
  --gold-l: #ead09d;
  --gold-d: #9f7a42;
  --gold-glow: rgba(207, 169, 110, 0.14);
  --gold-line: rgba(207, 169, 110, 0.38);
  --text: #f5f2eb;
  --muted: #a9a49b;
  --dim: #706c65;
  --ok: #8fd19e;
  --err: #e58b80;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 26px 68px rgba(0, 0, 0, 0.62);
  --head: 'Forum', 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  background:
    radial-gradient(1100px 580px at 78% -6%, rgba(207, 169, 110, 0.09), transparent 62%),
    radial-gradient(900px 520px at 12% 32%, rgba(207, 169, 110, 0.04), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.56;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.gold { color: var(--gold-l); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; font-weight: 500;
}
.kicker::before {
  content: ''; width: 22px; height: 1px; background: var(--gold);
}

/* ---------- Верхняя информационная плашка ---------- */
.topbar {
  background: #0c0d0f;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; gap: 16px;
}
.topbar__left { display: flex; align-items: center; gap: 18px; }
.topbar__dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold); margin-right: 6px;
}
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__link {
  text-decoration: none; color: #dcd7ce; display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.topbar__link:hover { color: var(--gold-l); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 9px; font-size: 14.5px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #b89156 0%, #e7ca96 50%, #b38a4e 100%);
  color: #16120b; border-color: rgba(255, 233, 188, 0.55); font-weight: 600;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(207, 169, 110, 0.34); }
.btn-glass {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border-color: rgba(255,255,255,.32); color: #fff; backdrop-filter: blur(12px);
}
.btn-glass:hover { border-color: var(--gold-l); color: var(--gold-l); }
.btn-outline {
  background: rgba(207,169,110,.06); border-color: var(--gold); color: var(--gold-l);
  border-radius: 999px; padding: 10px 18px; font-size: 13.5px; flex-shrink: 0;
}
.btn-outline:hover { background: var(--gold); color: #16120b; box-shadow: 0 8px 24px rgba(207,169,110,.28); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; border-radius: 8px; }
.btn-block { width: 100%; }

.msg-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px; font-size: 12.5px; text-decoration: none;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: #e8e3da;
  transition: all .2s;
}
.msg-pill:hover { border-color: var(--gold); color: var(--gold-l); background: rgba(207,169,110,.08); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 18, 21, 0.86); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease;
}
.header.is-scrolled { background: rgba(14, 15, 18, 0.96); box-shadow: 0 12px 34px rgba(0,0,0,.45); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--head); font-size: 29px; letter-spacing: .05em; color: #fff; }
.brand__name i { font-style: normal; color: var(--gold); margin: 0 .1em; }
.brand__city { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a {
  text-decoration: none; color: #dcd7ce; font-size: 13.5px; padding: 6px 0;
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap;
}
.nav a:hover, .nav a.is-active { color: var(--gold-l); border-color: var(--gold); }
.header__act { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.phone { text-decoration: none; color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.phone:hover { color: var(--gold-l); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 20px; height: 1.5px; background: #fff; content: ''; transition: transform .25s; }
.burger span { top: 21px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
.mnav { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 18px 0 28px; }
.hero__banner {
  position: relative; min-height: 510px; border-radius: var(--r);
  overflow: hidden; display: flex; align-items: center;
  background: #16171b url('/assets/hero-banner-clean.jpg') right center / auto 100% no-repeat;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.hero__banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #141519 0%, #141519 36%, rgba(20,21,25,.82) 50%, rgba(20,21,25,.12) 72%);
}
.hero__banner::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 45%, rgba(234, 208, 157, 0.14), transparent 50%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; padding: 54px 44px 54px 52px; max-width: 700px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--gold-line); background: rgba(207, 169, 110, 0.09);
  color: var(--gold-l); font-size: 11.5px; letter-spacing: 0.11em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--head); font-weight: 400; text-transform: uppercase;
  font-size: clamp(33px, 3.8vw, 50px); line-height: 1.11; letter-spacing: .02em; margin-bottom: 18px;
}
.hero__sub { font-size: 16.5px; color: #dad4c9; margin-bottom: 30px; max-width: 600px; font-weight: 300; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Плашка ключевых цифр под баннером */
.metrics-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, rgba(29,31,37,.92), rgba(22,24,28,.92));
  border: 1px solid var(--line); border-radius: var(--r-sm);
  margin-top: 14px; overflow: hidden;
}
.m-item {
  padding: 18px 22px; border-right: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.m-item:last-child { border-right: 0; }
.m-item b {
  font-family: var(--head); font-size: 28px; font-weight: 400; color: var(--gold-l);
  line-height: 1; white-space: nowrap;
}
.m-item span { font-size: 13px; color: var(--muted); line-height: 1.3; }

/* 4 карточки направлений */
.dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.dir {
  position: relative; height: 205px; border-radius: 12px; overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px;
  background-size: cover; background-position: center; border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.dir::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,13,16,.08) 12%, rgba(12,13,16,.9) 100%);
}
.dir:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.dir b, .dir span, .dir small { position: relative; z-index: 1; }
.dir b { font-family: var(--head); font-weight: 400; font-size: 22px; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.dir span { font-size: 19.5px; line-height: 1.2; color: #fff; font-weight: 500; }
.dir small { font-size: 12px; color: var(--muted); margin-top: 5px; }

/* ---------- Секции ---------- */
.section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.section--tight { padding: 64px 0; border-bottom: 1px solid var(--line); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 36px;
}
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .kicker::after { content: ''; width: 22px; height: 1px; background: var(--gold); }
.h2 {
  font-family: var(--head); font-weight: 400; text-transform: uppercase;
  font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: .03em;
}
.h2--center { text-align: center; }
.h2--gold { color: var(--gold-l); }
.sec-desc { max-width: 480px; color: var(--muted); font-size: 15px; }

/* ---------- Каталог ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.tab {
  padding: 11px 21px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.02); color: #e6e2da; font-size: 14px; cursor: pointer; transition: all .22s;
}
.tab:hover { border-color: var(--gold-line); color: var(--gold-l); }
.tab.is-on { border-color: var(--gold); color: #16120b; background: linear-gradient(135deg, #c29b5f, #e5c894); font-weight: 600; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--card) center / cover no-repeat; border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.pcard::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,13,15,.05) 22%, rgba(12,13,15,.82) 64%, rgba(12,13,15,.96) 100%);
}
.pcard:hover { transform: translateY(-5px); border-color: var(--gold-line); box-shadow: 0 20px 44px rgba(0,0,0,.5); }
.pcard.is-hidden { display: none; }
.pcard__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 5px 12px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  background: rgba(17, 18, 21, 0.88); border: 1px solid var(--gold-line); color: var(--gold-l);
  backdrop-filter: blur(8px);
}
.pcard__badge--sale {
  background: linear-gradient(135deg, #b89156, #e4c690); color: #17120a; border-color: transparent;
}
.pcard__body { position: relative; z-index: 1; padding: 22px 22px 20px; }
.pcard__title { font-size: 20px; font-weight: 500; margin-bottom: 6px; color: #fff; }
.pcard__spec { font-size: 13px; color: #cbc6bc; margin-bottom: 16px; line-height: 1.45; }
.pcard__spec em { font-style: normal; color: var(--gold); margin: 0 6px; }
.pcard__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.09); }
.pcard__price { font-size: 17px; font-weight: 600; color: var(--gold-l); }
.pcard__price small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }

/* ---------- Калькулятор + Конфигуратор палитры ---------- */
.calc { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 22px; }
.calc__form {
  border: 1px solid var(--gold-line); border-radius: var(--r); padding: 34px;
  background: linear-gradient(155deg, rgba(31,33,39,.9), rgba(20,22,26,.95));
  box-shadow: var(--shadow);
}
.crow { margin-bottom: 24px; }
.crow:last-child { margin-bottom: 0; }
.crow__label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-l); margin-bottom: 12px;
}
.crow__label span { color: var(--muted); font-size: 12px; text-transform: none; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.025); color: #e6e2da; font-size: 13.5px; cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--gold-line); }
.chip.is-on { border-color: var(--gold); color: var(--gold-l); background: rgba(207,169,110,.15); font-weight: 500; }

.sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sl-card {
  background: rgba(255,255,255,.025); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px;
}
.sl__top { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.sl__top b { color: var(--gold-l); font-weight: 600; }
input[type='range'] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, var(--gold-d), var(--gold-l)) 0 / var(--p, 50%) 100% no-repeat, #34373d;
}
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-l); border: 2px solid #856535; box-shadow: 0 0 10px rgba(207,169,110,.55); }
input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold-l); border: 2px solid #856535; }

.swatches { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sw {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; border: 2px solid rgba(255,255,255,.18);
  background-size: cover; transition: transform .2s, border-color .2s, box-shadow .2s; position: relative;
}
.sw:hover { transform: scale(1.07); }
.sw.is-on { border-color: var(--gold-l); box-shadow: 0 0 0 3px rgba(207,169,110,.28); }
.sw--black-walnut { background: linear-gradient(135deg, #1b1c1f 50%, #6d492d 50%); }
.sw--white-oak { background: linear-gradient(135deg, #f4f2ee 50%, #d2b084 50%); }
.sw--white-white { background: linear-gradient(135deg, #ffffff 50%, #dcd8d0 50%); }
.sw--metal-oak { background: linear-gradient(135deg, #9aa0a8 50%, #b89162 50%); }
.sw--slim-bronze { background: linear-gradient(135deg, #141518 50%, #9b7248 50%); }
.sw-name { font-size: 13.5px; color: #ded9cf; margin-top: 10px; }

.calc__view {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 410px;
  background: #17191d url('/assets/calc-preview-wardrobe.jpg') center / cover no-repeat;
  border: 1px solid var(--line-strong); display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; gap: 12px; box-shadow: var(--shadow);
}
.calc__view::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,13,16,.12) 0%, rgba(12,13,16,.84) 55%, rgba(12,13,16,.96) 100%);
}
.calc__view > * { position: relative; z-index: 1; }
.calc__price-box {
  padding: 14px 18px; border-radius: 10px; border: 1px solid var(--gold-line);
  background: rgba(20,22,26,.82); backdrop-filter: blur(10px);
}
.calc__price-lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.calc__price-val { font-family: var(--head); font-size: 38px; color: var(--gold-l); line-height: 1.1; margin-top: 4px; }
.channel-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch-pill {
  padding: 8px 10px; border-radius: 7px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04); color: #dcd7ce; font-size: 12.5px; cursor: pointer; text-align: center;
  transition: all .2s;
}
.ch-pill.is-on { border-color: var(--gold); background: rgba(207,169,110,.18); color: var(--gold-l); font-weight: 500; }
.calc__note { font-size: 11.5px; color: var(--muted); text-align: center; }

/* ---------- Блок сравнения с ЛДСП и преимуществ ARISTO (Bento Grid) ---------- */
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.bento-card {
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.bento-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.bento-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 80%); opacity: .75;
}
.bento-num {
  font-family: var(--head); font-size: 32px; color: var(--gold); line-height: 1; margin-bottom: 12px;
}
.bento-card h3 { font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.bento-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Инженерия ---------- */
.eng { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.eng__c {
  position: relative; border-radius: 12px; overflow: hidden; min-height: 210px; border: 1px solid var(--line);
  background: #111 center / cover no-repeat; display: flex; align-items: flex-end; padding: 22px;
  transition: border-color .3s, transform .3s;
}
.eng__c:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.eng__c::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,0) 20%, rgba(10,10,12,.93) 95%); }
.eng__c p { position: relative; font-size: 17px; line-height: 1.32; text-shadow: 0 2px 10px rgba(0,0,0,.85); }
.eng__c strong { display: block; color: var(--gold-l); font-family: var(--head); font-size: 24px; font-weight: 400; margin-bottom: 4px; }

/* ---------- Реализованные проекты в Краснодаре ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .3s, transform .3s;
}
.proj:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.proj__img { aspect-ratio: 1.65; background: var(--card-2) center / cover no-repeat; position: relative; }
.proj__loc {
  position: absolute; bottom: 12px; left: 12px;
  padding: 5px 11px; border-radius: 6px; font-size: 12px;
  background: rgba(15,16,19,.88); border: 1px solid var(--gold-line); color: var(--gold-l);
}
.proj__body { padding: 20px 22px; }
.proj__t { font-size: 17.5px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.proj__s { font-size: 13.5px; color: var(--muted); }

/* ---------- 5 этапов работы + Лид-магнит (9 ошибок) ---------- */
.steps5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step-box {
  background: rgba(255,255,255,.02); border: 1px solid var(--line);
  border-top: 2px solid var(--gold); border-radius: 10px; padding: 22px 18px;
}
.step-box__n { font-family: var(--head); font-size: 26px; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.step-box__t { font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.step-box__d { font-size: 13px; color: var(--muted); line-height: 1.45; }

.lead-magnet {
  margin-top: 38px;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: center;
  background: linear-gradient(135deg, #211e19 0%, #17181c 65%);
  border: 1px solid var(--gold-line); border-radius: var(--r); padding: 36px 40px;
  box-shadow: var(--shadow);
}
.lead-magnet h3 { font-family: var(--head); font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; text-transform: uppercase; margin-bottom: 10px; color: #fff; }
.lead-magnet p { color: #d5cfc4; font-size: 15px; max-width: 580px; }
.lm-form { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Салон в Краснодаре + Карта + Запись ---------- */
.salon { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: stretch; }
.salon__left { display: flex; flex-direction: column; gap: 16px; }
.salon__photo {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 290px; flex: 1;
  background: #1a1b1e url('/assets/showroom-uralskaya.jpg') center / cover no-repeat; border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 24px;
}
.salon__photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,18,.1) 20%, rgba(14,15,18,.9) 100%);
}
.plaque {
  position: relative; z-index: 1; width: 100%;
  padding: 18px 22px; border-radius: 10px; border: 1px solid var(--gold-line);
  background: rgba(20, 21, 25, 0.84); backdrop-filter: blur(12px);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.plaque__info { font-size: 14.5px; line-height: 1.55; }
.plaque__info strong { color: var(--gold-l); font-weight: 500; display: block; font-size: 16px; }
.map-box {
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  height: 240px; background: #181a1f; position: relative;
}
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

.form {
  border: 1px solid var(--gold-line); border-radius: var(--r); padding: 36px 32px;
  background: linear-gradient(160deg, #212329, #17181c); display: flex; flex-direction: column; justify-content: center;
  box-shadow: var(--shadow);
}
.form h3 { font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1.2; margin-bottom: 10px; }
.form__sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.input {
  width: 100%; padding: 14px 16px; margin-bottom: 11px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14);
  background: #131418; color: #fff; font-size: 15px; font-family: inherit; transition: border-color .2s;
}
.input:focus { outline: none; border-color: var(--gold); }
.input.is-bad { border-color: var(--err); }
.form__msg { min-height: 20px; font-size: 13px; color: var(--ok); margin-top: 8px; }
.form__msg.err { color: var(--err); }
.form__legal { font-size: 11.5px; color: var(--dim); margin-top: 6px; line-height: 1.4; }
.form__legal a { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Подвал ---------- */
.footer { padding: 42px 0 46px; background: #0c0d10; }
.footer__in { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; color: #d9d5cd; font-size: 14px; }
.footer nav a:hover { color: var(--gold-l); }
.footer__r { text-align: right; }
.footer__r .phone { font-size: 18px; display: block; margin-bottom: 8px; }
.footer__socials { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 8px; }
.footer__copy { font-size: 12.5px; color: var(--dim); }
.footer__copy a { color: var(--muted); }
.footer__legal { width: 100%; font-size: 12px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Модалка и тост ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8,8,10,.76); backdrop-filter: blur(8px); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(460px, 100%); }
.modal__x { position: absolute; top: 12px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: #fff; font-size: 20px; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; z-index: 120; padding: 14px 24px; border-radius: 10px; background: #22242a; border: 1px solid var(--gold); color: #fff; transition: all .35s; pointer-events: none; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sticky-call { display: none; }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding: 52px 0 12px; }
.crumbs { font-size: 13px; color: var(--dim); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-l); }
.page-hero p { color: var(--muted); max-width: 760px; margin-top: 12px; font-size: 16.5px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ccard { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.ccard:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.ccard__img { aspect-ratio: 1.45; background: #f3f1ed center / contain no-repeat; }
.ccard__img--cover { background-size: cover; }
.ccard__b { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ccard__b h3 { font-size: 19.5px; font-weight: 500; color: #fff; }
.ccard__b p { color: var(--muted); font-size: 14px; flex: 1; }
.ccard__b .btn { align-self: flex-start; margin-top: 10px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.feat { border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 10px; padding: 24px; background: rgba(255,255,255,.02); }
.feat h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; color: #fff; }
.feat p { font-size: 14px; color: var(--muted); }
.page-simple { padding: 64px 0 88px; max-width: 840px; }
.page-simple h1 { font-family: var(--head); font-weight: 400; font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; margin-bottom: 22px; }
.page-simple h2 { font-size: 19px; font-weight: 500; margin: 26px 0 8px; color: var(--gold-l); }
.page-simple p, .page-simple li { color: #cfcac1; margin-bottom: 10px; }
.page-simple ul { padding-left: 20px; }

/* ---------- Анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1200px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13.5px; }
  .header__act .btn-outline { display: none; }
  .steps5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
  .topbar { display: none; }
  .nav, .header__act .phone, .header__act .msg-pill { display: none; }
  .burger { display: block; }
  .header__in { height: 74px; }
  .mnav { display: block; border-top: 1px solid var(--line); padding: 12px 24px 24px; background: #131418; }
  .mnav[hidden] { display: none; }
  .mnav a { display: block; padding: 13px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 16px; }
  .mnav__messengers { display: flex; gap: 10px; margin-top: 14px; }
  .mnav .btn { margin-top: 14px; width: 100%; }
  .hero__banner { min-height: 0; flex-direction: column; align-items: stretch; background-image: none; }
  .hero__banner::before { display: none; }
  .hero__content { padding: 34px 26px 28px; }
  .hero__photo { display: block; aspect-ratio: 1.48; background: url('/assets/calc-preview-wardrobe.jpg') center / cover no-repeat; }
  .metrics-bar { grid-template-columns: repeat(2, 1fr); }
  .m-item:nth-child(2) { border-right: 0; }
  .m-item:nth-child(1), .m-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .dirs, .grid3, .projects, .bento-grid, .eng { grid-template-columns: repeat(2, 1fr); }
  .calc, .salon, .lead-magnet { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .footer__r { text-align: left; }
  .footer__socials { justify-content: flex-start; }
}
@media (min-width: 1021px) { .hero__photo { display: none; } }
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section, .section--tight { padding: 54px 0; }
  .brand__name { font-size: 24px; }
  .hero h1 { font-size: 30px; }
  .hero__sub { font-size: 15px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .metrics-bar { grid-template-columns: 1fr; }
  .m-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 18px; }
  .m-item:last-child { border-bottom: 0; }
  .dirs { gap: 10px; }
  .dir { height: 158px; padding: 16px; }
  .dir span { font-size: 16.5px; }
  .grid3, .projects, .grid2, .feats, .bento-grid, .eng, .steps5, .sliders { grid-template-columns: 1fr; }
  .calc__form, .form, .lead-magnet { padding: 24px 20px; }
  .channel-pills { grid-template-columns: 1fr; }
  .sticky-call {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 8px;
    transform: translateY(130%); transition: transform .3s;
  }
  .sticky-call.is-on { transform: none; }
  .sticky-call .btn { flex: 1; padding: 13px 10px; font-size: 13.5px; box-shadow: 0 12px 30px rgba(0,0,0,.6); }
  .toast { bottom: 84px; width: calc(100% - 32px); text-align: center; }
}
