/* =========================================================================
   Гуминовые кислоты — стили сайта. Без фреймворков.
   Сетка отступов: шаг 8px. Секция: 96px (десктоп) / 56px (мобайл).
   ========================================================================= */
:root {
  --ink: #0a1b08;
  --ink-2: #2f3f2b;
  --muted: #5f6d5b;
  --green: #0d9923;
  --green-d: #0a7a1c;
  --green-l: #e7f4e1;
  --tint: #f2f7ee;
  --bg: #fbfcf9;
  --card: #fff;
  --line: #e2e9dc;
  --warn: #fff6de;
  --warn-line: #f0d48a;
  --wb: linear-gradient(135deg, #cb11ab 0%, #7b2a9e 100%);
  --star: #f5a524;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 27, 8, .04), 0 6px 20px rgba(10, 27, 8, .06);
  --shadow-h: 0 2px 6px rgba(10, 27, 8, .06), 0 18px 44px rgba(10, 27, 8, .12);
  --wrap: 1360px;
  --text: 800px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h: "Montserrat", var(--font);
  --gap: clamp(16px, 2.2vw, 24px);
  --sec-y: clamp(56px, 7.5vw, 96px);
  --head-gap: clamp(24px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.7 var(--font); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-d); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px !important; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: #fff; font: 600 16px/1.2 var(--font); text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; cursor: pointer;
}
.btn:hover { background: var(--green-d); border-color: var(--green-d); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(13, 153, 35, .22); }
.btn--ghost { background: transparent; color: var(--green-d); }
.btn--ghost:hover { background: var(--green-l); color: var(--green-d); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn--wb { background: var(--wb); border: 0; padding: 10px 20px; }
.btn--wb:hover { background: var(--wb); filter: brightness(1.08); box-shadow: 0 8px 20px rgba(160, 27, 166, .3); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-l); border-color: var(--green-l); color: var(--ink); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btns--center { justify-content: center; margin-top: 32px; }
.link-more { font-weight: 600; font-size: 15px; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* маркетплейс */
.mp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px;
  border-radius: 14px; color: #fff; font: 700 16px/1.2 var(--font-h); text-decoration: none; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.mp:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 10px 24px rgba(160, 27, 166, .3); }
.mp--wb { background: var(--wb); }
.mp--lg { min-height: 58px; padding: 14px 28px; font-size: 17px; }
.mp--sm { min-height: 42px; padding: 8px 14px; font-size: 14px; border-radius: 10px; gap: 8px; }
.wb-logo { flex: none; }
.mp--sm .wb-logo { width: 18px; height: 18px; }

/* ---------- шапка */
.hdr { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 252, 249, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { flex: none; display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.logo__img { height: 44px; width: auto; }
.logo__txt { font: 800 20px var(--font-h); }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; white-space: nowrap; }
.nav__link:hover, .nav__link.is-active { background: var(--green-l); color: var(--green-d); }
.has-sub > .nav__link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.nav__toggle { display: none; }
.nav__sub {
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 280px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-h);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.nav__sub a:hover { background: var(--tint); color: var(--green-d); }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__aside { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 15.5px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1360px) { .nav__phone { display: none; } }
@media (max-width: 1180px) {
  .burger { display: block; }
  .hdr__in { min-height: 64px; }
  .logo__img { height: 38px; }
  .nav {
    position: fixed; inset: 64px 0 0 0; background: var(--bg); flex-direction: column; align-items: stretch;
    justify-content: flex-start; padding: 8px 16px 120px; overflow-y: auto; gap: 16px;
    transform: translateX(100%); transition: transform .25s; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 16px 4px; font-size: 18px; border-radius: 0; }
  .has-sub > .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.is-active { background: none; }
  .nav__toggle { display: block; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; }
  .nav__toggle::before { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg); transition: .2s; }
  .nav__item.is-open .nav__toggle::before { transform: translateY(2px) rotate(-135deg); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; width: 100%; display: none; min-width: 0; background: none; }
  .nav__sub a { padding: 10px 8px; }
  .nav__item.is-open .nav__sub { display: block; }
  .nav__aside { flex-direction: column; align-items: stretch; }
  .nav__aside .btn { width: 100%; min-height: 52px; }
  .nav__phone { display: block; font-size: 20px; padding: 8px 4px; }
}

/* ---------- хлебные крошки */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; color: #a8b4a2; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-d); }

/* ---------- первый экран внутренних страниц */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 5vw, 72px); background: radial-gradient(1100px 420px at 90% -20%, #dff0d6 0%, transparent 60%), var(--bg); }
.hero__grid { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero--img .hero__grid { grid-template-columns: 1.08fr .92fr; }
.hero__h { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; max-width: 22ch; margin-bottom: 16px; }
.hero__lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; margin-bottom: 0; }
.hero__lead + .hero__lead { margin-top: 12px; }
.hero__meta { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.hero__img { border-radius: 28px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-h); }
.eyebrow { display: inline-block; font: 600 12.5px/1 var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--green-d); background: var(--green-l); padding: 8px 12px; border-radius: 999px; margin-bottom: 20px; }
.prod-hero__media { background: #fff; border-radius: 28px; padding: 16px; box-shadow: var(--shadow); }
.prod-hero__media .hero__img { box-shadow: none; border-radius: 18px; aspect-ratio: auto; }
.composition { margin-top: 24px; font-size: 15px; color: var(--muted); }
.composition summary { cursor: pointer; font-weight: 600; color: var(--ink); }
@media (max-width: 880px) {
  .hero--img .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__h { max-width: none; }
  .hero__img { aspect-ratio: 16 / 11; }
}

/* ---------- главная: тёмный первый экран */
.home-hero { position: relative; background: #0b2309; color: #fff; overflow: hidden; isolation: isolate; }
.home-hero__bg { position: absolute; inset: 0; z-index: -1; }
.home-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.home-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 6, 0) 28%, rgba(8, 28, 6, .6) 52%, rgba(8, 28, 6, .9) 100%); }
.home-hero__in { min-height: clamp(540px, 66vh, 700px); display: flex; align-items: center; justify-content: flex-end; padding-top: 64px; padding-bottom: 64px; }
.home-hero__txt { max-width: 540px; }
.home-hero__h { color: #fff; font-size: clamp(32px, 4.1vw, 52px); font-weight: 800; margin-bottom: 16px; }
.home-hero__lead { color: #d3e3cd; font-size: clamp(17px, 1.45vw, 20px); margin: 0; }
.home-hero__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 32px 0 0; padding: 0; }
.home-hero__links a { color: #b8f0a8; text-decoration: none; font-weight: 600; }
.home-hero__links a:hover { color: #fff; }
.eyebrow--dark { background: rgba(255, 255, 255, .1); color: #b8f0a8; }
@media (max-width: 880px) {
  .home-hero__bg { position: relative; height: 290px; }
  .home-hero__bg::after { background: linear-gradient(180deg, rgba(8, 28, 6, 0) 45%, #0b2309 100%); }
  .home-hero__img { object-position: 12% center; }
  .home-hero__in { min-height: 0; padding-top: 0; padding-bottom: 48px; justify-content: flex-start; }
}

/* полоса доверия */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 24px 0; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.trust b { color: var(--ink); font-weight: 600; }
.trust svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--green-l); color: var(--green-d); }
.trust--compact { grid-template-columns: repeat(2, 1fr); margin-top: 28px; gap: 12px 16px; }
.trust--compact svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust li { font-size: 14px; } }

/* =========================================================================
   Секции: единый ритм
   ========================================================================= */
.sec { padding: var(--sec-y) 0; }
.sec--tint { background: var(--tint); }
.sec + .sec:not(.sec--tint):not(.sec--cta) { padding-top: calc(var(--sec-y) * .35); }
.sec--tint + .sec:not(.sec--tint) { padding-top: var(--sec-y); }
.sec--cta + .sec:not(.sec--tint) { padding-top: calc(var(--sec-y) * .5); }
.sec--nohead.sec--text { padding-top: 0; }
.body > .sec:first-child.sec--nohead { padding-top: clamp(32px, 4vw, 56px); }
.sec__in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .sec__in { padding: 0 32px; } }
.sec__head { margin: 0 auto var(--head-gap); max-width: 820px; }
.sec--wide .sec__head { text-align: center; }
.sec--text .sec__head, .sec--text .blk { max-width: var(--text); margin-left: auto; margin-right: auto; }
.sec--wide .blk--paragraph, .sec--wide .blk--notice, .sec--wide .blk--quote, .sec--wide .blk--buttons, .sec--wide .blk--faq,
.sec--wide .blk--heading, .sec--wide .blk--image:not(.blk--img-wide) { max-width: var(--text); margin-left: auto; margin-right: auto; }
.sec--wide .blk--paragraph { text-align: center; color: var(--muted); }
.sec--wide .blk--buttons .btns { justify-content: center; }
.h-h2, .sec__head h2 { font-size: clamp(28px, 3.1vw, 40px); font-weight: 800; margin: 0; }
.h-sub { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); margin: 12px 0 0; }
.h-h3, .blk--heading h3 { font-size: clamp(21px, 2vw, 25px); font-weight: 700; margin: 0; }
.sec-sub { text-align: center; margin-bottom: 24px !important; }

/* вертикальный ритм между блоками внутри секции */
.blk + .blk { margin-top: 24px; }
.blk + .blk--cards, .blk + .blk--gallery, .blk + .blk--stats, .blk + .blk--table, .blk + .blk--products,
.blk + .blk--reviews, .blk + .blk--faq, .blk + .blk--contact_form, .blk + .blk--image { margin-top: 40px; }
.blk--cards + .blk, .blk--stats + .blk, .blk--gallery + .blk, .blk--table + .blk { margin-top: 40px; }
.blk--h3 { margin-top: 48px !important; }
.blk--h3 + .blk { margin-top: 16px; }

/* ---------- текст: разметка для чтения */
.blk--paragraph, .rt { color: var(--ink-2); }
.sec--text .sec__head + .blk--paragraph > p:first-child { font-size: 1.08em; color: var(--ink); }
.blk--paragraph h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 1.6em 0 .6em; }
.blk--paragraph h3 { font-size: 21px; margin: 1.6em 0 .5em; padding-left: 14px; border-left: 3px solid var(--green); }
.blk--paragraph h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.blk--paragraph b, .rt b { color: var(--ink); font-weight: 600; }
.blk--paragraph ul, .blk--paragraph ol, .rt ul, .rt ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; }
.blk--paragraph li, .rt li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.blk--paragraph ul > li::before, .rt ul > li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230a7a1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.blk--paragraph ol, .rt ol { counter-reset: n; }
.blk--paragraph ol > li::before, .rt ol > li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font: 700 12.5px/22px var(--font); text-align: center; }
.blk--paragraph blockquote { margin: 1.6em 0; padding: 24px 28px; border-left: 4px solid var(--green); background: var(--tint); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 1.05em; color: var(--ink); }
.blk--paragraph hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.blk--paragraph a, .rt a { font-weight: 500; }
.rt > :last-child, .blk--paragraph > :last-child { margin-bottom: 0; }
.art-meta { color: var(--muted); font-size: 15px; max-width: var(--text); margin: -16px auto 0; }

/* ---------- изображения */
.fig { margin: 0; }
.fig__img { max-height: 560px; width: auto; margin: 0 auto; border-radius: var(--r); }
.blk--img-wide .fig__img { width: 100%; max-height: none; }
.fig figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; text-align: center; }

/* ---------- сетки и карточки */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden; position: relative; margin: 0;
}
.sec--tint .card { border-color: transparent; }
.card__media { background: var(--tint); }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body > .btn { align-self: flex-start; margin-top: auto; }
.card__h { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.3; }
.card__h a { color: inherit; text-decoration: none; }
.card__p { font-size: 16px; color: var(--ink-2); margin: 0; line-height: 1.6; }
.card__p p { margin-bottom: .5em; }
.card__meta { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--green-d); font-weight: 600; margin: 0; }
.card__more { margin-top: auto; color: var(--green-d); font-weight: 600; font-size: 15px; }
.card--link { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; height: 100%; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); color: inherit; }

/* иконки */
.card__media--icon { background: none; padding: 24px 24px 0; }
.card__icon { width: 64px; height: 64px; object-fit: contain; padding: 12px; border-radius: 18px; background: var(--green-l); }
.card__media--icon + .card__body { padding-top: 16px; }
.cards--icons .card__h { font-size: 18px; }

/* шаги */
.card--steps .card__body { padding-top: 76px; }
.card__num { position: absolute; top: 24px; left: 24px; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #fff; font: 800 18px/40px var(--font-h); text-align: center; }
.card--steps::after { content: ""; position: absolute; top: 43px; left: 76px; right: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }

/* аудитории (Людям / Кошкам / Собакам) */
.cards--audience .card__media--tall { display: block; overflow: hidden; }
.cards--audience .card__img { aspect-ratio: 4 / 5; transition: transform .4s; }
.cards--audience .card:hover .card__img { transform: scale(1.04); }
.cards--audience .card__h { font-size: 24px; }
.cards--audience .card__body { padding: 24px 24px 28px; }

/* проблема → результат */
.cards--problems .card { box-shadow: none; }
.cards--problems .card__body { padding: 28px; }
.cards--problems .card__h { font-size: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cards--problems .card__p p { margin-bottom: 8px; }
.cards--problems .card__p p:has(> i) { margin-top: 14px; margin-bottom: 0; padding: 12px 14px; border-radius: 12px; background: var(--green-l); color: var(--green-d); }
.cards--problems .card__p i { font-style: normal; font-weight: 500; }

/* темы (подстраницы) */
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.topic { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, box-shadow .15s, transform .15s; }
.topic:hover { border-color: var(--green); color: var(--green-d); box-shadow: var(--shadow); transform: translateY(-2px); }
.topic__img { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.topic__t { flex: 1; line-height: 1.3; }
.topic__arr { color: var(--green); font-weight: 700; }
.sec--topics { padding-top: 0; padding-bottom: clamp(32px, 4vw, 56px); }
.sec--topics .sec__head { text-align: left; max-width: none; margin-bottom: 24px; }
.sec--topics .h-h2 { font-size: clamp(22px, 2.2vw, 28px); }

/* ---------- крупные цифры */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gap); }
.stat { background: #fff; border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow); text-align: center; }
.stat__v { font: 800 clamp(30px, 3vw, 40px)/1.1 var(--font-h); color: var(--green); margin: 0 0 8px; letter-spacing: -.02em; white-space: nowrap; }
.stat__l { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.stats__note { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* ---------- карусель */
.carousel { position: relative; --per: 3; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 20px; margin: -4px -4px 0; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; min-width: 0; }
.carousel__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.carousel__dots { display: flex; gap: 8px; flex-wrap: wrap; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #cfd9c9; cursor: pointer; transition: width .2s, background .2s; }
.carousel__dots button.is-on { width: 24px; background: var(--green); }
.carousel__arrows { display: flex; gap: 8px; }
.carousel__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: .15s; }
.carousel__btn:hover:not(:disabled) { border-color: var(--green); color: var(--green-d); box-shadow: var(--shadow); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel.is-static .carousel__bar { display: none; }
@media (max-width: 1000px) { .carousel { --per: 2 !important; } }
@media (max-width: 640px) { .carousel { --per: 1.12 !important; } .carousel__arrows { display: none; } .carousel__bar { justify-content: center; } }

/* ---------- товары */
.prod { height: 100%; }
.prod__media { position: relative; display: block; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); padding: 16px; }
.prod__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.prod__tag { position: absolute; top: 28px; left: 28px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); color: var(--green-d); font: 600 12px/1 var(--font); padding: 8px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.prod__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; padding-top: 8px; }

/* ---------- галерея */
.gallery { display: grid; gap: 16px; }
.gallery--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery__item { display: block; border-radius: var(--r-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .3s; }
.gallery__item:hover .gallery__img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 27, 8, .9); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; max-width: 100%; width: auto; border-radius: 12px; background: #fff; }

/* ---------- отзывы */
.review { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.sec--tint .review { border-color: transparent; }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 18px; line-height: 1; }
.stars--lg { font-size: 24px; }
.badge { font: 600 12px/1 var(--font); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.badge--wb { background: #f6e8f7; color: #8b1f92; }
.review__text { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--green-d); font: 600 15px var(--font); cursor: pointer; margin-top: -8px; }
.review__photo { display: block; width: 96px; border-radius: 12px; overflow: hidden; }
.review__photo img { aspect-ratio: 1; object-fit: cover; }
.review__who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.35; padding-top: 16px; border-top: 1px solid var(--line); }
.review__who b { color: var(--ink); font-size: 15.5px; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--green-l); color: var(--green-d); display: grid; place-items: center; font: 700 16px var(--font-h); }
.review__src { margin-left: auto; font-size: 13px; color: var(--muted); }
.review__answer { background: var(--tint); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.masonry { columns: 3 320px; column-gap: var(--gap); }
.masonry .review { break-inside: avoid; margin-bottom: var(--gap); height: auto; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* сводка рейтинга */
.rsum { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; background: #fff; border-radius: var(--r); padding: 28px 32px; box-shadow: var(--shadow); margin-bottom: 40px; }
.rsum__score { display: flex; align-items: center; gap: 16px; }
.rsum__num { font: 800 56px/1 var(--font-h); margin: 0; }
.rsum__score .muted { margin: 6px 0 0; font-size: 15px; }
.rsum__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; max-width: 360px; }
.rsum__bars li { display: grid; grid-template-columns: 36px 1fr 40px; align-items: center; gap: 10px; }
.bar { height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--star); border-radius: 99px; }
.rsum__filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.chip:hover { border-color: var(--green); color: var(--green-d); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 1000px) { .rsum { grid-template-columns: 1fr; } .rsum__filters { justify-content: flex-start; } }

/* ---------- FAQ */
.faq { display: grid; gap: 12px; }
.blk--faq > .h-h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 24px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 17.5px; line-height: 1.45; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 17px; width: 30px; height: 30px; border-radius: 50%; background: var(--green-l); color: var(--green-d); font: 600 20px/30px var(--font); text-align: center; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding-bottom: 24px; font-size: 16.5px; }

/* ---------- выделенные блоки */
.notice { padding: 24px 28px; border-radius: var(--r); background: var(--green-l); border: 1px solid #cfe7c6; font-size: 17px; }
.notice--warning { background: var(--warn); border-color: var(--warn-line); }
.notice--warning > p:first-child { font-weight: 700; color: #7a5300; }
.notice--info { background: #eef4fb; border-color: #cfdff2; }
.quote { margin: 0; padding: 32px; border-radius: var(--r); background: var(--tint); font: 600 21px/1.5 var(--font-h); }
.quote cite { display: block; margin-top: 12px; font: 400 15px var(--font); color: var(--muted); font-style: normal; }

/* ---------- таблицы */
.tbl-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); max-width: 960px; margin: 0 auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.tbl th, .tbl td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.tbl td:first-child { font-weight: 600; color: var(--ink); }
.tbl td:last-child { color: var(--green-d); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:nth-child(even) td { background: #fafcf8; }

/* ---------- формы */
.form { padding: clamp(24px, 4vw, 48px); gap: 16px; display: flex; flex-direction: column; max-width: 760px; margin: 0 auto; }
.form__h { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin: 0; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .search input {
  font: 400 17px/1.4 var(--font); padding: 14px 16px; border-radius: 12px; border: 1px solid #cdd7c7; background: #fff; color: var(--ink); width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus, .search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(13, 153, 35, .15); }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); }
.form .btn { align-self: flex-start; }
.form__msg { margin: 0; font-weight: 500; }
.form__msg:empty { display: none; }
.form__msg.is-ok { color: var(--green-d); }
.form__msg.is-err { color: #b42318; }
.lead-form { background: var(--ink); color: #fff; border: 0; }
.lead-form .form__h { color: #fff; }
.lead-form .muted, .lead-form label { color: #c7d6c1; }
.lead-form a { color: #b8f0a8; }
.lead-form .btn { background: #fff; border-color: #fff; color: var(--ink); }
.lead-form .form__msg.is-ok { color: #b8f0a8; }
.rating { border: 0; padding: 0; margin: 0; }
.rating legend { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.rating__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating__stars label { font-size: 34px; line-height: 1; color: #d6dcd2; cursor: pointer; transition: color .1s; }
.rating__stars input:checked ~ label, .rating__stars label:hover, .rating__stars label:hover ~ label { color: var(--star); }
.rating__stars input:focus-visible + label { outline: 3px solid var(--green); border-radius: 4px; }
.search { display: flex; gap: 12px; max-width: 600px; margin-top: 24px; }

/* ---------- контакты */
.contact { padding: 24px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.contact:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); color: inherit; }
.contact__k { font-size: 14px; color: var(--muted); }
.contact__v { font: 700 21px var(--font-h); color: var(--ink); }

/* ---------- CTA-баннер */
.sec--cta { padding: clamp(32px, 4vw, 56px) 16px; }
.cta { max-width: calc(var(--wrap) - 64px); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(184, 240, 168, .18), transparent 60%), #0b2309; color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.cta__eyebrow { font: 600 12.5px/1 var(--font); letter-spacing: .09em; text-transform: uppercase; color: #b8f0a8; margin: 0 0 16px; }
.cta__h { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin: 0 0 16px; }
.cta__p { color: #cfdec9; margin: 0; max-width: 52ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta__media { justify-self: end; }
.cta__img { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); transform: rotate(2deg); }
@media (min-width: 720px) { .sec--cta { padding-left: 32px; padding-right: 32px; } }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta__media { justify-self: center; order: -1; } .cta__img { max-width: 200px; } .cta__btns > * { width: 100%; } }

/* ---------- блок «Где купить» */
.wtb { padding: 32px; align-items: flex-start; gap: 8px; max-width: 760px; margin: 0 auto; }
.buy { background: var(--ink); color: #fff; padding: clamp(40px, 5vw, 64px) 0; }
.buy__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.buy__h { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 0 0 8px; }
.buy__p { color: #b9c8b4; margin: 0; max-width: 56ch; }

/* ---------- подвал */
.ftr { background: #071406; color: #b9c8b4; padding: clamp(48px, 6vw, 72px) 0 24px; font-size: 15.5px; padding-bottom: 104px; }
@media (min-width: 881px) { .ftr { padding-bottom: 32px; } }
.ftr a { color: #dfe9db; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.ftr__brand { font: 800 22px var(--font-h); color: #fff; margin-bottom: 12px; }
.ftr__h { color: #fff; font-weight: 600; margin-bottom: 12px; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr__muted { color: #93a68d; }
.ftr__legal { border-top: 1px solid #1d2f1a; margin-top: 40px; padding-top: 24px; font-size: 13px; color: #7f927a; }
.ftr__legal p { margin: 0 0 6px; }

/* ---------- мобильная панель покупки */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mbar__btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 12px; border-radius: 14px; color: #fff; background: var(--wb); font: 700 16px var(--font-h); text-decoration: none; }
.mbar__btn:hover { color: #fff; }
.mbar__call { flex: none; width: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--green-l); color: var(--green-d); }
@media (max-width: 880px) { .mbar { display: flex; } }

/* ---------- мобильные отступы */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .card__body { padding: 20px; }
  .review { padding: 20px; }
  .cards--problems .card__body { padding: 22px; }
  .stat { padding: 22px 16px; }
  .notice { padding: 20px; }
  .faq__item { padding: 0 18px; }
  .rsum { padding: 24px 20px; }
  .trust-bar { padding: 20px 0; }
  .hero__cta .mp, .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .hdr, .ftr, .mbar, .buy, .btn, .mp, .carousel__bar { display: none !important; } body { background: #fff; } }

/* неполный последний ряд — по центру */
.cards--problems, .cards--icons, .cards--cards { display: flex; flex-wrap: wrap; justify-content: center; }
.cards--problems > .card { flex: 0 1 calc((100% - 2 * var(--gap)) / 3); min-width: min(100%, 290px); }
.cards--icons > .card, .cards--cards > .card { flex: 1 1 calc((100% - 3 * var(--gap)) / 4); min-width: min(100%, 230px); max-width: 380px; }
.grid--3.cards--cards > .card { flex-basis: calc((100% - 2 * var(--gap)) / 3); max-width: none; }
.grid--2.cards--cards > .card { flex-basis: calc((100% - var(--gap)) / 2); max-width: none; }

/* первый экран главной: текст не наезжает на флаконы */
.home-hero__txt { max-width: 480px; }
.home-hero__h { font-size: clamp(30px, 3.5vw, 46px); }
@media (min-width: 881px) and (max-width: 1280px) {
  .home-hero__img { object-position: 0% center; }
  .home-hero__bg::after { background: linear-gradient(90deg, rgba(8, 28, 6, 0) 22%, rgba(8, 28, 6, .75) 46%, rgba(8, 28, 6, .92) 100%); }
}

.hero__h--long { font-size: clamp(26px, 2.9vw, 38px); max-width: 26ch; }

/* мобайл: аудитории — свайп, иконки — компактно в строку */
@media (max-width: 640px) {
  .cards--audience { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .cards--audience::-webkit-scrollbar { display: none; }
  .cards--audience > .card { scroll-snap-align: start; }
  .cards--audience .card__img { aspect-ratio: 4 / 3; }
  .card--icons { flex-direction: row; align-items: flex-start; }
  .card--icons .card__media--icon { padding: 20px 0 0 20px; }
  .card--icons .card__icon { width: 52px; height: 52px; padding: 10px; }
  .card--icons .card__body { padding: 20px; gap: 6px; }
  .cards--icons > .card { flex-basis: 100%; max-width: none; }
}

/* =========================================================================
   Правки v3: шапка, первый экран, ровные блоки, товары, документы
   ========================================================================= */
html[lang="ru"] p, html[lang="ru"] li, .card__h, .stat__l { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.card__h, .h-h2, .hero__h, .home-hero__h { hyphens: manual; }

/* шапка */
.hdr__in { min-height: 88px; gap: 32px; }
.logo__svg { height: 54px; width: auto; display: block; }
.nav__link { font-size: 16.5px; padding: 12px 14px; font-weight: 500; }
.nav__phone { font-size: 16.5px; }
.nav__aside .btn { min-height: 46px; font-size: 16px; padding: 10px 22px; }
.nav__sub a { font-size: 16px; }
html { scroll-padding-top: 104px; }
@media (max-width: 1180px) {
  .hdr__in { min-height: 72px; }
  .logo__svg { height: 46px; }
  .nav { inset: 72px 0 0 0; }
}

/* первый экран главной: картинка и текст не пересекаются */
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: clamp(520px, 64vh, 680px); }
.home-hero__media { position: relative; overflow: hidden; }
.home-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 35, 9, 0) 60%, #0b2309 100%); }
.home-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.home-hero__txt { max-width: 600px; padding: 64px clamp(24px, 4vw, 72px) 64px clamp(16px, 2vw, 32px); align-self: center; }
.home-hero__h { font-size: clamp(32px, 3.3vw, 50px); }
@media (max-width: 880px) {
  .home-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .home-hero__media { height: 280px; }
  .home-hero__media::after { background: linear-gradient(180deg, rgba(11, 35, 9, 0) 55%, #0b2309 100%); }
  .home-hero__img { object-position: 8% 50%; }
  .home-hero__txt { padding: 8px 16px 48px; max-width: none; }
}

/* заголовки секций всегда по центру; длинный текст - по левому краю */
.sec__head { text-align: center; }
.sec--wide .blk--long { text-align: left; color: var(--ink-2); }
.sec--short .sec__head, .sec--short .blk { max-width: var(--text); margin-left: auto; margin-right: auto; text-align: center; }
.sec--short .blk--paragraph ul { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; }
.sec--short .blk--paragraph { color: var(--ink-2); }

/* одинаковые блоки: проблема -> результат (сетка 6 колонок, неполный ряд по центру) */
.cards--problems { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.cards--problems > .card { grid-column: span 2; min-width: 0; flex: none; }
@media (min-width: 1001px) {
  .cards--problems > .card:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .cards--problems > .card:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}
@media (max-width: 1000px) {
  .cards--problems { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .cards--problems > .card, .cards--problems > .card:nth-child(n) { grid-column: auto; }
  .cards--problems > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .cards--problems { grid-template-columns: 1fr; } }

/* иконки и обычные карточки: равная ширина и высота */
.cards--icons, .cards--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.cards--icons > .card, .cards--cards > .card { max-width: none; min-width: 0; flex: none; }
.grid--3.cards--cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards--steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* крупные цифры: всё влезает */
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: 24px 16px; }
.stat__v { font-size: clamp(24px, 2.3vw, 34px); white-space: normal; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* товары крупнее */
.prod__media { padding: 20px; background: #fff; }
.prod__img { aspect-ratio: 4 / 5; object-fit: contain; border-radius: 0; }
.prod .card__h { font-size: 20px; }
.prod .card__body { padding: 24px 24px 28px; }
.prod__tag { top: 16px; left: 16px; background: var(--green-l); }

/* галерея-сетка: по центру, по числу фото */
.gallery--grid { grid-template-columns: repeat(min(var(--n, 3), 4), minmax(0, 1fr)); max-width: calc(min(var(--n, 3), 4) * 360px); margin: 0 auto; }
@media (max-width: 640px) { .gallery--grid { grid-template-columns: 1fr 1fr; } }

/* документы: целиком, листаются, открываются крупно */
.docs.is-static .carousel__track { justify-content: center; } /* по центру - только когда всё помещается, иначе первый лист уходит за край */
.carousel.docs { max-width: calc(var(--per) * 340px + (var(--per) - 1) * var(--gap)); margin: 0 auto; }
.doc { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); cursor: zoom-in; }
.doc__img { width: 100%; aspect-ratio: 1024 / 1448; object-fit: contain; border-radius: 6px; }
.doc__zoom { position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(10, 27, 8, .82); color: #fff; font: 600 13px var(--font); opacity: 0; transition: opacity .15s; }
.doc:hover .doc__zoom, .doc:focus-visible .doc__zoom { opacity: 1; }
@media (hover: none) { .doc__zoom { opacity: 1; } }
@media (max-width: 640px) { .carousel.docs { --per: 1.1 !important; } }
.lightbox { overflow: auto; }
.lightbox img { max-height: 92vh; touch-action: pinch-zoom; }

/* «Где купить» */
.wtb { display: flex; align-items: center; gap: 24px; max-width: 900px; margin: 0 auto; padding: 28px 32px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); text-align: left; }
.wtb__logo { flex: none; width: 72px; height: 72px; border-radius: 18px; background: var(--wb); display: grid; place-items: center; }
.wtb__txt { flex: 1; }
.wtb__h { font: 700 20px/1.3 var(--font-h); margin: 0 0 6px; color: var(--ink); }
.wtb .muted { margin: 0; font-size: 16px; }
@media (max-width: 700px) { .wtb { flex-direction: column; align-items: flex-start; } .wtb .mp { width: 100%; } }

/* карточка товара: состав, приём, важно */
.pinfo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pinfo__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; font-size: 16px; color: var(--ink-2); }
.pinfo__card p:last-child, .pinfo__card ul { margin: 0; }
.pinfo__card ul { padding-left: 20px; }
.pinfo__card li + li { margin-top: 8px; }
.pinfo__h { font: 700 18px var(--font-h); color: var(--ink); margin: 0 0 10px; }
.pinfo__card--warn { background: var(--warn); border-color: var(--warn-line); }
.pinfo__card--warn .pinfo__h { color: #7a5300; }
@media (max-width: 900px) { .pinfo { grid-template-columns: 1fr; } }
.cards--audience .card__img { aspect-ratio: 1 / 1; }
:root { --wrap: 1440px; }

.ftr__logo { display: inline-block; margin-bottom: 16px; }
.logo-stacked { width: 220px; height: auto; display: block; }
.logo__svg { height: 60px; }
@media (max-width: 1180px) { .logo__svg { height: 50px; } }

/* cookie-баннер */
.cookie { position: fixed; z-index: 120; left: 24px; bottom: 24px; width: min(560px, calc(100% - 32px)); background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(10, 27, 8, .25); padding: 24px 28px 18px; font-size: 15px; color: var(--ink-2); }
.cookie[hidden] { display: none; }
.cookie__h { font: 700 19px var(--font-h); color: var(--ink); margin: 0 0 10px; text-align: center; }
.cookie__p { margin: 0 0 16px; line-height: 1.55; }
.cookie__x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ink); cursor: pointer; border-radius: 50%; }
.cookie__x:hover { background: var(--tint); }
.cookie__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cookie__btns .btn { width: 100%; padding-left: 8px; padding-right: 8px; }
.cookie__btns [data-cookie="save"]:not([hidden]) { grid-column: 1 / -1; }
.cookie__prefs { display: grid; gap: 10px; margin: 0 0 16px; }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--tint); border-radius: 12px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.cookie__opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); }
.cookie__link { display: block; text-align: center; margin-top: 12px; font-size: 14px; }
.ftr__btn { background: none; border: 0; padding: 0; color: #dfe9db; font: inherit; cursor: pointer; }
.ftr__btn:hover { color: #fff; text-decoration: underline; }
@media (max-width: 880px) { .cookie { left: 8px; right: 8px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 20px 18px 14px; } .cookie__btns { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
@media (max-width: 880px) { .cookie { font-size: 14px; } .cookie__p { margin-bottom: 12px; } .cookie__btns { gap: 8px; } }

/* группы со списком (страница «Для людей») */
.cards--groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); grid-auto-rows: 1fr; }
.card--groups { flex-direction: row; align-items: flex-start; gap: 0; }
.card--groups .card__media--icon { padding: 28px 0 0 28px; }
.card--groups .card__body { padding: 28px; gap: 16px; }
.card--groups .card__h { font-size: 22px; }
.card--groups .rt ul { margin: 0; }
.card--groups .rt li { margin-bottom: 12px; font-size: 16.5px; line-height: 1.55; }
.card--groups .rt li:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .cards--groups { grid-template-columns: 1fr; grid-auto-rows: auto; } }
@media (max-width: 640px) { .card--groups { flex-direction: column; } .card--groups .card__media--icon { padding: 20px 0 0 20px; } .card--groups .card__body { padding: 16px 20px 22px; } }

/* маркировка рекламы (erid) - всегда видна на первом экране */
.admark { position: absolute; z-index: 2; left: 16px; bottom: 16px; margin: 0; max-width: calc(100% - 32px); padding: 6px 10px; border-radius: 8px; background: rgba(5, 18, 4, .72); color: #fff; font: 500 12.5px/1.4 var(--font); letter-spacing: .01em; }
@media (min-width: 881px) { .admark { left: 24px; bottom: 24px; font-size: 13px; } }
/* cookie справа, чтобы не закрывать маркировку рекламы на первом экране */
@media (min-width: 881px) { .cookie { left: auto; right: 24px; } }
.carousel.is-static .carousel__track { justify-content: center; }
.admark { top: 16px; bottom: auto; }
@media (min-width: 881px) { .admark { top: 20px; bottom: auto; left: 20px; } }

/* первый экран: оригинал баннера 2100x638 без растяжения */
.home-hero__grid { min-height: 0; height: clamp(520px, 64vh, 638px); }
.home-hero__txt { padding-top: 40px; padding-bottom: 40px; }
.home-hero__h { font-size: clamp(30px, 3vw, 46px); }
.home-hero__links { margin-top: 24px; }
.home-hero__img { image-rendering: auto; }
@media (max-width: 880px) { .home-hero__grid { height: auto; } }

/* логотип: оригинал в высоком разрешении */
.logo__img { height: 68px; width: auto; }
.ftr__logo-img { width: 200px; height: auto; }
@media (max-width: 1180px) { .logo__img { height: 54px; } }

/* контакты вместо формы */
.contacts-card { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; background: var(--ink); color: #c7d6c1; border-radius: 28px; padding: clamp(28px, 4vw, 48px); }
.contacts-card__h { color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin: 0 0 12px; }
.contacts-card__txt p { margin: 0; max-width: 52ch; }
.contacts-card__btns { display: grid; gap: 12px; min-width: 280px; }
.contacts-card__btn { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background .15s; }
.contacts-card__btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.contacts-card__btn svg { flex: none; color: #b8f0a8; }
.contacts-card__btn span { display: flex; flex-direction: column; font: 700 17px/1.3 var(--font-h); }
.contacts-card__btn small { font: 500 13px var(--font); color: #a9bba3; }
@media (max-width: 800px) { .contacts-card { grid-template-columns: 1fr; } .contacts-card__btns { min-width: 0; } }
.home-hero__grid { height: auto; min-height: clamp(480px, 60vh, 638px); }
.home-hero__grid { max-width: var(--wrap); margin: 0 auto; }
.home-hero__txt { padding-right: 32px; }
/* инфографика WB: вертикальные 3:4 целиком */
.gallery__item .gallery__img { aspect-ratio: 3 / 4; }
/* первый экран: фото от левого края экрана, текст по сетке справа */
.home-hero__grid { max-width: none; margin: 0; }
@media (min-width: 881px) {
  .home-hero__txt { padding-right: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); max-width: none; }
  .home-hero__txt > * { max-width: 600px; }
}
/* длинные кнопки не вылезают на телефоне */
@media (max-width: 640px) { .mp, .btn { white-space: normal; text-align: center; line-height: 1.25; } .cta { padding: 24px 20px; } }
/* карточки аудиторий: фото строго одной высоты */
.cards--audience .card__media--tall { aspect-ratio: 1 / 1; }
.cards--audience .card__img { width: 100%; height: 100% !important; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 640px) { .cards--audience .card__media--tall { aspect-ratio: 4 / 3; } }

/* мобильное меню: одна линия выравнивания, подпункты с отступом и линией */
@media (max-width: 1180px) {
  .nav { padding-left: 20px; padding-right: 20px; }
  .nav__link { padding: 16px 0; }
  .nav__toggle { margin-right: -12px; }
  .nav__sub { padding: 0 0 14px; margin: 0; }
  .nav__sub li { border-left: 2px solid var(--line); }
  .nav__sub a { padding: 10px 0 10px 16px; border-radius: 0; font-size: 16px; }
  .nav__sub a:hover { background: none; color: var(--green-d); }
  .nav__aside { padding-top: 8px; }
  .nav__phone { padding: 8px 0; }
}

/* читаемость и адаптивность (аудит 375/768/1280) */
.trust li { min-width: 0; }
.trust li span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 420px) { .trust { grid-template-columns: 1fr; gap: 12px; } }
.hero__h, .home-hero__h, .h-h2, .sec__head h2, .card__h { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 480px) { .hero__h, .hero__h--long { font-size: 26px; } }
.eyebrow, .cta__eyebrow, .card__meta, .prod__tag { font-size: 13.5px; }
.admark { font-size: 13px; }
.hero__grid > *, .home-hero__grid > * { min-width: 0; }

/* то, что редактор может вставить в текст */
.rt img.richtext-image, .blk--paragraph img.richtext-image { max-width: 100%; height: auto; border-radius: 14px; margin: 8px 0 16px; }
.blk--paragraph img.richtext-image.left { float: left; max-width: 46%; margin: 6px 24px 12px 0; }
.blk--paragraph img.richtext-image.right { float: right; max-width: 46%; margin: 6px 0 12px 24px; }
.blk--paragraph img.richtext-image.full-width { width: 100%; }
.blk--paragraph::after { content: ""; display: table; clear: both; }
@media (max-width: 640px) { .blk--paragraph img.richtext-image.left, .blk--paragraph img.richtext-image.right { float: none; max-width: 100%; margin: 8px 0 16px; } }
mark { background: #fff1a8; color: inherit; padding: 0 3px; border-radius: 3px; }
.blk--paragraph .responsive-object, .blk--paragraph iframe { max-width: 100%; border-radius: 14px; }

/* оглавление статьи и «наверх» */
.toc { max-width: calc(var(--text) + 64px); margin: 24px auto 0; }
.toc details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 24px; box-shadow: var(--shadow); }
.toc summary { cursor: pointer; font: 700 19px var(--font-h); color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "▾"; color: var(--green-d); transition: transform .2s; }
.toc details:not([open]) summary::after { transform: rotate(-90deg); }
.toc ol { margin: 14px 0 0; padding-left: 1.4em; display: grid; gap: 6px; }
.toc li::marker { color: var(--green); font-weight: 700; }
.toc a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.toc a:hover { color: var(--green-d); text-decoration: underline; }
h2[id], h3[id] { scroll-margin-top: 104px; }
.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 45; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 22px; text-decoration: none; box-shadow: var(--shadow-h); opacity: .9; }
.to-top:hover { color: #fff; opacity: 1; }
@media (max-width: 880px) { .to-top { bottom: 84px; right: 14px; width: 44px; height: 44px; } }

/* ---- выравнивание из редактора статей ---- */
.text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; } .text-justify { text-align: justify; hyphens: auto; }
.blk--paragraph img.richtext-image.center, .rt img.richtext-image.center { display: block; max-width: min(100%, 520px); margin: 12px auto 18px; }
.blk--paragraph p::after { content: ""; display: table; clear: both; }
.blk--paragraph hr, .rt hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, #cfc6e6, transparent); margin: 32px 0; }
.fig--small { max-width: 520px; margin-left: auto; margin-right: auto; }
.notice--success::before { content: "💡 Совет"; display: block; font-weight: 700; color: #1d6b37; margin-bottom: 6px; }

/* ---- шрифты и акценты из редактора статей ---- */
.ff-inter { font-family: "Inter", system-ui, sans-serif; }
.ff-montserrat { font-family: "Montserrat", "Inter", sans-serif; }
.ff-roboto { font-family: "Roboto", "Inter", sans-serif; }
.ff-opensans { font-family: "Open Sans", "Inter", sans-serif; }
.ff-ptsans { font-family: "PT Sans", "Inter", sans-serif; }
.ff-ptserif { font-family: "PT Serif", Georgia, serif; }
.ff-lora { font-family: "Lora", Georgia, serif; }
.ff-playfair { font-family: "Playfair Display", Georgia, serif; }
.ff-caveat { font-family: "Caveat", cursive; font-size: 1.3em; line-height: 1.2; }
.ff-comfortaa { font-family: "Comfortaa", "Inter", sans-serif; }
.acc-hand { font-family: "Caveat", cursive; font-size: 1.45em; line-height: 1.15; color: #0a7a1c; font-weight: 700; }
.acc-big { font-family: "Montserrat", "Inter", sans-serif; font-weight: 800; font-size: 1.7em; line-height: 1.1; color: #0a7a1c; letter-spacing: -.01em; }
p.acc-quote { font-family: "Lora", Georgia, serif; font-style: italic; font-size: 1.28em; line-height: 1.55; color: #0a1b08; padding: 6px 0 6px 22px; border-left: 4px solid #c9a8ff; margin: 1.4em 0; }
p.acc-lead { font-size: 1.18em; line-height: 1.6; color: #0a1b08; font-weight: 500; }

/* ---- отзывы: несколько фото, достоинства/недостатки ---- */
.review__photos { display: flex; flex-wrap: wrap; gap: 8px; }
.review__photos .review__photo { width: 84px; }
.review__pc { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2, #33432f); }
