/* ============================================================
   sax7.ru — Строительство домов под ключ
   Система: графит + тёплый белый + амбра. Oswald / Manrope.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --paper:      #ffffff;
  --paper-2:    #f5f3ef;   /* warm off-white section */
  --paper-3:    #ece8e1;
  --ink:        #15181c;   /* graphite near-black */
  --ink-2:      #20242a;
  --text:       #15181c;
  --text-2:     #565d66;
  --text-3:     #878d95;
  --line:       rgba(21,24,28,0.12);
  --line-soft:  rgba(21,24,28,0.07);
  --dark:       #16191e;
  --dark-2:     #1d2127;
  --dark-line:  rgba(255,255,255,0.13);
  --dark-text:  rgba(255,255,255,0.72);

  --accent:     #e07a2e;   /* construction amber */
  --accent-600: #c9641c;
  --accent-700: #a85115;
  --accent-tint:rgba(224,122,46,0.12);
  --accent-ink: #2a1d12;

  --maxw: 1240px;
  --header-h: 76px;
  --gutter: 32px;
  --r:    6px;
  --r-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(21,24,28,0.05);
  --shadow:    0 12px 30px -14px rgba(21,24,28,0.22);
  --shadow-lg: 0 30px 60px -24px rgba(21,24,28,0.35);

  --ff-head: 'Oswald', sans-serif;
  --ff-body: 'Manrope', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  width: auto; height: auto; padding: 12px 18px;
  background: var(--accent); color: #fff; font-weight: 700; border-radius: var(--r);
}


html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  margin: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; touch-action: manipulation; }
input, textarea, select { font-family: inherit; font-size: 16px; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--ff-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 13px;
  color: var(--accent-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}
.eyebrow.center::before { display: none; }

h1, h2, h3 { font-family: var(--ff-head); font-weight: 700; line-height: 1.05; letter-spacing: 0.005em; }

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  text-transform: uppercase;
  margin-top: 16px;
  max-width: 18ch;
}
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-title { margin-left: auto; margin-right: auto; max-width: 24ch; }
.section-head .lead { color: var(--text-2); font-size: 18px; margin-top: 14px; max-width: 56ch; }
.section-head p.lead {background-color: transparent !important;}
.section-head.center .lead { margin-left: auto; margin-right: auto; }

section { padding: 96px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-soft { background: var(--paper-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-body);
  font-weight: 700; font-size: 15px;
  padding: 15px 26px;
  border-radius: var(--r);
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(224,122,46,0.7); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--header-h);
  min-width: 0;
}
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; min-width: 0; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--ink); color: var(--accent);
  display: grid; place-items: center;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-family: var(--ff-head); font-weight: 700; font-size: 21px; letter-spacing: 0.02em; text-transform: uppercase; }
.logo-text b span { color: var(--accent); }
.logo-text small { font-size: 10px; color: var(--text-3); letter-spacing: 0.04em; }

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}
.nav a { font-size: 14px; font-weight: 600; color: var(--text-2); transition: color .15s; white-space: nowrap; flex-shrink: 0; }
.nav a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; margin-left: auto; }
.header-cta .btn { padding: 12px 16px; font-size: 14px; }
.header-cta .btn-label-long { display: none; }
.header-cta .btn-label-short { display: inline; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.header-phone b { font-family: var(--ff-head); font-size: 16px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.header-phone small { font-size: 11px; color: var(--text-3); }
.header-phone-compact {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r);
  border: 1px solid var(--line); color: var(--accent-600);
  flex-shrink: 0;
}
.header-phone-compact svg { width: 20px; height: 20px; }
.header-phone-compact:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.burger {
  display: none; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: var(--r);
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.burger:hover { background: var(--paper-2); }
.burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.burger-lines { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.burger-lines span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] .burger-lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; padding: 0; }
.hero-bg {
  position: absolute; inset: 0;
  background-color: #14171b;
  background-image:
    linear-gradient(110deg, rgba(16,18,22,0.94) 0%, rgba(16,18,22,0.82) 38%, rgba(16,18,22,0.45) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80');
  background-size: cover; background-position: center;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 40px;
  align-items: end;
  padding-inline: var(--gutter);
  padding-block: 88px 80px;
}
.hero-content { min-width: 0; }
.hero h1 {
  font-size: clamp(36px, 5.5vw, 82px);
  text-transform: uppercase;
  margin: 20px 0 0;
  max-width: 14ch;
}
.hero .sub { font-size: clamp(17px, 2vw, 23px); color: rgba(255,255,255,0.82); margin-top: 22px; max-width: 44ch; font-weight: 500; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--accent); }

.theses { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 36px; }
.thesis {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 14.5px; font-weight: 600;
}
.thesis svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badge {
  position: static;
  align-self: end;
  max-width: none;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border-radius: var(--r-lg);
  padding: 20px 22px;
}
.hero-badge b { font-family: var(--ff-head); font-size: 17px; text-transform: uppercase; letter-spacing: 0.02em; display: block; }
.hero-badge p { font-size: 13.5px; color: rgba(255,255,255,0.72); margin-top: 6px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink); color: #fff; padding: 0; }
.trust .wrap { padding-top: 0; padding-bottom: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px 28px; display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid var(--dark-line); }
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 28px; height: 28px; color: var(--accent); flex: none; margin-top: 2px; }
.trust-item b { font-family: var(--ff-head); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; display: block; }
.trust-item span { font-size: 13.5px; color: var(--dark-text); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.services-grid > *, .price-grid > *, .gallery > *, .why-grid > *, .steps > *, .guard-grid > *, .reviews > *, .lead-grid > * { min-width: 0; }
.svc-card {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-600); display: grid; place-items: center; margin-bottom: 18px; transition: background .2s, color .2s; }
.svc-ico svg { width: 26px; height: 26px; }
.svc-card:hover .svc-ico { background: var(--accent); color: #fff; }
.svc-card h3 { font-size: 19px; text-transform: none; font-weight: 600; letter-spacing: 0; }
.svc-card p { color: var(--text-2); font-size: 14px; margin-top: 8px; }
.svc-more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--accent-600); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.svc-more svg { width: 16px; height: 16px; }
.svc-card:hover .svc-more { opacity: 1; transform: translateX(0); }
@media (hover: none) {
  .svc-more { opacity: 1; transform: none; }
  .svc-card:hover { transform: none; }
  .gal-item .zoom { opacity: 1; transform: scale(1); }
}

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--r-lg); overflow: hidden; }
.why-item { background: var(--dark); padding: 34px 30px; }
.why-num { font-family: var(--ff-head); font-size: 15px; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; }
.why-item h3 { font-size: 21px; text-transform: none; letter-spacing: 0; margin: 14px 0 8px; font-weight: 600; }
.why-item p { color: var(--dark-text); font-size: 14.5px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
  color: var(--accent-600); font-family: var(--ff-head); font-weight: 700; font-size: 22px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step:not(:last-child) .step-num::after {
  content: ""; position: absolute; top: 27px; left: 56px; right: -18px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step h3 { font-size: 18px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.step p { color: var(--text-2); font-size: 14px; margin-top: 6px; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.price-card:hover::before { transform: scaleX(1); }

.price-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.price-ico {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent-600);
  display: grid;
  place-items: center;
  transition: background .2s, color .2s;
}
.price-ico svg { width: 24px; height: 24px; }
.price-card:hover .price-ico { background: var(--accent); color: #fff; }

.price-tag {
  display: inline-block;
  font-family: var(--ff-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-600);
  margin-bottom: 4px;
}
.price-card h3 {
  font-size: 20px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

.price-value {
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: var(--r);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
}
.price-card .from {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 4px;
}
.price-card .amount {
  font-family: var(--ff-head);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin: 0;
  word-break: break-word;
}
.price-card .amount span {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
  white-space: nowrap;
}

.price-feats {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-feats li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
}
.price-feats li svg {
  width: 16px; height: 16px;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}

.price-card .btn {
  margin-top: auto;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.price-card--featured {
  border-color: rgba(224,122,46,0.35);
  box-shadow: 0 8px 28px -12px rgba(224,122,46,0.35);
}
.price-card--featured::before { transform: scaleX(1); }
.price-card--featured .price-value {
  background: var(--accent-tint);
  border-color: rgba(224,122,46,0.2);
}
.price-card--featured .price-tag { color: var(--accent-700); }

@media (hover: none) {
  .price-card:hover { transform: none; }
}

.price-note { margin-top: 22px; font-size: 13px; color: var(--text-3); text-align: center; max-width: 62ch; margin-left: auto; margin-right: auto; }

/* ---------- Calculator ---------- */
.calc { background: var(--dark-2); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1.2fr 0.8fr; min-width: 0; }
.calc-form { padding: 44px; color: #fff; min-width: 0; }
.calc-field { margin-bottom: 26px; }
.calc-field > label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.calc-field > label .val { color: var(--accent); font-family: var(--ff-head); font-size: 18px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  flex: 1 1 calc(50% - 4px); min-width: 0; min-height: 44px; padding: 12px 10px; border-radius: var(--r);
  border: 1.5px solid var(--dark-line); color: var(--dark-text); font-weight: 600; font-size: 14px;
  transition: all .15s; background: rgba(255,255,255,0.03);
}
.seg[data-key="material"] button { flex: 1 1 calc(25% - 6px); }
.seg button:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.seg button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 100px; background: rgba(255,255,255,0.15); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-top: 8px; }
.calc-result {
  background: var(--accent); color: #fff; padding: 44px;
  display: flex; flex-direction: column; justify-content: center; align-items: stretch;
  min-width: 0;
}
.calc-result .lbl { text-transform: uppercase; font-family: var(--ff-head); letter-spacing: 0.1em; font-size: 13px; opacity: 0.85; font-weight: 600; }
.calc-result .total { font-family: var(--ff-head); font-weight: 700; font-size: clamp(30px,4vw,44px); line-height: 1.05; margin: 12px 0 4px; word-break: break-word; min-width: 0; }
.calc-result .per { font-size: 14px; opacity: 0.9; line-height: 1.4; min-width: 0; }
.calc-result .disc { font-size: 13px; opacity: 0.85; margin: 18px 0 24px; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 16px; min-width: 0; }
.calc-result .btn.btn-block {
  display: flex;
  width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  margin: 0;
  padding: 16px 18px;
  font-size: 15px;
}
.calc-result .btn-ghost-light { border-color: rgba(255,255,255,0.6); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal-item { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--paper-3); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.06); }
.gal-cap { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(16,18,22,0.85)); color: #fff; }
.gal-cap b { font-family: var(--ff-head); font-size: 16px; text-transform: uppercase; letter-spacing: 0.02em; display: block; }
.gal-cap span { font-size: 13px; opacity: 0.85; }
.gal-item .zoom { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.9); display: grid; place-items: center; opacity: 0; transform: scale(0.8); transition: .2s; }
.gal-item .zoom svg { width: 18px; height: 18px; color: var(--ink); }
.gal-item:hover .zoom { opacity: 1; transform: scale(1); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,14,17,0.92); display: none; align-items: center; justify-content: center; padding: 32px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 78vh; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.lightbox .lb-cap { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 0.04em; }
.lightbox button.lb-close { position: absolute; top: 24px; right: 28px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: grid; place-items: center; }
.lightbox button.lb-close svg { width: 24px; height: 24px; }
.lightbox button.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: grid; place-items: center; }
.lightbox button.lb-nav:hover { background: var(--accent); }
.lightbox .lb-prev { left: 24px; } .lightbox .lb-next { right: 24px; }
.lightbox button.lb-nav svg { width: 26px; height: 26px; }

/* ---------- Guarantees ---------- */
.guard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.guard-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; background: var(--paper); }
.guard-card .gico { width: 50px; height: 50px; border-radius: 12px; background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.guard-card .gico svg { width: 26px; height: 26px; }
.guard-card h3 { font-size: 20px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.guard-card p { color: var(--text-2); font-size: 14.5px; margin-top: 8px; }
.pay-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.pay-stage { text-align: center; }
.pay-stage .pct { font-family: var(--ff-head); font-size: 30px; font-weight: 700; color: var(--accent-600); }
.pay-stage b { display: block; font-family: var(--ff-head); text-transform: uppercase; font-size: 14px; letter-spacing: 0.03em; margin: 4px 0 4px; }
.pay-stage span { font-size: 13px; color: var(--text-2); }

/* ---------- Promo ---------- */
.promo-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; }
.promo-bg { position: absolute; inset: 0; opacity: 0.28;
  background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80');
  background-size: cover; background-position: center; }
.promo-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 52px 56px; flex-wrap: wrap; }
.promo-inner .eyebrow { color: var(--accent); }
.promo-inner h2 { font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; margin-top: 14px; max-width: 20ch; }
.promo-inner p { color: rgba(255,255,255,0.75); margin-top: 12px; max-width: 46ch; font-size: 16px; }
.promo-actions { display: flex; flex-direction: column; gap: 12px; flex: none; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px; background: var(--paper); }
.review .stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.review .stars svg { width: 18px; height: 18px; }
.review .quote { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.review .who { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.review .ava {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--line-soft);
  background: var(--paper-2);
}
.review .who b { font-size: 15px; }
.review .who span { font-size: 13px; color: var(--text-3); display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px;
  font-family: var(--ff-head); font-size: 18px; font-weight: 600; letter-spacing: 0.01em;
  position: relative; user-select: none;
}
.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(--ff-body); font-size: 24px; font-weight: 400; color: var(--accent-600); line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--accent-700); }
.faq-body { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.65; }
.faq-body p + p { margin-top: 10px; }
.faq-body a { color: var(--accent-600); font-weight: 600; text-decoration: underline; }
.faq-cta { margin-top: 40px; text-align: center; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.faq-cta p { color: var(--text-2); font-size: 17px; margin-bottom: 18px; }
.faq-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- SEO block ---------- */
.seo-block { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line-soft); }
.seo-inner h2 { font-size: clamp(22px, 3vw, 32px); text-transform: none; letter-spacing: 0; font-weight: 600; max-width: none; margin-bottom: 24px; }
.seo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.seo-cols p { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.seo-cols p + p { margin-top: 14px; }
.seo-cols a { color: var(--accent-600); font-weight: 600; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 54;
  display: none; align-items: stretch; gap: 0;
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(21,24,28,0.12);
  transform: translateY(100%); transition: transform .3s ease;
  padding-bottom: env(safe-area-inset-bottom, 0);
  min-height: calc(52px + env(safe-area-inset-bottom, 0));
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 10px; font-weight: 700; font-size: 14px; border-right: 1px solid var(--line-soft);
  min-height: 52px;
}
.sticky-cta-btn:last-child { border-right: none; }
.sticky-cta-call { color: var(--text); }
.sticky-cta-call svg { width: 18px; height: 18px; color: var(--accent); }
.sticky-cta-main { flex: 1.6; background: var(--accent); color: #fff; border-right: none; }
.sticky-cta-wa { flex: none; width: 56px; background: #25d366; color: #fff; }
.sticky-cta-wa svg { width: 24px; height: 24px; }

/* ---------- Lead form ---------- */
.lead { background: var(--dark); color: #fff; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lead-copy .section-title { color: #fff; }
.lead-copy .lead-points { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.lead-copy .lead-points li { display: flex; gap: 12px; align-items: center; color: var(--dark-text); font-size: 16px; }
.lead-copy .lead-points svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.lead-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.lead-trust-item { padding: 16px; border-radius: var(--r); background: rgba(255,255,255,0.06); border: 1px solid var(--dark-line); }
.lead-trust-item b { font-family: var(--ff-head); font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em; display: block; color: var(--accent); }
.lead-trust-item span { font-size: 13px; color: var(--dark-text); margin-top: 4px; display: block; }
.hero-phone-link svg { width: 18px; height: 18px; }
.form-card { background: var(--paper); color: var(--text); border-radius: var(--r-lg); padding: 38px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 24px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.form-card .fc-sub { color: var(--text-2); font-size: 14.5px; margin: 6px 0 24px; }
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  color: #d23f3f;
  font-size: 14px;
  margin: 4px 0 12px;
  line-height: 1.4;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--text-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r);
  border: 1.5px solid var(--line); background: var(--paper-2); color: var(--text);
  transition: border-color .15s, background .15s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23565d66' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; }
.field input.err, .field textarea.err, .field select.err { border-color: #d23f3f; background: #fdf1f1; }
.field .opt { font-weight: 500; color: var(--text-3); }
.field--consent { margin-bottom: 12px; }
.consent {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
}
.consent__input {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--accent); cursor: pointer;
}
.consent__text { color: var(--text-3); font-size: 12.5px; line-height: 1.55; margin: 0; }
.consent__label {
  display: inline; font-size: inherit; font-weight: inherit;
  margin: 0; cursor: pointer; color: inherit;
}
.consent a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--accent); }
.field--consent.invalid .consent__input { outline: 2px solid #d23f3f; outline-offset: 2px; }
.field .msg { font-size: 12px; color: #d23f3f; margin-top: 5px; display: none; }
.field.invalid .msg { display: block; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .ok-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-600); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .ok-ico svg { width: 34px; height: 34px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-2); }

/* ---------- Footer ---------- */
.footer { background: #0f1216; color: #fff; padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--dark-line); }
.footer .logo-text b { color: #fff; }
.footer-col h4 { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; margin-bottom: 16px; color: rgba(255,255,255,0.5); font-weight: 600; }
.footer-col a, .footer-col p { color: var(--dark-text); font-size: 14.5px; display: block; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact b { font-family: var(--ff-head); font-size: 22px; color: #fff; font-weight: 600; }
.footer-tagline { color: var(--dark-text); font-size: 14.5px; margin: 16px 0 22px; max-width: 38ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 12px; }
.footer-bottom small { color: var(--text-3); font-size: 13px; }
.footer-legal a { color: var(--text-3); font-size: 13px; transition: color .15s; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.7);
  transition: transform .2s;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(12,14,17,0.6); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--paper); border-radius: var(--r-lg); padding: 38px; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); position: relative; animation: modalIn .28s ease; }
.modal--lead { max-width: 520px; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modal { animation: none; }
}
.modal .m-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.modal .m-close:hover { background: var(--paper-2); }
.modal .m-close svg { width: 22px; height: 22px; }
.modal h3 { font-size: 24px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.modal .m-sub { color: var(--text-2); font-size: 14.5px; margin: 6px 0 22px; }
.modal .field { margin-bottom: 16px; }
.modal .field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--text-2); }
.modal .field input,
.modal .field textarea,
.modal .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r);
  font-size: 15px; background: var(--paper-2); color: var(--text); transition: border-color .2s, background .2s;
}
.modal .field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23565d66' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer;
}
.modal .field input:focus,
.modal .field textarea:focus,
.modal .field select:focus { outline: none; border-color: var(--accent); background: #fff; }
.modal .field input.err,
.modal .field textarea.err,
.modal .field select.err { border-color: #d23f3f; background: #fdf1f1; }
.modal .field .opt { font-weight: 500; color: var(--text-3); }
.modal .field .msg { font-size: 12px; color: #d23f3f; margin-top: 5px; display: none; }
.modal .field.invalid .msg { display: block; }
.modal .field.invalid .msg { display: block; }
.modal .field--consent { margin-bottom: 12px; }
.modal .consent__text { color: var(--text-3); font-size: 12.5px; line-height: 1.55; }
.modal .consent a { color: var(--text-2); }
.modal .consent a:hover { color: var(--accent); }

/* ---------- Legal page (152-ФЗ) ---------- */
.legal-page { padding: calc(var(--header-h) + 48px) 0 80px; background: var(--paper-2); }
.legal-page__head { max-width: 720px; margin-bottom: 40px; }
.legal-page__head .eyebrow { display: inline-block; margin-bottom: 12px; }
.legal-page__meta { color: var(--text-3); font-size: 14px; margin-top: 10px; }
.legal-page__body {
  max-width: 760px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px 44px; box-shadow: var(--shadow-sm);
}
.legal-section { margin-bottom: 32px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-family: var(--ff-head); font-size: 20px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 14px;
}
.legal-section p { color: var(--text-2); font-size: 15px; line-height: 1.65; margin-bottom: 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-list { margin: 0 0 12px 1.2em; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.legal-list li { margin-bottom: 6px; }
.bc { padding: 18px 0 0; font-size: 13px; color: var(--text-3); }
.bc a { color: var(--text-2); }
.bc a:hover { color: var(--accent); }
.bc span { margin: 0 8px; color: var(--text-3); }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
  [data-reveal].in { opacity: 1; transform: none; }
  [data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
  [data-reveal-stagger].in > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

.nav-overlay {
  position: fixed; inset: 0; z-index: 58;
  background: rgba(12,14,17,0.45);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.nav-overlay.visible { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* Laptop compact (1400px) */
@media (max-width: 1400px) {
  :root { --gutter: 28px; }
}

/* Laptop compact (1280px) */
@media (max-width: 1280px) {
  :root { --header-h: 68px; --gutter: 28px; }

  .header-inner { gap: 12px; }
  .nav, .header-phone, .header-cta .btn-primary { display: none; }
  .burger { display: flex; }
  .header-phone-compact { display: flex; }
  .header-cta { margin-left: auto; }

  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff;
    padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    z-index: 59;
    animation: navSlideIn .25s ease;
  }
  @keyframes navSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }
  .nav.open a {
    padding: 15px 0; border-bottom: 1px solid var(--line-soft);
    font-size: 16px; font-weight: 600; color: var(--text);
    min-height: 48px; display: flex; align-items: center;
  }
  .nav-mobile-cta {
    display: flex; flex-direction: column; gap: 14px;
    margin-top: 20px; padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .nav-mobile-phone {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 12px;
    background: var(--paper-2); border-radius: var(--r);
  }
  .nav-mobile-phone b { font-family: var(--ff-head); font-size: 20px; font-weight: 600; }
  .nav-mobile-phone small { font-size: 12px; color: var(--text-3); margin-top: 2px; }
  .logo-text small { display: none; }

  section { padding: 80px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .step .step-num::after { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
  .footer-top .footer-contact { grid-column: 1 / -1; }
  .lead-grid { gap: 40px; }
  .calc-form, .calc-result { padding: 36px 32px; }
  .seg[data-key="material"] button { flex: 1 1 calc(50% - 4px); }
}

/* Tablet (1200px) */
@media (max-width: 1200px) {
  .price-card .btn, .promo-actions .btn, .faq-cta-actions .btn {
    white-space: normal;
    text-align: center;
  }

  section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head .lead { font-size: 17px; }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
    padding-block: 64px 56px;
  }
  .hero h1 { max-width: none; }
  .hero-badge { align-self: stretch; }

  /* Внутренние отступы синхронизированы с gutter */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px; background: var(--dark-line);
  }
  .trust-item { border-right: none; border-bottom: none; background: var(--ink); padding-inline: var(--gutter); }

  .services-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item { padding-inline: var(--gutter); }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .calc { grid-template-columns: 1fr; }
  .calc-form { padding: 32px var(--gutter); }
  .calc-result { padding: 32px var(--gutter); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .guard-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 20px; padding: 24px var(--gutter); }
  .reviews { grid-template-columns: 1fr; }
  .seo-cols { grid-template-columns: 1fr; gap: 0; }

  .lead-grid { grid-template-columns: 1fr; gap: 36px; }
  .lead-trust { grid-template-columns: repeat(3, 1fr); }
  .form-card { padding: 32px var(--gutter); }

  .promo-inner {
    flex-direction: column; align-items: flex-start;
    padding: 40px var(--gutter); gap: 28px;
  }
  .promo-inner h2 { max-width: none; }
  .promo-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .promo-actions .btn { flex: 1 1 200px; white-space: normal; text-align: center; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-top .footer-col:first-child { grid-column: 1 / -1; }
  .footer-top .footer-contact { grid-column: auto; }

  .sticky-cta { display: flex; }
  .wa-float { display: none; }
  body.has-sticky-cta { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0)); }

  .faq-cta-actions { flex-wrap: wrap; }
  .faq-cta-actions .btn { flex: 1 1 180px; white-space: normal; text-align: center; }
  .lightbox { padding: 20px; }
  .lightbox button.lb-nav { width: 44px; height: 44px; }
  .lightbox .lb-prev { left: 12px; }
  .lightbox .lb-next { right: 12px; }
}

/* Tablet portrait (768px) */
@media (max-width: 768px) {
  :root { --gutter: 24px; }

  section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }

  .hero-inner { padding-block: 52px 44px; gap: 28px; }
  .hero-actions .btn-lg { padding: 16px 22px; font-size: 15px; }
  .theses { gap: 8px; }
  .thesis { font-size: 13px; padding: 8px 14px; }

  .services-grid, .price-grid, .gallery, .why-grid, .steps { grid-template-columns: 1fr; }
  .guard-grid { grid-template-columns: 1fr; }
  .lead-trust { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 24px var(--gutter); }

  .pay-timeline { grid-template-columns: 1fr; padding: 24px var(--gutter); }
  .pay-stage {
    display: flex; flex-direction: column; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  }
  .pay-stage:last-child { border-bottom: none; }

  .calc-form, .calc-result { padding: 28px var(--gutter); }
  .seg[data-key="material"] button { flex: 1 1 calc(50% - 4px); }

  .promo-inner { padding: 32px var(--gutter); }
  .promo-actions { flex-direction: column; }
  .promo-actions .btn { width: 100%; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; }

  .faq-item summary { padding: 18px 48px 18px var(--gutter); font-size: 16px; }
  .faq-body { padding: 0 var(--gutter) 18px; font-size: 15px; }
  .faq-cta { padding: 24px var(--gutter); }
  .faq-cta-actions { flex-direction: column; }
  .faq-cta-actions .btn { width: 100%; }

  .why-item { padding: 28px var(--gutter); }
  .form-card { padding: 28px var(--gutter); }
  .legal-page__body { padding: 28px var(--gutter); }
  .review { padding: 28px var(--gutter); }
  .svc-card { padding: 24px var(--gutter); }
  .price-card { padding: 24px var(--gutter); }
  .guard-card { padding: 28px var(--gutter); }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .seo-block { padding: 56px 0; }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  :root { --gutter: 20px; }

  section { padding: 56px 0; }

  .hero-inner { padding-block: 44px 36px; }
  .header-cta .btn { display: none; }
  .header-phone-compact { display: none; }

  .calc-form, .calc-result { padding: 24px var(--gutter); }
  .form-card { padding: 24px var(--gutter); }
  .modal { padding: 28px var(--gutter); max-height: calc(100dvh - 32px); overflow-y: auto; }

  .price-card .amount { font-size: 30px; }
  .calc-result .total { font-size: clamp(24px, 7vw, 34px); }
  .review .quote { font-size: 15px; }

  .sticky-cta-main { font-size: 13px; }
  .sticky-cta-call { font-size: 12px; }
}

@media (max-width: 380px) {
  .logo-text b { font-size: 18px; }
  .logo-mark { width: 36px; height: 36px; }
  .sticky-cta-call { flex: 0.8; }
  .sticky-cta-wa { width: 48px; }
}
