/* Септик-гуру — лендинг по утверждённому макету */
:root {
  --green-900: #14491c;
  --green-700: #1f6b2c;
  --green-600: #24803a;
  --green-500: #2f9a3f;
  --green-300: #8fd08f;
  --green-100: #e8f4e5;
  --green-50: #f3f9f1;
  --ink: #141c16;
  --ink-2: #3c463f;
  --muted: #6c766f;
  --line: #e3e9e1;
  --bg: #ffffff;
  --bg-soft: #f6f8f5;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(20, 40, 22, .07);
  --shadow-lg: 0 18px 50px rgba(20, 40, 22, .12);
  --container: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Print", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container--wide { max-width: 1440px; padding: 0 64px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--green { color: var(--green-600); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px;
  border-radius: 10px; border: 2px solid transparent;
  font: 700 14px/1 var(--font);
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px rgba(36, 128, 58, .25); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-1px); }
.btn--outline { border-color: var(--green-500); color: var(--green-700); background: #fff; }
.btn--outline:hover { background: var(--green-50); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--green-300); outline-offset: 2px; }

.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--green-100); color: var(--green-700);
  font-size: 13px; font-weight: 600;
}

.h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.h2--lg { font-size: clamp(28px, 2.9vw, 40px); }
.section { padding: 72px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.section__sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--green-600); font-weight: 700; font-size: 14px; white-space: nowrap; }
.link-more .ic { width: 16px; height: 16px; transition: transform .2s; }
.link-more:hover .ic { transform: translateX(3px); }

/* ---------- Временные фото ---------- */
.ph {
  position: relative; display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 20% 10%, #dbeed7 0%, transparent 60%),
    linear-gradient(145deg, #cfe3cb 0%, #9fc49a 55%, #6f9b6c 100%);
  color: rgba(255, 255, 255, .9);
  overflow: hidden;
}
.ph .ic { width: 30px; height: 30px; opacity: .75; }
.ph::after {
  content: attr(data-label) " · временное";
  position: absolute; left: 10px; bottom: 10px;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(20, 40, 22, .55); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .01em;
}
.ph--img { aspect-ratio: 4 / 3; }
.ph--tall { aspect-ratio: auto; height: 100%; min-height: 360px; border-radius: var(--radius); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 1200;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 38px; height: 38px; }
.logo__name { display: block; font-size: 20px; font-weight: 800; color: var(--green-700); letter-spacing: -.02em; line-height: 1.1; }
.logo__tag { display: block; font-size: 11px; color: var(--muted); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--green-600); }
.header__contacts { display: flex; gap: 20px; }
.hphone { display: flex; align-items: center; gap: 8px; }
.hphone .ic { width: 18px; height: 18px; color: var(--green-600); }
.hphone b { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.hphone small { display: block; font-size: 11px; color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; place-items: center; }

/* ---------- Hero ---------- */
.hero {
  --hero-h: 800px;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: var(--hero-h);
  background:
    radial-gradient(55% 75% at 92% 45%, rgba(214, 236, 208, .55) 0%, rgba(214, 236, 208, 0) 70%),
    linear-gradient(90deg, #ffffff 0%, #fbfcfa 45%, #f3f8f1 100%);
}
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: var(--hero-h); padding-top: 56px; padding-bottom: 56px; }
.hero__content { max-width: 660px; }
.badge--icon { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; font-size: 14px; }
.badge--icon .ic { width: 18px; height: 18px; }
.hero__title { margin: 26px 0 22px; font-size: clamp(42px, 5vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.accent { color: var(--green-600); }
.hero__lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: var(--ink-2); font-weight: 500; }
.hero__features { display: flex; margin: 36px 0 38px; }
.hero__features li { display: flex; align-items: center; gap: 12px; padding: 0 22px; font-size: 14px; line-height: 1.35; color: var(--ink-2); font-weight: 500; border-left: 1px solid var(--line); }
.hero__features li:first-child { padding-left: 0; border-left: 0; }
.hero__fic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.hero__fic .ic { width: 22px; height: 22px; stroke-width: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 16px; border-radius: 10px; }
.btn--lg .ic { width: 20px; height: 20px; }
.hero__alt { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__alt small { font-size: 12.5px; color: var(--muted); }
.hero__meta { display: flex; margin-top: 34px; }
.hero__meta li { display: flex; align-items: flex-start; gap: 12px; padding: 0 20px; border-left: 1px solid var(--line); }
.hero__meta li:first-child { padding-left: 0; border-left: 0; }
.hero__meta .ic { width: 26px; height: 26px; stroke-width: 1.6; color: var(--ink); margin-top: 1px; }
.hero__meta b { display: block; white-space: nowrap; font-size: 14px; font-weight: 700; line-height: 1.3; }
.hero__meta small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; max-width: 170px; margin-top: 2px; }

/* правая часть: фото септика встроено в фон */
.hero__visual { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__frame {
  position: absolute; top: 90px; /* низ уходит за линию экрана на ~40px */
  height: 750px;
  aspect-ratio: 1448 / 1086;
  left: calc(50% - 170px);
}
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 11%, #000 29%), linear-gradient(180deg, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, transparent 11%, #000 29%), linear-gradient(180deg, transparent 0%, #000 16%);
          mask-composite: intersect;
}
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__lines polyline { fill: none; stroke: #f26a1b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #f26a1b; box-shadow: 0 0 0 4px rgba(242, 106, 27, .22), 0 0 0 1.5px #fff inset; }
.callout {
  position: absolute; display: flex; align-items: flex-start; gap: 9px;
  padding: 10px 14px 10px 12px;
  background: rgba(255, 255, 255, .96); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 40, 22, .12);
  font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink);
  white-space: nowrap;
}
.callout i { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: #f26a1b; flex: none; }
.callout--1 { right: 60%; top: 29.5%; }
.callout--2 { left: 68.5%; top: 66%; }

/* ---------- Производители ---------- */

/* ---------- Карточки ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.round { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-100); color: var(--green-700); transition: background-color .2s, color .2s; }
.round .ic { width: 16px; height: 16px; }

/* ---------- О компании ---------- */

/* ---------- Примеры работ ---------- */

/* ---------- Как мы работаем ---------- */

/* ---------- Отзывы и зона ---------- */

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(90deg, #e6f3e2 0%, #f2f8f0 60%, #eaf5e6 100%); padding: 36px 0; }
.cta__inner { display: flex; align-items: center; gap: 32px; position: relative; z-index: 2; }
.cta__text { flex: 1; padding-left: 60px; }
.cta__text p { margin-top: 6px; font-size: 14px; color: var(--ink-2); max-width: 380px; }
.cphone { display: flex; align-items: center; gap: 12px; }
.cphone__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--green-600); box-shadow: var(--shadow); }
.cphone__ic .ic { width: 18px; height: 18px; }
.cphone b { display: block; font-size: 17px; font-weight: 800; white-space: nowrap; }
.cphone small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.leaf-deco--cta { left: -30px; bottom: -20px; width: 150px; z-index: 1; }

/* ---------- Подвал ---------- */
.footer { padding: 26px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.logo--sm .logo__mark { width: 30px; height: 30px; }
.logo--sm .logo__name { font-size: 18px; }
.footer__desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
.footer__nav { display: flex; gap: 22px; margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.footer__nav a:hover { color: var(--green-600); }
.footer__copy { font-size: 12px; color: var(--muted); }

/* ---------- Появление при скролле ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1240px) {
  .header__contacts .hphone:last-child { display: none; }
  .nav { gap: 20px; }
}

@media (max-width: 1080px) {
  .header__contacts { display: none; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { flex-wrap: wrap; }
  .cta__text { flex-basis: 100%; }
  .footer__nav { margin-left: 0; order: 3; flex-basis: 100%; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .burger { display: grid; margin-left: auto; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .header__cta { margin-left: auto; }
  .header__cta + .burger { margin-left: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header__inner { height: 64px; gap: 10px; }
  .nav { top: 64px; }
  .logo__tag { display: none; }
  .logo__mark { width: 32px; height: 32px; }
  .header__cta { height: 40px; padding: 0 14px; font-size: 13px; }
  .burger { width: 40px; height: 40px; }


  .section { padding: 52px 0; }
  .section--tight { padding: 44px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 10px; }

  .cards4 { grid-template-columns: 1fr; }

  .ph--tall { min-height: 0; }



  .cta { padding: 40px 0 44px; }
  .cta__inner { flex-direction: column; align-items: stretch; gap: 18px; }
  .cta__text { padding-left: 0; }
  .cta .btn { width: 100%; }
  .leaf-deco--cta { width: 100px; left: auto; right: -30px; bottom: auto; top: -20px; transform: scaleX(-1); opacity: .6; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- Hero: адаптив ---------- */
@media (max-width: 1360px) {
  .hero__frame { height: 640px; top: 200px; left: calc(50% - 130px); }
  .hero__features li { padding: 0 14px; gap: 10px; font-size: 13px; white-space: nowrap; }
  .hero__fic { width: 42px; height: 42px; }
  .hero__meta li { padding: 0 14px; }
  .callout--2 { left: 66%; top: 70%; }
  .hero__content { max-width: 620px; }
  .hero__title { font-size: clamp(42px, 4.9vw, 76px); }
}
@media (max-width: 1240px) {
  .container--wide { padding: 0 32px; }
}
@media (max-width: 1180px) {
  .hero { --hero-h: auto; min-height: 0; }
  .hero__inner { min-height: 0; padding-bottom: 0; }
  .hero__content { max-width: 680px; }
  .hero__visual { position: relative; inset: auto; margin-top: -10px; }
  .hero__frame { position: relative; left: auto; top: auto; height: auto; width: min(100%, 900px); margin: 0 0 0 auto; }
  .container--wide { padding: 0 32px; }
  .hero__img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%), linear-gradient(90deg, transparent 0%, #000 12%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 22%), linear-gradient(90deg, transparent 0%, #000 12%);
  }
}
@media (max-width: 640px) {
  .container--wide { padding: 0 16px; }
  .hero__inner { padding-top: 28px; }
  .badge--icon { font-size: 12.5px; }
  .hero__title { margin: 18px 0 14px; font-size: clamp(34px, 10vw, 44px); }
  .hero__lead br { display: none; }
  .hero__features { flex-direction: column; gap: 12px; margin: 24px 0 26px; }
  .hero__features li { padding: 0; border-left: 0; }
  .hero__fic { width: 40px; height: 40px; }
  .hero__fic .ic { width: 19px; height: 19px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__alt, .hero__alt .btn, .hero__actions > .btn { width: 100%; }
  .btn--lg { height: 56px; }
  .hero__meta { flex-direction: column; gap: 14px; margin-top: 28px; }
  .hero__meta li { padding: 0; border-left: 0; }
  .hero__meta small { max-width: none; }
  .hero__visual { margin-top: 4px; }
  .hero__frame { width: 118%; margin-left: -9%; }
  .callout { font-size: 10.5px; padding: 6px 8px 6px 7px; gap: 6px; border-radius: 6px; }
  .callout i { width: 7px; height: 7px; margin-top: 3px; }
  .callout--2 { left: auto; right: 10%; top: 72%; }
  .hero__lines polyline { stroke-width: 3.6; }
  .hero__dot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; box-shadow: 0 0 0 3px rgba(242,106,27,.22); }
}

/* ---------- Hero: анимация ---------- */
.hero__title .tl { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .tl > span { display: inline-block; }
.hero__parallax {
  position: absolute; inset: 0;
  transform: translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -8px), 0);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.hero__lines polyline { stroke-dasharray: 1; }
.hero__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #f26a1b; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero__content > :not(.hero__title) { animation: heroUp .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__content > .badge         { animation-delay: .1s; }
  .hero__content > .hero__lead    { animation-delay: .62s; }
  .hero__content > .hero__features{ animation-delay: .74s; }
  .hero__content > .hero__actions { animation-delay: .86s; }
  .hero__content > .hero__meta    { animation-delay: .98s; }

  .hero__title .tl > span { animation: heroLine 1s cubic-bezier(.2, .8, .2, 1) both; }
  .hero__title .tl:nth-child(1) > span { animation-delay: .2s; }
  .hero__title .tl:nth-child(2) > span { animation-delay: .32s; }
  .hero__title .tl:nth-child(3) > span { animation-delay: .44s; }

  .hero__img { animation: heroImg 1.6s cubic-bezier(.2, .7, .2, 1) .15s both; }

  .hero__dot { animation: heroPop .5s cubic-bezier(.3, 1.4, .5, 1) both; }
  .hero__dot--1 { animation-delay: 1.25s; }
  .hero__dot--2 { animation-delay: 1.55s; }
  .hero__dot::after { animation: heroPulse 2.4s ease-out infinite; }
  .hero__dot--1::after { animation-delay: 2.4s; }
  .hero__dot--2::after { animation-delay: 3.6s; }

  .hero__lines polyline { animation: heroDraw .7s ease-in-out both; }
  .hero__lines polyline:nth-child(1) { animation-delay: 1.4s; }
  .hero__lines polyline:nth-child(2) { animation-delay: 1.7s; }

  .callout { animation: heroCallout .6s cubic-bezier(.2, .7, .2, 1) both; }
  .callout--1 { animation-delay: 1.85s; }
  .callout--2 { animation-delay: 2.15s; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__parallax { transform: none; transition: none; }
}

@keyframes heroUp      { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroLine    { from { transform: translateY(110%); } to { transform: none; } }
@keyframes heroImg     { from { opacity: 0; transform: translateX(40px) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes heroPop     { 0% { opacity: 0; transform: scale(0); } 70% { opacity: 1; transform: scale(1.25); } 100% { opacity: 1; transform: scale(1); } }
@keyframes heroDraw    { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes heroCallout { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes heroPulse   { 0% { opacity: .5; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3.2); } }
/* анимация фото стартует, когда оно попадает в экран (важно для мобильных) */
.js .hero__visual:not(.is-in) *,
.js .hero__visual:not(.is-in) .hero__dot::after { animation-play-state: paused; }

/* =========================================================
   Бренды
   ========================================================= */
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green-600); }
.brands { padding: 64px 0 8px; }
.brands__card { padding: 40px 40px 36px; background: #f8f9f7; border: 1px solid #edf0ec; border-radius: 24px; }
.brands__head { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; margin-bottom: 36px; }
.brands__head .eyebrow { margin-bottom: 12px; }
.brands__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; max-width: 440px; }
.brands__note { max-width: 420px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.brands__badge { display: flex; align-items: center; gap: 14px; padding-left: 32px; border-left: 1px solid #dfe5dd; font-size: 15px; line-height: 1.4; color: var(--ink-2); white-space: nowrap; }
.brands__badge .ic { width: 30px; height: 30px; padding: 5px; border-radius: 9px; background: var(--green-600); color: #fff; stroke-width: 2.4; }

.brands__list { display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; }
.brands__list li { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 12px; border-left: 1px solid #e3e8e1; }
.brands__list li:first-child { border-left: 0; justify-content: flex-start; padding-left: 0; }
.brands__list li:last-child { justify-content: flex-end; padding-right: 0; }

.bm { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; white-space: nowrap; line-height: 1; letter-spacing: -.01em; }
.bm small { display: block; margin-top: 3px; font-size: 9px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.bm--aqualos { padding: 10px 16px; border-radius: 6px; background: #2f74d0; color: #fff; font-size: 17px; letter-spacing: .08em; }
.bm--eurobion { gap: 0; font-size: 23px; color: #151515; letter-spacing: -.03em; }
.bm--eurobion b { color: #2f8f3e; font-weight: 800; }
.bm--tver { flex-direction: column; align-items: flex-start; gap: 0; color: #1f3f86; font-size: 25px; letter-spacing: .03em; }
.bm--topol { color: #1d3e7a; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.bm--topol i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #2b8bd6; color: #1d3e7a; font: 800 13px/1 var(--font); font-style: normal; }
.bm--unilos { color: #e0322a; font-size: 23px; letter-spacing: -.02em; }
.bm--unilos i { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 60% 40%, #fff 0 28%, transparent 30%), linear-gradient(135deg, #34a4f0, #1366c4); }
.bm--biodeka { color: #2f9a3f; font-size: 27px; letter-spacing: -.02em; }
.bm--eurolos { color: #1c1c1c; font-size: 21px; gap: 9px; }
.bm--eurolos i { width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(from 200deg, #f7c600 0 62%, transparent 62% 70%, #f2a900 70% 100%); }

/* =========================================================
   Услуги
   ========================================================= */
.services { padding: 72px 0 96px; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.services__head .eyebrow { margin-bottom: 14px; }
.services__title { font-size: clamp(36px, 4vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.services__sub { margin-top: 12px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.pill-link { display: inline-flex; align-items: center; gap: 10px; flex: none; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--green-50); border: 1px solid #e0efdc; color: var(--green-700); font-size: 15px; font-weight: 700; transition: background-color .2s, color .2s; }
.pill-link .ic { width: 18px; height: 18px; transition: transform .2s; }
.pill-link:hover { background: var(--green-600); color: #fff; }
.pill-link:hover .ic { transform: translateX(3px); }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid #eceeea; border-radius: 22px; overflow: hidden; box-shadow: 0 2px 4px rgba(20, 40, 22, .03), 0 12px 32px rgba(20, 40, 22, .06); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.svc__media { position: relative; aspect-ratio: 335 / 235; overflow: hidden; background: #e8ece6; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
/* плашка перекрывает надпись, впечатанную в исходное фото */
.svc__chip { position: absolute; left: 3.2%; top: 4.6%; display: flex; align-items: center; gap: 9px; min-width: 50%; min-height: 23%; padding: 8px 14px 8px 10px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.svc__chip .ic { width: 28px; height: 28px; padding: 5px; flex: none; border-radius: 8px; background: var(--green-600); color: #fff; stroke-width: 2.2; }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.svc h3 { font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.svc p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.svc__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 24px; }
.svc__foot b { font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.svc__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-100); color: var(--green-700); transition: background-color .25s, color .25s, transform .25s; }
.svc__btn .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 4px 8px rgba(20, 40, 22, .04), 0 22px 48px rgba(20, 40, 22, .12); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc:hover .svc__btn, .svc__btn:focus-visible { background: var(--green-600); color: #fff; }
.svc__btn:hover { transform: scale(1.06); }

@media (max-width: 1240px) {
  .brands__head { grid-template-columns: 1fr auto; }
  .brands__note { display: none; }
  .bm--aqualos { font-size: 14px; padding: 8px 12px; }
  .bm--eurobion, .bm--unilos { font-size: 19px; }
  .bm--tver { font-size: 21px; }
  .bm--topol { font-size: 15px; }
  .bm--biodeka { font-size: 22px; }
  .bm--eurolos { font-size: 18px; }
  .svc h3 { font-size: 18px; }
  .svc__body { padding: 20px 20px 20px; }
}
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .brands__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -40px; padding: 0 40px; }
  .brands__list::-webkit-scrollbar { display: none; }
  .brands__list li, .brands__list li:first-child, .brands__list li:last-child { flex: none; padding: 0 28px; justify-content: center; scroll-snap-align: start; }
  .brands__list li:first-child { padding-left: 0; }
}
@media (max-width: 640px) {
  .brands { padding: 40px 0 0; }
  .brands__card { padding: 28px 20px 24px; border-radius: 20px; }
  .brands__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 24px; }
  .brands__badge { padding-left: 0; border-left: 0; font-size: 14px; }
  .brands__badge br { display: none; }
  .brands__list { margin: 0 -20px; padding: 0 20px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .brands__list li, .brands__list li:first-child, .brands__list li:last-child { padding: 0 20px; height: 48px; }
  .brands__list li:first-child { padding-left: 0; }

  .services { padding: 52px 0 64px; }
  .services__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
  .pill-link { height: 46px; font-size: 14px; }
  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc { border-radius: 20px; }
  .svc h3 { font-size: 20px; }
  .svc__body { padding: 22px 22px 20px; }
  .svc__foot b { font-size: 22px; }
  .svc__chip { font-size: 13px; }
}

/* ---------- Прайс-лист ---------- */
.prices { margin-top: 48px; padding: 36px 40px; background: #fff; border: 1px solid #eceeea; border-radius: 24px; box-shadow: 0 2px 4px rgba(20, 40, 22, .03), 0 12px 32px rgba(20, 40, 22, .05); }
.prices__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.prices__head h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.prices__promo { padding: 8px 14px; border-radius: 999px; background: #fff1e8; color: #c24d0a; font-size: 14px; font-weight: 700; white-space: nowrap; }
.prices__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.prices__item { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid #eef1ec; }
.prices__item div { flex: 1; min-width: 0; }
.prices__item b { display: block; font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.prices__item small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.prices__val { flex: none; font-size: 17px; font-weight: 800; white-space: nowrap; letter-spacing: -.01em; }
.prices__val--muted { font-size: 15px; font-weight: 600; color: var(--muted); }
.prices__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; }
.prices__foot p { max-width: 560px; font-size: 14.5px; color: var(--muted); }

@media (max-width: 1080px) {
  .prices__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .prices { margin-top: 32px; padding: 24px 20px; border-radius: 20px; }
  .prices__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .prices__item { padding: 16px 0; }
  .prices__item b { font-size: 15.5px; }
  .prices__val { font-size: 16px; }
  .prices__foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .prices__foot .btn { width: 100%; }
}

/* ---------- Прайс: кнопка и раскрытие ---------- */
.prices-toggle-wrap { display: flex; justify-content: center; margin-top: 40px; }
.prices-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px 0 28px;
  border: 1.5px solid var(--green-500); border-radius: 999px;
  background: #fff; color: var(--green-700);
  font: 700 15px/1 var(--font); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.prices-toggle:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; box-shadow: 0 8px 20px rgba(36, 128, 58, .22); }
.prices-toggle__count { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--green-100); color: var(--green-700); font-size: 13px; transition: background-color .25s, color .25s; }
.prices-toggle:hover .prices-toggle__count { background: rgba(255, 255, 255, .2); color: #fff; }
.prices-toggle__chev { width: 20px; height: 20px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.prices-toggle[aria-expanded="true"] .prices-toggle__chev { transform: rotate(180deg); }

.prices-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.2, .7, .2, 1); }
.prices-collapse.is-open { grid-template-rows: 1fr; }
.prices-collapse__inner { min-height: 0; overflow: hidden; margin: 0 -16px; padding: 0 16px; }
.prices-collapse .prices { margin: 24px 0 24px; opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.prices-collapse.is-open .prices { opacity: 1; transform: none; transition-delay: .1s; }

@media (max-width: 640px) {
  .prices-toggle-wrap { margin-top: 28px; }
  .prices-toggle { width: 100%; justify-content: center; }
}

/* =========================================================
   О компании
   ========================================================= */
.about { padding: 104px 0; background: #f8faf8; overflow: hidden; }
.about__inner { display: grid; grid-template-columns: 1.1fr .7fr 1fr; gap: 48px; align-items: center; }
.about__title { margin-top: 22px; font-size: clamp(32px, 3.3vw, 50px); font-weight: 800; line-height: 1.08; white-space: nowrap; letter-spacing: -.035em; }
.about__lead { margin-top: 22px; max-width: 470px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--muted); }
.stats { display: flex; margin-top: 44px; }
.stats li { padding: 0 28px; border-left: 1px solid #dfe6dd; }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats b { display: block; font-size: clamp(34px, 3vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--green-600); }
.stats span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); white-space: nowrap; }

.about__list { display: grid; gap: 26px; }
.about__list li { display: flex; align-items: center; gap: 18px; font-size: 17px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.about__ic { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.about__ic .ic { width: 24px; height: 24px; stroke-width: 1.6; }

.about__photo { position: relative; margin: 0; }
.about__media { aspect-ratio: 610 / 651; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(20, 40, 22, .12); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__pill {
  position: absolute; right: -18px; bottom: 7.5%;
  display: flex; align-items: center; gap: 14px;
  min-width: 52%; min-height: 15.5%; padding: 14px 24px 14px 16px;
  background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(20, 40, 22, .14);
  font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink);
}
.about__pill-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--green-600); color: #fff; }
.about__pill-ic .ic { width: 24px; height: 24px; }
.leaf-deco--about { left: -36px; bottom: 40px; width: 90px; transform: rotate(-30deg); }

@media (max-width: 1360px) {
  .about__inner { gap: 36px; grid-template-columns: 1.15fr .75fr 1fr; }
  .stats li { padding: 0 18px; }
  .stats span { font-size: 13px; }
  .about__list li { font-size: 15.5px; }
  .about__ic { width: 46px; height: 46px; }
  .stats li { padding: 0 22px; }
}
@media (max-width: 1180px) {
  .about__inner { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .about__photo { grid-column: 1 / -1; max-width: 640px; width: 100%; justify-self: center; }
}
@media (max-width: 640px) {
  .about { padding: 64px 0; }
  .about__inner { grid-template-columns: 1fr; row-gap: 36px; }
  .about__title { font-size: clamp(28px, 8.4vw, 34px); }
  .stats { margin-top: 32px; }
  .stats li { padding: 0 16px; }
  .stats b { font-size: 32px; }
  .stats span { font-size: 13px; }
  .about__list { gap: 18px; }
  .about__list li { font-size: 16px; gap: 14px; }
  .about__media { border-radius: 20px; }
  .about__pill { right: -8px; padding: 10px 16px 10px 10px; font-size: 14px; gap: 10px; border-radius: 12px; }
  .about__pill-ic { width: 38px; height: 38px; border-radius: 10px; }
  .about__pill-ic .ic { width: 20px; height: 20px; }
  .leaf-deco--about { display: none; }
}

/* =========================================================
   Примеры работ: сравнение «до / после»
   ========================================================= */
.works { padding: 96px 0; }
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.case__title { margin-top: 20px; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.case__note { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.case__meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--green-700); }
.case__meta .ic { width: 16px; height: 16px; }

.ba-slider { --pos: 50%; position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #e8ece6; box-shadow: 0 2px 4px rgba(20, 40, 22, .04), 0 12px 32px rgba(20, 40, 22, .08); isolation: isolate; user-select: none; }
.ba-slider__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba-slider__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .25); pointer-events: none; z-index: 2; }
.ba-slider__handle { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .22); transition: transform .2s; }
.ba-slider__handle svg { width: 22px; height: 22px; fill: none; stroke: var(--green-600); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-slider__tag { position: absolute; bottom: 14px; z-index: 2; padding: 7px 13px; border-radius: 9px; font-size: 13.5px; font-weight: 700; line-height: 1; color: #fff; pointer-events: none; transition: opacity .2s; }
.ba-slider__tag--before { left: 14px; background: rgba(20, 24, 21, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ba-slider__tag--after { right: 14px; background: var(--green-600); }
.ba-slider__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ba-slider:hover .ba-slider__handle, .ba-slider__range:focus-visible ~ .ba-slider__line .ba-slider__handle { transform: scale(1.08); }
.ba-slider:has(.ba-slider__range:focus-visible) { outline: 3px solid var(--green-300); outline-offset: 3px; }

@media (max-width: 1180px) {
  .cases { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 640px) {
  .works { padding: 56px 0 64px; }
  .cases { grid-template-columns: 1fr; row-gap: 36px; }
  .ba-slider { border-radius: 18px; }
  .case__title { font-size: 19px; }
}

/* =========================================================
   Как мы работаем
   ========================================================= */
.flow { padding: 96px 0; }
.flow__head { display: flex; flex-direction: column; align-items: stretch; gap: 28px; margin-bottom: 48px; }
.flow__head > div:first-child { flex: none; }
.flow__head .services__title { white-space: nowrap; }
.photo-start { display: flex; align-items: center; gap: 18px; flex: 1 1 auto; min-width: 0; max-width: none; padding: 18px 18px 18px 20px; border-radius: 20px; background: var(--green-50); border: 1px solid #e0efdc; }
.photo-start__ic { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.photo-start__ic .ic { width: 26px; height: 26px; stroke-width: 1.7; }
.photo-start__text { flex: 1; min-width: 0; }
.photo-start__text b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.photo-start__text span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.photo-start__btn { flex: none; }

.flow__body { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: none; }
/* линия маршрута через середину визуалов */
.flow__steps::before { content: ""; position: absolute; left: 4%; right: 2%; top: 92px; height: 1.5px; background: linear-gradient(90deg, #cfe6ca, #9fd09a 50%, #cfe6ca); z-index: 0; }
.fstep { position: relative; }
.fstep:not(:last-child)::after { content: ""; position: absolute; top: 87px; right: -19px; width: 11px; height: 11px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 5px #fff; z-index: 1; }
.fstep__visual { position: relative; z-index: 1; height: 184px; border-radius: 18px; overflow: visible; }
.fstep__visual--soft { display: grid; place-items: center; background: var(--green-50); }
.fstep__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 8px 24px rgba(20, 40, 22, .1); }
.fstep__num { position: absolute; left: -10px; top: -14px; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(20, 40, 22, .1); font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.fstep h3 { margin-top: 22px; font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.fstep p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* шаг 01: телефон */
.phone { position: relative; width: 92px; height: 164px; padding: 5px; border-radius: 18px; background: #1b1f1c; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transform: rotate(-6deg); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.phone__chat { position: absolute; right: -22px; top: 44%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #25a244; color: #fff; box-shadow: 0 6px 16px rgba(37, 162, 68, .4); transform: rotate(6deg); }
.phone__chat .ic { width: 22px; height: 22px; }

/* шаг 02: переписка */
.chat { display: grid; gap: 6px; width: 100%; padding: 22px 10px 0; }
.chat__msg { position: relative; justify-self: start; max-width: 94%; padding: 6px 10px 13px; border-radius: 12px 12px 12px 4px; background: #fff; box-shadow: 0 2px 6px rgba(20, 40, 22, .06); font-size: 11.5px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.chat__msg i { position: absolute; right: 8px; bottom: 3px; font-size: 9px; font-style: normal; color: #9aa59d; }
.chat__msg--me { justify-self: end; border-radius: 12px 12px 4px 12px; background: #d7efd2; }

/* карточка стоимости */
.price-promise { padding: 26px 22px; border-radius: 22px; background: var(--green-50); border: 1px solid #e0efdc; }
.price-promise__head { display: flex; gap: 14px; align-items: flex-start; }
.price-promise__ic { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.price-promise__ic .ic { width: 26px; height: 26px; stroke-width: 1.8; }
.price-promise h3 { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.price-promise > p { margin: 12px 0 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.price-promise ul { display: grid; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid #d9ead4; }
.price-promise li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.price-promise li .ic { width: 24px; height: 24px; padding: 4px; flex: none; border-radius: 50%; background: #fff; color: var(--green-600); stroke-width: 3; box-shadow: 0 1px 3px rgba(20, 40, 22, .08); }

@media (max-width: 1360px) {
  .flow__steps { gap: 22px; }
  .flow__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .photo-start { width: 100%; max-width: none; }
  .chat { padding: 16px 8px 0; gap: 5px; }
  .chat__msg { font-size: 11px; padding: 5px 9px 12px; }
  .fstep:not(:last-child)::after { right: -16px; }
  .fstep__visual { height: 160px; }
  .flow__steps::before { top: 80px; }
  .fstep:not(:last-child)::after { top: 75px; }
  .phone { width: 82px; height: 146px; }
  .fstep h3 { font-size: 16px; }
  .fstep p { font-size: 14px; }
}
@media (max-width: 1180px) {
  .flow__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .photo-start { width: 100%; max-width: none; }
  .flow__body { grid-template-columns: 1fr; }
  .price-promise { max-width: 560px; }
}
/* вертикальный маршрут */
@media (max-width: 860px) {
  .flow__steps { grid-template-columns: 1fr; gap: 36px; padding-left: 62px; }
  .flow__steps::before { left: 24px; right: auto; top: 30px; bottom: 30px; width: 1.5px; height: auto; background: linear-gradient(180deg, #cfe6ca, #9fd09a 50%, #cfe6ca); }
  .fstep:not(:last-child)::after { display: none; }
  .fstep__visual { height: auto; aspect-ratio: 6 / 5; }
  .fstep__visual--soft { aspect-ratio: auto; height: 230px; }
  .chat { padding: 0 24px; gap: 8px; }
  .chat__msg { font-size: 13px; padding: 8px 12px 15px; }
  .fstep__num { left: -62px; top: 0; }
  .phone { width: 104px; height: 186px; }
}
@media (max-width: 640px) {
  .flow { padding: 56px 0 64px; }
  .flow__head { margin-bottom: 36px; }
  .photo-start { flex-wrap: wrap; padding: 18px; }
  .photo-start__ic { width: 48px; height: 48px; }
  .photo-start__text { flex: 1; min-width: 0; }
  .photo-start__text { flex: 1; min-width: 0; }
.photo-start__text b { font-size: 17px; }
  .flow__head .services__title { white-space: normal; }
  .photo-start__btn { width: 100%; }
  .flow__steps { padding-left: 54px; }
  .flow__steps::before { left: 21px; }
  .fstep__num { left: -54px; width: 44px; height: 44px; font-size: 15px; }
  .fstep h3 { margin-top: 18px; font-size: 18px; }
  .fstep p { font-size: 15px; }
  .price-promise { padding: 24px 20px; }
  .price-promise > p { margin-left: 0; }
}

/* =========================================================
   Отзывы
   ========================================================= */
.rvs { padding: 96px 0 56px; }
.rvs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.rvs__side { display: flex; align-items: center; gap: 16px; flex: none; }
.rating-badge { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; padding: 8px 18px 8px 16px; border-radius: 16px; background: #fff; border: 1px solid #eceeea; }
.rating-badge b { grid-row: span 2; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rating-badge__stars { display: flex; gap: 1px; }
.rating-badge__stars svg { width: 13px; height: 13px; fill: #f5b301; }
.rating-badge small { font-size: 12px; line-height: 1.3; color: var(--muted); }
.rvs__arrows { display: flex; gap: 10px; }
.rvs__arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #e1e6df; background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.rvs__arrow .ic { width: 20px; height: 20px; }
.rvs__arrow[data-dir="-1"] .ic { transform: rotate(180deg); }
.rvs__arrow:hover:not(:disabled) { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.rvs__arrow:disabled { opacity: .35; cursor: default; }

.rvs__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 4px 24px; margin: -4px -4px 0; }
.rvs__track::-webkit-scrollbar { display: none; }
.rvs__track:focus-visible { outline: 3px solid var(--green-300); outline-offset: 4px; border-radius: 12px; }
.rv { display: flex; flex-direction: column; scroll-snap-align: start; padding: 26px 26px 22px; background: #fff; border: 1px solid #eceeea; border-radius: 20px; box-shadow: 0 2px 4px rgba(20, 40, 22, .03), 0 10px 28px rgba(20, 40, 22, .06); }
.rv__head { display: flex; align-items: center; gap: 14px; }
.rv__head b { display: block; font-size: 17px; font-weight: 800; }
.rv__head small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.rv__avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; font-size: 18px; font-weight: 700; color: #fff; }
.rv__avatar--0 { background: #3f6b52; }
.rv__avatar--1 { background: #b9774a; }
.rv__avatar--2 { background: #4a6a86; }
.rv__stars { display: flex; gap: 3px; margin: 16px 0 12px; }
.rv__stars svg { width: 17px; height: 17px; fill: #f5b301; }
.rv__text { flex: 1; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.rv__date { margin-top: 16px; font-size: 13px; color: #98a29b; }

/* =========================================================
   Зона обслуживания
   ========================================================= */
.zone2 { padding: 56px 0 96px; }
.zone2__head { display: flex; flex-direction: column; align-items: stretch; gap: 28px; margin-bottom: 28px; }
.zone2__head > div:first-child { flex: none; }
.zone2__perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.zone2__perks li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--green-50); border: 1px solid #e0efdc; }
.zone2__perk-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.zone2__perk-ic .ic { width: 21px; height: 21px; stroke-width: 1.8; }
.zone2__perks b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.zone2__perks small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }

.zone2__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.zone2__body > * { min-width: 0; }
.zmap { position: relative; min-height: 520px; border-radius: 24px; overflow: hidden; border: 1px solid #e3ebe0; background: #f3f7f1; }
.zmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.zmap__region { fill: rgba(47, 154, 63, .13); stroke: #4caf50; stroke-width: 1.6; stroke-dasharray: 7 6; }
.zmap__roads line { stroke: #d6e2d2; stroke-width: 2.4; stroke-linecap: round; }
.zmap__ring { fill: none; stroke: #c5dcc0; stroke-width: 2; }
.zmap__city-area { fill: rgba(47, 154, 63, .32); stroke: #2f9a3f; stroke-width: 2; }
.zmap__road-tag rect { fill: #fff; stroke: #d6dfd3; }
.zmap__road-tag text { font: 700 13px/1 var(--font); fill: #6c766f; text-anchor: middle; }
.zmap__city circle { fill: #fff; stroke: #6d8f6f; stroke-width: 2; }
.zmap__city text { font: 600 18px var(--font); fill: #33403a; paint-order: stroke; stroke: rgba(243, 247, 241, .95); stroke-width: 4px; stroke-linejoin: round; }
.zmap__badge { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; background: var(--green-600); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 6px 16px rgba(36, 128, 58, .3); white-space: nowrap; }
.zmap__pin { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); pointer-events: none; }
.zmap__pin svg { width: 44px; height: 44px; fill: var(--green-700); filter: drop-shadow(0 4px 8px rgba(20, 60, 25, .35)); }
.zmap__pin b { position: absolute; top: 100%; margin-top: 4px; padding: 4px 10px; border-radius: 8px; background: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 4px 12px rgba(20, 40, 22, .12); }
.zmap__legend { position: absolute; left: 16px; bottom: 16px; display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 16px rgba(20, 40, 22, .08); font-size: 13px; color: var(--ink-2); }
.zmap__legend li { display: flex; align-items: center; gap: 10px; }
.zmap__lg { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.zmap__lg--city { background: rgba(47, 154, 63, .32); border: 2px solid #2f9a3f; }
.zmap__lg--region { background: rgba(47, 154, 63, .13); border: 1.6px dashed #4caf50; }

.zinfo { display: flex; flex-direction: column; padding: 36px 34px; border-radius: 24px; background: #fff; border: 1px solid #eceeea; box-shadow: 0 2px 4px rgba(20, 40, 22, .03), 0 12px 32px rgba(20, 40, 22, .06); }
.zinfo h3 { font-size: clamp(24px, 2.1vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.zinfo > p { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.zinfo__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 28px; }
.zinfo__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.zinfo__list .ic { width: 24px; height: 24px; padding: 4px; flex: none; border-radius: 50%; background: var(--green-100); color: var(--green-600); stroke-width: 3; }
.zinfo__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 32px; }
.zinfo__phone { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px; border-radius: 12px; border: 1px solid #e1e6df; transition: border-color .2s; }
.zinfo__phone:hover { border-color: var(--green-500); }
.zinfo__phone .ic { width: 22px; height: 22px; color: var(--green-600); }
.zinfo__phone b { display: block; font-size: 16px; font-weight: 800; white-space: nowrap; }
.zinfo__phone small { display: block; font-size: 12.5px; color: var(--muted); }

@media (max-width: 1360px) {
  .rvs__head { flex-wrap: wrap; }
}
@media (max-width: 1180px) {
  .zone2__body { grid-template-columns: 1fr; }
  .zmap { min-height: 480px; }
  .rvs__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .zone2__perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .rvs__head { flex-direction: column; align-items: flex-start; }
  .rvs__side { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .rvs { padding: 56px 0 32px; }
  .rvs__side { gap: 12px; width: 100%; }
  .rvs__arrows { display: none; }
  .rvs__track { grid-auto-columns: 86%; gap: 14px; margin: -4px -16px 0; padding: 4px 16px 20px; scroll-padding: 0 16px; }
  .rv { padding: 22px 20px 18px; }
  .zone2 { padding: 32px 0 64px; }
  .zone2__perks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .zone2__perks li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .zmap { min-height: 380px; border-radius: 20px; }
  .zmap__city text { font-size: 22px; }
  .zmap__road-tag { display: none; }
  .zmap__badge { font-size: 12.5px; padding: 7px 12px; top: 12px; }
  .zmap__legend { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; font-size: 12px; }
  .zinfo { padding: 26px 20px; border-radius: 20px; }
  .zinfo__list { grid-template-columns: 1fr; gap: 12px; }
  .zinfo__actions .btn, .zinfo__phone { width: 100%; justify-content: center; }
  .zinfo__actions .btn { padding: 0 16px; gap: 8px; font-size: 15px; }
  .rvs__track { align-items: start; }
  .zmap__legend { display: none; }
  .zmap__city--minor { display: none; }
}

/* ---------- Зона: интерактивная карта (Leaflet) ---------- */
.zmap__live { position: absolute; inset: 0; z-index: 1; background: transparent; font-family: var(--font); }
.zmap--live .zmap__svg, .zmap--live .zmap__pin { display: none; }
.zmap--live .zmap__live { background: #f2f4f1; }
.zmap .leaflet-tile-pane { filter: saturate(.45) brightness(1.03) contrast(.95); }
.zmap__badge, .zmap__legend { z-index: 500; }
.zmap .leaflet-control-zoom { border: 0; box-shadow: 0 4px 14px rgba(20, 40, 22, .14); border-radius: 12px; overflow: hidden; margin: 0 16px 16px 0; }
.zmap .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; font-size: 20px; color: var(--ink); border-bottom-color: #eef1ec; }
.zmap .leaflet-control-zoom a:hover { background: var(--green-50); color: var(--green-700); }
.zmap .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .8); border-radius: 6px 0 0 0; }
.zmap .leaflet-control-attribution a { color: var(--muted); }
.zmap .leaflet-bottom.leaflet-right { display: flex; flex-direction: column; align-items: flex-end; }
.zpin { display: flex; flex-direction: column; align-items: center; }
.zpin svg { width: 44px; height: 44px; fill: var(--green-700); filter: drop-shadow(0 4px 8px rgba(20, 60, 25, .35)); }
.zpin b { margin-top: 2px; padding: 4px 10px; border-radius: 8px; background: #fff; font: 800 16px/1.2 var(--font); color: var(--ink); white-space: nowrap; box-shadow: 0 4px 12px rgba(20, 40, 22, .14); }
@media (max-width: 640px) {
  .zmap .leaflet-control-zoom { margin: 0 10px 10px 0; }
}

.zmap__switch { position: absolute; top: 16px; left: 50%; z-index: 500; display: none; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(20, 40, 22, .16); transform: translateX(-50%); }
.zmap__switch button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 700 14px/1 var(--font); cursor: pointer; transition: background-color .2s, color .2s; white-space: nowrap; }
.zmap__switch button:hover { color: var(--green-700); }
.zmap__switch button.is-active { background: var(--green-600); color: #fff; }
.zmap--live .zmap__switch { display: flex; }
.zmap--live .zmap__badge { display: none; }
@media (max-width: 640px) {
  .zmap__switch { top: 10px; }
  .zmap__switch button { height: 32px; padding: 0 13px; font-size: 13px; }
}

/* =========================================================
   Мессенджеры
   ========================================================= */
.msgs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.msg { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px; border-radius: 999px; background: #fff; border: 1px solid #e1e6df; font-size: 14.5px; font-weight: 700; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.msg[hidden] { display: none; }
.msg:hover { border-color: transparent; box-shadow: 0 6px 18px rgba(20, 40, 22, .12); transform: translateY(-1px); }
.msg__ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; color: #fff; }
.msg__ic svg { width: 19px; height: 19px; fill: currentColor; }
.msg--wa .msg__ic { background: #25d366; }
.msg--tg .msg__ic { background: #229ed9; }
.msg--max .msg__ic { background: #1b1d21; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; }
.msg--tg .msg__ic svg { margin-left: -2px; }

/* только иконки */
.msgs--icons { gap: 8px; }
.msgs--icons .msg { width: 40px; height: 40px; padding: 0; justify-content: center; border: 0; background: transparent; }
.msgs--icons .msg:hover { box-shadow: none; transform: translateY(-2px); }
.msgs--icons .msg__ic { width: 38px; height: 38px; box-shadow: 0 4px 10px rgba(20, 40, 22, .12); }
.msgs--icons .msg__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.header__msgs { flex: none; }
.photo-start__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.zinfo__msgs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #eef1ec; }
.zinfo__msgs > span { font-size: 14px; color: var(--muted); }
.cta__text .msgs { margin-top: 16px; }
.footer__msgs .msg__ic { width: 34px; height: 34px; }

@media (max-width: 1360px) {
  .header__msgs { display: none; }
}
@media (max-width: 640px) {
  .photo-start__actions { width: 100%; }
  .photo-start__actions .photo-start__btn { flex: 1; width: auto; }
  .zinfo__msgs .msgs, .cta__text .msgs { width: 100%; }
  .zinfo__msgs .msg, .cta__text .msg { flex: 1; justify-content: center; padding: 0 12px 0 6px; }
}
.photo-start__actions .msgs .msg--wa { display: none; } /* WhatsApp уже на основной кнопке */

/* =========================================================
   Запись на выезд (окно)
   ========================================================= */
html.is-locked { overflow: hidden; }
.booking { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(10, 30, 15, .28); overflow: hidden; }
.booking::backdrop { background: rgba(16, 28, 19, .5); backdrop-filter: blur(3px); }
.booking[open] { display: flex; flex-direction: column; animation: bookingIn .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes bookingIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.booking__form { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
.booking__head { display: flex; justify-content: space-between; gap: 16px; padding: 28px 32px 18px; border-bottom: 1px solid #eef1ec; }
.booking__head .eyebrow { margin-bottom: 8px; }
.booking__head h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.booking__head p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.booking__close { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: #f1f4f0; color: var(--ink); cursor: pointer; transition: background-color .2s; }
.booking__close:hover { background: #e3e9e1; }
.booking__body { display: grid; gap: 22px; padding: 22px 32px; overflow-y: auto; overscroll-behavior: contain; }

.bfield { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.bfield__label { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0; }
.bfield__label i { font-style: normal; color: #d1491b; }
.booking select, .booking input[type="text"], .booking input[type="date"] { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #dfe5dd; border-radius: 12px; background: #fff; font: 500 15px var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.booking select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c463f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 40px; }
.booking select:focus, .booking input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(47, 154, 63, .15); }

.bdates { display: grid; grid-auto-flow: column; grid-auto-columns: 72px; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.bdates::-webkit-scrollbar { display: none; }
.bdate, .bslot { position: relative; cursor: pointer; }
.bdate input, .bslot input { position: absolute; opacity: 0; pointer-events: none; }
.bdate span { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border: 1px solid #dfe5dd; border-radius: 14px; background: #fff; transition: border-color .2s, background-color .2s, color .2s; }
.bdate small { font-size: 11.5px; color: var(--muted); text-transform: capitalize; white-space: nowrap; }
.bdate b { font-size: 22px; font-weight: 800; line-height: 1.1; }
.bdate:hover span, .bslot:hover span { border-color: var(--green-500); }
.bdate input:checked + span, .bslot input:checked + span { border-color: var(--green-600); background: var(--green-600); color: #fff; }
.bdate input:checked + span small, .bslot input:checked + span small { color: rgba(255, 255, 255, .85); }
.bdate input:focus-visible + span, .bslot input:focus-visible + span { box-shadow: 0 0 0 3px rgba(47, 154, 63, .3); }
.bdate-other { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.bdate-other input[type="date"] { width: auto; height: 40px; }

.bslots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bslot span { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid #dfe5dd; border-radius: 14px; background: #fff; transition: border-color .2s, background-color .2s, color .2s; }
.bslot b { font-size: 15px; font-weight: 800; }
.bslot small { font-size: 12.5px; color: var(--muted); }

.bgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bpreview { display: grid; gap: 8px; }
.bpreview pre { margin: 0; padding: 14px 16px; border-radius: 14px; background: #eef7ea; border: 1px solid #d9ecd3; font: 500 13.5px/1.55 var(--font); color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.booking__error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fff1e8; color: #b6440d; font-size: 14px; font-weight: 600; }

.booking__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 32px 24px; border-top: 1px solid #eef1ec; background: #fbfcfa; }
.bsend--wa { background: #1fa855; box-shadow: 0 8px 20px rgba(31, 168, 85, .28); }
.bsend--wa:hover { background: #178c46; }
.booking:not(.is-ready) .bsend--wa { opacity: .55; box-shadow: none; }
.bsend-alt { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px 0 10px; border-radius: 12px; border: 1px solid #dfe5dd; background: #fff; font-size: 15px; font-weight: 700; transition: border-color .2s; }
.bsend-alt[hidden] { display: none; }
.bsend-alt:hover { border-color: var(--green-500); }
.bsend--tg .msg__ic { background: #229ed9; }
.bsend--max .msg__ic { background: #1b1d21; font-size: 9.5px; font-weight: 800; }
.booking__hint { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--muted); }
.booking__toast { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 18px; border-radius: 12px; background: #16211a; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); white-space: nowrap; }

@media (max-width: 640px) {
  .booking { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .booking__head { padding: 20px 16px 14px; }
  .booking__body { padding: 18px 16px; gap: 20px; }
  .bslots { grid-template-columns: 1fr 1fr; }
  .bgrid { grid-template-columns: 1fr; gap: 14px; }
  .booking__foot { flex-wrap: nowrap; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .bsend--wa { flex: 1 1 auto; height: 52px; padding: 0 14px; font-size: 15px; }
  .bsend-alt { flex: none; height: 52px; padding: 0 14px 0 8px; font-size: 14px; }
  .booking__hint { display: none; }
  .bsend__pre { display: none; }
  .bsend--wa, .bsend-alt { min-width: 0; }
  .booking__toast { white-space: normal; width: calc(100% - 32px); text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .booking[open] { animation: none; } }

/* QR WhatsApp в «Остались вопросы?» — для тех, кто смотрит с компьютера */
.wa-qr { display: flex; align-items: center; gap: 12px; flex: none; padding: 8px 14px 8px 8px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(20, 40, 22, .1); transition: transform .2s, box-shadow .2s; }
.wa-qr:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 40, 22, .14); }
.wa-qr img { width: 84px; height: 84px; border-radius: 8px; image-rendering: pixelated; }
.wa-qr b { display: block; font-size: 15px; font-weight: 800; color: #1a9c4c; }
.wa-qr small { display: block; max-width: 110px; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
@media (max-width: 1360px) { .wa-qr small { display: none; } .wa-qr { padding-right: 12px; } }
@media (max-width: 860px) { .wa-qr { display: none; } }

/* «Остались вопросы?»: две строки — заголовок + мессенджеры, затем контакты */
@media (min-width: 1081px) {
  .cta { padding: 44px 0; }
  .cta__inner { flex-wrap: wrap; row-gap: 26px; column-gap: 36px; }
  .cta__text { flex: 1 1 100%; display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: center; }
  .cta__text .h2, .cta__text > p { grid-column: 1; }
  .cta__text > p { max-width: 520px; }
  .cta__text .msgs { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; flex-wrap: nowrap; }
  .cta__inner > .btn { margin-left: auto; }
}
@media (max-width: 640px) {
  .zinfo__msgs .msgs, .cta__text .msgs { flex-wrap: nowrap; gap: 8px; }
  .zinfo__msgs .msg, .cta__text .msg { min-width: 0; height: 44px; gap: 6px; padding: 0 8px 0 5px; font-size: 13px; }
  .zinfo__msgs .msg__ic, .cta__text .msg__ic { width: 30px; height: 30px; }
  .zinfo__msgs .msg__ic svg, .cta__text .msg__ic svg { width: 17px; height: 17px; }
}
.booking__toast { white-space: normal; width: max-content; max-width: calc(100% - 48px); text-align: center; line-height: 1.4; }

/* MAX: «текст скопирован → открыть чат» */
.bcopied { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 24px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(4px); }
.bcopied[hidden] { display: none; }
.bcopied__card { display: grid; justify-items: center; gap: 14px; width: min(420px, 100%); padding: 32px 28px 24px; border-radius: 22px; background: #fff; border: 1px solid #e3ebe0; box-shadow: 0 20px 50px rgba(20, 40, 22, .16); text-align: center; animation: bookingIn .3s cubic-bezier(.2, .7, .2, 1); }
.bcopied__ok { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.bcopied__ok .ic { width: 28px; height: 28px; stroke-width: 3; }
.bcopied h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.bcopied ol { display: grid; gap: 8px; margin: 2px 0 6px; padding: 0; counter-reset: step; text-align: left; }
.bcopied li { position: relative; padding-left: 34px; font-size: 15px; line-height: 1.45; color: var(--ink-2); counter-increment: step; }
.bcopied li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f1f4f0; font-size: 13px; font-weight: 800; color: var(--ink); }
.bcopied__go { width: 100%; background: #1b1d21; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.bcopied__go:hover { background: #000; }
.bcopied__go .msg__ic { width: 30px; height: 30px; background: #fff; color: #1b1d21; font-size: 8.5px; font-weight: 800; border-radius: 50%; display: grid; place-items: center; }
.bcopied__back { border: 0; background: none; padding: 6px; font: 600 14px var(--font); color: var(--muted); cursor: pointer; }
.bcopied__back:hover { color: var(--ink); }
.bcopied__text { display: none; width: 100%; height: 120px; padding: 10px 12px; border: 1px solid #dfe5dd; border-radius: 12px; font: 500 13px/1.5 var(--font); resize: none; }
.bcopied.is-manual .bcopied__text { display: block; }
.bcopied.is-manual ol li:first-child::after { content: " (сначала выделите и скопируйте текст выше)"; color: var(--muted); }
.bcopied.is-manual .bcopied__ok { display: none; }
/* окно записи на телефоне: WhatsApp во всю ширину, Telegram и MAX рядом под ним */
@media (max-width: 640px) {
  .booking__foot { flex-wrap: wrap; }
  .bsend--wa { flex: 1 1 100%; }
  .bsend--wa .bsend__pre { display: inline; }
  .bsend-alt { flex: 1 1 0; justify-content: center; }
}

/* Услуги: 5 карточек — 5 в ряд на широких, 3+2 на средних, 1 на телефоне */
.svc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.svc-grid .svc h3 { font-size: 18px; }
.svc-grid .svc__body { padding: 20px 18px 18px; }
.svc-grid .svc p { font-size: 14.5px; }
.svc-grid .svc__foot b { font-size: 20px; }
.svc-grid .svc__chip { font-size: 11.5px; padding: 6px 10px 6px 7px; gap: 7px; }
.svc-grid .svc__chip .ic { width: 24px; height: 24px; padding: 4px; }
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .svc-grid .svc { grid-column: span 2; }
  .svc-grid .svc:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .svc, .svc-grid .svc:nth-child(n+4) { grid-column: auto; }
  .svc-grid .svc h3 { font-size: 20px; }
  .svc-grid .svc__chip { font-size: 13px; }
}

/* Услуги: 6 карточек — 3 в ряд на компьютере, 2 на планшете, 1 на телефоне */
.svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-grid .svc, .svc-grid .svc:nth-child(n+4) { grid-column: auto; }
.svc-grid .svc h3 { font-size: 20px; }
.svc-grid .svc__body { padding: 24px 24px 22px; }
.svc-grid .svc p { font-size: 15.5px; }
.svc-grid .svc__foot b { font-size: 23px; }
.svc-grid .svc__chip { font-size: 12.5px; padding: 8px 14px 8px 10px; gap: 9px; }
.svc-grid .svc__chip .ic { width: 28px; height: 28px; padding: 5px; }
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
}
