/* ============================================================
   BEEECO — РЕМОНТ КВАРТИР ПОД КЛЮЧ · дизайн-система
   Направление: лёгкий премиум (референс — bork.ru).
   Светлый фон, воздух, тонкие линии, сдержанная бронза.
   Тип: Golos Text (единственная гарнитура, нейтральный гротеск).
   ============================================================ */

:root {
  --bg: #FAF9F7;            /* тёплый почти-белый — фон страницы */
  --bg-soft: #F3F1ED;       /* карточки/чередующиеся блоки */
  --surface: #FFFFFF;       /* чистые карточки, форма */
  --ink: #1C1B19;           /* почти-чёрный — текст, тёмные секции */
  --ink-soft: #242220;      /* тёмные карточки внутри тёмного */
  --text: #1C1B19;
  --text-muted: rgba(28, 27, 25, 0.62);
  --text-muted-light: rgba(244, 242, 238, 0.66);
  --hairline: rgba(28, 27, 25, 0.14);
  --hairline-strong: rgba(28, 27, 25, 0.30);
  --hairline-light: rgba(244, 242, 238, 0.18);
  --bronze: #9C7C4B;        /* сдержанный акцент — латунь */
  --bronze-soft: rgba(156, 124, 75, 0.14);
  --radius: 2px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 11vw, 160px);
  --font: "Golos Text", "Segoe UI", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--bronze-soft); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- типографика ---------- */

.display {
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1.display { font-size: clamp(36px, 6vw, 78px); font-weight: 500; }
h2.display { font-size: clamp(28px, 3.8vw, 52px); font-weight: 500; }
h3.display { font-size: clamp(20px, 2vw, 26px); font-weight: 600; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  max-width: 58ch;
  color: var(--text-muted);
}

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.btn-solid { background: var(--ink); color: #F5F3EF; }
.btn-solid:hover { background: #2A2826; }

.btn-ghost-light { border-color: var(--hairline-light); color: var(--text-muted-light); background: transparent; }
.btn-ghost-light:hover { border-color: var(--text-muted-light); color: #fff; }

.btn-ghost-dark { border-color: var(--hairline-strong); color: var(--text); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--ink); }

/* ---------- хедер ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
/* подложка под шапкой до прокрутки — иначе светлое фото съедает контраст */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 22, 19, 0.72) 0%, rgba(24, 22, 19, 0.34) 55%, rgba(24, 22, 19, 0) 100%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.site-header.scrolled::before { opacity: 0; }
.site-header.scrolled {
  background: rgba(250, 249, 247, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  color: #F5F3EF;
}
.site-header.scrolled .header-inner { color: var(--text); }
.brand { text-decoration: none; line-height: 1.1; display: flex; align-items: center; gap: 14px; }
.brand-mark { flex: none; height: 40px; width: auto; display: block; }
.brand-name {
  display: block;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 3px;
}
.header-contacts {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}
.header-place { max-width: 240px; color: var(--text-muted-light); line-height: 1.45; }
.site-header.scrolled .header-place { color: var(--text-muted); }
.header-phone { text-decoration: none; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.header-phone:hover { color: var(--bronze); }
.header-cta { padding: 12px 26px; }

@media (max-width: 900px) { .header-place { display: none; } }
@media (max-width: 640px) {
  .header-cta { display: none; }
  .brand-mark { height: 34px; }
}

/* на светлом cover хедер прячем, появляется после свайпа */
body.has-cover .site-header { opacity: 0; pointer-events: none; transform: translateY(-14px); transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.35s ease, box-shadow 0.35s ease; }
body.has-cover.cover-passed .site-header { opacity: 1; pointer-events: auto; transform: none; }

 /* ---------- cover: приветствие с логотипом BeeECO ---------- */

.cover {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(130% 95% at 50% 40%, #23211c 0%, #12110e 52%, #000 100%);
  color: var(--text);
}
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 42px);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}

.cover-scene {
  position: relative;
  width: 300px;
  height: 330px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-logo {
  width: 300px;
  height: 296px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(232, 186, 91, 0.22));
  animation: logo-breathe 7s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

.cover-copy { text-align: center; margin-top: 6px; }
.cover-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #D4AF6A;
}
.cover-city { margin-top: 10px; font-size: 15px; color: rgba(232, 229, 222, 0.66); }

.cover-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: rgba(232, 229, 222, 0.7);
}
.cover-hint-icon {
  width: 22px;
  height: 22px;
  border-left: 1.6px solid currentColor;
  border-top: 1.6px solid currentColor;
  transform: rotate(45deg);
  animation: hint-bounce 1.8s ease-in-out infinite;
}
.cover-hint-text {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 229, 222, 0.66);
}
@keyframes hint-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
  50% { transform: rotate(45deg) translate(7px, 7px); opacity: 0.35; }
}

@media (max-width: 560px) {
  .cover-scene { width: 250px; height: 280px; }
  .cover-logo { width: 230px; height: 227px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #F5F3EF;
  overflow: hidden;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 50%; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24, 22, 19, 0.60) 0%, rgba(24, 22, 19, 0.12) 34%, rgba(24, 22, 19, 0.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 18vh, 190px) var(--gutter) clamp(56px, 8vh, 96px);
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.hero .eyebrow { color: #E4C78C; }
.hero h1 { max-width: 15ch; text-wrap: balance; }
.hero-sub {
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted-light);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

.hero-ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--hairline-light);
  background: rgba(24, 22, 19, 0.42);
  backdrop-filter: blur(8px);
}
.ticker-inner { display: flex; flex-wrap: wrap; max-width: 1240px; margin: 0 auto; }
.ticker-item {
  flex: 1 1 180px;
  padding: 24px 28px;
  border-left: 1px solid var(--hairline-light);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ticker-item:first-child { border-left: none; }
.ticker-num {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.ticker-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted-light); }

/* ---------- секции: базовое ---------- */

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #F5F3EF; }
.section-dark .eyebrow { color: #C9A96A; }
.section-head { max-width: 880px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head .lead { margin-top: 22px; }

/* ---------- почему мы ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.why-card {
  background: var(--bg);
  padding: clamp(30px, 3vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  transition: background-color 0.3s ease;
}
@media (hover: hover) { .why-card:hover { background: var(--surface); } }
.why-mark { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.why-card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.why-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- чертёж: план квартиры ---------- */

.codex { background: var(--bg-soft); position: relative; }
.codex .eyebrow { color: var(--bronze); }
.codex-frame {
  border: 1px solid var(--hairline);
  background: var(--surface);
  padding: clamp(14px, 2vw, 28px);
}

/* переключатель пакета над чертежом */
.plan-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 2vw, 30px);
}
.plan-switch-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 8px;
}
.plan-switch button {
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--hairline-strong);
  border-radius: 100px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.plan-switch button:hover { border-color: var(--ink); }
.plan-switch button[aria-pressed="true"] { background: var(--ink); color: #F5F3EF; border-color: var(--ink); }
.plan-switch button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.plan-switch-rate { margin-left: auto; font-size: 13px; color: var(--text-muted); }
.plan-switch-rate b { font-size: 20px; font-weight: 600; color: var(--text); }

.plan-wrap { position: relative; }
.plan-wrap svg { width: 100%; height: auto; display: block; }

/* на узком экране подписи чертежа нечитаемы — даём прокрутку вбок */
@media (max-width: 720px) {
  .plan-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .plan-wrap svg { min-width: 660px; }
  .plan-hint { display: block; }
}
.plan-hint {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.plan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.legend-item { display: inline-flex; align-items: center; gap: 9px; }
.legend-swatch { width: 13px; height: 13px; border: 1px solid var(--hairline-strong); display: inline-block; }
.legend-swatch.wet { background: rgba(124, 139, 111, 0.30); }
.legend-swatch.dry { background: rgba(156, 124, 75, 0.20); }
.legend-swatch.extra { background: rgba(28, 27, 25, 0.06); }

/* комнаты внутри svg: заливка по типу зоны. */
.room[data-room="bath"],
.room[data-room="wc"] { fill: #7C8B6F; fill-opacity: 0.22; }
.room[data-room="kitchen"],
.room[data-room="bedroom"],
.room[data-room="kids"] { fill: #9C7C4B; fill-opacity: 0.14; }
.room[data-room="hall"],
.room[data-room="wardrobe"],
.room[data-room="loggia"] { fill: #1C1B19; fill-opacity: 0.05; }
.room:focus { outline: none; }
.room:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.room-num { pointer-events: none; }

/* карточка комнаты */
.room-card {
  position: absolute;
  z-index: 10;
  width: 288px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 22px 48px rgba(28, 27, 25, 0.14);
  padding: 22px 24px;
  transform: translate(-50%, calc(-100% - 14px));
}
.room-card::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  width: 10px; height: 10px;
  background: var(--surface);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transform: translateX(-50%) rotate(45deg);
}
.room-card[hidden] { display: none; }
.room-card.below { transform: translate(-50%, 14px); }
.room-card.below::after {
  bottom: auto; top: -6px;
  border: none;
  border-left: 1px solid var(--hairline);
  border-top: 1px solid var(--hairline);
}
.room-card.free { transform: translate(-50%, 0); }
.room-card.free::after { display: none; }
.room-card-title { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.room-card-title::after {
  content: "";
  display: block;
  width: 26px; height: 1px;
  background: var(--bronze);
  margin-top: 10px;
}
.room-card-area { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.room-card-works { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.room-card-works li { padding-left: 16px; position: relative; color: var(--text-muted); }
.room-card-works li::before { content: "—"; position: absolute; left: 0; color: var(--bronze); }
.room-card-sum {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.room-card-sum .lbl { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.room-card-sum .val { font-size: 23px; font-weight: 600; white-space: nowrap; }
.room-card .btn { margin-top: 14px; width: 100%; padding: 13px 18px; }

.codex-total {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--text);
}
.codex-total .k { font-size: 15px; color: var(--text-muted); }
.codex-total .v { font-size: clamp(28px, 3.4vw, 42px); font-weight: 500; letter-spacing: -0.015em; }
.codex-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 68ch;
}

/* ---------- пакеты ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.product-card.is-featured { border-color: var(--bronze); }
@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(28, 27, 25, 0.10);
  }
}
.product-flag {
  position: absolute;
  top: 16px; right: 0;
  background: var(--ink);
  color: #E4C78C;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 16px;
  z-index: 2;
}
.product-media { aspect-ratio: 4 / 2.8; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-media img { transform: scale(1.03); }
.product-body { padding: clamp(26px, 2.5vw, 36px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.product-body h3 { letter-spacing: -0.01em; font-weight: 600; }
.product-tagline { font-size: 14px; color: var(--text-muted); margin-top: -4px; }
.product-facts { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--text-muted); }
.product-facts li { padding-left: 18px; position: relative; }
.product-facts li::before { content: "—"; position: absolute; left: 0; color: var(--bronze); }
.product-price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.product-price .num { font-size: 26px; font-weight: 500; letter-spacing: -0.01em; }
.product-price .per { font-size: 12px; color: var(--text-muted); }
.product-card .btn { margin-top: 18px; }

/* ---------- объём работ ---------- */

.scope { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); align-items: center; }
.scope-figure {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(14px, 2vw, 24px);
}
.scope-figure img { width: 100%; height: auto; }
.scope-figure figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.explication { list-style: none; margin-top: 8px; }
.explication li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
}
.explication .idx { color: var(--bronze); width: 26px; flex: none; font-size: 13px; }
.explication .name { flex: 1; }
.explication .name em {
  display: block;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 2px;
}
.explication .val { font-weight: 600; white-space: nowrap; }
.explication li.total { border-bottom: none; font-weight: 600; }
.explication li.total .val { font-size: 19px; }

@media (max-width: 880px) { .scope { grid-template-columns: 1fr; } }

/* ---------- портфолио ---------- */

.club-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 40px);
  align-items: start;
}
@media (max-width: 860px) { .club-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .club-strip { grid-template-columns: 1fr; } }
.polaroid {
  background: var(--surface);
  padding: 10px 10px 40px;
  box-shadow: 0 10px 30px rgba(28, 27, 25, 0.08);
  border: 1px solid var(--hairline);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
@media (hover: hover) { .polaroid:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(28, 27, 25, 0.12); } }
.polaroid img { aspect-ratio: 1 / 1.05; object-fit: cover; width: 100%; }
.polaroid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.club-list {
  margin-top: clamp(44px, 5vw, 64px);
  columns: 3;
  column-gap: 48px;
  list-style: none;
  font-size: 14.5px;
  color: var(--text-muted);
}
.club-list li {
  break-inside: avoid;
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px solid var(--hairline);
}
.club-list li::before { content: "·"; position: absolute; left: 4px; color: var(--bronze); font-weight: 600; }
@media (max-width: 980px) { .club-list { columns: 2; } }
@media (max-width: 620px) { .club-list { columns: 1; } }

/* ---------- гарантии ---------- */

.invest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); align-items: center; }
.invest-media { position: relative; }
.invest-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/4.6; }
.invest-media::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid var(--hairline-light);
  pointer-events: none;
}
.invest-points { list-style: none; margin-top: 30px; display: flex; flex-direction: column; }
.invest-points li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline-light);
  font-size: 15px;
  color: var(--text-muted-light);
}
.invest-points li:last-child { border-bottom: 1px solid var(--hairline-light); }
.invest-points .k { font-size: 20px; color: #C9A96A; flex: none; width: 40px; }
.invest-points strong { color: #F5F3EF; font-weight: 600; }
@media (max-width: 880px) {
  .invest { grid-template-columns: 1fr; }
  .invest-media { order: -1; max-width: 480px; }
}

/* ---------- география ---------- */

.route { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); align-items: center; }
.route-map { background: var(--surface); border: 1px solid var(--hairline); padding: clamp(20px, 2.5vw, 40px); }
.route-map svg { width: 100%; height: auto; }
.route-facts { list-style: none; }
.route-facts li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
}
.route-facts .val { font-weight: 600; white-space: nowrap; }
@media (max-width: 880px) { .route { grid-template-columns: 1fr; } }

/* ---------- шаги ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.step { background: var(--bg); padding: clamp(28px, 2.5vw, 42px); display: flex; flex-direction: column; gap: 14px; }
.step-num { font-size: 26px; font-weight: 500; color: var(--bronze); }
.step h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- чего мы не делаем ---------- */

.never-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.never-card {
  background: var(--bg);
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.never-mark {
  font-size: 22px;
  line-height: 1;
  color: var(--bronze);
  border: 1px solid var(--hairline-strong);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.never-card h3 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.never-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- отзывы ---------- */

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.review {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-stars { color: var(--bronze); letter-spacing: 0.22em; font-size: 14px; }
.review-text { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.review-who { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.review-ava {
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.review-name { font-weight: 600; font-size: 15px; }
.review-meta { font-size: 13px; color: var(--text-muted); }

/* ---------- материалы ---------- */

.brands {
  margin-top: clamp(44px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.brands li {
  list-style: none;
  flex: 1 1 130px;
  background: var(--bg);
  padding: 22px 10px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 26px 2px;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--bronze);
  flex: none;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 2px 28px; max-width: 72ch; color: var(--text-muted); font-size: 15px; }

/* ---------- форма/финал ---------- */

.final { position: relative; overflow: hidden; }
.final-bg, .final-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-bg img { object-fit: cover; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: rgba(24, 22, 19, 0.90); }
.final .container { position: relative; z-index: 2; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; color: #F5F3EF; }
.final .lead { color: var(--text-muted-light); }
.final-contacts { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-muted-light); }
.final-contacts a { color: #F5F3EF; text-decoration: none; font-weight: 600; }
.final-contacts a:hover { color: #C9A96A; }

.lead-form {
  background: var(--surface);
  color: var(--text);
  padding: clamp(30px, 3vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lead-form h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.lead-form .hint { font-size: 13.5px; color: var(--text-muted); margin-top: -6px; }
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 14px 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: #FFF;
  color: var(--text);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(28, 27, 25, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px var(--bronze-soft);
  outline: none;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--bronze); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 100px;
  font-size: 13.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip input:checked + span { background: var(--ink); color: #F5F3EF; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.lead-form .btn { justify-content: center; }
.form-note { font-size: 12.5px; color: var(--text-muted); }
.form-note a { color: inherit; }
.form-done { display: none; padding: 18px; background: rgba(124, 139, 111, 0.12); border: 1px solid #7C8B6F; font-size: 15px; color: var(--text); }
.lead-form.sent .form-done { display: block; }
.lead-form.sent .form-fields { display: none; }

@media (max-width: 880px) { .final-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- футер ---------- */

.site-footer { background: var(--ink); color: var(--text-muted-light); border-top: 1px solid var(--hairline-light); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 44px var(--gutter);
  max-width: 1240px;
  margin: 0 auto;
  font-size: 13px;
}
.footer-brand { display: flex; align-items: center; }
.footer-brand img { height: 38px; width: auto; }
.footer-contact { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.footer-contact a { color: #F5F3EF; text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: #C9A96A; }
.footer-note { max-width: 60ch; line-height: 1.6; }

/* ---------- reveal-анимации ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- вспомогательное ---------- */

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
