/* ============================================================
   ЛИДЕР-СТРОЙ КОМПАНИЯ — kznlsk.pro
   style.css
   ============================================================ */

/* ---------- 1. Токены ---------- */
:root {
  --ink:        #14171a;
  --ink-soft:   #1d2125;
  --ink-line:   #2b3036;
  --concrete:   #f2f0ec;
  --concrete-2: #e7e3dc;
  --paper:      #ffffff;
  --text:       #1b1e21;
  --text-mute:  #5f666d;
  --text-inv:   #f4f5f6;
  --text-inv-m: #a9b1b9;

  --accent:      #e8611f;
  --accent-dark: #c44e12;
  --accent-soft: #fdece2;
  --steel:       #2f6fb3;

  --radius:   4px;
  --radius-l: 10px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);

  --sh-1: 0 1px 2px rgba(20,23,26,.06), 0 2px 8px rgba(20,23,26,.06);
  --sh-2: 0 8px 24px rgba(20,23,26,.10), 0 2px 6px rgba(20,23,26,.06);
  --sh-3: 0 24px 60px rgba(20,23,26,.18);
}

/* ---------- 2. Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--text);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .15s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232,97,31,.28);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.42);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.17); border-color: #fff; }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: 1.6em;
  font-weight: 600;
  color: var(--accent-dark);
  border-bottom: 1px solid rgba(232,97,31,.35);
  padding-bottom: 3px;
  transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.link-arrow:hover { gap: .9em; border-color: var(--accent); }

/* ---------- 4. Хедер ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(20,23,26,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(20,23,26,.98);
  border-bottom-color: var(--ink-line);
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--accent);
}
.brand-mark svg { color: var(--accent); }
.brand-mark svg path { transition: fill .2s var(--ease); }
.brand:hover .brand-mark svg path { fill: #fff; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: #fff;
}
.brand-text strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
}
.brand-text span {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-inv-m);
}

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #d7dbdf;
  padding: 6px 0;
  transition: color .18s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .22s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.nav-cta a {
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius);
  color: #fff;
}
.nav-cta a::after { display: none; }
.nav-cta a:hover { background: var(--accent); border-color: var(--accent); }

.header-contact { flex-shrink: 0; }
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: right;
}
.header-phone-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-inv-m);
}
.header-phone-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.header-phone:hover .header-phone-value { color: var(--accent); }

.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  position: relative;
  flex-shrink: 0;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 20px; height: 2px;
  background: #fff;
  transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }

.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 820px);
  padding-top: 120px;
  padding-bottom: clamp(40px, 7vw, 84px);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.03);
  animation: heroZoom 26s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.11); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(12,14,16,.92) 0%, rgba(12,14,16,.80) 42%, rgba(12,14,16,.35) 72%, rgba(12,14,16,.55) 100%),
    linear-gradient(to top, rgba(12,14,16,.85) 0%, rgba(12,14,16,.10) 46%, rgba(12,14,16,.35) 100%);
}

.hero-inner { position: relative; z-index: 1; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 7px 15px 7px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e9ecef;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.hero-kicker .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,97,31,.22);
}

.hero-title {
  max-width: 19ch;
  font-size: clamp(32px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
  text-wrap: balance;
  margin-bottom: .42em;
}
.hero-title br { display: block; }

.hero-sub {
  max-width: 52ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: #d4d9dd;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 820px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-facts li {
  padding: 20px 22px 0 0;
}
.hero-facts li + li {
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.hero-facts strong {
  display: block;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.hero-facts strong::after {
  content: "";
  display: block;
  width: 26px; height: 3px;
  margin: 10px 0 8px;
  background: var(--accent);
}
.hero-facts span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-inv-m);
}

/* ---------- 6. Секции ---------- */
.section {
  padding: clamp(56px, 8vw, 112px) 0;
}
.section-dark {
  background: var(--ink);
  color: var(--text-inv);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-concrete { background: var(--concrete); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4.4vw, 56px); }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}
.section-head-row > div:first-child { max-width: 660px; }

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(26px, 3.9vw, 46px);
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.section-lead {
  margin-top: .9em;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.62;
  color: var(--text-mute);
}
.section-dark .section-lead { color: var(--text-inv-m); }

/* ---------- 7. Карточки услуг ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--concrete-2);
  border: 1px solid var(--concrete-2);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height .3s var(--ease);
}
.card:hover { background: #fbfaf8; }
.card:hover::before { height: 100%; }

.card-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: .55em;
}
.card > p {
  font-size: 15px;
  color: var(--text-mute);
  margin-bottom: 1.1em;
}
.card-list {
  display: grid;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--concrete-2);
}
.card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #3e444a;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 1px;
  opacity: .85;
}

/* ---------- 8. Преимущества ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.adv {
  padding: clamp(24px, 3vw, 36px);
  background: var(--ink);
  transition: background .25s var(--ease);
}
.adv:hover { background: var(--ink-soft); }

.adv-icon {
  width: 40px; height: 40px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adv h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: .5em;
}
.adv p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-inv-m);
}

/* ---------- 9. Карусель ---------- */
.carousel { position: relative; }

.carousel-controls { display: flex; gap: 10px; flex-shrink: 0; }

.c-btn {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--concrete-2);
  border-radius: var(--radius);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.c-btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.c-btn:disabled { opacity: .38; cursor: default; }
.c-btn:disabled:hover { background: var(--paper); border-color: var(--concrete-2); color: inherit; }

.track {
  display: flex;
  gap: 18px;
  padding-inline: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.track.is-dragging .slide { pointer-events: none; }

.slide {
  position: relative;
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 340px);
  margin: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--ink-soft);
  box-shadow: var(--sh-1);
}
.slide img {
  width: 100%;
  height: clamp(360px, 44vw, 500px);
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.slide:hover img { transform: scale(1.045); }

.slide figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 5px;
  padding: 46px 20px 20px;
  color: #fff;
  background: linear-gradient(to top, rgba(10,12,14,.94) 0%, rgba(10,12,14,.72) 52%, rgba(10,12,14,0) 100%);
}
.slide-tag {
  justify-self: start;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 2px;
}
.slide-tag-muted { background: rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.slide figcaption strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.slide figcaption > span:last-child {
  font-size: 12.5px;
  line-height: 1.45;
  color: #c8ced3;
}

.carousel-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
}
.progress {
  flex: 1;
  max-width: 320px;
  height: 3px;
  background: var(--concrete-2);
  border-radius: 2px;
  overflow: hidden;
}
.progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .15s linear;
  transform-origin: left center;
}
.carousel-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-mute);
  margin: 0;
}

/* ---------- 10. Шаги ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}
.step::after {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .4s var(--ease);
}
.step:hover::after { width: 100%; }

.step-num {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: .45em;
}
.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mute);
}

/* ---------- 11. О компании ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.about-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.media-badge {
  position: absolute;
  right: 12px; bottom: 12px;
  padding: 5px 11px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20,23,26,.78);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.about-text .section-title { font-size: clamp(24px, 2.9vw, 36px); }
.about-text p {
  font-size: 15.5px;
  line-height: 1.68;
  color: #41474d;
}

.facts {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--concrete-2);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--concrete-2);
}
.facts dt {
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-top: 2px;
}
.facts dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- 12. Документы ---------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.doc {
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-l);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.doc:hover { border-color: rgba(232,97,31,.55); transform: translateY(-2px); }

.doc-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.doc h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: .5em;
}
.doc p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-inv-m);
}
.doc-meta {
  margin-top: .9em !important;
  padding-top: .8em;
  border-top: 1px solid var(--ink-line);
  font-size: 12.5px !important;
  color: #8d959d !important;
}

.docs-note {
  max-width: 780px;
  margin-top: 26px;
  font-size: 13px;
  line-height: 1.6;
  color: #8d959d;
}

/* ---------- 13. FAQ ---------- */
.faq-wrap { max-width: 880px; }

.accordion { border-top: 1px solid var(--concrete-2); }
.acc-item { border-bottom: 1px solid var(--concrete-2); }
.acc-item h3 { margin: 0; font-size: inherit; }

.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  transition: color .18s var(--ease);
}
.acc-btn:hover { color: var(--accent-dark); }
.acc-btn svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .28s var(--ease);
}
.acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.acc-panel { overflow: hidden; }
.acc-panel p {
  max-width: 66ch;
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mute);
}

/* ---------- 14. Контакты ---------- */
.section-contact {
  background: var(--concrete);
  border-top: 1px solid var(--concrete-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--concrete-2);
}
.contact-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--concrete-2);
}
.ci-label {
  grid-column: 1 / -1;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.ci-value {
  font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  transition: color .18s var(--ease);
}
a.ci-value:hover { color: var(--accent-dark); }
.ci-value-static {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 42ch;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mute);
  background: var(--paper);
  border: 1px solid var(--concrete-2);
  border-radius: 100px;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.copy-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.copy-btn:hover { color: var(--accent-dark); border-color: rgba(232,97,31,.45); }
.copy-btn.is-done { color: #1c7a4a; border-color: rgba(28,122,74,.4); background: #eef7f1; }

.contact-requisites {
  margin-top: 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-mute);
}

.contact-form {
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--concrete-2);
  border-radius: var(--radius-l);
  box-shadow: var(--sh-2);
}
.form-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 14px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: #3a4046;
}
.req { color: var(--accent); }

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fbfaf9;
  border: 1px solid #dcd8d1;
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa1a8; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,97,31,.13);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.10); }

.check {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 10px;
  align-items: start;
  margin: 20px 0 22px;
}
.check input {
  width: 18px; height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.check label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-mute);
  cursor: pointer;
}
.check a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }

.form-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #7d848b;
}

/* ---------- 15. Подвал ---------- */
.site-footer {
  padding: clamp(32px, 4vw, 48px) 0;
  background: var(--ink);
  color: var(--text-inv-m);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px 40px;
  align-items: start;
}
.footer-brand { display: grid; gap: 5px; }
.footer-brand strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .07em;
  color: #fff;
}
.footer-brand span {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--text-inv-m);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
}
.footer-nav a { transition: color .18s var(--ease); }
.footer-nav a:hover { color: var(--accent); }

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  font-size: 12px;
  line-height: 1.6;
  color: #79818a;
}

.to-top {
  position: fixed;
  right: clamp(12px, 2.4vw, 26px);
  bottom: clamp(12px, 2.4vw, 26px);
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s, background .18s var(--ease);
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- 16. Появление при прокрутке ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 17. Адаптив ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-phone-value { font-size: 14px; }
  .nav ul { gap: 18px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16 / 10; }
}

@media (max-width: 900px) {
  .header-contact { display: none; }

  .burger { display: block; margin-left: auto; }

  .nav {
    position: fixed;
    inset: 74px 0 auto;
    margin: 0;
    padding: 8px var(--gutter) 26px;
    background: #14171a;
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav ul { display: grid; gap: 0; }
  .nav li { border-bottom: 1px solid var(--ink-line); }
  .nav a { display: block; padding: 15px 0; font-size: 16px; }
  .nav a::after { display: none; }
  .nav-cta { border-bottom: 0; margin-top: 14px; }
  .nav-cta a { text-align: center; padding: 13px 18px; background: var(--accent); border-color: var(--accent); }

  .contact-grid { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }

  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 48px;
  }
  .hero-media img { object-position: 62% 40%; }
  .hero-title { max-width: none; font-size: clamp(30px, 8.6vw, 42px); }
  .hero-title br { display: none; }
  .hero-sub { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li { padding: 16px 0 0; }
  .hero-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); margin-top: 4px; }
  .hero-facts strong { display: flex; align-items: baseline; gap: 12px; font-size: 26px; }
  .hero-facts strong::after { display: none; }
  .hero-facts span { font-size: 13px; }

  .cards, .adv-grid, .docs-grid { grid-template-columns: 1fr; }

  .slide { width: 76vw; }
  .slide img { height: 62vw; min-height: 320px; }

  .carousel-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .progress { max-width: none; }

  .facts > div { grid-template-columns: 1fr; gap: 3px; }

  .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .contact-list li { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 78px; }
  .copy-btn { justify-self: start; margin-top: 4px; }
  .to-top { width: 42px; height: 42px; }

  .acc-btn { padding: 17px 0; }
}

@media (max-width: 400px) {
  .brand-text span { display: none; }
  .slide { width: 84vw; }
}

/* ---------- 18. prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-media img { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .track { scroll-behavior: auto; }
}

/* ---------- 19. Печать ---------- */
@media print {
  .site-header, .to-top, .carousel-controls, .burger, .btn { display: none !important; }
  .hero { min-height: auto; padding: 24px 0; background: #fff; color: #000; }
  .hero-media, .hero-overlay { display: none; }
  .hero-title, .hero-sub, .hero-kicker, .hero-facts strong { color: #000; }
  .section, .section-dark, .section-concrete { background: #fff !important; color: #000 !important; padding: 18px 0; }
  .section-dark h2, .section-dark h3, .adv p, .doc p { color: #000 !important; }
  .card, .adv, .doc { border: 1px solid #ccc; }
  .acc-panel[hidden] { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; }
}