/* ============================================================
   СТАВДОМ — лендинг-ячейка «дома под ключ × Ставрополь»
   Эстетика: тёплый индустриальный модерн.
   Палитра: бетон-бумага + графит + терракота (глина/кирпич).
   ============================================================ */

:root {
  /* поверхности */
  --paper:   #F3EDE3;
  --paper-2: #EAE2D4;
  --card:    #FBF7EF;
  --ink:     #1B1813;
  --ink-2:   #4A443B;
  --ink-3:   #6E665A;

  /* акценты */
  --clay:      #C0512B;   /* терракота / кирпич */
  --clay-700:  #9C3F1F;
  --clay-300:  #E3A07f;
  --ochre:     #DDA13B;   /* тёплый охристый */

  --line:    rgba(27,24,19,.14);
  --line-2:  rgba(27,24,19,.08);

  --shadow-sm: 0 1px 2px rgba(27,24,19,.06), 0 2px 6px rgba(27,24,19,.05);
  --shadow-md: 0 8px 24px -10px rgba(27,24,19,.28);
  --shadow-lg: 0 30px 60px -24px rgba(27,24,19,.45);

  --r:    14px;
  --r-lg: 22px;

  --wrap: 1180px;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }
p { text-wrap: pretty; }

/* видимый фокус с клавиатуры (доступность) */
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
.section--ink :focus-visible, .lead :focus-visible, .site-footer :focus-visible,
.calc__controls :focus-visible, .cookie :focus-visible { outline-color: var(--ochre); }

/* зернистость поверх всего — даёт «бумажную» атмосферу */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- раскладка ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 820px; }
.center { text-align: center; margin-top: 40px; }
.muted { color: var(--ink-3); font-size: .86em; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--soft { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #EFE7D9; }

/* ---------- типографика ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: 0; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 6.4vw, 74px); font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
h2 { font-size: clamp(27px, 4.2vw, 50px); text-transform: uppercase; }
h3 { font-size: clamp(19px, 2.2vw, 23px); }
.hl { color: var(--clay); }

.eyebrow {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .22em; font-size: 13px; font-weight: 600; color: var(--clay-700);
}

.sec-head { max-width: 760px; margin: 0 0 clamp(40px, 5vw, 64px); position: relative; }
.sec-head h2 { margin: 6px 0 14px; }
.sec-sub { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 19px); }
.sec-num {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .2em; color: var(--clay);
  display: inline-block; padding-bottom: 4px; border-bottom: 2px solid var(--clay);
}
.sec-head--light h2, .sec-head--light .sec-sub { color: #EFE7D9; }
.sec-head--light .sec-sub { color: #C8BEAC; }

/* ---------- кнопки ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 15px;
  padding: 13px 22px; border: 1.5px solid var(--bg); border-radius: 999px;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: scale(.97); }
.btn--accent { --bg: var(--clay); --fg: #fff; border-color: var(--clay); box-shadow: 0 10px 22px -10px var(--clay); }
.btn--accent:hover { --bg: var(--clay-700); border-color: var(--clay-700); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; }
.section--ink .btn--ghost { --fg: #EFE7D9; border-color: rgba(239,231,217,.3); }
.section--ink .btn--ghost:hover { --bg: #EFE7D9; --fg: var(--ink); }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ============================================================
   ШАПКА
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand__mark { color: var(--clay); display: grid; place-items: center; }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; }
.brand__text em { font-style: normal; color: var(--clay); }
.brand--light { color: #F3EDE3; }
.brand--light .brand__text em { color: var(--ochre); }

.nav { display: flex; gap: 26px; margin-left: 10px; }
.nav a {
  font-size: 15px; color: var(--ink-2); font-weight: 500; position: relative; padding: 4px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--clay); transition: width .25s ease; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.phone__label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-family: var(--font-display); }
.phone__num { font-family: var(--font-display); font-weight: 600; font-size: 17px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: linear-gradient(170deg, var(--paper) 0%, var(--paper-2) 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blueprint {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 80% at 80% 10%, #000 0%, transparent 70%);
  opacity: .8;
}
.hero__house {
  position: absolute; right: -2%; bottom: -2px; width: min(58%, 720px);
  color: var(--clay); opacity: .14;
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: center;
  padding: clamp(48px, 7vw, 96px) 22px clamp(56px, 7vw, 104px);
}
.hero__copy { max-width: 640px; }
.hero h1 { margin: 14px 0 20px; }
.hero__lead { font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-2); max-width: 540px; }
.hero__usp { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 30px; }
.hero__usp li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15.5px; }
.hero__usp svg { color: var(--clay); flex: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__trust { display: flex; gap: 34px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.trust-item span { font-size: 13.5px; color: var(--ink-3); }

/* мини-форма в герое */
.hero__form { align-self: stretch; display: flex; }
.quick-form {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; width: 100%;
  box-shadow: var(--shadow-lg); position: relative;
}
.quick-form::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border-top: 4px solid var(--clay); pointer-events: none;
}
.quick-form__title { font-family: var(--font-display); font-weight: 700; font-size: 23px; text-transform: uppercase; letter-spacing: -.01em; }
.quick-form__sub { color: var(--ink-2); font-size: 14.5px; margin: 6px 0 20px; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; letter-spacing: .01em; }
.field em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 11px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9b9183; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--clay); background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 16%, transparent);
}
.field textarea { resize: vertical; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.45; cursor: pointer; padding: 4px 0; }
.consent input { margin-top: 1px; accent-color: var(--clay); flex: none; width: 20px; height: 20px; }
.consent a { color: var(--clay-700); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */

/* inline-статус отправки формы (рядом с формой, не только toast) */
.form-status { margin-top: 12px; padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.form-status[hidden] { display: none; }
.form-status--ok  { background: color-mix(in srgb, #2e7d32 13%, transparent); color: #235e27; border: 1px solid color-mix(in srgb, #2e7d32 38%, transparent); }
.form-status--err { background: color-mix(in srgb, #b23b2e 12%, transparent); color: #8d2c20; border: 1px solid color-mix(in srgb, #b23b2e 38%, transparent); }

/* ---------- цены / AEO-блок ---------- */
.answer { background: var(--card); border-left: 4px solid var(--clay); border-radius: 12px; padding: 20px 24px; font-size: 17px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.answer strong { color: var(--ink); }
.tablewrap { overflow-x: auto; margin-bottom: 28px; }
.ptable { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 15px; }
.ptable th, .ptable td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.ptable thead th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; font-size: 12.5px; background: color-mix(in srgb, var(--clay) 9%, transparent); color: var(--ink); }
.ptable td:nth-child(3), .ptable th:nth-child(3), .ptable td:nth-child(4), .ptable th:nth-child(4) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable tbody tr:hover { background: var(--paper); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 26px; }
.cols2 h3 { margin-bottom: 12px; }
.cols2 p { color: var(--ink-2); font-size: 15.5px; }
.ulist { display: grid; gap: 9px; }
.ulist li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 15.5px; }
.ulist li::before { content: "—"; position: absolute; left: 0; color: var(--clay); }
@media (max-width: 720px) { .cols2 { grid-template-columns: 1fr; gap: 22px; } .ptable { font-size: 13.5px; } .ptable th, .ptable td { padding: 10px 11px; } }

/* ---------- форма-квиз (уточняющие вопросы) ---------- */
.qfield { margin-bottom: 15px; }
.qlabel { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.qlabel em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.qseg { display: flex; flex-wrap: wrap; gap: 7px; }
.qseg button {
  flex: 1 1 auto; min-width: 72px; min-height: 44px; padding: 10px 13px; border-radius: 10px;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-2);
  font-family: var(--font-display); font-weight: 500; font-size: 13.5px; text-transform: uppercase; letter-spacing: .02em;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.qseg button:hover { border-color: var(--clay-300); color: var(--ink); }
.qseg button:active { transform: scale(.97); }
.qseg button.is-active { background: var(--clay); border-color: var(--clay); color: #fff; box-shadow: 0 6px 14px -8px var(--clay); }

.lead__benefits { display: grid; gap: 9px; margin-top: 20px; }
.lead__benefits li { position: relative; padding-left: 26px; color: #C8BEAC; font-size: 15.5px; }
.lead__benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--ochre); font-weight: 700; }

.fab--lead { background: var(--clay); width: auto; height: 52px; padding: 0 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 13.5px; }

/* ---------- cookie-уведомление ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--ink); color: #E9E0D2; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--clay); font-size: 14px; }
.cookie a { color: var(--ochre); text-decoration: underline; }
.cookie .btn { flex: none; }
.cookie[hidden] { display: none; }
@media (max-width: 520px) { .cookie { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; gap: 10px; } }

/* ---------- бегущая лента доверия ---------- */
.strip { background: var(--ink); color: #E9E0D2; padding: 16px 0; overflow: hidden; }
.strip__inner { display: flex; gap: 38px; flex-wrap: wrap; justify-content: center; }
.strip__item { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; font-weight: 500; white-space: nowrap; color: #CDBFA9; }

/* ============================================================
   СЕТКИ / КАРТОЧКИ
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }

/* преимущества */
.feature { padding: 28px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--clay-300); }
.feature__ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px;
  background: color-mix(in srgb, var(--clay) 12%, transparent); color: var(--clay);
  font-size: 26px; font-family: var(--font-display); font-weight: 700; margin-bottom: 18px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--ink-2); }

/* ============================================================
   КАЛЬКУЛЯТОР
   ============================================================ */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.calc__controls { background: #221E18; border: 1px solid rgba(239,231,217,.12); border-radius: var(--r-lg); padding: 30px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; }
.calc__label { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: #EFE7D9; }
.calc__out { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ochre); font-variant-numeric: tabular-nums; }

.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: rgba(239,231,217,.2); margin: 16px 0 26px; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--clay); border: 3px solid #2b261f; box-shadow: 0 4px 10px rgba(0,0,0,.35); cursor: pointer; transition: transform .15s; }
.slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.slider::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid #2b261f; border-radius: 50%; background: var(--clay); cursor: pointer; }

.calc__group { border: none; margin-top: 20px; }
.calc__group legend { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: #B6A88F; margin-bottom: 10px; font-family: var(--font-display); font-weight: 600; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  flex: 1 1 auto; min-width: 88px; min-height: 44px; padding: 11px 12px; border-radius: 10px;
  background: rgba(239,231,217,.06); color: #D9CFBE; border: 1.5px solid rgba(239,231,217,.14);
  font-family: var(--font-display); font-weight: 500; font-size: 14.5px; text-transform: uppercase; letter-spacing: .02em;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .1s ease, box-shadow .18s ease;
}
.seg button:hover { border-color: var(--ochre); color: #fff; }
.seg button:active { transform: scale(.97); }
.seg button.is-active { background: var(--clay); border-color: var(--clay); color: #fff; box-shadow: 0 6px 16px -8px var(--clay); }

.calc__result { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-md); position: sticky; top: 90px; }
.calc__hint { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-family: var(--font-display); font-weight: 600; }
.calc__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); color: var(--ink); margin: 8px 0 2px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.calc__permeter { color: var(--clay-700); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc__incl { margin: 20px 0; display: grid; gap: 9px; }
.calc__incl li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.calc__incl li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--clay); font-weight: 700; }
.calc__note { font-size: 12px; color: var(--ink-3); margin-top: 12px; text-align: center; }

/* ============================================================
   ЭТАПЫ
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px 24px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__n {
  font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--clay-300); position: absolute; top: 14px; right: 18px; opacity: .6;
}
.step h3 { margin: 0 0 8px; position: relative; }
.step p { font-size: 14.5px; color: var(--ink-2); position: relative; }

/* ============================================================
   ПРОЕКТЫ / ОБЪЕКТЫ
   ============================================================ */
.project { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
/* Заглушка под будущее фото: штриховка + дашед-рамка читаются как placeholder,
   а не как финальное изображение. Реальное фото вставляется <img> поверх без переверстки. */
.project__img, .case__img {
  aspect-ratio: 4 / 3; position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--g1, #c1996b), var(--g2, #8a5e38));
  display: grid; place-items: center;
  outline: 1px solid rgba(0,0,0,.10); outline-offset: -1px;
}
.project__img > img, .case__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__img::before, .case__img::before {
  content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(255,255,255,.42);
  border-radius: 8px; pointer-events: none;
}
.project__img:has(> img)::before, .case__img:has(> img)::before { display: none; }
.project__img::after, .case__img::after {
  content: attr(data-label); position: relative; color: rgba(255,255,255,.92); font-family: var(--font-display);
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; text-align: center;
  background: rgba(0,0,0,.30); padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(2px);
}
.project__img:has(> img)::after, .case__img:has(> img)::after { display: none; }
.project__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project__meta { display: flex; gap: 8px; }
.project__meta span { font-family: var(--font-display); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--clay-700); background: color-mix(in srgb, var(--clay) 10%, transparent); padding: 4px 10px; border-radius: 999px; }
.project p { font-size: 14.5px; color: var(--ink-2); }
.project__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-2); }
.price { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.project__foot a { color: var(--clay-700); font-weight: 600; font-size: 14.5px; }
.project__foot a:hover { color: var(--clay); }

.case { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--card); border: 1px solid var(--line); }
.case figcaption { padding: 16px 18px; font-size: 14px; color: var(--ink-2); }

/* ============================================================
   ЧТО ВОЛНУЕТ ЗАКАЗЧИКОВ (вместо демо-отзывов — честный блок возражений)
   ============================================================ */
.concern { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.concern__q { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); display: flex; gap: 11px; align-items: flex-start; margin-bottom: 11px; line-height: 1.2; }
.concern__q::before { content: "?"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--clay) 12%, transparent); color: var(--clay); font-weight: 700; font-size: 16px; }
.concern p { font-size: 15px; color: var(--ink-2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.faq__item[open] { border-color: var(--clay-300); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.005em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--clay); transition: transform .25s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 22px 20px; }
.faq__a p { color: var(--ink-2); font-size: 15.5px; }

/* ============================================================
   ФИНАЛЬНЫЙ CTA
   ============================================================ */
.lead { background: linear-gradient(160deg, #2a241d, var(--ink)); color: #EFE7D9; position: relative; overflow: hidden; }
.lead::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(239,231,217,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(239,231,217,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(100% 90% at 10% 0%, #000, transparent 75%);
}
.lead__inner { position: relative; display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: center; }
.lead__copy h2 { color: #fff; }
.lead__copy > p { color: #C8BEAC; font-size: 18px; margin: 18px 0 28px; max-width: 460px; }
.lead__form { background: var(--card); color: var(--ink); padding: 30px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* ============================================================
   ФУТЕР
   ============================================================ */
.site-footer { background: #16130E; color: #C8BEAC; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-about { margin-top: 16px; font-size: 14.5px; color: #9c917f; max-width: 320px; }
.site-footer h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: #EFE7D9; margin-bottom: 14px; font-weight: 600; }
.site-footer p { font-size: 14.5px; margin-bottom: 9px; }
.site-footer a:hover { color: var(--ochre); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(239,231,217,.1); font-size: 12.5px; color: #7f7565; }

/* ============================================================
   ПЛАВАЮЩИЕ КНОПКИ + ТОСТ
   ============================================================ */
.float-cta { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: none; flex-direction: column; gap: 10px; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-md); }
/* пока открыт cookie-баннер — прячем плавающую кнопку, чтобы не перекрывались */
body.cookie-open .float-cta { display: none !important; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 15px 24px; border-radius: 12px;
  box-shadow: var(--shadow-lg); z-index: 300; font-weight: 500; font-size: 15px;
  max-width: 90vw; text-align: center; border-left: 4px solid var(--clay);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .4s cubic-bezier(.2,.9,.3,1.2), opacity .3s ease, visibility .3s;
}
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__house { width: 70%; opacity: .1; }
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .lead__inner { grid-template-columns: 1fr; gap: 32px; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }
  .phone__label { display: none; }
  .float-cta { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__trust { gap: 22px; }
  .trust-item strong { font-size: 22px; }
  /* поднимаем toast выше плавающей кнопки, чтобы не накладывались */
  .toast { bottom: 88px; }
}
@media (max-width: 480px) {
  .strip__inner { gap: 14px 20px; }
  .strip__item { font-size: 12.5px; }
  .seg button { min-width: 0; }
}
