/* PCS · Pest Control Service — стили лендинга
   Сборка: Site Factory · AVE Design Studio (avedirect.ru) */

:root {
  --ink: #111820;          /* стальной графит */
  --ink-2: #1A232D;        /* карточки на тёмном */
  --ink-3: #243040;
  --bg: #EEF2F3;           /* фарфор */
  --white: #FFFFFF;
  --blue: #2F5BFF;         /* пищевой синий */
  --blue-h: #234BE6;
  --blue-soft: #E6ECFF;
  --amber: #F4A21B;        /* капля геля */
  --text: #111820;
  --muted: #56616D;
  --muted-d: rgba(255,255,255,.78);
  --line: #DCE2E7;
  --line-d: rgba(255,255,255,.14);
  --red: #E5383B;
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 18px 50px -24px rgba(17,24,32,.28);
  --shadow-s: 0 8px 24px -14px rgba(17,24,32,.25);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
  --sec: clamp(64px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

.wrap { max-width: 1400px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
@media (min-width: 1800px) { .wrap { max-width: 1620px; } }
@media (min-width: 2400px) { .wrap { max-width: 1920px; } }

.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.fill { fill: currentColor; stroke: none; }

/* ---------- секции ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec-light { background-color: var(--bg);
  background-image: linear-gradient(rgba(17,24,32,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,24,32,.035) 1px, transparent 1px);
  background-size: 88px 88px; }
.sec-white { background: var(--white); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-head { max-width: 980px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(244,162,27,.18); }
.sec-dark .eyebrow { color: #9DB2FF; }
.h2 { font-size: clamp(30px, 3.4vw, 54px); }
.lead { font-size: clamp(17px, 1.25vw, 20px); color: var(--muted); margin-top: 18px; max-width: 860px; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-dark .lead, .sec-dark .muted { color: var(--muted-d); }
.muted { color: var(--muted); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 16px 30px; border-radius: 16px; border: 2px solid var(--blue); background: var(--blue); color: #fff; font-weight: 700; font-size: 17px; line-height: 1.25; text-decoration: none; text-align: center; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; box-shadow: 0 12px 30px -12px rgba(47,91,255,.6); }
.btn:hover { background: var(--blue-h); border-color: var(--blue-h); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 22px; height: 22px; transition: transform .2s; }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-lg { min-height: 68px; padding: 18px 34px; font-size: 18px; }
.btn-sm { min-height: 48px; padding: 10px 20px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--blue); box-shadow: none; }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue); }
.sec-dark .btn-outline, .btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,.7); }
.sec-dark .btn-outline:hover, .btn-outline.on-dark:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: var(--blue); box-shadow: none; }
.btn-white:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; font-weight: 600; }
.link:hover { text-decoration-thickness: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 36px; }
.cta-row.center { justify-content: center; }
.cta-note { font-size: 15px; color: var(--muted); margin-top: 12px; }
.sec-dark .cta-note { color: var(--muted-d); }

.icon-box { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.icon-box .ico { width: 26px; height: 26px; }
.icon-box.lg { width: 72px; height: 72px; border-radius: 20px; }
.icon-box.lg .ico { width: 32px; height: 32px; }

/* ---------- логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.logo-mark { width: 46px; height: 46px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 31px; font-weight: 800; letter-spacing: -.03em; }
.logo-text small { font-size: 10.5px; font-weight: 600; margin-top: 4px; letter-spacing: .01em; white-space: nowrap; }

/* ---------- шапка ---------- */
.hd { position: absolute; z-index: 40; top: 0; left: 0; right: 0; color: #fff; }
.hd-row, .hd-nav { max-width: 1400px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.hd-row { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 34px); padding-top: 18px; padding-bottom: 16px; }
.hd .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(244,162,27,.22); flex: none; }
.hd-desc { font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.85); max-width: 230px; }
.hd-desc b { color: #fff; font-weight: 800; display: block; }
.hd-text { display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.82); max-width: 230px; }
.hd-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 26px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.75); background: rgba(17,24,32,.25); color: #fff; font: 700 15.5px var(--font); white-space: nowrap; transition: background .2s, border-color .2s; margin-left: auto; }
.hd-cta .ico { color: var(--amber); }
.hd-cta:hover { background: var(--blue); border-color: var(--blue); }
.hd-msg { display: grid; gap: 8px; justify-items: center; }
.hd-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.25; color: rgba(255,255,255,.88); white-space: nowrap; }
.msg-icons { display: flex; gap: 8px; }
.msg-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; text-decoration: none; transition: transform .2s; }
.msg-ico:hover { transform: translateY(-2px); }
.msg-ico .ico { width: 22px; height: 22px; }
.msg-ico.tg { background: #27A7E7; }
.msg-ico.wa { background: #25D366; }
.msg-ico.max { background: linear-gradient(135deg, #44CCFF, #5533EE 55%, #9933DD); }
.hd-call-box { display: grid; justify-items: end; gap: 2px; }
.hd-phone { font-size: 27px; font-weight: 800; text-decoration: none; white-space: nowrap; letter-spacing: -.01em; line-height: 1.15; }
.hd-order { border: 0; background: none; padding: 2px 0; color: var(--amber); font: 700 14px var(--font); letter-spacing: .02em; border-bottom: 1.5px dashed rgba(244,162,27,.8); cursor: pointer; }
.hd-order:hover { color: #FFC35A; }
.hd-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hd-nav::before { content: ""; }
.hd > .hd-nav { border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); padding-top: 0; padding-bottom: 0; background-clip: content-box; }
.hd-nav { position: relative; }
.hd-nav a { font-size: 15.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; white-space: nowrap; padding: 17px 0; position: relative; opacity: .95; }
.hd-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--amber); transition: right .25s; }
.hd-nav a:hover { opacity: 1; }
.hd-nav a:hover::after { right: 0; }
.hd-nav .hd-home { color: var(--amber); display: grid; place-items: center; padding: 14px 0; }
.hd-nav .hd-home::after { display: none; }
.hd-nav::before { display: none; }
.burger { display: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); place-items: center; flex: none; box-shadow: var(--shadow-s); }
.burger .ico { width: 28px; height: 28px; stroke-width: 2.4; }
/* линии меню на всю ширину ряда, а не до полей */
.hd > .hd-nav { border: 0; }
.hd > .hd-nav::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); pointer-events: none; }

/* липкая белая шапка */
.hd-sticky { position: fixed; z-index: 45; top: 0; left: 0; right: 0; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -14px rgba(17,24,32,.35); transform: translateY(-110%); transition: transform .3s; }
.hd-sticky.show { transform: none; }
.hd-sticky-in { max-width: 1400px; margin: 0 auto; padding: 10px var(--pad); display: flex; align-items: center; gap: 22px; color: var(--text); }
.hd-sticky .logo-mark { width: 38px; height: 38px; }
.hd-sticky .logo-text b { font-size: 25px; }
.hd-snav { display: flex; gap: 20px; margin-left: auto; }
.hd-snav a { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.hd-snav a:hover { color: var(--blue); }
.hd-sticky .msg-ico { width: 38px; height: 38px; border-radius: 10px; }
.hd-sphone { font-size: 20px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.hd-sticky .burger { width: 46px; height: 46px; background: var(--blue-soft); box-shadow: none; }

.hd-sticky .btn { white-space: nowrap; flex: none; }
@media (min-width: 1800px) { .hd-row, .hd-nav, .hd-sticky-in { max-width: 1620px; } }
@media (min-width: 2400px) { .hd-row, .hd-nav, .hd-sticky-in { max-width: 1920px; } }
@media (max-width: 1760px) { .hd-text { display: none; } }
@media (max-width: 1600px) { .hd-snav { display: none; } .hd-sticky .msg-icons { margin-left: auto; } .hd-nav a { font-size: 14px; letter-spacing: .02em; } }
@media (max-width: 1440px) { .hd-desc { display: none; } .hd-cta { padding: 12px 18px; } }
@media (max-width: 1280px) { .hd-nav { display: none; } .burger { display: grid; } .hd-msg .hd-note { display: none; } }
@media (max-width: 1000px) { .hd-cta, .hd-msg { display: none; } .hd-call-box { margin-left: auto; } }
@media (max-width: 760px) {
  .hd-row { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text b { font-size: 23px; }
  .logo-text small { font-size: 9px; }
  .hd-call-box { justify-items: center; margin-left: auto; }
  .hd-note { font-size: 11.5px; }
  .hd-phone { font-size: 18px; }
  .hd-order { font-size: 12px; }
  .burger { width: 50px; height: 50px; }
  .hd-sticky-in { gap: 10px; padding: 8px 14px; }
  .hd-sticky .btn, .hd-sticky .msg-icons { display: none; }
  .hd-sphone { margin-left: auto; font-size: 17px; }
}
@media (max-width: 380px) { .logo-text small { display: none; } .hd-phone { font-size: 16.5px; } }
@media (max-width: 1280px) { .hero { padding-top: 130px; } .page-top { padding-top: 150px; } }
@media (max-width: 760px) { .hero { padding-top: 104px; } .page-top { padding-top: 120px; } }

/* мобильное меню */
.mnav { position: fixed; z-index: 60; inset: 0; background: rgba(17,24,32,.55); opacity: 0; visibility: hidden; transition: .25s; }
.mnav.open { opacity: 1; visibility: visible; }
.mnav-panel { position: absolute; top: 10px; right: 10px; left: 10px; max-width: 440px; margin-left: auto; background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); transform: translateY(-12px); transition: transform .25s; max-height: calc(100vh - 20px); overflow: auto; }
.mnav.open .mnav-panel { transform: none; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mnav-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.mnav nav a { display: block; padding: 13px 4px; font-size: 18px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav-contacts { margin-top: 18px; display: grid; gap: 12px; }
.mnav-phone { color: var(--text); font-size: 24px; font-weight: 800; text-decoration: none; }
.mnav-contacts .msg-icons { gap: 10px; }
.mnav-contacts .msg-ico { width: 44px; height: 44px; }

/* ---------- первый экран ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding: clamp(200px, 15vw, 240px) 0 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease; }
.hero-bg img.active { opacity: 1; transform: scale(1); }
.hero-ctrl { position: absolute; z-index: 4; right: max(var(--pad), calc((100vw - 1400px) / 2 + var(--pad))); bottom: 112px; display: flex; align-items: center; gap: 14px; }
.hero-arr { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: rgba(17,24,32,.35); color: #fff; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.hero-arr:hover { background: var(--blue); border-color: var(--blue); }
.hero-arr.prev .ico { transform: rotate(180deg); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.hero-dots button.active { width: 30px; background: var(--amber); }
@media (min-width: 1800px) { .hero-ctrl { right: max(var(--pad), calc((100vw - 1620px) / 2 + var(--pad))); } }
@media (max-width: 760px) { .hero-ctrl { bottom: 96px; right: 16px; gap: 10px; } .hero-arr { width: 42px; height: 42px; } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(17,24,32,.94) 0%, rgba(17,24,32,.86) 32%, rgba(17,24,32,.55) 55%, rgba(17,24,32,.2) 78%, rgba(17,24,32,.1) 100%),
  linear-gradient(0deg, rgba(17,24,32,.75) 0%, rgba(17,24,32,0) 30%); }
.hero-in { position: relative; z-index: 2; padding-bottom: clamp(120px, 11vw, 150px); }
.hero-text { max-width: 1140px; text-shadow: 0 2px 18px rgba(17,24,32,.45); }
.hero-eyebrow { font-size: clamp(16px, 1.2vw, 20px); color: rgba(255,255,255,.9); margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 4.1vw, 70px); line-height: 1.04; letter-spacing: -.03em; }
.hero-sub { font-size: clamp(17px, 1.35vw, 22px); margin-top: 24px; color: rgba(255,255,255,.88); max-width: 800px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; font-size: clamp(16px, 1.1vw, 19px); line-height: 1.45; }
.check-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; margin-top: -3px; box-shadow: 0 6px 18px -6px rgba(47,91,255,.8); }
.check-dot .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.hero-pre { margin-top: 28px; font-size: 16px; color: rgba(255,255,255,.8); max-width: 640px; }
.hero .cta-row { margin-top: 18px; }
.hero-cap { font-size: 15px; color: rgba(255,255,255,.75); margin-top: 12px; }
.hero-alt { display: inline-block; margin-top: 14px; color: #fff; font-size: 17px; }
.hero-alt:hover { color: #C9D6FF; }

.facts { position: relative; z-index: 3; margin-top: -78px; }
.facts-card { background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(3, 1fr); padding: 30px 10px; }
.fact { display: flex; gap: 20px; align-items: center; padding: 4px clamp(18px, 2.4vw, 44px); }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.fact p { color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.facts-cap { text-align: center; color: var(--muted); font-size: 15px; margin: 22px auto 0; }

/* ---------- квиз ---------- */
.quiz-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.quiz-intro .lead { font-size: 17px; }
.spec-card { display: flex; gap: 20px; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 22px; margin-top: 30px; box-shadow: var(--shadow-s); }
.spec-card img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; }
.spec-card b { font-size: 19px; display: block; }
.spec-card .role { color: var(--blue); font-size: 14px; font-weight: 700; display: block; margin-bottom: 8px; }
.spec-card p { color: var(--muted); font-size: 15.5px; }
.quiz-card { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 44px); box-shadow: var(--shadow); min-height: 560px; display: flex; flex-direction: column; }
.q-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); }
.q-top b { color: var(--blue); font-size: 20px; }
.q-bar { height: 10px; background: var(--blue-soft); border-radius: 10px; margin: 10px 0 28px; overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 25%; background: var(--blue); border-radius: 10px; transition: width .4s; }
.step { display: none; animation: stepIn .35s ease; }
.step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }
.step h3 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 22px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border: 2px solid var(--line); border-radius: 18px; background: #fff; font-size: 16.5px; font-weight: 600; line-height: 1.3; transition: border-color .2s, background .2s, transform .2s; }
.opt .icon-box { width: 48px; height: 48px; border-radius: 14px; }
.opt:hover { border-color: #AFC0FF; transform: translateY(-1px); }
.opt.selected { border-color: var(--blue); background: #F5F7FF; }
.opt.selected .icon-box { background: var(--blue); color: #fff; }
.opt.has-img { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; text-align: center; }
.opt.has-img > span:last-child { padding: 12px 12px 14px; }
.opt-img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.opt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.opt.has-img:hover .opt-img img { transform: scale(1.04); }
.opts:has(.has-img) { grid-template-columns: repeat(3, 1fr); }
.step[data-step="2"] .opts:has(.has-img), .step[data-step="3"] .opts:has(.has-img), .step[data-step="4"] .opts:has(.has-img) { grid-template-columns: repeat(2, 1fr); }
.opt.has-img > span:last-child { font-size: 15.5px; line-height: 1.3; min-height: 56px; display: grid; place-items: center; }
.opt.has-img .opt-img { aspect-ratio: 16/10; }
.step[data-step="1"] .opt-img { aspect-ratio: 4/3; }
.opt.has-img.selected { box-shadow: 0 0 0 3px var(--blue); }
.opt.has-img.selected .opt-img::after { content: ""; position: absolute; }
@media (max-width: 760px) { .opts:has(.has-img), .step .opts:has(.has-img) { grid-template-columns: 1fr 1fr !important; gap: 10px; } .opt.has-img > span:last-child { font-size: 14px; min-height: 48px; padding: 8px; } }
.q-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; }
.q-nav .btn { min-width: 150px; }
.q-hint { font-size: 14px; color: var(--muted); margin-top: 16px; }
.answers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.answers span { background: var(--blue-soft); color: #1C3AB8; border-radius: 12px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.answers button { border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; padding: 8px 4px; }
.step-final h3 { margin-bottom: 12px; }
.step-final > p { color: var(--muted); margin-bottom: 22px; }

/* ---------- формы ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 56px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 16.5px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A949E; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,91,255,.12); }
.field .hint { font-size: 13.5px; color: var(--muted); }
.field.err input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229,56,59,.1); }
.field .err-msg { display: none; font-size: 13.5px; color: var(--red); font-weight: 600; }
.field.err .err-msg { display: block; }
.field.err .hint { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #B7C1CB; background: #fff; flex: none; margin: 0; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.consent input:checked { background: var(--blue); border-color: var(--blue); }
.consent input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.consent input:focus-visible { box-shadow: 0 0 0 4px rgba(47,91,255,.2); }
.consent a { color: var(--blue); }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-error { display: none; background: #FFF1F1; color: #B42318; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; }
.form-error.show { display: block; }
.form .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.sec-dark .consent { color: var(--muted-d); }
.sec-dark .consent a { color: #AFC0FF; }
.sec-dark .talk-form .consent { color: var(--muted); }
.sec-dark .talk-form .consent a { color: var(--blue); }
.sec-light + .sec-light { padding-top: 0; }

/* ---------- кейсы ---------- */
.cases-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 28px; }
.case-list { display: grid; gap: 16px; align-content: start; }
.case-item { display: flex; gap: 18px; align-items: center; padding: 14px; border-radius: 22px; background: var(--ink-2); border: 2px solid var(--line-d); color: #fff; text-align: left; transition: border-color .2s; }
.case-item.active, .case-item:hover { border-color: var(--blue); }
.case-item img { width: 150px; height: 112px; border-radius: 14px; object-fit: cover; flex: none; }
.case-item b { font-size: 17px; line-height: 1.3; }
.case-item span { display: block; color: var(--muted-d); font-size: 14px; margin-top: 6px; }
.case-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 24px; }
.case-main { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: 18px; }
.case-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.case-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; }
.case-thumbs button.active { border-color: var(--blue); }
.case-thumbs img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.case-card h3 { font-size: clamp(22px, 2vw, 30px); margin: 22px 0 16px; }
.case-specs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.case-specs div { padding: 0 14px; }
.case-specs div + div { border-left: 1px solid var(--line); }
.case-specs span { display: block; color: var(--muted); font-size: 14px; }
.case-specs b { font-size: 16px; }
.case-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 18px; }
.case-cols h4 { font-size: 17px; margin-bottom: 8px; }
.case-cols p { font-size: 15px; color: var(--muted); }

/* ---------- до / после ---------- */
.compare { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/6.2; user-select: none; touch-action: pan-y; background: var(--ink); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .c-after { clip-path: inset(0 0 0 50%); }
.c-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: var(--blue); }
.c-handle { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-s); border: 0; cursor: ew-resize; }
.c-tag { position: absolute; top: 24px; padding: 10px 18px; border-radius: 14px; font-weight: 700; font-size: 16px; color: #fff; }
.c-tag.before { left: 24px; background: rgba(17,24,32,.75); }
.c-tag.after { right: 24px; background: var(--blue); }
.ba-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.ba-note { display: flex; gap: 20px; background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-s); }
.ba-note b { font-size: 19px; display: block; margin-bottom: 6px; }
.ba-note p { color: var(--muted); font-size: 15.5px; }
.ba-cap { text-align: center; color: var(--muted); font-size: 15px; margin-top: 22px; }

/* ---------- лист наблюдений ---------- */
.sheet-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.sheet-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px); box-shadow: var(--shadow); margin-top: 32px; }
.sheet-card-h { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; }
.sheet-card-h h3 { font-size: clamp(22px, 1.9vw, 28px); }
.sheet-card > p { color: var(--muted); }
.sheet-card h4 { font-size: 19px; margin: 24px 0 14px; }
.sheet-card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list-check li { display: flex; gap: 14px; align-items: flex-start; }
.list-check .check-dot { width: 30px; height: 30px; margin-top: -2px; }
.sheet-visual { position: relative; padding-bottom: 80px; }
.sheet-visual > img { width: 86%; border-radius: var(--r-lg); aspect-ratio: 4/5; object-fit: cover; }
.sheet-paper { position: absolute; right: 0; bottom: 0; width: 62%; background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); transform: rotate(3deg); }
.sheet-paper b { font-size: 20px; display: block; margin-bottom: 12px; }
.sheet-paper table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sheet-paper th, .sheet-paper td { border: 1px solid #C8D0D8; padding: 7px 8px; text-align: left; }
.sheet-paper th { background: #F1F4F6; font-weight: 700; }
.sheet-paper td { color: #22409F; font-style: italic; font-family: 'Segoe Print', 'Comic Sans MS', cursive; }

/* ---------- стоимость ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.price-text p + p { margin-top: 18px; }
.price-text .lead { color: var(--muted-d); }
.price-text p { color: var(--muted-d); font-size: 17px; }
.discuss { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 40px); }
.discuss h3 { font-size: clamp(22px, 1.9vw, 30px); margin-bottom: 22px; }
.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.icon-list li { display: flex; gap: 18px; align-items: center; font-size: 16.5px; line-height: 1.4; }
.photo { border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--ink-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.price-bottom { text-align: center; margin-top: 44px; }
.price-bottom p { font-size: 19px; color: rgba(255,255,255,.92); }

/* ---------- отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.review-h { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.review-h .ava { width: 72px; height: 72px; border-radius: 50%; background: #C9D0D6; color: #fff; display: grid; place-items: center; flex: none; overflow: hidden; }
.review-h .ava img { width: 100%; height: 100%; object-fit: cover; }
.review-h b { font-size: 18px; display: block; }
.review-h span { color: var(--muted); font-size: 15px; }
.review .q { color: var(--blue); width: 40px; height: 40px; }
.review p { margin: 12px 0 20px; font-size: 16px; }
.review time { color: var(--muted); font-size: 14px; margin-top: auto; }
.review a { color: var(--blue); font-size: 15px; margin-top: 6px; }

/* ---------- этапы ---------- */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: st; }
.stage { background: #fff; border-radius: 24px; padding: 14px 14px 26px; box-shadow: var(--shadow-s); position: relative; }
.stage img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.stage-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 26px; margin: 18px 10px 14px; }
.stage h3 { font-size: 19px; line-height: 1.25; margin: 0 10px 10px; }
.stage p { font-size: 15px; color: var(--muted); margin: 0 10px; line-height: 1.5; }
.stage:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: calc(14px + (100% - 28px) * 0); right: -14px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(244,162,27,.2); top: 300px; display: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.faq-side { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-s); position: sticky; top: 100px; }
.faq-side h2 { font-size: clamp(28px, 2.4vw, 40px); }
.faq-side img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 20%; border-radius: 20px; margin: 24px 0 18px; }
.faq-side .btn { width: 100%; justify-content: space-between; }
.faq-phone { display: flex; align-items: center; gap: 16px; background: var(--bg); border-radius: 16px; padding: 12px 16px; margin-top: 12px; font-size: 20px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.faq-phone .icon-box { width: 44px; height: 44px; background: #fff; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-col { background: #fff; border-radius: var(--r-lg); padding: 10px 26px; box-shadow: var(--shadow-s); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; gap: 16px; align-items: center; text-align: left; background: none; border: 0; padding: 22px 0; font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.faq-q .icon-box { width: 52px; height: 52px; }
.faq-q .pm { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; margin-left: auto; transition: transform .25s; }
.faq-q .pm .ico { width: 20px; height: 20px; }
.faq-q .pm .minus { display: none; }
.faq-item.open .faq-q { color: var(--blue); }
.faq-item.open .pm .minus { display: block; }
.faq-item.open .pm .plus { display: none; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); font-size: 16px; padding: 0 0 22px 68px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- подход ---------- */
.appr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.appr-grid .photo { min-height: 520px; }
.appr-list { display: grid; gap: 14px; }
.appr-item { display: flex; gap: 22px; align-items: center; padding: 18px 22px; border-radius: 22px; border: 1px solid rgba(255,255,255,.25); transition: background .25s, color .25s, border-color .25s; }
.appr-item:hover, .appr-item.hl { background: #fff; color: var(--text); border-color: #fff; }
.appr-item:hover p, .appr-item.hl p { color: var(--muted); }
.appr-item h3 { font-size: 20px; margin-bottom: 6px; }
.appr-item p { font-size: 15.5px; color: var(--muted-d); line-height: 1.45; }
.appr-list .btn { margin-top: 8px; }

/* ---------- условия ---------- */
.cond-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.cond-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-content: start; }
.cond { background: #fff; border-radius: 22px; padding: 22px 22px 26px; box-shadow: var(--shadow-s); position: relative; }
.cond .n { position: absolute; top: 20px; left: 20px; color: var(--blue); font-weight: 800; font-size: 18px; }
.cond .icon-box { margin-left: 26px; margin-bottom: 18px; }
.cond h3 { font-size: 20px; margin-bottom: 8px; }
.cond p { color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.cond-grid .photo { min-height: 480px; }
.cond-grid .photo img, .info-grid .photo img { object-position: 50% 18%; }
.cond-left { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cond-bar { margin-top: 0; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cond-bar p { font-size: clamp(18px, 1.4vw, 23px); font-weight: 800; line-height: 1.25; max-width: 720px; letter-spacing: -.01em; }

/* ---------- выезд ---------- */
.trip-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.trip-map { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1; background: var(--ink); position: relative; }
.trip-map img { width: 100%; height: 100%; object-fit: cover; }
.trip-map .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: #fff; background: var(--blue); border-radius: 14px; padding: 10px 16px; font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: var(--shadow-s); }
.trip-cards { display: grid; gap: 20px; margin: 30px 0 32px; }
.trip-card { display: flex; gap: 24px; background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-s); }
.trip-card h3 { font-size: 23px; margin-bottom: 10px; }
.trip-card p { color: var(--muted); font-size: 16px; }

/* ---------- разговор + мессенджер ---------- */
.talk-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.talk-left .lead { color: var(--muted-d); }
.talk-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; margin-top: 30px; }
.talk-form { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 26px; }
.talk-form .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.talk-photo { border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 380px; }
.talk-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.talk-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 22px; background: linear-gradient(0deg, rgba(17,24,32,.9), rgba(17,24,32,0)); }
.talk-photo b { font-size: 24px; display: block; }
.talk-photo span { color: rgba(255,255,255,.85); font-size: 15px; }
.chat-panel { background: #E9EEFF; color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; }
.chat-panel h2 { font-size: clamp(28px, 2.6vw, 44px); }
.chat-panel > p { margin-top: 16px; font-size: 17px; color: #36414D; }
.chat-panel > p.small { font-size: 15.5px; color: var(--muted); margin-top: 12px; }
.chat-box { background: #fff; border-radius: 22px; padding: 14px; margin: 24px 0 18px; }
.chat-bg { border-radius: 16px; padding: 18px; background: #EFF3F6 radial-gradient(rgba(17,24,32,.05) 1.2px, transparent 1.3px) 0 0/16px 16px; }
.bubble { margin-left: auto; max-width: 92%; background: #DCF8C6; border-radius: 16px 16px 4px 16px; padding: 14px 16px 22px; font-size: 15.5px; line-height: 1.5; position: relative; }
.bubble time { position: absolute; right: 12px; bottom: 5px; font-size: 12px; color: #6B7B6B; }
.chat-actions { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin-top: auto; }
.chat-actions .btn { min-height: 60px; }
.btn-tg { background: #27A7E7; border-color: #27A7E7; box-shadow: none; padding: 0 18px; }
.btn-tg:hover { background: #1E92CC; border-color: #1E92CC; }
.btn-copy { background: #fff; border-color: #fff; color: var(--blue); box-shadow: none; padding: 0 18px; }
.btn-copy:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.copied-msg { font-size: 14px; color: #1C7C3A; font-weight: 600; min-height: 20px; margin-top: 8px; }

/* ---------- видео ---------- */
.video-box { position: relative; max-width: 1320px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.25); aspect-ratio: 16/9; background: #000; }
.video-box video, .video-box img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: rgba(17,24,32,.25); border: 0; color: #fff; font-weight: 700; font-size: 22px; }
.video-play i { width: 110px; height: 110px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; transition: transform .25s; }
.video-play:hover i { transform: scale(1.06); }
.video-play .ico { width: 40px; height: 40px; margin-left: 6px; }
.video-cap { text-align: center; margin-top: 18px; color: var(--muted-d); }

/* ---------- о специалисте ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.about-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1.05; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.name-card { position: absolute; left: 28px; bottom: 28px; background: #fff; border-radius: 18px; padding: 18px 26px; box-shadow: var(--shadow-s); }
.name-card b { font-size: 26px; display: block; }
.name-card span { color: var(--muted); }
.about-points { display: grid; gap: 24px; margin: 32px 0 36px; }
.about-points div { display: flex; gap: 24px; align-items: flex-start; }
.about-points p { color: #36414D; font-size: 16.5px; }

/* ---------- метод и препараты ---------- */
.service { background: #fff; border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: stretch; }
.service .photo { min-height: 420px; border-radius: 20px; }
.service-body { padding: 14px 0; }
.service-body h3 { font-size: clamp(22px, 1.9vw, 30px); margin-bottom: 12px; }
.service-body > p { color: var(--muted); font-size: 16.5px; }
.service-body h4 { font-size: 18px; margin: 20px 0 14px; }
.list-check.sm li { font-size: 16px; align-items: center; }
.list-check.sm .check-dot { width: 28px; height: 28px; margin: 0; border-radius: 8px; background: var(--blue-soft); color: var(--blue); box-shadow: none; }
.service-price { background: var(--blue-soft); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.service-price .icon-box { background: #fff; margin-bottom: 26px; }
.service-price h4 { font-size: 26px; margin-bottom: 10px; }
.service-price p { color: #36414D; margin-bottom: 26px; }
.service-price .btn { margin-top: auto; padding: 16px 20px; font-size: 16px; }
.gels-wrap { padding-top: clamp(56px, 6vw, 88px); }
.gels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gel { text-align: center; }
.gel-img { border-radius: 22px; overflow: hidden; aspect-ratio: 16/6; border: 1px solid rgba(255,255,255,.15); background: var(--ink-2); }
.gel-img img { width: 100%; height: 100%; object-fit: cover; }
.gel b { display: block; margin-top: 16px; font-size: 22px; }
.gels-note { text-align: center; color: var(--muted-d); margin-top: 32px; }


/* ---------- с кем мы работали ---------- */
.clients-sec { padding-top: clamp(48px, 6vw, 80px); }
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.client { background: #fff; border-radius: 18px; min-height: 150px; display: grid; place-items: center; padding: 30px 36px; text-align: center; box-shadow: var(--shadow-s); }
.client span { font-weight: 800; font-size: 16px; line-height: 1.25; letter-spacing: -.01em; color: #3A4652; }
.client img { max-width: 68%; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.client img.wide { max-width: 84%; max-height: 58px; }
.client img.sq { max-height: 68px; max-width: 46%; }
@media (max-width: 1100px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .clients { grid-template-columns: repeat(2, 1fr); gap: 8px; } .client { min-height: 110px; padding: 20px; } .client span { font-size: 14px; } }

/* ---------- реальные фото ---------- */
.reals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.real { margin: 0; background: #fff; border-radius: 22px; padding: 10px 10px 16px; box-shadow: var(--shadow-s); }
.real-img { display: block; width: 100%; padding: 0; border: 0; background: var(--ink); border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; }
.real-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.real-img:hover img { transform: scale(1.04); }
.real figcaption { font-size: 15px; color: #36414D; padding: 12px 6px 0; line-height: 1.4; }
.reals-note { text-align: center; color: var(--muted); margin-top: 24px; font-size: 15px; }
.zoom { position: fixed; inset: 0; z-index: 90; background: rgba(12,18,24,.92); display: grid; place-items: center; padding: 20px; }
.zoom[hidden] { display: none; }
.zoom img { max-width: min(100%, 1000px); max-height: calc(100vh - 40px); border-radius: 14px; object-fit: contain; }
.zoom .modal-x { position: fixed; top: 16px; right: 16px; }
@media (max-width: 900px) { .reals { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 560px) { .reals { grid-template-columns: 1fr; } }

/* ---------- информационный раздел ---------- */
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-grid .photo { margin-top: 32px; aspect-ratio: 4/3; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card { background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-s); }
.info-card .top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.info-card .num { font-size: 58px; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.04em; }
.info-card h3 { font-size: 21px; margin-bottom: 10px; line-height: 1.2; }
.info-card p { color: var(--muted); font-size: 15.5px; }
.info-outro { margin-top: 26px; font-size: 18px; }

/* ---------- контакты ---------- */
.contacts { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: var(--sec) 0 calc(var(--sec) * .9); }
.contacts-bg { position: absolute; inset: 0; }
.contacts-bg img { position: absolute; right: 0; top: 0; height: 100%; width: min(70%, 1400px); object-fit: cover; object-position: 15% 20%; }
.contacts-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 30%, rgba(17,24,32,.75) 46%, rgba(17,24,32,.15) 70%, rgba(17,24,32,.05) 100%); }
.contacts-in { position: relative; z-index: 2; max-width: 1000px; }
.contacts-in .h2, .contacts .lead { max-width: 820px; }
.contacts .lead { color: rgba(255,255,255,.88); }
.c-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 14px 26px; margin-top: 30px; max-width: 700px; }
.c-row { display: flex; gap: 18px; align-items: center; padding: 10px 0; font-size: 17px; text-decoration: none; }
.c-row + .c-row { border-top: 1px solid #EEF1F4; }
.c-row .icon-box { width: 44px; height: 44px; border-radius: 12px; }
.c-row .icon-box .ico { width: 22px; height: 22px; }
a.c-row:hover span { color: var(--blue); }
.c-row > span:not(.icon-box) { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.contacts .cta-row { margin-top: 24px; }

/* ---------- подвал ---------- */
.ft { background: #0C1218; color: rgba(255,255,255,.8); padding: 64px 0 28px; font-size: 15.5px; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr; gap: 40px; }
.ft .logo { color: #fff; margin-bottom: 20px; }
.ft h4 { color: #fff; font-size: 18px; margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft a { text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; font-size: 14px; color: rgba(255,255,255,.65); }
.ft-bottom a { color: rgba(255,255,255,.85); text-decoration: underline; }

/* ---------- правое меню: отдельные плитки у края экрана, закреплены при прокрутке ---------- */
.dock { position: fixed; z-index: 30; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; justify-items: end; transition: transform .35s, opacity .35s; }
.dock.closed { transform: translate(110%, -50%); opacity: 0; pointer-events: none; }
.dock-btn { width: 138px; min-height: 118px; padding: 16px 12px; border-radius: 26px 0 0 26px; background: var(--blue); border: 0; color: #fff; display: grid; place-items: center; align-content: center; gap: 10px; font: 700 15px/1.25 var(--font); text-decoration: none; text-align: center; box-shadow: -10px 12px 30px -14px rgba(17,24,32,.55); transition: background .2s, transform .2s, width .2s; }
.dock-btn .ico { width: 30px; height: 30px; color: #fff; }
.dock-btn:hover { background: var(--blue-h); transform: translateX(-6px); }
.dock-x { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; display: grid; place-items: center; margin-right: 46px; margin-bottom: 4px; box-shadow: 0 8px 20px -8px rgba(17,24,32,.6); }
.dock-x .ico { width: 20px; height: 20px; }
.dock-open { position: fixed; z-index: 30; right: 0; top: 50%; transform: translateY(-50%); width: 46px; height: 118px; border-radius: 18px 0 0 18px; border: 0; background: var(--blue); color: #fff; display: none; place-items: center; box-shadow: var(--shadow-s); }
.dock.closed + .dock-open { display: grid; }
@media (max-height: 760px) and (min-width: 901px) { .dock-btn { min-height: 92px; width: 124px; font-size: 13.5px; gap: 6px; } .dock-btn .ico { width: 24px; height: 24px; } }
@media (max-width: 900px) {
  .dock { top: auto; bottom: 0; left: 0; right: 0; transform: none; border-radius: 20px 20px 0 0; grid-template-columns: repeat(4, 1fr); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 6px; }
  .dock.closed { transform: translateY(110%); }
  .dock-btn { width: auto; height: 62px; font-size: 12px; gap: 3px; border-radius: 14px; }
  .dock-btn .ico { width: 22px; height: 22px; }
  .dock-x { top: -14px; left: auto; right: 12px; }
  .dock-open { top: auto; bottom: 90px; transform: none; height: 56px; width: 40px; }
  body { padding-bottom: 82px; }
  .cookie { bottom: 92px !important; }
}

/* нижняя панель на телефоне */
.mbar { display: none; }
@media (max-width: 900px) {
  .dock, .dock-open { display: none !important; }
  .mbar { position: fixed; z-index: 31; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -12px rgba(17,24,32,.35); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; font-size: 18px; font-weight: 700; text-decoration: none; }
  .mbar .ico { width: 30px; height: 30px; }
  .mbar-wa { background: #1FA855; color: #fff; }
  .mbar-call { background: var(--amber); color: var(--ink); }
  .mbar-call .ico { fill: none; }
  body { padding-bottom: 62px; }
  .cookie { bottom: 72px !important; }
}

/* наверх */
.to-top { position: fixed; z-index: 29; right: 22px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; border: 2px solid rgba(255,255,255,.85); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .25s; box-shadow: 0 8px 24px rgba(47,91,255,.35); cursor: pointer; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--blue-h); transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--amber, #F4A21B); outline-offset: 3px; }
@media (max-width: 900px) { .to-top { bottom: 76px; right: 12px; width: 44px; height: 44px; } }

/* ---------- модальные окна ---------- */
.modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(12,18,24,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .25s; overflow-y: auto; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 28px; padding: 36px 34px 30px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); transform: translateY(14px) scale(.98); transition: transform .25s; margin: auto; }
.modal.open .modal-box { transform: none; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #F1F4F6; display: grid; place-items: center; }
.modal-x:hover { background: var(--blue-soft); color: var(--blue); }
.modal h3 { font-size: clamp(24px, 2.2vw, 30px); padding-right: 30px; margin-bottom: 12px; }
.modal-box > p { color: var(--muted); margin-bottom: 22px; font-size: 16px; }
.modal .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* cookie */
.cookie { position: fixed; z-index: 70; left: 20px; bottom: 20px; max-width: 460px; background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); display: none; gap: 16px; align-items: center; font-size: 14px; color: var(--muted); }
.cookie.show { display: flex; }
.cookie a { color: var(--blue); }
.cookie .btn { min-height: 44px; padding: 8px 20px; font-size: 15px; box-shadow: none; }
@media (max-width: 600px) { .cookie { left: 10px; right: 10px; } }

/* превью скрытых блоков */
.preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--amber); color: var(--ink); text-align: center; font-weight: 700; padding: 10px 16px; font-size: 15px; }
.is-draft { outline: 3px dashed var(--amber); outline-offset: -10px; }
.draft-tag { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 5; background: var(--amber); color: var(--ink); font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 10px; white-space: nowrap; }

/* появление */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

.shot .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.shot .cookie { display: none !important; }

/* ---------- страницы tnx, документы, 404 ---------- */
.page-top { background: var(--ink); color: #fff; padding: 220px 0 70px; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.page-top h1 { font-size: clamp(32px, 3.6vw, 56px); max-width: 1000px; }
.page-top .lead { color: rgba(255,255,255,.85); }
.doc { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); margin: 40px auto 80px; max-width: 980px; box-shadow: var(--shadow-s); }
.doc h2 { font-size: 24px; margin: 32px 0 12px; }
.doc p, .doc li { color: #2E3944; font-size: 16.5px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
.doc table { border-collapse: collapse; width: 100%; }
.doc td { border-bottom: 1px solid var(--line); padding: 12px 10px 12px 0; vertical-align: top; font-size: 16.5px; }
.doc td:first-child { color: var(--muted); width: 38%; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 80px; }
.next-step { background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-s); }
.next-step .num { width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.next-step h3 { font-size: 20px; margin-bottom: 8px; }
.next-step p { color: var(--muted); font-size: 15.5px; }
.ok-badge { width: 84px; height: 84px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin-bottom: 26px; box-shadow: 0 0 0 12px rgba(47,91,255,.18); }
.ok-badge .ico { width: 40px; height: 40px; stroke-width: 2.6; color: #fff; }

/* документы */
.doc-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; margin: 40px auto 80px; }
.doc-wrap .doc { margin: 0; max-width: none; }
.doc-nav { position: sticky; top: 100px; display: grid; gap: 4px; background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--shadow-s); }
.doc-nav a { text-decoration: none; padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.3; color: #36414D; }
.doc-nav a:hover { background: var(--bg); color: var(--text); }
.doc-nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.doc .doc-ed { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.doc a { color: var(--blue); }
.doc-table { overflow-x: auto; margin: 10px 0 12px; }
.doc-table table { min-width: 640px; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 10px 12px; font-size: 15px; vertical-align: top; text-align: left; }
.doc-table th { background: var(--bg); }
.doc .doc-table td:first-child { width: auto; color: inherit; }
@media (max-width: 1100px) { .doc-wrap { grid-template-columns: 1fr; } .doc-nav { position: static; } }

/* ---------- для каких объектов ---------- */
.objs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.obj { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; text-decoration: none; color: #fff; background: var(--ink); box-shadow: var(--shadow-s); }
.obj-img, .obj-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.obj-img img { object-fit: cover; transition: transform .5s; }
.obj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,24,32,.88) 0%, rgba(17,24,32,.15) 60%); }
.obj-name { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; font-weight: 800; font-size: 18px; line-height: 1.2; }
.obj:hover .obj-img img { transform: scale(1.06); }
.obj:hover .obj-name { color: #C9D6FF; }
@media (max-width: 1100px) { .objs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .objs { grid-template-columns: repeat(2, 1fr); gap: 10px; } .obj-name { font-size: 15px; left: 12px; bottom: 10px; } }

/* ---------- калькулятор ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.calc-main { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-s); display: grid; gap: 26px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; margin-bottom: 14px; padding: 0; }
.calc legend .n { width: 32px; height: 32px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 15px; flex: none; }
.ccs { display: flex; flex-wrap: wrap; gap: 8px; }
.cc { position: relative; cursor: pointer; }
.cc input { position: absolute; opacity: 0; pointer-events: none; }
.cc span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 15px; background: #fff; transition: .2s; }
.cc:hover span { border-color: #AFC0FF; }
.cc input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.cc input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47,91,255,.2); }
.area { display: flex; align-items: center; gap: 18px; }
.area input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue) var(--p, 8%), var(--blue-soft) var(--p, 8%)); outline: none; }
.area input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: var(--shadow-s); cursor: pointer; }
.area input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); cursor: pointer; }
.area output { min-width: 110px; text-align: center; font-weight: 800; font-size: 22px; background: var(--blue-soft); color: var(--blue); border-radius: 12px; padding: 8px 12px; font-variant-numeric: tabular-nums; }
.area-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 8px; padding-right: 128px; }
.calc-side { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 26px; position: sticky; top: 100px; display: grid; gap: 16px; }
.calc-side-h { font-size: 20px; }
.calc-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.calc-sum li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 8px; }
.calc-sum span { color: rgba(255,255,255,.7); }
.calc-sum b { text-align: right; }
.calc-note { display: flex; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; }
.calc-note .ico { color: var(--amber); flex: none; }
.calc-side .form { gap: 12px; }
.calc-side .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.calc-side .field .hint { color: rgba(255,255,255,.65); }
.calc-side .consent { color: rgba(255,255,255,.75); }
.calc-side .consent a { color: #AFC0FF; }
@media (max-width: 1100px) { .calc { grid-template-columns: 1fr; } .calc-side { position: static; } }
@media (max-width: 560px) { .area { flex-direction: column; align-items: stretch; } .area-scale { padding-right: 0; } }

/* ---------- география ---------- */
.geo { margin-top: 36px; background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-s); display: grid; gap: 22px; }
.geo-row b { display: block; font-size: 18px; margin-bottom: 12px; }
.geo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-chip { background: var(--bg); border-radius: 10px; padding: 7px 12px; font-size: 14.5px; font-weight: 600; }
.geo-chip.more { background: var(--blue-soft); color: var(--blue); }

/* ---------- виды тараканов ---------- */
.sps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp { display: flex; gap: 22px; align-items: flex-start; background: var(--bg); border-radius: var(--r-lg); padding: 28px; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.sp:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.sp b { display: block; font-size: 21px; margin-bottom: 4px; }
.sp em { display: block; font-style: normal; color: var(--blue); font-weight: 700; font-size: 14.5px; margin-bottom: 10px; }
.sp > span > span { display: block; color: var(--muted); font-size: 16px; }
.sp .sp-more { color: var(--blue); font-weight: 800; margin-top: 12px; font-size: 15px; }
@media (max-width: 760px) { .sps { grid-template-columns: 1fr; } .sp { padding: 20px; gap: 16px; } }

/* ---------- инструменты ---------- */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tool { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 14px 14px 24px; }
.tool-img { display: block; aspect-ratio: 3/2; border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
.tool-img img { width: 100%; height: 100%; object-fit: cover; }
.tool b { display: block; font-size: 20px; margin: 0 8px 8px; }
.tool p { color: var(--muted-d); font-size: 15.5px; margin: 0 8px; }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr; } }

/* ---------- документы на препараты ---------- */
.doc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc-card { display: block; background: #fff; border-radius: 18px; padding: 22px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-s); }
@media (max-width: 760px) { .doc-cards { grid-template-columns: 1fr; } }

/* ---------- блог ---------- */
.art-top { position: relative; overflow: hidden; padding-bottom: 64px; }
.art-top .wrap { position: relative; z-index: 2; }
.art-top-bg { position: absolute; inset: 0; }
.art-top-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.art-top-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 20%, rgba(17,24,32,.55)); }
.art-top h1 { max-width: 1050px; text-wrap: balance; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.art-tag { display: inline-block; background: var(--amber); color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 9px; margin-bottom: 16px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 24px; font-size: 15px; color: rgba(255,255,255,.8); }
.art-meta span { display: inline-flex; align-items: center; gap: 8px; }
.art-meta .ico { width: 18px; height: 18px; color: var(--amber); }
.art-sec { padding-top: 48px; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.art-main { min-width: 0; background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 56px); box-shadow: var(--shadow-s); }
.tldr { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 16px; padding: 20px 24px; margin-bottom: 32px; }
.tldr b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.tldr p { font-size: 18px; line-height: 1.55; }
.prose { font-size: 18px; line-height: 1.7; color: #24303B; max-width: 760px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(24px, 2.2vw, 32px); color: var(--text); margin-top: 44px; scroll-margin-top: 100px; }
.prose h3 { font-size: 21px; color: var(--text); margin-top: 30px; }
.prose ul, .prose ol { padding-left: 24px; display: grid; gap: 8px; }
.prose li::marker { color: var(--blue); font-weight: 800; }
.prose a { color: var(--blue); }
.prose a.btn, .art-cta-in a.btn { color: #fff; text-decoration: none; }   /* кнопки в статьях — белый текст, не цвет ссылки */
.prose strong { color: var(--text); }
.prose .inl { margin: 32px 0; }
.prose .inl img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 18px; }
.prose figcaption { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.callout { display: flex; gap: 16px; align-items: flex-start; background: #FFF6E6; border-radius: 16px; padding: 18px 20px; }
.callout .ico { color: var(--amber); width: 26px; height: 26px; flex: none; margin-top: 2px; }
.callout p { margin: 0; font-size: 17px; }
.tbl { overflow-x: auto; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 16px; line-height: 1.45; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.tbl th { background: var(--bg); font-weight: 800; color: var(--text); }
.art-cta-in { display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: center; background: var(--ink); color: #fff; border-radius: 22px; padding: 26px 28px; margin: 36px 0; }
.art-cta-in b { display: block; font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
.art-cta-in p { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.5; margin: 0; }
.art-faq { margin-top: 48px; max-width: 760px; }
.art-faq h2 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 10px; }
.art-faq .faq-a p { padding-left: 0; }
.art-author { display: flex; gap: 20px; align-items: center; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 760px; }
.art-author img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; }
.art-author b { font-size: 18px; display: block; margin-bottom: 4px; }
.art-author p { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.art-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.toc { background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-s); }
.toc b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.toc a { display: block; padding: 4px 0; font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; color: #36414D; }
.toc a:hover { color: var(--blue); }
.aside-cta { background: var(--ink); color: #fff; border-radius: 20px; padding: 22px; display: grid; gap: 12px; }
.aside-cta b { font-size: 19px; line-height: 1.25; }
.aside-cta p { color: rgba(255,255,255,.8); font-size: 15px; }
.aside-cta .btn { min-height: 52px; font-size: 15px; padding: 12px 16px; }
.aside-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; justify-content: center; }
.aside-phone .ico { color: var(--amber); }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bcard { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-s); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bcard-img { aspect-ratio: 3/2; overflow: hidden; background: var(--ink); }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; }
.bcard-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard-tag { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.bcard b { font-size: 19px; line-height: 1.28; letter-spacing: -.01em; }
.bcard-desc { font-size: 15px; color: var(--muted); line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard-more { font-size: 14.5px; font-weight: 800; color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--text); }
.chip span { color: var(--muted); font-weight: 600; margin-left: 4px; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active span { color: rgba(255,255,255,.7); }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pg { min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; text-decoration: none; color: var(--text); }
.pg.active { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (max-width: 1100px) { .art-layout { grid-template-columns: 1fr; } .art-aside { position: static; order: -1; } .art-aside .aside-cta { display: none; } .bgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .bgrid { grid-template-columns: 1fr; } .art-cta-in { grid-template-columns: 1fr; } .prose { font-size: 17px; } .art-main { padding: 20px 16px; border-radius: 20px; } }

/* ================= адаптив ================= */
@media (max-width: 1280px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-grid .photo { display: none; }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .service { grid-template-columns: 1fr 1fr; }
  .service .photo { grid-column: 1 / -1; min-height: 360px; }
  .cond-cards { grid-template-columns: repeat(2, 1fr); }
  .talk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .quiz-grid, .cases-grid, .sheet-grid, .appr-grid, .trip-grid, .about-grid, .info-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: center; }
  .faq-side img { grid-row: span 3; margin: 0; }
  .faq-side h2 { grid-column: 2; }
  .faq-side .btn, .faq-side .faq-phone { grid-column: 2; }
  .cond-grid { grid-template-columns: 1fr; }
  .cond-grid .photo { min-height: 0; aspect-ratio: 16/10; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .appr-grid .photo { min-height: 0; aspect-ratio: 16/10; }
  .facts-card { grid-template-columns: 1fr; padding: 10px 6px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact { padding: 18px 22px; }
  .hero-bg img { width: 100%; opacity: .55; object-position: 70% 30%; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(17,24,32,.92) 0%, rgba(17,24,32,.75) 60%, rgba(17,24,32,.45) 100%), linear-gradient(0deg, rgba(17,24,32,.8), rgba(17,24,32,0) 40%); }
  .contacts-bg img { width: 100%; opacity: .45; }
  .contacts-bg::after { background: linear-gradient(90deg, rgba(17,24,32,.92), rgba(17,24,32,.6)); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .about-photo { aspect-ratio: 4/3.4; }
  .trip-map { aspect-ratio: 16/10; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .opts { grid-template-columns: 1fr; }
  .quiz-card { min-height: 0; padding: 22px 18px; }
  .q-nav .btn { min-width: 0; flex: 1; }
  .stages, .reviews, .info-cards, .cond-cards, .gels, .next-steps, .ba-notes, .case-cols, .faq-cols { grid-template-columns: 1fr; }
  .stage { display: grid; grid-template-columns: 120px 1fr; gap: 0 14px; padding: 12px; align-items: start; }
  .stage img { grid-row: span 3; aspect-ratio: 1/1; }
  .stage-num { margin: 4px 0 8px; width: 38px; height: 38px; font-size: 20px; }
  .stage h3 { margin: 0 0 6px; font-size: 17px; }
  .stage p { margin: 0; grid-column: 1 / -1; margin-top: 10px; }
  .price-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; padding: 14px; }
  .service .photo { min-height: 260px; }
  .talk-row { grid-template-columns: 1fr; }
  .talk-photo { min-height: 340px; }
  .chat-actions { grid-template-columns: 1fr 1fr; }
  .chat-actions .btn:first-child { grid-column: 1 / -1; }
  .faq-side { display: block; }
  .faq-side img { aspect-ratio: 16/11; margin: 20px 0 16px; }
  .faq-col { padding: 4px 18px; }
  .faq-q { font-size: 16px; gap: 12px; padding: 18px 0; }
  .faq-q .icon-box { display: none; }
  .faq-q .pm { width: 38px; height: 38px; }
  .faq-a p { padding-left: 0; }
  .cond-bar { flex-direction: column; align-items: flex-start; }
  .cond-bar .btn { width: 100%; }
  .case-specs { grid-template-columns: 1fr 1fr; gap: 12px 0; }
  .case-specs div:nth-child(3) { border-left: 0; }
  .compare { aspect-ratio: 4/3; }
  .sheet-paper { position: relative; width: 92%; margin: -60px 0 0 auto; }
  .sheet-visual { padding-bottom: 0; }
  .sheet-visual > img { width: 100%; }
  .trip-card, .about-points div { gap: 16px; }
  .trip-card { padding: 22px; flex-direction: column; }
  .info-card .num { font-size: 44px; }
  .ft-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { width: 100%; }
  .hd .btn, .modal .btn, .dock .btn { width: auto; }
  .cta-row .btn { width: 100%; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .checks li { font-size: 15.5px; }
  .modal-box { padding: 30px 20px 22px; border-radius: 22px; }
  .name-card { left: 14px; bottom: 14px; padding: 12px 18px; }
  .name-card b { font-size: 21px; }
  .c-card { padding: 8px 16px; }
  .c-row { font-size: 15.5px; gap: 12px; word-break: break-word; }
  .chat-actions .btn { width: 100%; }
  .video-play { font-size: 17px; }
  .video-play i { width: 76px; height: 76px; }
}

/* ---------- маскот «таракан-разведчик» ---------- */
.msc { position: fixed; z-index: 28; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; outline: none; }
.msc-media { display: block; width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(17,24,32,.28)); }
.msc:focus-visible .msc-media { filter: drop-shadow(0 0 0 3px var(--blue)); }
.msc-slot { position: absolute; z-index: 3; overflow: hidden; pointer-events: none; }
.msc-slot .msc { position: absolute; left: 0; bottom: 0; pointer-events: auto; transform: translateY(100%); transition: transform .6s cubic-bezier(.3,1.4,.5,1); }
.msc-slot .msc.in { transform: translateY(14%); animation: msc-sniff 1.1s ease-in-out .7s 2; }
.msc-slot .msc.in.msc-hold { animation: none; transform: translateY(8%); }
@keyframes msc-sniff { 0%, 100% { translate: 0 0; rotate: 0deg; } 30% { translate: -3px -4px; rotate: -4deg; } 65% { translate: 3px -2px; rotate: 3deg; } }
.msc-slot.from-left .msc { transform: translateX(-100%); bottom: auto; top: 0; transition: transform .6s cubic-bezier(.3,1.3,.5,1); }
.msc-slot.from-right .msc { transform: translateX(100%); bottom: auto; top: 0; transition: transform .6s cubic-bezier(.3,1.3,.5,1); }
.msc-slot.from-left .msc.in, .msc-slot.from-right .msc.in { transform: translateX(0); animation: msc-sniff 1.1s ease-in-out .7s 2; }
.msc-hang { transform: translateY(-105%); transition: transform .7s cubic-bezier(.3,1.4,.5,1); z-index: 44; transform-origin: 50% 0; }
.msc-hang.in { transform: translateY(0); animation: msc-swing 1.8s ease-in-out .7s infinite; }
.msc-hang.msc-hold { animation: none; }
@keyframes msc-swing { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
.msc-sit, .msc-stand { opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .35s, transform .45s cubic-bezier(.3,1.5,.5,1); z-index: 4; }
.msc-sit.in, .msc-stand.in { opacity: 1; transform: none; }
.msc-stand.in .msc-media { animation: msc-look 2.2s ease-in-out .5s infinite; transform-origin: 50% 100%; }
.msc-stand.msc-hold .msc-media { animation: none; }
.msc-climb { opacity: 1; }
.msc-climb .msc-media { animation: msc-wobble .32s ease-in-out infinite; transform-origin: 50% 60%; }
.msc-climb.msc-look .msc-media, .msc-climb.msc-hold .msc-media { animation: msc-look 1.4s ease-in-out infinite; }
@keyframes msc-wobble { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }
@keyframes msc-look { 0%, 100% { rotate: 0deg; } 40% { rotate: -8deg; } 70% { rotate: 5deg; } }
.msc-run.msc-go { animation: msc-bob .16s linear infinite; }
.msc-walk { opacity: 0; z-index: 3; }
.msc-walk.msc-go { animation: msc-bob .24s linear infinite; }
@keyframes msc-bob { 0%, 100% { margin-top: 0; translate: 0 0; } 50% { translate: 0 -3px; } }
.msc-bubble { position: fixed; z-index: 85; background: #fff; color: var(--text); border-radius: 18px; padding: 16px 18px 14px; box-shadow: 0 20px 50px -18px rgba(17,24,32,.55); display: grid; gap: 10px; font-size: 15px; line-height: 1.45; animation: msc-pop .25s ease; }
.msc-bubble.up { transform: translateY(-100%); }
.msc-bubble p { margin: 0; padding-right: 18px; font-weight: 600; }
.msc-bubble .btn { min-height: 44px; font-size: 15px; box-shadow: none; }
.msc-off { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; justify-self: start; cursor: pointer; }
.msc-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
@keyframes msc-pop { from { opacity: 0; scale: .92; } }
@media (prefers-reduced-motion: reduce) { .msc, .msc-bubble { display: none !important; } }

/* ---------- блок «Шурш следит за мышкой» ---------- */
.gz { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; background: var(--bg); }
.gz-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: 0; }
.gz-temp { object-fit: contain; object-position: 85% 60%; padding: 60px 4vw 40px 50%; }
.gz-fade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(238,242,243,.92) 38%, rgba(238,242,243,0) 62%); pointer-events: none; }
.gz-in { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.gz-label { max-width: 620px; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.3; color: var(--text); opacity: .75; font-weight: 600; margin-bottom: 20px; }
.gz-type { max-width: 640px; font-size: clamp(30px, 4vw, 54px); line-height: 1.08; min-height: 2.2em; margin-bottom: 26px; }
.gz-cursor { display: inline-block; width: 3px; height: .95em; background: var(--blue); vertical-align: -0.1em; margin-left: 4px; animation: gz-blink 1s step-end infinite; }
.gz-cursor.done { display: none; }
@keyframes gz-blink { 50% { opacity: 0; } }
.gz-pills { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.gz-pills.in { opacity: 1; transform: none; }
.gz-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--text); border: 1px solid rgba(17,24,32,.12); border-radius: 999px; font: 600 15px var(--font); padding: 10px 18px; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.gz-pill:hover { background: var(--ink); color: #fff; }
.gz-pill .ico { width: 14px; height: 14px; }
.gz-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.gz-blue:hover { background: var(--blue-h); }
.gz-pill:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 760px) {
  .gz { align-items: flex-end; min-height: 680px; }
  .gz-video { object-position: 75% 20%; height: 62%; }
  .gz-temp { padding: 30px 10px 0 30%; height: 55%; }
  .gz-fade { background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 42%, rgba(238,242,243,0) 70%); }
  .gz-in { padding-bottom: 48px; }
  .gz-pill { font-size: 13px; padding: 8px 14px; }
}

/* ---------- команда разведчиков ---------- */
.sec-cream { background: #F7F5EC; }
.pest-group + .pest-group { margin-top: 34px; }
.pest-gh { font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #2E5A3A; margin-bottom: 14px; }
.pests { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pest { position: relative; display: flex; flex-direction: column; text-align: left; background: #FBFAF4; border: 1px solid #E6E2D2; border-radius: 22px; padding: 10px 10px 16px; color: var(--text); text-decoration: none; font: inherit; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pest:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(60,50,20,.45); border-color: #D6CFB4; }
.pest-img { display: grid; place-items: center; aspect-ratio: 4/3; border-radius: 16px; background: #F6F4EA; overflow: hidden; }
.pest-img img { max-width: 92%; max-height: 92%; object-fit: contain; transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.pest:hover .pest-img img { transform: translateY(-4px) rotate(-3deg) scale(1.04); }
.pest-txt { display: grid; gap: 2px; padding: 12px 6px 0; }
.pest-txt b { font-size: 17px; line-height: 1.25; }
.pest-hero { font-size: 14px; color: var(--muted); }
.pest-more { font-size: 14px; font-weight: 800; color: var(--blue); margin-top: 6px; }
.pest-main { border: 2px solid var(--blue); background: #fff; }
.pest-tag { justify-self: start; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--blue); color: #fff; padding: 4px 8px; border-radius: 7px; margin-bottom: 6px; }
.pest:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 1100px) { .pests { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pests { grid-template-columns: repeat(2, 1fr); gap: 10px; } .pest-txt b { font-size: 15px; } .pest-hero, .pest-more { font-size: 13px; } }
.msc-slot.msc-dockslot { position: absolute; z-index: 29; }
/* фон блока «Расскажите об объекте»: стальной стол с планом кухни */
.calc-sec { position: relative; overflow: hidden; }
.calc-bg { position: absolute; inset: 0; background: url(/img/calc-bg.jpg) right -40px / max(100%, 1300px) auto no-repeat; pointer-events: none; }
.calc-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(238,242,243,0) 0%, rgba(238,242,243,0) 40%, var(--bg) 62%), linear-gradient(90deg, rgba(238,242,243,.92) 0%, rgba(238,242,243,.6) 40%, rgba(238,242,243,0) 70%); }
.calc-sec > .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { .calc-bg { background-position: 70% top; background-size: auto 420px; } }
.cond-bar .btn { white-space: nowrap; flex: none; }
.cond-bar p { min-width: 0; }
@media (max-width: 1280px) and (min-width: 1101px) { .cond-left .cond-bar { flex-direction: column; align-items: flex-start; } }
/* Шурш на широких экранах (2K/4K, блок шире 16:9): видео целиком по высоте, справа, мягкий левый край */
.gz.gz-wide .gz-video { object-fit: contain; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent var(--gz-x, 30%), #000 calc(var(--gz-x, 30%) + 22%)); mask-image: linear-gradient(90deg, transparent var(--gz-x, 30%), #000 calc(var(--gz-x, 30%) + 22%)); }
.gz.gz-wide { min-height: min(86vh, 1000px); }
