:root {
  --bg: #f3f6f9;
  --paper: #ffffff;
  --ink: #1a2129;
  --muted: #5c6874;
  --graphite: #242b33;
  --graphite-2: #171d24;
  --steel: #7e8c9b;
  --line: #e2e8ef;
  --accent: #2f6fed;
  --accent-2: #1d4ed8;
  --accent-soft: #e7f0ff;
  --wa: #0f8f78;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(23, 29, 36, 0.07);
  --max: 1140px;
  --header: 74px;
  --font: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); }
button, input, textarea { font: inherit; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 100;
}
.skip:focus { top: 12px; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 168px; }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 14px; letter-spacing: .04em; }
.logo-text span { font-size: 11px; color: var(--muted); font-weight: 600; }
.nav-toggle {
  margin-left: auto; display: none; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; min-height: 42px; padding: 0 14px; font-weight: 700; cursor: pointer;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; justify-content: flex-end; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13.5px;
  padding: 8px 7px; border-radius: 9px; white-space: nowrap;
}
.site-nav a:hover { background: var(--bg); }
.site-nav a[aria-current="page"] { color: var(--accent-2); background: var(--accent-soft); }
.header-phone {
  text-decoration: none; color: var(--ink); font-weight: 800; font-size: 14px; white-space: nowrap;
}
 .header-wa { display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--wa); flex: none;
}
.header-wa svg { width: 18px; height: 18px; }
.hero { padding: 34px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2);
  font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px;
}
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 14px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 999px; font-weight: 800;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #d5dde6; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.05); }
.trust { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.trust li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--graphite);
}
.hero-figure { margin: 0; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-figure img { width: 100%; aspect-ratio: 1200/780; object-fit: cover; }
.hero-figure figcaption { padding: 10px 14px 14px; color: var(--muted); font-size: 13px; }
.crumbs{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:16px 0 4px;margin:0 auto;font-size:13px;color:var(--muted);width:min(var(--max),calc(100% - 32px))}
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 700; }
.crumbs a:hover { color: var(--accent-2); }
section { padding: 22px 0; }
.section-head { margin-bottom: 16px; }
.section-head h2, .prose h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; margin: 0 0 8px; line-height: 1.2; }
.section-head p, .prose p { color: #52606c; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card, .step, .price-card, .faq, .note, .split, .table-wrap {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card { padding: 18px 18px 16px; }
.card h3, .step h3 { margin: 8px 0; font-size: 18px; }
.card p, .step p { margin: 0; color: var(--muted); }
.card a.more { display: inline-block; margin-top: 10px; font-weight: 800; text-decoration: none; }
.icon-dot { width: 36px; height: 36px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 16px; }
.step b { color: var(--accent); font-size: 13px; letter-spacing: .06em; }
.prose { font-size: 16.5px; }
.prose h2 { margin-top: 28px; }
.prose h3 { margin: 18px 0 6px; font-size: 20px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 18px; color: #3e4b57; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }
.note { padding: 14px 16px; background: #f7f9fc; margin: 12px 0 16px; }
.note strong { display: block; margin-bottom: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); background: #f7f9fb; }
.table-wrap { overflow-x: auto; }
.price { font-weight: 800; white-space: nowrap; color: var(--graphite); }
.faq { padding: 0 16px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.faq[open] summary:after { content: "–"; }
.faq p { margin: 0 0 14px; color: var(--muted); }
.related { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 8px 0 0; list-style: none; }
.related a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 800; color: var(--ink); }
.related a:hover { border-color: var(--accent); color: var(--accent-2); }
.site-footer { background: var(--graphite-2); color: #d5dde6; margin-top: 28px; padding: 36px 0 20px; }
.footer-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; margin: 0 0 8px; font-size: 28px; letter-spacing: -.03em; }
.fine { color: #9aa6b2; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 0; margin: 14px 0; list-style: none; }
.footer-links a { text-decoration: none; font-weight: 700; }
.form { display: grid; gap: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 4px; color: #e8eef5; }
input, textarea {
  width: 100%; border: 1px solid #3a4450; background: #10151b; color: #fff;
  border-radius: 12px; padding: 12px 12px; min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #b7c2cd; }
.consent input { width: 18px; height: 18px; min-height: 18px; margin-top: 2px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #2e3741; margin-top: 22px; padding-top: 14px; }
.thanks { min-height: 70vh; display: grid; place-items: center; padding: 40px 16px; }
.thanks-card { max-width: 560px; background: #fff; border-radius: 24px; padding: 28px; border: 1px solid var(--line); }
@media (max-width: 980px) {
  .hero-grid, .grid-3, .steps, .footer-grid, .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: calc(var(--header) - 6px);
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px;
    flex-direction: column; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .header-phone span { display: none; }
  .header-inner { position: relative; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
input::placeholder, textarea::placeholder { color: #8b97a3; }
@media (max-width: 980px) {
  .header-phone::before { content: "Звонок"; font-weight: 800; }
}
@media (min-width: 981px) and (max-width: 1240px) {
  .site-nav a { font-size: 12px; padding: 6px 4px; }
  .logo { min-width: 0; }
}

/* long-form figures */
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3, .prose > .faq, .prose > .note, .prose > .toc {
  max-width: 78ch;
}
.prose h2 { margin-top: 36px; }
.prose h3 { margin-top: 22px; }
.shot {
  margin: 8px 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; aspect-ratio: 1200 / 780; object-fit: cover; background: #e8eef3; }
.shot figcaption { padding: 10px 14px 14px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 16px;
  align-items: stretch;
  margin: 16px 0 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: none;
}
.split.flip { grid-template-columns: .92fr 1.08fr; }
.split-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 20px 12px;
  box-shadow: var(--shadow);
}
.split-copy h2, .split-copy h3, .split-copy p, .split-copy ul { max-width: none; }
.split .shot, .gallery .shot { margin: 0; height: 100%; }
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0 18px;
  max-width: none;
}
.gallery.g3 { grid-template-columns: 1fr 1fr 1fr; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 16px; max-width: none; }
.callband {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  align-items: center;
  background: var(--graphite-2);
  color: #e7eef6;
  border-radius: 22px;
  padding: 8px 8px 8px 22px;
  margin: 18px 0;
  max-width: none;
}
.callband h2, .callband h3, .callband p { color: #fff; max-width: none; }
.callband p { color: #c5d0db; }
.callband .shot { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 8px 0 0; list-style: none; max-width: none; }
.toc a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: 13.5px; color: var(--ink); }
.toc a:hover { border-color: var(--accent); color: var(--accent-2); }
.sticky-cta { display: none; }
@media (max-width: 980px) {
  .split, .split.flip, .gallery, .gallery.g3, .cmp, .callband { grid-template-columns: 1fr; }
  .callband { padding: 16px; }
  .sticky-cta {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 45;
    gap: 8px;
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  }
  .sticky-cta .btn { flex: 1; min-height: 44px; padding: 0 8px; font-size: 14px; }
}

.crumbs{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 auto;padding:16px 20px 4px;width:min(1180px,calc(100% - 32px));position:relative;z-index:1;font-size:14px;color:#5c6770}
.crumbs li{margin:0}
nav[aria-label="Хлебные крошки"]{background:#f4f7fb;border-bottom:1px solid #e6ebf1}

.btn-wa,.header-wa,a[href*="wa.me"],a[href*="whatsapp"]{display:none!important}

.header-wa,.btn-wa{display:none!important}
