/* OpenTrade — стили сайта. Обычный CSS, без сборки. Токены: см. :root */

:root {
  --bg: #eceeea; --surface: #ffffff; --ink: #101512; --text: #38423c; --muted: #5b665f; --line: #dde2dc;
  --brand: #0e4a33; --brand-2: #14634a; --accent: #11804a; --accent-hi: #38d67f; --accent-ink: #ffffff;
  --heading: var(--ink); --mint: #e6f3ec; --tile: #f4f6f3;
  --ff-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding-bottom: calc(68px + env(safe-area-inset-bottom)); overflow-x: clip;
  background: var(--bg); color: var(--text); font-family: var(--ff-text); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, .display { font-family: var(--ff-display); font-weight: 500; color: var(--heading); }
b { font-weight: inherit; }
[hidden] { display: none !important; }
main { outline: none; }
.icon { flex-shrink: 0; }
.w-full { width: 100%; }
.max-w-3xl { max-width: 768px; }

/* ---------- каркас ---------- */
.stage { max-width: 1640px; margin-inline: auto; }
.container-x { width: 100%; padding-inline: 16px; }
@media (min-width: 480px) { .container-x { padding-inline: 20px; } }
@media (min-width: 768px) { .container-x { padding-inline: 32px; } }
@media (min-width: 1280px) { .container-x { padding-inline: 48px; } }
.frame { margin-inline: 8px; }
@media (min-width: 1024px) { .frame { margin-inline: 12px; } }

.sheet, .sheet-dark, .sheet-green { margin: 8px 8px 0; border-radius: 16px; overflow: hidden; position: relative; background: var(--surface); }
.sheet-dark { background: var(--ink); color: #fff; }
.sheet-green { background: var(--brand); color: #fff; }
@media (min-width: 1024px) { .sheet, .sheet-dark, .sheet-green { margin-inline: 12px; border-radius: 20px; } }
.sheet-dark, .sheet-green, .on-dark { --heading: #fff; }
.on-dark { color: #fff; }
.sheet-dark .btn-accent, .sheet-green .btn-accent, .on-dark .btn-accent { background: #fff; color: var(--ink); }
.sheet-dark .btn-accent::after, .sheet-green .btn-accent::after, .on-dark .btn-accent::after { background: var(--accent); }
.sheet-dark .btn-accent:hover, .sheet-green .btn-accent:hover, .on-dark .btn-accent:hover { background: #e8efe9; }

.section { padding-block: 44px; }
@media (min-width: 768px) { .section { padding-block: 72px; } }
@media (min-width: 1024px) { .section { padding-block: 96px; } }

.label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-block; }
.h1 { font-size: clamp(32px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -0.02em; }
.h2 { font-size: clamp(28px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.h3 { font-size: clamp(24px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -0.015em; }
.lead { font-size: clamp(18px, 2.3vw, 32px); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); font-family: var(--ff-display); font-weight: 400; }
.text-balance, .h1, .h3 { text-wrap: balance; }

.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.sec-head .eyebrow { display: block; margin-bottom: 12px; }
@media (min-width: 768px) { .sec-head .eyebrow { margin-bottom: 20px; } }
.sec-body { margin-top: 24px; }
@media (min-width: 640px) { .sec-body { margin-top: 48px; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
@media (min-width: 768px) { .btn-row { gap: 12px; margin-top: 40px; } }
@media (max-width: 639px) { .btn-row { display: grid; grid-template-columns: minmax(0, 1fr); } .btn-row .btn { width: 100%; } }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 44px; padding-inline: 20px; border-radius: 4px;
  font-weight: 400; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
  transition: background .2s, color .2s, border-color .2s, transform .15s; cursor: pointer; white-space: nowrap;
}
.btn::after {
  content: ""; width: 14px; height: 14px; background: currentColor; transition: transform .2s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 14 14%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m2.5 3 4 4-4 4%27/%3E%3Cpath d=%27m7.5 3 4 4-4 4%27/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 14 14%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m2.5 3 4 4-4 4%27/%3E%3Cpath d=%27m7.5 3 4 4-4 4%27/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn:hover::after { transform: translateX(3px); }
@media (min-width: 768px) { .btn { height: 46px; padding-inline: 24px; } }
.btn-sm, .btn.btn-sm { height: 36px; padding-inline: 14px; font-size: 12px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #0c6a3d; }
.btn-brand { background: var(--ink); color: #fff; }
.btn-brand::after { color: var(--accent-hi); }
.btn-brand:hover { background: #26302a; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-line { border: 1px solid #c6cdc5; background: transparent; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: #fff; }
.btn[disabled] { opacity: .6; cursor: default; }

.arrow-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; flex-shrink: 0; background: var(--bg); color: var(--ink); transition: background .2s, color .2s; }
.arrow-btn.float { background: rgba(255, 255, 255, .96); color: var(--ink); }
a:hover > .arrow-btn.float, .group:hover .arrow-btn.float { background: var(--ink); color: #fff; }
.arrow-btn svg { transition: transform .25s var(--ease); }
a:hover > .arrow-btn svg, .group:hover .arrow-btn svg { transform: translate(2px, -2px); }
a:hover > .arrow-btn, .arrow-btn:hover, .group:hover .arrow-btn { background: var(--ink); color: #fff; }
button.arrow-btn:hover svg { transform: none; }

.card { background: var(--surface); border-radius: 8px; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: 0 20px 40px -26px rgba(16, 21, 18, .4); }
.tile { background: var(--tile); border-radius: 8px; }
.chip { display: inline-block; border-radius: 4px; background: #eef1ed; padding: 5px 9px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #3b4640; line-height: 1.5; }
.chip-white { background: rgba(255, 255, 255, .94); color: var(--ink); }
.chip--ink { background: var(--ink); color: #fff; }

/* ---------- поля формы ---------- */
.field {
  width: 100%; height: 48px; border-radius: 4px; border: 1px solid #ccd3cb; background: #fff; padding-inline: 14px; font: inherit; font-size: 15px; color: var(--ink);
  outline: none; transition: border-color .15s, box-shadow .15s; display: block;
}
/* 16px на телефонах: иначе iOS/Safari приближает страницу при фокусе на поле */
@media (max-width: 767px) { .field, input.field, select.field, textarea.field { font-size: 16px; } }
textarea.field { height: auto; padding-block: 12px; resize: vertical; }
.field[aria-invalid=true] { border-color: #c0392b; }
.field:focus, .select__btn[aria-expanded=true] { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(20, 99, 74, .14); }
.field:hover:not(:focus):not([aria-expanded=true]) { border-color: #aeb8ad; }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 4px; font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: inherit; }
.sheet-dark :focus-visible, .sheet-green :focus-visible, .on-dark :focus-visible { outline-color: var(--accent-hi); }
.field:focus-visible { outline: none; }

/* ---------- картинки ---------- */
.thumb { position: relative; overflow: hidden; background: var(--tile); }
.thumb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.thumb__img.is-contain { object-fit: contain; }
.group:hover .thumb__img { transform: scale(1.05); }
.thumb__empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(14, 74, 51, .25); }
.thumb--sq { aspect-ratio: 1; }
@media (min-width: 640px) { .thumb--sq { aspect-ratio: 4 / 3; } }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 8px; z-index: 50; margin: 8px 8px 0; transition: transform .5s var(--ease); }
@media (min-width: 1024px) { .site-header { top: 12px; margin: 12px 12px 0; } }
.site-header.is-hidden { transform: translateY(calc(-100% - 16px)); }
@keyframes header-in { from { transform: translateY(-18px); opacity: .55; } to { transform: none; opacity: 1; } }
.site-header.header-in { animation: header-in .7s var(--ease); }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 8px 0 16px; border-radius: 12px; background: #fff;
  box-shadow: 0 2px 10px -8px rgba(16, 21, 18, .3); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
@media (min-width: 1024px) { .site-header__bar { height: 72px; padding: 0 12px 0 32px; } }
.site-header.is-scrolled .site-header__bar, .site-header.is-menu .site-header__bar { background: rgba(255, 255, 255, .92); box-shadow: 0 8px 28px -14px rgba(16, 21, 18, .4); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.brand { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.brand img { height: 32px; width: auto; }
.brand span { font-family: var(--ff-display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
@media (min-width: 1024px) { .brand img { height: 36px; } .brand span { font-size: 20px; } }
.site-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.site-nav a { border-radius: 4px; padding: 8px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); transition: color .2s; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { background: var(--bg); color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: 6px; }
@media (min-width: 1024px) { .site-header__actions { gap: 8px; } }
.site-header__phone { display: none; margin-right: 12px; font-size: 14px; color: var(--ink); }
@media (min-width: 1280px) { .site-header__phone { display: block; } }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--bg); color: var(--ink); }
.icon-btn--phone { display: grid; }
@media (min-width: 640px) { .icon-btn--phone { display: none; } }
.icon-btn--wa { display: none; color: #1fa855; transition: background .2s, color .2s; }
.icon-btn--wa:hover { background: #25d366; color: #fff; }
@media (min-width: 1024px) { .icon-btn--wa { display: grid; } }
.site-header__contact { display: none; }
@media (min-width: 640px) { .site-header__contact { display: inline-flex; } }
.burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--ink); color: #fff; }
@media (min-width: 1024px) { .burger { display: none; } }
.burger span { position: relative; display: block; width: 18px; height: 12px; }
.burger i { position: absolute; left: 0; width: 18px; height: 2px; background: #fff; transition: all .3s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 5px; } .burger i:nth-child(3) { top: 10px; }
.burger[aria-expanded=true] i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded=true] i:nth-child(2) { transform: scaleX(0); opacity: 0; }
.burger[aria-expanded=true] i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; overflow-y: auto; background: var(--ink); color: #fff; padding: 88px 16px 32px;
  visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 16px 0;
  font-family: var(--ff-display); font-size: 30px; font-weight: 500; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu nav a svg { color: rgba(255, 255, 255, .4); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; transition-delay: calc(110ms + var(--i) * 55ms); }
.mobile-menu nav a.is-active span { color: var(--accent-hi); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 12px; padding-top: 32px; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; transition-delay: .3s; }
.mobile-menu__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mobile-menu__foot p { padding-top: 8px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .55); }

/* нижняя панель на телефонах */
.float-bar {
  position: fixed; inset: auto 0 0 0; z-index: 30; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .95); padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transform: translateY(100%); transition: transform .5s var(--ease);
}
.float-bar.is-show { transform: none; }
@media (min-width: 1024px) { .float-bar { display: none; } }
.float-bar__in { display: grid; grid-template-columns: 48px 48px minmax(0, 1fr); gap: 8px; max-width: 448px; margin: 0 auto; }
.float-bar__call, .float-bar__wa { display: grid; place-items: center; height: 44px; border-radius: 4px; }
.float-bar__call { background: var(--bg); color: var(--ink); }
.float-bar__wa { background: #25d366; color: #fff; }
.float-bar .btn { height: 44px; }

/* ---------- подвал ---------- */
.footer-cta { margin-top: 8px; }
.footer-cta__in { position: relative; display: flex; flex-direction: column; gap: 24px; padding-block: 36px; }
@media (min-width: 768px) { .footer-cta__in { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 56px; } }
.footer-cta .label { color: rgba(255, 255, 255, .5); }
.footer-cta .h3 { margin-top: 12px; max-width: 672px; font-weight: 400; }
.footer-cta p { margin-top: 12px; max-width: 448px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
@media (min-width: 768px) { .footer-cta p { font-size: 16px; } }
@media (max-width: 767px) { .footer-cta__btn { width: 100%; } }
.site-footer { margin-top: 8px; margin-bottom: 8px; }
@media (min-width: 1024px) { .site-footer { margin-bottom: 12px; } }
.site-footer__grid { position: relative; display: grid; gap: 32px; padding-bottom: 24px; padding-top: 40px; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.3fr 3.1fr; gap: 48px; padding-bottom: 40px; padding-top: 56px; } }
.site-footer__brand { display: flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
@media (min-width: 1024px) { .site-footer__brand { font-size: 26px; } }
.site-footer__logo { border-radius: 4px; background: #fff; padding: 6px; display: block; }
.site-footer__logo img { height: 28px; width: auto; }
@media (min-width: 1024px) { .site-footer__logo img { height: 32px; } }
.site-footer__tag { margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }
.site-footer__phone { display: block; margin-top: 24px; font-family: var(--ff-display); font-size: 22px; color: #fff; }
.site-footer__phone:hover { color: var(--accent-hi); }
.site-footer__addr { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.site-footer__hours { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.site-footer__social { display: flex; gap: 8px; margin-top: 20px; }
.sq-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background .2s, color .2s; }
.sq-btn:hover { background: #fff; color: var(--ink); }
.site-footer__cols { border-top: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 1024px) { .site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; border: 0; } }
.fcol { border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 1024px) { .fcol { border: 0; } }
.fcol__head { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 0; text-align: left; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.fcol__head svg { transition: transform .3s; }
.fcol__head[aria-expanded=true] svg { transform: rotate(180deg); }
@media (min-width: 1024px) { .fcol__head { pointer-events: none; cursor: default; padding: 0 0 20px; color: rgba(255, 255, 255, .45); } .fcol__head svg { display: none; } }
.fcol__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.fcol__body > div { overflow: hidden; }
.fcol__head[aria-expanded=true] + .fcol__body { grid-template-rows: 1fr; }
@media (min-width: 1024px) { .fcol__body { display: block; } .fcol__body > div { overflow: visible; } }
.fcol__in { padding-bottom: 20px; }
@media (min-width: 1024px) { .fcol__in { padding-bottom: 0; } }
.fcol ul { display: grid; gap: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.fcol ul a:hover { color: var(--accent-hi); }
.site-footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; }
@media (min-width: 1024px) { .site-footer__bottom { padding-block: 24px; } }
.site-footer__recent { display: none; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; margin-bottom: 20px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 768px) { .site-footer__recent { display: flex; } }
.site-footer__recent span { color: rgba(255, 255, 255, .45); }
.site-footer__recent a { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, .85); text-underline-offset: 4px; }
.site-footer__recent a:hover { color: var(--accent-hi); text-decoration: underline; }
.site-footer__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255, 255, 255, .45); }
@media (min-width: 640px) { .site-footer__copy { flex-direction: row; font-size: 12px; } }
/* страницы, оканчивающиеся белыми карточками, получают воздух перед подвалом */
main:has(> section.frame:last-of-type) + .footer-cta { margin-top: 56px; }
@media (min-width: 1024px) { main:has(> section.frame:last-of-type) + .footer-cta { margin-top: 88px; } }

/* ---------- шапка внутренних страниц ---------- */
.page-hero__in { padding-block: 16px; }
@media (min-width: 768px) { .page-hero__in { padding-block: 40px; } }
.page-hero--compact .page-hero__in { padding-block: 16px; }
@media (min-width: 768px) { .page-hero--compact .page-hero__in { padding-block: 28px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 12px; font-size: 11px; }
@media (min-width: 768px) { .crumbs { margin-bottom: 24px; font-size: 12px; } }
.page-hero--compact .crumbs { margin-bottom: 12px; }
@media (min-width: 768px) { .page-hero--compact .crumbs { margin-bottom: 16px; } }
.crumbs a:hover { color: var(--ink); }
.crumbs__item { display: flex; gap: 8px; }
.crumbs .is-current { color: var(--ink); }
.page-hero__grid { display: grid; gap: 16px; }
.page-hero__grid.has-lead { align-items: end; }
@media (min-width: 1024px) { .page-hero__grid.has-lead { grid-template-columns: 1.5fr 1fr; gap: 24px; } .page-hero--compact .page-hero__grid.has-lead { align-items: center; } }
.page-hero__title { max-width: 1000px; }
.page-hero__title.h1 { font-size: clamp(28px, 4vw, 56px); }
.page-hero__title.h3 { font-size: clamp(22px, 2.6vw, 38px); }
.page-hero__title.is-compact { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.page-hero__lead { max-width: 448px; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (min-width: 768px) { .page-hero__lead { font-size: 18px; } .page-hero--compact .page-hero__lead { font-size: 17px; } }
@media (min-width: 1024px) { .page-hero__lead { justify-self: end; } }
.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
@media (min-width: 768px) { .page-hero__meta { gap: 12px; margin-top: 20px; } .page-hero--compact .page-hero__meta { margin-top: 14px; } }
.instock { display: flex; align-items: center; gap: 8px; }
.instock i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- сетка товаров и карточка товара ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .product-grid { gap: 12px; } }
@media (min-width: 1024px) { .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .product-grid--catalog { gap: 16px; } }
@media (min-width: 1280px) { .product-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pcard { display: flex; flex-direction: column; padding: 6px; background: var(--tile); border-radius: 8px; transition: box-shadow .2s; min-width: 0; }
.pcard:hover { box-shadow: 0 20px 40px -28px rgba(16, 21, 18, .45); }
@media (min-width: 640px) { .pcard { padding: 10px; } }
.pcard__media { position: relative; display: block; overflow: hidden; border-radius: 4px; background: #fff; }
.pcard__arrow { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; }
@media (min-width: 640px) { .pcard__arrow { right: 10px; top: 10px; width: 44px; height: 44px; } }
.pcard__hit { position: absolute; left: 6px; top: 6px; padding: 2px 6px; font-size: 10px; }
@media (min-width: 640px) { .pcard__hit { left: 10px; top: 10px; padding: 5px 9px; font-size: 11px; } }
.pcard__body { display: flex; flex: 1; flex-direction: column; padding: 12px 6px 6px; }
@media (min-width: 640px) { .pcard__body { padding: 20px 12px 12px; } }
.pcard__group { display: none; }
@media (min-width: 640px) { .pcard__group { display: block; } }
.pcard__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; font-weight: 500; text-transform: uppercase; line-height: 1.25; overflow-wrap: anywhere; }
@media (min-width: 640px) { .pcard__title { display: block; margin-top: 8px; font-size: 20px; line-height: 1.15; overflow: visible; } }
.pcard__excerpt { display: none; }
@media (min-width: 640px) { .pcard__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); } }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; }
@media (min-width: 640px) { .pcard__foot { margin-top: 20px; gap: 12px; padding-top: 0; } }
.pcard__formula { width: fit-content; background: transparent; padding-inline: 0; font-size: 12px; font-weight: 600; color: var(--ink); }
@media (min-width: 640px) { .pcard__formula { background: var(--ink); padding-inline: 9px; font-size: 11px; font-weight: 500; color: #fff; } }
.pcard__ondemand { font-size: 12px; color: var(--muted); }
.pcard__btn { gap: 0; padding-inline: 12px; flex-shrink: 0; }
.pcard__formula, .pcard__ondemand { white-space: nowrap; }
@media (max-width: 639px) {
  .pcard__foot { flex-wrap: wrap; row-gap: 8px; }
  .pcard__btn { height: 34px; padding-inline: 10px; font-size: 11px; letter-spacing: .02em; flex: 1 1 84px; min-width: 0; }
}
@media (max-width: 639px) { .pcard__btn::after { display: none; } }

/* ---------- каталог ---------- */
.catalog { padding-block: 16px; }
@media (min-width: 768px) { .catalog { padding-block: 40px; } }
.catalog__bar { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) { .catalog__bar { flex-direction: row; align-items: center; justify-content: space-between; } }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .tabs { flex-wrap: wrap; } }
.tabs a { flex-shrink: 0; border-radius: 4px; border: 1px solid transparent; background: #fff; padding: 10px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; transition: border-color .2s; }
.tabs a:hover { border-color: var(--ink); }
.tabs a span { color: var(--muted); }
.tabs a.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.tabs a.is-active span { color: var(--accent-hi); }
.catalog__tools { display: flex; gap: 8px; }
.catalog__tools .field { width: 100%; }
@media (min-width: 1024px) { .catalog__tools input.field { width: 256px; } }
.catalog__tools .select { width: 170px; flex-shrink: 0; }
@media (max-width: 479px) {
  .catalog__tools { flex-direction: column; }
  .catalog__tools .select { width: 100%; }
}
.product-grid--catalog { margin-top: 16px; }
@media (min-width: 640px) { .product-grid--catalog { margin-top: 32px; } }
.catalog__empty { margin-top: 40px; border-radius: 8px; background: #fff; padding: 48px; text-align: center; color: var(--muted); }
.catalog__empty button { text-decoration: underline; }
.about-cat { display: grid; gap: 40px; }
@media (min-width: 1024px) { .about-cat { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.about-cat .h2 { max-width: 448px; }
.about-cat p { margin-top: 24px; max-width: 512px; line-height: 1.6; }
.about-cat .btn { margin-top: 32px; }
.faq { margin-top: 20px; border-block: 1px solid var(--line); }
.faq__item { padding-block: 20px; }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--ff-display); font-size: 19px; font-weight: 500; line-height: 1.375; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 4px; background: var(--bg); font-size: 18px; transition: transform .2s; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__item p { margin-top: 12px; max-width: 576px; line-height: 1.6; color: var(--muted); }

/* ---------- страница товара ---------- */
.split { margin: 8px 8px 0; display: grid; gap: 8px; }
.split > * { min-width: 0; }
.split .sheet { margin: 0; }
@media (min-width: 1024px) { .split { margin-inline: 12px; } }
@media (min-width: 1024px) { .product { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); } }
@media (min-width: 1024px) { .product__buy { position: sticky; top: 96px; align-self: start; } }
.buybox { padding: 10px; }
@media (min-width: 768px) { .buybox { padding: 12px; } }
.buybox__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--tile); }
.buybox__img.is-pack { background: #fff; }
.buybox__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buybox__img.is-pack img { object-fit: contain; padding: 16px; }
.buybox__facts { padding: 20px 6px 0; }
.buybox__facts .label { margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facts--1 { grid-template-columns: 1fr; }
.facts .tile { padding: 14px 16px; }
.facts dt { font-size: 12px; line-height: 1.25; color: var(--muted); }
.facts dd { margin-top: 6px; font-family: var(--ff-display); font-size: 28px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.buybox__btns { display: grid; gap: 8px; padding: 20px 6px 0; }
.buybox__list { display: grid; gap: 10px; padding: 20px 8px 8px; font-size: 13px; color: var(--muted); }
@media (min-width: 768px) { .buybox__facts, .buybox__btns { padding-inline: 8px; } .buybox__list { padding-inline: 12px; } }
.buybox__list li { display: flex; align-items: center; gap: 12px; }
.buybox__list i { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
.product__desc { overflow: visible; }
.product__desc-in { display: grid; gap: 32px; padding: 24px 16px; }
@media (min-width: 768px) { .product__desc-in { padding: 40px; } }
@media (min-width: 1500px) { .product__desc-in.has-toc { grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; } }
.product__text { min-width: 0; max-width: 720px; }
.chips-nav { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 4px; scrollbar-width: none; }
.chips-nav::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .chips-nav { margin-inline: -40px; padding-inline: 40px; } }
@media (min-width: 1500px) { .chips-nav { display: none; } }
.chips-nav a { display: inline-block; flex-shrink: 0; height: 36px; max-width: 256px; overflow: hidden; text-overflow: ellipsis; padding: 0 16px; line-height: 34px; }
.chips-nav a::after { display: none; }
.toc-aside { display: none; }
@media (min-width: 1500px) { .toc-aside { display: block; } }
.toc-aside > div { position: sticky; top: 112px; }
.related { padding-top: 48px; }
@media (min-width: 768px) { .related { padding-top: 96px; } }
.related .product-grid, .related .press__grid { margin-top: 24px; }
@media (min-width: 640px) { .related .product-grid, .related .press__grid { margin-top: 32px; } }
.related h2 b { color: var(--muted); font-weight: 500; }

/* оглавление */
.toc__title { margin-bottom: 16px; }
.toc__list { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc__list a { display: block; margin-left: -1px; border-left: 2px solid transparent; padding: 6px 0 6px 16px; font-size: 14px; line-height: 1.375; color: var(--muted); transition: color .2s; }
.toc__list a:hover { color: var(--ink); }
.toc__list a.is-active { border-left-color: var(--accent); font-weight: 500; color: var(--ink); }

/* ---------- богатый текст ---------- */
.prose-ot { min-width: 0; overflow-wrap: anywhere; font-size: 16px; line-height: 1.7; color: var(--text); }
@media (min-width: 768px) { .prose-ot { font-size: 17px; } }
.prose-ot > :first-child { margin-top: 0; }
.prose-ot > :last-child { margin-bottom: 0; }
.prose-ot p { margin: 0 0 1em; }
.prose-ot strong { color: var(--ink); font-weight: 600; }
.prose-ot .lede { margin: 0 0 1.6em; padding-bottom: 1.4em; border-bottom: 1px solid var(--line); font-family: var(--ff-display); font-size: clamp(20px, 2.1vw, 26px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.prose-ot h2, .prose-ot h3 { font-family: var(--ff-display); color: var(--ink); letter-spacing: -0.015em; line-height: 1.15; }
.prose-ot h2 { margin: 2em 0 .6em; font-size: clamp(22px, 2.3vw, 30px); }
.prose-ot h3 { margin: 1.7em 0 .55em; font-size: clamp(18px, 1.7vw, 21px); }
.prose-ot h4 { margin: 1.5em 0 .5em; font-size: 17px; color: var(--ink); }
.prose-ot .lede + h2 { margin-top: 0; }
.prose-ot ul { list-style: none; margin: 0 0 1.4em; padding: 0; }
.prose-ot ul > li { position: relative; margin: 0 0 .65em; padding-left: 26px; }
.prose-ot ul > li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 1px; background: var(--accent); }
.prose-ot ol { margin: 0 0 1.4em; padding-left: 1.5em; list-style: decimal; }
.prose-ot ol > li { margin: 0 0 .65em; padding-left: .3em; }
.prose-ot ol > li::marker { color: var(--accent); font-weight: 600; }
.prose-ot a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.prose-ot a:hover { color: var(--ink); }
.prose-ot figure { margin: 1.6em 0; }
.prose-ot img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.prose-ot blockquote { margin: 1.4em 0; padding-left: 1.1em; border-left: 3px solid var(--accent); color: var(--ink); }
.prose-ot table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: max-content; max-width: 100%; min-width: min(100%, 480px); margin: 1.4em 0; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
@media (max-width: 639px) { .prose-ot table { font-size: 14px; } .prose-ot th, .prose-ot td { padding: 8px 10px; } }
.prose-ot caption { padding: 0 0 .7em; text-align: left; font-size: 14px; color: var(--muted); }
.prose-ot th { padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--tile); border-bottom: 1px solid #cfd6ce; }
.prose-ot td { padding: 11px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose-ot tbody tr:last-child td { border-bottom-color: #cfd6ce; }
.prose-ot td:nth-child(2):last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose-ot.has-cover { margin-top: 28px; }
@media (min-width: 768px) { .prose-ot.has-cover { margin-top: 40px; } }

/* ---------- пресс-центр ---------- */
.press { padding-block: 32px; }
@media (min-width: 768px) { .press { padding-block: 40px; } }
.press .tabs { flex-wrap: wrap; overflow: visible; }
.press__first { margin-top: 20px; }
@media (min-width: 640px) { .press__first { margin-top: 32px; } }
.press__grid { display: grid; gap: 8px; margin-top: 12px; }
@media (min-width: 640px) { .press__grid { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; } }
@media (min-width: 1024px) { .press__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .press__grid--3 { grid-template-columns: repeat(3, 1fr); } }
.acard { display: flex; flex-direction: row; gap: 12px; padding: 8px; background: #fff; border-radius: 8px; transition: box-shadow .25s; min-width: 0; }
.acard:hover { box-shadow: 0 20px 40px -26px rgba(16, 21, 18, .4); }
@media (min-width: 640px) { .acard { flex-direction: column; gap: 0; padding: 10px; } }
.acard__thumb { width: 96px; flex-shrink: 0; align-self: flex-start; aspect-ratio: 1; border-radius: 4px; }
@media (min-width: 640px) { .acard__thumb { width: 100%; aspect-ratio: 16 / 10; } }
.acard__body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 2px 0; }
@media (min-width: 640px) { .acard__body { padding: 16px; } }
.acard__meta { display: flex; align-items: center; gap: 8px; }
@media (min-width: 640px) { .acard__meta { gap: 12px; } }
.acard__meta .chip { padding: 2px 6px; font-size: 10px; }
.acard__meta .label { font-size: 10.5px; }
@media (min-width: 640px) { .acard__meta .chip { padding: 5px 9px; font-size: 11px; } .acard__meta .label { font-size: 12px; } }
.acard__title { margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
@media (min-width: 640px) { .acard__title { display: block; margin-top: 16px; overflow: visible; font-size: 22px; line-height: 1.12; } }
.acard__excerpt { display: none; }
@media (min-width: 640px) { .acard__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); } }
.acard__more { display: none; margin-top: 20px; align-items: center; justify-content: space-between; color: var(--ink); }
@media (min-width: 640px) { .acard__more { display: flex; } }
.acard--big { flex-direction: column; }
@media (min-width: 768px) { .acard--big { flex-direction: row; } }
.acard--big .acard__thumb { width: 100%; aspect-ratio: 16 / 10; align-self: stretch; }
@media (min-width: 768px) { .acard--big .acard__thumb { aspect-ratio: auto; min-height: 380px; width: 50%; } }
.acard--big .acard__body { padding: 16px; }
@media (min-width: 768px) { .acard--big .acard__body { justify-content: center; padding: 40px; } }
.acard--big .acard__title { display: block; overflow: visible; font-size: 22px; margin-top: 16px; }
@media (min-width: 768px) { .acard--big .acard__title { font-size: 40px; line-height: 1.12; } }
.acard--big .acard__excerpt { display: -webkit-box; flex: 0 1 auto; margin-top: 12px; }
.acard--big .acard__more { display: flex; }
.acard--big .acard__meta .chip { padding: 5px 9px; font-size: 11px; }
.acard--big .acard__meta .label { font-size: 12px; }

/* статья */
@media (min-width: 1280px) { .article { grid-template-columns: minmax(0, 1fr) 380px; } }
.article__sheet { overflow: visible; }
.article__in { display: grid; gap: 40px; padding: 20px 16px; }
@media (min-width: 768px) { .article__in { padding: 40px; } }
@media (min-width: 1024px) { .article__in { padding: 48px; } }
@media (min-width: 1440px) { .article__in { grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; } }
.article__main { max-width: 720px; min-width: 0; }
.article__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--tile); }
@media (min-width: 640px) { .article__cover { aspect-ratio: 16 / 9; } }
.article__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article__rail { display: none; }
@media (min-width: 1440px) { .article__rail { display: block; } }
.article__rail > div { position: sticky; top: 112px; }
.article__rail .label { margin-bottom: 16px; }
.more-list { display: grid; gap: 20px; border-left: 1px solid var(--line); padding-left: 16px; }
.more-list a { display: block; }
.more-list time { font-size: 11px; }
.more-list span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.375; color: var(--ink); }
.more-list a:hover span { text-decoration: underline; }
.article__side { display: grid; gap: 8px; align-content: start; margin: 0; }
@media (min-width: 768px) { .article__side { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .article__side { grid-template-columns: 1fr; position: sticky; top: 96px; align-self: start; } }
.cta-card { border-radius: 12px; background: var(--ink); padding: 24px; }
@media (min-width: 768px) { .cta-card { padding: 28px; } }
.cta-card .eyebrow { color: rgba(255, 255, 255, .6); }
.cta-card h3 { margin-top: 16px; font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
@media (min-width: 768px) { .cta-card h3 { font-size: 26px; } }
.cta-card p { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.cta-card .btn { margin-top: 24px; }
.all-link { display: flex; align-items: center; justify-content: space-between; padding: 20px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- контакты ---------- */
@media (min-width: 1024px) { .contacts { grid-template-columns: .9fr 1.1fr; } }
.contacts__left { display: flex; }
.contacts__list { flex: 1; display: grid; grid-auto-rows: 1fr; }
.contacts__list > div { display: flex; flex-direction: column; justify-content: center; }
.contacts__list > div { padding: 24px 28px; }
.contacts__list > div + div { border-top: 1px solid var(--line); }
@media (min-width: 768px) { .contacts__list > div { padding: 24px 36px; } }
.contacts__label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contacts__val { display: block; margin-top: 8px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.02em; overflow-wrap: anywhere; }
a.contacts__val:hover { color: var(--brand-2); }
.mapwrap { margin-bottom: 0; }
.mapbox { overflow: hidden; border-radius: 16px; background: #fff; }
@media (min-width: 1024px) { .mapbox { border-radius: 20px; } }
.mapbox__view { position: relative; height: 320px; background: var(--tile); }
@media (min-width: 768px) { .mapbox__view { height: 440px; } }
.mapbox__view .mapbox__frame { position: absolute; inset: 0; height: 100%; }
.mapbox__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; color: var(--muted); font-size: 14px; background: linear-gradient(135deg, var(--tile), #e6ebe5); }
.mapbox__ph[hidden] { display: none; }
.mapbox__spin { width: 28px; height: 28px; border: 3px solid #cfd6ce; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mapbox__ph.is-ready .mapbox__spin { display: none; }
.mapbox__frame { display: block; width: 100%; height: 320px; border: 0; background: var(--tile); }
@media (min-width: 768px) { .mapbox__frame { height: 440px; } }
.mapbox__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px 20px; }
@media (min-width: 768px) { .mapbox__bar { padding: 20px 36px; } }
.mapbox__t { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.mapbox__s { margin-top: 2px; font-size: 14px; color: var(--muted); }
.mapbox__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.contacts__form { padding: 28px; }
@media (max-width: 479px) {
  .contacts__list > div { padding: 18px 20px; }
  .contacts__form { padding: 20px; }
  .mapbox__btns { width: 100%; }
  .mapbox__btns .btn { flex: 1 1 auto; }
}
@media (min-width: 768px) { .contacts__form { padding: 48px; } }
.contacts__form h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; }
.contacts__form > p { margin: 8px 0 32px; color: var(--muted); }

/* ---------- услуги, 404, приватность ---------- */
.services-page { padding-block: 48px; }
@media (min-width: 768px) { .services-page { padding-block: 80px; } }
.rows { border-block: 1px solid var(--line); }
.rows__item + .rows__item { border-top: 1px solid var(--line); }
.rows--big .rows__item { display: grid; gap: 12px; padding-block: 32px; }
@media (min-width: 768px) { .rows--big .rows__item { grid-template-columns: 80px 1fr 1.2fr; gap: 32px; padding-block: 40px; } }
.rows--big .rows__item > span { font-size: 14px; color: var(--muted); }
.rows--big h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.rows--big p { line-height: 1.6; color: var(--muted); }
.steps { padding-block: 56px; }
@media (min-width: 768px) { .steps { padding-block: 96px; } }
.steps .eyebrow { color: rgba(255, 255, 255, .6); }
.steps .h2 { margin-top: 20px; }
.steps__grid { display: grid; gap: 12px; margin-top: 48px; }
@media (min-width: 768px) { .steps__grid { grid-template-columns: repeat(4, 1fr); } }
.steps__grid > div { border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; padding: 28px; }
.steps__n { font-size: 48px; font-weight: 500; letter-spacing: -0.02em; color: var(--accent-hi); }
.steps__grid h3 { margin-top: 32px; font-size: 20px; font-weight: 500; }
.steps__grid p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.cta-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
@media (min-width: 768px) { .cta-line { padding-block: 64px; } }
.cta-line h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; }
.cta-line p { margin-top: 8px; color: var(--muted); }
.privacy { padding-block: 48px; }
.privacy .prose-ot { margin-inline: auto; max-width: 768px; }
.notfound { display: grid; place-items: center; padding: 128px 20px; text-align: center; }
.notfound__code { font-size: clamp(80px, 14vw, 180px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--brand-2); font-family: var(--ff-display); }
.notfound__code.is-sm { font-size: clamp(60px, 10vw, 120px); }
.notfound h1 { margin-top: 24px; font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.notfound p { margin-top: 8px; max-width: 448px; color: var(--muted); }
.notfound .btn { margin-top: 32px; }

/* ---------- главная: герой ---------- */
.hero { --g: 0; --p: 0; position: relative; height: 165svh; margin-top: -64px; }
@media (min-width: 768px) { .hero { height: 210svh; } }
@media (min-width: 1024px) { .hero { height: 250svh; margin-top: -76px; } }
.hero__stick { position: sticky; top: 8px; margin: 0 8px; height: calc(100svh - 16px); overflow: hidden; border-radius: 16px; background: #fff; }
@media (min-width: 1024px) { .hero__stick { top: 12px; margin-inline: 12px; height: calc(100svh - 24px); border-radius: 20px; } }
.hero__bg { position: absolute; inset: 0; background: var(--brand); opacity: var(--g); }
.hero__contours { position: absolute; inset: 0; opacity: var(--g); }
.hero__in { position: relative; display: flex; height: 100%; flex-direction: column; align-items: center; padding: 76px 14px 18px; text-align: center; }
@media (min-width: 480px) { .hero__in { padding: 88px 16px 20px; } }
@media (min-width: 768px) { .hero__in { padding: 112px 20px 32px; } }
@media (min-width: 1024px) { .hero__in { padding-top: 144px; } }
.hero__title { max-width: 1100px; color: color-mix(in oklab, #101512, #ffffff calc(var(--g) * 100%)); }
@media (max-width: 479px) { .hero__title { font-size: clamp(26px, 7.2vw, 34px); } }
.hero__scene { position: relative; margin-top: 4px; min-height: 0; width: 100%; flex: 1; }
.hero__cluster { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; height: min(100%, 520px); max-height: 44svh; transform: translate(-50%, -50%) rotate(calc(var(--p) * 140deg)) scale(calc(0.78 + var(--p) * 0.22)); }
@media (min-width: 768px) { .hero__cluster { max-height: none; } }
@keyframes drift { 0%, 100% { translate: -50% -50%; } 50% { translate: -50% calc(-50% - 14px); } }
.granule { position: absolute; border-radius: 50%; box-shadow: 0 14px 22px -14px rgba(0, 0, 0, .55); translate: -50% -50%; animation: drift 7s ease-in-out infinite; }
.granule--white { background: radial-gradient(circle at 30% 26%, #ffffff 0, #eef2ee 20%, #bcc9bf 62%, #8a9c8f 100%); }
.granule--green { background: radial-gradient(circle at 30% 26%, #dcf7e8 0, #4be08f 38%, #14634a 82%, #0a3a29 100%); }
.granule--dark { background: radial-gradient(circle at 30% 26%, #6f8a7a 0, #2d4a3b 46%, #0e1f17 100%); }
.hero__foot { position: relative; z-index: 10; display: flex; width: 100%; max-width: 1100px; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 768px) { .hero__foot { flex-direction: row; justify-content: space-between; gap: 24px; text-align: left; } }
.hero__foot p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; max-width: 512px; font-size: 13.5px; line-height: 1.375; color: color-mix(in oklab, #38423c, #ffffffd9 calc(var(--g) * 100%)); }
@media (min-width: 768px) { .hero__foot p { display: block; overflow: visible; font-size: 16px; line-height: 1.6; } }
.hero__btns { display: grid; width: 100%; flex-shrink: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero__btns .btn { min-width: 0; padding-inline: 10px; gap: 8px; }
@media (max-width: 380px) { .hero__btns .btn::after { display: none; } }
@media (min-width: 768px) { .hero__btns { display: flex; width: auto; gap: 12px; } .hero__btns .btn { padding-inline: 24px; gap: 12px; } }
.hero__cta { background: color-mix(in oklab, var(--accent), #ffffff calc(var(--g) * 100%)); color: color-mix(in oklab, #ffffff, #101512 calc(var(--g) * 100%)); }
.hero__catalog { background: rgba(255, 255, 255, .9); }

/* ---------- главная: секции ---------- */
.mission { display: grid; gap: 40px; }
@media (min-width: 1024px) { .mission { grid-template-columns: 1fr 3fr; } }
.mission__lead { margin-top: 20px; max-width: 880px; }
@media (min-width: 768px) { .mission__lead { margin-top: 32px; } }
.mission__cols { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 768px) { .mission__cols { grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; } }
.mission__cols p { max-width: 448px; line-height: 1.6; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; margin-top: 40px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 40px 16px; margin-top: 64px; } }
.stats dd { margin-top: 12px; font-family: var(--ff-display); font-size: clamp(36px, 4vw, 48px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); }

.showcase { display: grid; gap: 32px; }
@media (min-width: 1024px) { .showcase { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.showcase__main { min-width: 0; }
.showcase__track { display: flex; overflow-x: auto; border-radius: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.showcase__track::-webkit-scrollbar { display: none; }
.slide { position: relative; display: flex; min-height: 320px; width: 100%; flex-shrink: 0; scroll-snap-align: start; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); padding: 20px; color: #fff; }
@media (min-width: 640px) { .slide { min-height: 420px; } }
@media (min-width: 768px) { .slide { min-height: 520px; padding: 40px; } }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform .7s; }
.slide:hover .slide__img { transform: scale(1.05); }
.slide__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 21, 18, .85), rgba(16, 21, 18, .25), transparent); }
.slide__txt { position: relative; }
.slide__txt .h3 { color: #fff; }
.slide__txt p { margin-top: 8px; color: rgba(255, 255, 255, .75); }
.slide__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.slide__arrow { position: absolute; right: 16px; top: 16px; }
.showcase__ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
@media (min-width: 1024px) { .showcase__ctrl { display: none; } }
.showcase__dots { display: flex; gap: 6px; }
.showcase__dots button { width: 6px; height: 6px; border-radius: 99px; background: #c3cbc2; transition: all .2s; }
.showcase__dots button.is-on { width: 32px; background: var(--ink); }
.showcase__arrows { display: flex; gap: 8px; }
.showcase__index { display: none; border-left: 1px solid var(--line); padding-left: 32px; }
@media (min-width: 1024px) { .showcase__index { display: block; } }
.showcase__index button { display: flex; width: 100%; align-items: center; gap: 16px; padding-block: 16px; text-align: left; font-family: var(--ff-display); font-size: 22px; letter-spacing: -0.01em; color: var(--muted); transition: color .2s; }
.showcase__index button:hover, .showcase__index button.is-on { color: var(--ink); }
.showcase__index i { width: 8px; height: 8px; flex-shrink: 0; background: transparent; transition: background .2s; }
.showcase__index button.is-on i { background: var(--accent); }
.showcase__index span { flex: 1; }
.showcase__index em { font-family: var(--ff-text); font-size: 12px; font-style: normal; color: var(--muted); }
.showcase__all { padding-top: 16px; }

.news { display: grid; gap: 24px; }
@media (min-width: 640px) { .news { gap: 40px; } }
@media (min-width: 1024px) { .news { grid-template-columns: 1fr 1fr; gap: 56px; } }
.news__lead { display: block; }
.news__thumb { aspect-ratio: 16 / 10; border-radius: 8px; }
@media (min-width: 640px) { .news__thumb { aspect-ratio: 4 / 3; } }
.news__lead h3 { margin-top: 16px; font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
@media (min-width: 640px) { .news__lead h3 { margin-top: 24px; font-size: clamp(22px, 2.2vw, 30px); } }
.news__lead p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; color: var(--muted); }
.news__lead time { display: block; margin-top: 16px; }
.news__list > * + * { border-top: 1px solid var(--line); }
.news__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-block: 16px; }
.news__row:first-child { padding-top: 0; }
@media (min-width: 640px) { .news__row { gap: 24px; padding-block: 28px; } .news__row:first-child { padding-top: 0; } }
.news__row h3 { font-size: 16px; font-weight: 500; line-height: 1.375; letter-spacing: -0.01em; }
@media (min-width: 640px) { .news__row h3 { font-size: clamp(20px, 1.8vw, 24px); } }
.news__row time { display: block; margin-top: 12px; }
.news__all { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; color: var(--ink); }
@media (min-width: 640px) { .news__all { padding-block: 28px; } }

.offers { display: grid; gap: 12px; }
@media (min-width: 640px) { .offers { gap: 16px; } }
@media (min-width: 768px) { .offers--2 { grid-template-columns: 1fr 1fr; } }
.offer { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 10px; }
@media (max-width: 419px) {
  .offer { grid-template-columns: 1fr; gap: 12px; }
  .offer__thumb { aspect-ratio: 16 / 10; }
  .offer__body { padding: 4px; }
}
@media (min-width: 640px) { .offer { grid-template-columns: 230px 1fr; gap: 24px; padding: 12px; } }
@media (min-width: 1024px) { .offer { grid-template-columns: 260px 1fr; } }
.offer__thumb { aspect-ratio: 720 / 1035; align-self: start; border-radius: 4px; }
.offer__body { display: flex; min-width: 0; flex-direction: column; padding: 4px 4px 4px 0; }
@media (min-width: 640px) { .offer__body { padding: 12px 12px 12px 0; } }
.offer__chip { width: fit-content; background: var(--accent); color: #fff; }
.offer__body h3 { margin-top: 12px; font-size: 18px; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
@media (min-width: 640px) { .offer__body h3 { margin-top: 16px; font-size: 26px; } }
.offer__text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.offer__text p { margin-bottom: 8px; }
@media (min-width: 640px) { .offer__text { -webkit-line-clamp: 6; margin-top: 12px; font-size: 15px; } }
.offer__btn { align-self: flex-start; margin-top: 16px; }
@media (min-width: 640px) { .offer__btn { margin-top: auto; height: 44px; padding-inline: 20px; } }

.partner { display: grid; gap: 24px; }
@media (min-width: 1024px) { .partner { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.partner__photo { position: relative; min-height: 320px; overflow: hidden; border-radius: 12px; background: var(--brand); }
@media (min-width: 768px) { .partner__photo { min-height: 460px; } }
.partner__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.partner__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 21, 18, .8), rgba(16, 21, 18, .2), transparent); }
.partner__badges { position: absolute; inset: auto 16px 16px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
@media (min-width: 640px) { .partner__badges { inset: auto 24px 24px; } }
.partner__logo { border-radius: 8px; background: #fff; padding: 16px 20px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); }
@media (min-width: 640px) { .partner__logo { padding: 20px 28px; } }
.partner__logo .label { font-size: 11px; }
.partner__logo div:last-child { margin-top: 4px; font-family: var(--ff-display); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
@media (min-width: 640px) { .partner__logo div:last-child { font-size: 40px; } }
.partner__tag { border-radius: 4px; background: rgba(255, 255, 255, .15); padding: 8px 12px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.partner__txt { display: flex; flex-direction: column; justify-content: center; }
.partner__txt > p { margin-top: 20px; max-width: 576px; line-height: 1.6; }
@media (min-width: 640px) { .partner__txt > p { margin-top: 24px; } }
.partner__txt ul { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .partner__txt ul { margin-top: 32px; } }
.partner__txt li { display: flex; gap: 16px; }
.tick { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px; border-radius: 4px; background: var(--mint); color: var(--brand-2); }
.partner__txt li strong { font-weight: 500; color: var(--ink); }
.partner__txt li p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.partner__txt .btn-row { margin-top: 28px; }
@media (min-width: 640px) { .partner__txt .btn-row { margin-top: 36px; } }

.delivery { margin-top: 8px; }
.delivery__in { position: relative; display: grid; gap: 48px; }
@media (min-width: 1024px) { .delivery__in { grid-template-columns: 1fr 1fr; } }
.delivery .eyebrow { color: rgba(255, 255, 255, .6); }
.delivery p { margin-top: 24px; max-width: 512px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.delivery__btn { margin-top: 36px; }
.delivery__regions { display: flex; flex-wrap: wrap; align-content: center; gap: 8px; }
.delivery__regions span { border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; padding: 8px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: rgba(255, 255, 255, .9); }
@media (min-width: 640px) { .delivery__regions span { padding: 10px 16px; font-size: 13px; } }
.delivery__regions .is-more { background: var(--accent-hi); border-color: var(--accent-hi); font-weight: 500; color: var(--ink); }

.services { display: grid; gap: 40px; }
@media (min-width: 1024px) { .services { grid-template-columns: 1fr 2fr; } }
.services .btn { margin-top: 32px; }
.services .rows__item { display: grid; gap: 6px; padding-block: 20px; }
@media (min-width: 768px) { .services .rows__item { grid-template-columns: 56px 1fr 1.3fr; gap: 24px; padding-block: 28px; } }
.services .rows__item h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.services .rows__item p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- модальное окно и форма ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: rgba(16, 21, 18, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (min-width: 640px) { .modal { align-items: center; padding: 16px; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__box { max-height: 92dvh; width: 100%; max-width: 512px; overflow-y: auto; border-radius: 16px 16px 0 0; background: #fff; padding: 20px 20px max(20px, env(safe-area-inset-bottom)); animation: rise .5s var(--ease) both; }
@media (min-width: 640px) { .modal__box { border-radius: 12px; padding: 36px; } }
.modal__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .modal__top { margin-bottom: 24px; } }
.modal__top h2 { font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.modal__top p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.lead-form { display: grid; gap: 12px; position: relative; }
@media (min-width: 640px) { .lead-form { gap: 16px; } }
.lead-form .row2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .lead-form .row2 { grid-template-columns: 1fr 1fr; } }
.lead-form label.l { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.lead-form .hp { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
.lead-form .err { margin-top: 6px; font-size: 14px; color: #b91c1c; }
.lead-form .err-box { border-radius: 8px; background: #fef2f2; padding: 12px; font-size: 14px; color: #991b1b; }
.lead-form .submit { margin-top: 4px; width: 100%; }
.lead-form .note { font-size: 12px; line-height: 1.6; color: var(--muted); }
.lead-form .note a { text-decoration: underline; }
.lead-ok { animation: rise .35s var(--ease) both; }
.modal__box.is-done .modal__top { align-items: center; margin-bottom: 20px; }
.lead-ok__head { display: flex; align-items: center; gap: 10px; }
.lead-ok > .lead-ok__head { margin-bottom: 20px; }
.lead-ok__ico { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 4px; background: var(--mint); color: var(--accent); }
.lead-ok h3 { font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.lead-ok p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.lead-ok__meta { margin-top: 20px; padding: 4px 16px; border: 1px solid var(--line); background: var(--tile); border-radius: 8px; }
.lead-ok__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 11px; }
.lead-ok__row + .lead-ok__row { border-top: 1px solid var(--line); }
.lead-ok__row dt { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); flex-shrink: 0; }
.lead-ok__row dd { font-size: 14px; font-weight: 500; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.lead-ok__btn { margin-top: 20px; }
.lead-ok__btn[data-done]::after { display: none; }
.contacts__form:has(.lead-ok) > h2, .contacts__form:has(.lead-ok) > p { display: none; }





/* выпадающий список */
.select { position: relative; }
.select__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; }
.select__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select__btn span.is-ph { color: var(--muted); }
.select__btn svg { flex-shrink: 0; color: var(--muted); transition: transform .2s; }
.select__btn[aria-expanded=true] svg { transform: rotate(180deg); }
.select__list { position: fixed; z-index: 130; overflow-y: auto; border: 1px solid #d3d9d2; border-radius: 8px; background: #fff; padding: 4px; margin: 0; list-style: none; box-shadow: 0 22px 44px -20px rgba(16, 21, 18, .45); scrollbar-width: thin; scrollbar-color: #c3cbc2 transparent; }
.select__list::-webkit-scrollbar { width: 8px; }
.select__list::-webkit-scrollbar-thumb { background: #c3cbc2; border-radius: 8px; border: 2px solid #fff; }
.select__opt { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: 12px; border-radius: 4px; padding: 10px 12px; font-size: 14.5px; line-height: 1.25; color: #26322c; }
.select__opt.is-active { background: var(--tile); }
.select__opt.is-sel { font-weight: 500; color: var(--ink); }
.select__opt.is-empty { color: var(--muted); }
.select__opt svg { color: var(--accent); }
.select__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .granule, .site-header.header-in, .modal__box { animation: none; }
}
@media print { .site-header, .mobile-menu, .float-bar, .footer-cta, .site-footer { display: none; } }
