/* =========================================================================
   Огнезащита под ключ — B2B лендинг
   Дизайн-направление: инженерная надёжность, промышленная аккуратность.
   Палитра: графит + глубокий красный, светло-серые технические карточки.
   ========================================================================= */

/* ----------------------------- Design tokens ----------------------------- */
:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-2: #f4f5f7;
  --bg-3: #eceef1;
  --surface: #ffffff;
  --surface-card: #f7f8fa;
  --line: #e0e3e8;
  --line-strong: #c9cdd4;

  /* Ink */
  --ink: #14161b;
  --ink-2: #3a3f48;
  --ink-3: #6b7280;
  --ink-invert: #f6f7f9;

  /* Accent — controlled industrial red / bordeaux */
  --accent: #c0362c;
  --accent-strong: #9d241d;
  --accent-soft: #f7e4e2;
  --accent-ink: #ffffff;
  --ember: #e2571e; /* тёплый оранжево-красный, только для CTA-подсветки */

  /* Graphite / dark */
  --graphite: #191c22;
  --graphite-2: #23262e;
  --steel: #2f3b4c; /* тёмно-синий сталь */

  /* Semantic */
  --ok: #1f8a52;
  --warn: #b6791a;

  /* Typography */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", ui-monospace, Menlo, Consolas,
    monospace;

  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --text-lg: clamp(1.12rem, 1.02rem + 0.4vw, 1.28rem);
  --text-xl: clamp(1.4rem, 1.2rem + 0.7vw, 1.7rem);
  --text-2xl: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  --text-3xl: clamp(2.2rem, 1.5rem + 3vw, 3.8rem);

  /* Spacing */
  --space-section: clamp(3.5rem, 2.4rem + 4.4vw, 7rem);
  --container: 1200px;
  --container-narrow: 900px;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 14px;

  /* Motion */
  --dur-fast: 140ms;
  --dur: 260ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow-sm: 0 1px 2px rgba(20, 22, 27, 0.06),
    0 2px 6px rgba(20, 22, 27, 0.04);
  --shadow-md: 0 6px 18px rgba(20, 22, 27, 0.08),
    0 2px 6px rgba(20, 22, 27, 0.05);
  --shadow-lg: 0 20px 50px rgba(20, 22, 27, 0.16);
}

/* ------------------------------- Reset ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ------------------------------ Layout ---------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.section {
  padding-block: var(--space-section);
}
.section--tight {
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.section--dark {
  background: var(--graphite);
  color: var(--ink-invert);
}
.section--grey {
  background: var(--bg-2);
}

/* Kicker + section heading */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}
.section--dark .kicker {
  color: #ff7a6b;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem);
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 800;
  text-wrap: balance;
}
h2.section-title {
  font-size: var(--text-2xl);
}
h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lead {
  font-size: var(--text-lg);
  color: var(--ink-2);
  max-width: 68ch;
}
.section--dark .lead {
  color: #c7cbd2;
}

/* ------------------------------ Buttons --------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-ink: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  color: var(--btn-ink);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease),
    box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}
.btn--ember {
  --btn-bg: linear-gradient(135deg, var(--ember) 0%, var(--accent) 100%);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--bg-2);
}
.section--dark .btn--ghost {
  --btn-ink: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.section--dark .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.btn--lg {
  padding: 1.1rem 2rem;
  font-size: var(--text-base);
}
.btn--block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ------------------------------ Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nav {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav a {
  color: var(--ink-2);
  transition: color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav a:hover {
  color: var(--accent);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.header-phone {
  font-weight: 700;
  white-space: nowrap;
}
.header-phone small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle span::before {
  position: absolute;
  top: -6px;
}
.nav-toggle span::after {
  position: absolute;
  top: 6px;
}
body.nav-open .nav-toggle span {
  background: transparent;
}
body.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hazard stripe motif */
.hazard {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--graphite) 0 14px,
    var(--accent) 14px 28px
  );
}

/* ------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.hero::before {
  /* blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 22, 27, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 22, 27, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(
    ellipse 90% 70% at 70% 30%,
    #000 30%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 90% 70% at 70% 30%,
    #000 30%,
    transparent 80%
  );
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.hero h1 {
  font-size: var(--text-3xl);
  margin-bottom: 1.2rem;
}
.hero .lead {
  margin-bottom: 1.6rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin-bottom: 1.8rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}
.hero-note {
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: var(--ink-3);
  max-width: 52ch;
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
}
.hero-cta {
  margin-bottom: 0.5rem;
}

/* Hero visual — сконструированный инженерный коллаж (SVG/CSS, без стоковых фото) */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--graphite) 0%, var(--steel) 130%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.hero-visual__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-visual__label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}
.hero-visual__stripe {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.35) 0 12px,
    var(--accent) 12px 24px
  );
  opacity: 0.9;
}
.hero-visual svg.beam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Floating spec card over the visual */
.spec-card {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 66px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.5rem;
}
.spec-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--text-sm);
}
.spec-card__row + .spec-card__row {
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}
.spec-card__k {
  color: var(--ink-3);
}
.spec-card__v {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  flex: none;
}

/* Trust strip under hero */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.trust-item {
  background: var(--surface);
  padding: 1.25rem 1.4rem;
}
.trust-item b {
  display: block;
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.trust-item span {
  font-size: var(--text-sm);
  color: var(--ink-3);
}

/* ------------------------------ Cards grid ------------------------------ */
.grid {
  display: grid;
  gap: 1rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.card__icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--ink-2);
  font-size: var(--text-sm);
}

/* Problem cards — numbered, editorial */
.problem-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.35rem 1.3rem;
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.problem-card__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 700;
}
.problem-card p {
  margin-top: 0.35rem;
  color: var(--ink);
  font-weight: 500;
}

/* Services — larger cards with index */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card__idx {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--line-strong);
  font-weight: 700;
}

/* Objects — bento/tag grid */
.object-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.object-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.object-tag:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.object-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.section--dark .object-tag {
  background: var(--graphite-2);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e7e9ee;
}
.section--dark .object-tag:hover {
  background: rgba(192, 54, 44, 0.18);
  border-color: var(--accent);
}

.zones-panel {
  margin-top: 2rem;
  background: var(--graphite);
  color: var(--ink-invert);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.zones-panel h3 {
  font-size: var(--text-xl);
  margin-bottom: 1.25rem;
}
.zones-panel .object-grid .object-tag {
  background: var(--graphite-2);
  border-color: rgba(255, 255, 255, 0.14);
  color: #eef0f4;
}
.zones-panel .object-grid .object-tag:hover {
  background: rgba(192, 54, 44, 0.22);
  border-color: var(--accent);
}

/* Documents list */
.docs-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
.doc-list {
  display: grid;
  gap: 0.65rem;
}
.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.doc-item .tick {
  margin-top: 2px;
}
.doc-item span {
  font-weight: 500;
}
.doc-aside {
  position: sticky;
  top: 90px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.doc-mock {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 1.1rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}
.doc-mock::after {
  content: "АКТ";
  position: absolute;
  right: -18px;
  top: 18px;
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 24px;
}
.doc-mock__line {
  height: 8px;
  border-radius: 3px;
  background: var(--bg-3);
}
.doc-mock__line.short {
  width: 55%;
}
.doc-mock__line.head {
  height: 14px;
  width: 70%;
  background: var(--graphite);
}
.doc-mock__stamp {
  margin-top: auto;
  width: 62px;
  height: 62px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}

/* Process / steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--surface);
  padding: 1.6rem 1.4rem;
  position: relative;
  transition: background var(--dur) var(--ease);
}
.step:hover {
  background: var(--bg-2);
}
.step__num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.step__num small {
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.step h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.4rem;
}
.step p {
  font-size: var(--text-sm);
  color: var(--ink-2);
}

/* Benefits pills */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 2rem;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
}
.benefit .tick {
  flex: none;
}

/* Compare (заранее vs срочно) */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.compare__col {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--line);
}
.compare__col.good {
  background: #f2f8f4;
  border-color: #cfe6d8;
}
.compare__col.bad {
  background: #fbf1ef;
  border-color: #f0d3ce;
}
.compare__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}
.compare__col.good .compare__tag {
  color: var(--ok);
}
.compare__col.bad .compare__tag {
  color: var(--accent);
}
.compare__col ul {
  display: grid;
  gap: 0.55rem;
}
.compare__col li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: var(--text-sm);
}
.compare__col li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0.55em;
  flex: none;
}
.compare__col.good li::before {
  background: var(--ok);
}
.compare__col.bad li::before {
  background: var(--accent);
}

/* License block */
.license-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
.license-card {
  background: var(--graphite-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.license-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.license-card__head svg {
  width: 30px;
  height: 30px;
  color: #ff7a6b;
}
.placeholder-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.slot {
  aspect-ratio: 1 / 1.15;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  gap: 0.35rem;
}
.slot svg {
  width: 22px;
  height: 22px;
  opacity: 0.6;
}
.license-facts {
  display: grid;
  gap: 0.9rem;
}
.license-fact {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.license-fact svg {
  width: 22px;
  height: 22px;
  color: #ff7a6b;
  flex: none;
  margin-top: 2px;
}
.data-tbd {
  color: #ffb3aa;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* Cases */
.case-card h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.case-card h3 .q {
  color: var(--accent);
  font-family: var(--font-mono);
  flex: none;
}

/* Split CTA (УК/бюджет + генподряд) */
.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.split-cta__card {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.split-cta__card.a {
  background: linear-gradient(145deg, var(--steel), var(--graphite));
}
.split-cta__card.b {
  background: linear-gradient(145deg, var(--accent-strong), var(--accent));
}
.split-cta__card h3 {
  font-size: var(--text-xl);
}
.split-cta__card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  flex: 1;
}
.split-cta__card .btn {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
}

/* ------------------------------- Quiz ----------------------------------- */
.quiz {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quiz__bar {
  height: 5px;
  background: var(--bg-3);
}
.quiz__bar span {
  display: block;
  height: 100%;
  width: 14%;
  background: linear-gradient(90deg, var(--ember), var(--accent));
  transition: width var(--dur) var(--ease);
}
.quiz__body {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.quiz__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}
.quiz__step {
  display: none;
  animation: fade 0.35s var(--ease);
}
.quiz__step.active {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quiz__step.active {
    animation: none;
  }
}
.quiz__q {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.quiz__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
  text-align: left;
}
.quiz-opt:hover {
  border-color: var(--accent);
}
.quiz-opt.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.quiz-opt .box {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}
.quiz-opt.selected .box {
  background: var(--accent);
  border-color: var(--accent);
}
.quiz__field {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.quiz__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.quiz__done {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.quiz__done.active {
  display: block;
}

/* ------------------------------- Form ----------------------------------- */
.form-section {
  background: var(--graphite);
  color: var(--ink-invert);
}
.form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: start;
}
.form-aside h2 {
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}
.form-aside p {
  color: #c7cbd2;
  margin-bottom: 1.5rem;
}
.form-aside .contact-list {
  display: grid;
  gap: 0.8rem;
}
.form-aside .contact-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #fff;
}
.form-aside .contact-list svg {
  width: 22px;
  height: 22px;
  color: #ff7a6b;
  flex: none;
}
.reassure {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: #c7cbd2;
}
.reassure div {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.reassure .tick {
  flex: none;
  margin-top: 2px;
}

.lead-form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
}
.field .req {
  color: var(--accent);
}
.field input,
.field select,
.field textarea {
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
.field textarea {
  resize: vertical;
  min-height: 92px;
}
.field--error input,
.field--error select {
  border-color: var(--accent);
}
.field__err {
  display: none;
  font-size: var(--text-xs);
  color: var(--accent);
}
.field--error .field__err {
  display: block;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.file-drop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink-2);
  font-size: var(--text-sm);
  transition: border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}
.file-drop:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.file-drop svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
}
.file-drop input {
  display: none;
}
.presc-wrap {
  display: none;
  margin-top: -0.4rem;
}
.presc-wrap.active {
  display: block;
}
.checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: var(--text-xs);
  color: var(--ink-3);
  margin: 0.5rem 0 1.2rem;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--accent);
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.active {
  display: block;
}
.form-success .tick {
  width: 56px;
  height: 56px;
  font-size: 26px;
  margin: 0 auto 1rem;
}
.form-success h3 {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
}

/* ------------------------------ Footer ---------------------------------- */
.site-footer {
  background: var(--graphite);
  color: #aeb4bf;
  padding-block: 3rem 2rem;
  border-top: 4px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: #fff;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid a {
  display: block;
  padding: 0.25rem 0;
  color: #aeb4bf;
  font-size: var(--text-sm);
  transition: color var(--dur-fast) var(--ease);
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #7f8794;
}
.footer-disclaimer {
  max-width: 70ch;
  line-height: 1.5;
}

/* ------------------------ Floating / sticky CTA ------------------------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 70;
  display: grid;
  gap: 0.6rem;
}
.fab a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease);
}
.fab a:hover {
  transform: scale(1.08);
}
.fab a svg {
  width: 26px;
  height: 26px;
}
.fab .wa {
  background: #25d366;
}
.fab .tg {
  background: #2aabee;
}
.fab .call {
  background: var(--accent);
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(20, 22, 27, 0.08);
  transform: translateY(120%);
  transition: transform var(--dur) var(--ease);
  padding: 0.6rem 0;
}
.sticky-cta.show {
  transform: none;
}
.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sticky-cta__text {
  font-size: var(--text-sm);
  font-weight: 600;
}
.sticky-cta__text small {
  display: block;
  font-weight: 400;
  color: var(--ink-3);
}
.sticky-cta .btn {
  margin-left: auto;
}

/* ================ Виды обработки — editorial photo-rows ================= */
.treatments {
  display: grid;
  gap: clamp(2.25rem, 1.5rem + 2.5vw, 4rem);
}
.treatment {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
.treatment--flip .treatment__media {
  order: 2;
}
/* Крупный слот под фотографию */
.photo-slot {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--line-strong);
  background: var(--bg-2)
    linear-gradient(rgba(20, 22, 27, 0.03) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(20, 22, 27, 0.03) 1px, transparent 1px) 0 0 /
      24px 24px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  overflow: hidden;
}
.photo-slot__inner {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  max-width: 32ch;
}
.photo-slot svg {
  width: 34px;
  height: 34px;
  color: var(--ink-3);
  opacity: 0.75;
}
.photo-slot b {
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.photo-slot span {
  font-size: var(--text-xs);
  color: var(--ink-3);
  line-height: 1.4;
}
.photo-slot__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 3px;
}
/* Когда заменят на реальное фото: <img class="photo-slot__img"> */
.photo-slot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatment__num {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.treatment__num::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.treatment h3 {
  font-size: var(--text-xl);
  margin-bottom: 0.6rem;
}
.treatment__lead {
  color: var(--ink-2);
  font-size: var(--text-base);
  margin-bottom: 1.1rem;
}
/* Спец-таблица параметров обработки */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.spec {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
}
.spec b {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.2rem;
}
.spec span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}
.spec--wide {
  grid-column: 1 / -1;
}
/* Чек-лист «что входит» */
.checklist {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.checklist li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.checklist li .tick {
  flex: none;
  margin-top: 1px;
  width: 16px;
  height: 16px;
  font-size: 10px;
}

/* Плашка «методы огнезащиты» перед строками */
.methods-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.method-chip {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
}
.method-chip h4 {
  font-size: var(--text-base);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.method-chip h4 svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: none;
}
.method-chip p {
  font-size: var(--text-sm);
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .treatment {
    grid-template-columns: 1fr;
  }
  .treatment--flip .treatment__media {
    order: 0;
  }
  .methods-legend {
    grid-template-columns: 1fr;
  }
}

/* --------------------------- Prescription block ------------------------- */
.presc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
.presc-steps {
  display: grid;
  gap: 0.6rem;
}
.presc-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: var(--text-sm);
}
.presc-steps li::before {
  content: "→";
  color: var(--accent);
  font-weight: 800;
  flex: none;
}
.honesty {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--ink-3);
  background: var(--bg-2);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

/* --------------------------- Client segments ---------------------------- */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.segment-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.segment-card h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.5rem;
}
.segment-card p {
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.segment-card--cta {
  background: linear-gradient(150deg, var(--steel), var(--graphite));
  border-color: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.segment-card--cta p {
  color: rgba(255, 255, 255, 0.85);
}
.segment-card--cta .btn {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
}

/* -------------------------------- FAQ ---------------------------------- */
.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 860px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item.open {
  border-color: var(--line-strong);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.15rem 1.3rem;
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}
.faq-q .chev {
  margin-left: auto;
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--accent);
  transition: transform var(--dur) var(--ease);
}
.faq-item.open .chev {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.faq-item.open .faq-a {
  max-height: 320px;
}
.faq-a p {
  padding: 0 1.3rem 1.25rem;
  color: var(--ink-2);
  font-size: var(--text-sm);
}
@media (prefers-reduced-motion: reduce) {
  .faq-a {
    transition: none;
  }
}

/* ----------------------------- Final CTA band --------------------------- */
.final-cta {
  position: relative;
  background: linear-gradient(150deg, var(--accent-strong) 0%, var(--accent) 55%, var(--ember) 130%);
  color: #fff;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000, transparent 70%);
}
.final-cta__inner {
  position: relative;
  max-width: 820px;
}
.final-cta h2 {
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}
.final-cta p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.8rem;
  max-width: 60ch;
}
.final-cta .btn--primary {
  --btn-bg: #fff;
  --btn-ink: var(--accent-strong);
}
.final-cta .btn--ghost {
  --btn-ink: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.final-cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.final-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 2rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
}
.final-contacts a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .segment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .presc-block {
    grid-template-columns: 1fr;
  }
}

/* ------------------------ Scroll reveal utility ------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1080px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .nav,
  .header-phone small {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }
  .header-cta .btn {
    display: none;
  }
  body.nav-open .nav {
    display: flex;
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-base);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 460px;
    order: -1;
  }
  .trust-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .docs-layout,
  .license-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }
  .doc-aside {
    position: static;
  }
  .license-layout .license-facts {
    order: -1;
  }
}
@media (max-width: 720px) {
  .grid-2,
  .grid-3,
  .steps,
  .benefit-grid,
  .compare,
  .split-cta,
  .segment-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .placeholder-slots {
    grid-template-columns: repeat(3, 1fr);
  }
  .fab {
    bottom: 88px;
  }
  .fab a {
    width: 48px;
    height: 48px;
  }
  .section {
    padding-block: clamp(2.75rem, 2rem + 4vw, 4rem);
  }
  .spec-card {
    right: 58px;
  }
}
@media (max-width: 420px) {
  .container {
    width: min(100% - 1.75rem, var(--container));
  }
  .sticky-cta__text small {
    display: none;
  }
}

/* ---- Фото в героe (замена SVG-коллажа) ---- */
.hero-visual__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 22, 27, 0.1) 0%,
    rgba(20, 22, 27, 0.5) 100%
  );
  z-index: 1;
}
.hero-visual .hero-visual__label,
.hero-visual .hero-visual__stripe,
.hero-visual .spec-card {
  z-index: 2;
}
