@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f2;
  --ink: #101211;
  --ink-2: #3d433f;
  --muted: #6f7671;
  --line: #e2e6e0;
  --line-2: #cfd5cd;
  --green: #3ddc84;
  --green-ink: #12793f;
  --green-soft: #e6f8ee;
  --orange: #f29d1f;
  --orange-soft: #fff1dc;
  --dark: #111412;
  --dark-2: #1b1f1c;
  --dark-line: #2d332f;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 20px;
  --hdr: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

/* --- кнопки --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:hover { background: #2a2f2b; border-color: #2a2f2b; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--bg-alt); border-color: var(--ink); }
.btn--accent { background: var(--green); border-color: var(--green); color: var(--ink); }
.btn--accent:hover { background: #5fe59b; border-color: #5fe59b; }
.btn--ghost-light { background: transparent; color: #fff; border-color: var(--dark-line); }
.btn--ghost-light:hover { background: var(--dark-2); border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* --- шапка --- */
.hdr {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px);
}
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand b { color: var(--green-ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.hdr__act { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); }
.icon-btn:hover { border-color: var(--ink); }
.hdr__count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px;
  border-radius: 999px; background: var(--green); color: var(--ink); font-size: 12px; font-weight: 800;
}

/* --- первый экран --- */
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px; align-items: center; padding-block: 64px 48px; }
.eyebrow { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-weight: 700; font-size: 13px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.03; text-wrap: balance; }
.lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 40px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 2px; }
.facts b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 14px; }
.hero__art { justify-self: end; width: 100%; max-width: 400px; }
.hero__art img { width: 100%; height: auto; border-radius: 50%; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero__art img { animation: none; } }

/* --- преимущества --- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: 24px; }
.feat { padding: 24px; border-radius: var(--radius); background: var(--bg-alt); }
.feat svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feat h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: 15px; }

/* --- секции --- */
.section { padding-block: 72px; }
.section--alt { background: var(--bg-alt); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.sec-head p { color: var(--muted); max-width: 32em; }

/* --- каталог --- */
.pills { display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) 8px; padding: 4px var(--gutter); overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pills a { flex: none; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; }
.pills a:hover { border-color: var(--ink); }
.cat { padding-top: 32px; }
.cat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.cat__head h3 { font-size: 22px; font-weight: 800; }
.cat__head span { color: var(--muted); font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--line-2); box-shadow: 0 6px 24px rgba(16,18,17,.06); }
.card.is-selected { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.card__img { width: calc(100% + 40px); max-width: none; margin: -20px -20px 4px; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg-alt); border-radius: var(--radius) var(--radius) 0 0; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-size: 12px; font-weight: 700; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.tag--in { background: var(--green-soft); color: var(--green-ink); }
.tag--in::before { background: var(--green); }
.tag--hit { background: var(--orange-soft); color: #9a5a00; }
.tag--hit::before { background: var(--orange); }
.card__name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.perf { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.perf__bar { position: relative; flex: 1; max-width: 140px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.perf__bar i { position: absolute; inset: 0 auto 0 0; background: var(--ink); border-radius: 99px; }
.perf__bar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 2px), var(--bg) calc(100% / 6 - 2px) calc(100% / 6)); }
.specs { margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.specs li { display: inline; }
.specs li:not(:last-child)::after { content: "·"; margin: 0 1px 0 7px; color: var(--line-2); font-weight: 800; }
.card__foot { margin-top: auto; display: grid; gap: 12px; padding-top: 4px; }
.vars { display: flex; flex-wrap: wrap; gap: 6px; }
.var { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 700; cursor: pointer; }
.var:hover { border-color: var(--ink); }
.var.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.var--static { cursor: default; background: var(--bg-alt); border-color: transparent; }
.var--static:hover { border-color: transparent; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.add .add__on { display: none; }
.is-selected .add .add__off { display: none; }
.is-selected .add .add__on { display: inline-flex; align-items: center; gap: 6px; }
.is-selected .btn.add { background: var(--green); border-color: var(--green); color: var(--ink); }
.card__link { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.card__link:hover { color: var(--ink); }

.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.row { display: flex; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--line); }
.row__name { flex: 1; font-weight: 600; }
.row__name small { color: var(--muted); font-weight: 600; }
.row__price { font-weight: 800; white-space: nowrap; }
.add--icon { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); cursor: pointer; }
.add--icon:hover { border-color: var(--ink); }
.add--icon .add__check { display: none; }
.is-selected .add--icon { background: var(--green); border-color: var(--green); }
.is-selected .add--icon .add__plus { display: none; }
.is-selected .add--icon .add__check { display: block; }
.note { margin-top: 32px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--ink-2); font-size: 14px; }

/* --- две колонки: заголовок + содержимое --- */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.split__aside { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 900px) { .split__aside { position: sticky; top: calc(var(--hdr) + 32px); } }

.discounts { display: grid; gap: 10px; margin: 8px 0; padding: 0; list-style: none; }
.discounts li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.discounts li::before { content: "%"; flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); font-size: 12px; font-weight: 800; }
.pricelist { margin: 0; background: var(--bg); border-radius: var(--radius); padding: 8px 24px; }
.pricelist__row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pricelist__row:last-child { border-bottom: 0; }
.pricelist dt { font-weight: 700; }
.pricelist dt small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; font-weight: 500; }
.pricelist dd { margin: 0; font-weight: 800; text-align: right; white-space: nowrap; }

/* --- FAQ --- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 20px 0; color: var(--ink-2); }

/* --- заказ --- */
.section--dark { background: var(--dark); color: #fff; }
.section--dark .muted { color: #a3aba5; }
.section--dark a { color: #fff; }
.cart { width: 100%; margin-top: 8px; }
.cart__empty { color: #a3aba5; font-size: 15px; }
.cart__list { margin: 0; padding: 0; list-style: none; }
.cart__item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--dark-line); }
.cart__name { font-weight: 700; font-size: 15px; }
.cart__name small { display: block; color: #a3aba5; font-weight: 500; font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--dark-line); border-radius: 999px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; color: #fff; cursor: pointer; font-size: 17px; border-radius: 50%; }
.qty button:hover { background: var(--dark-2); }
.qty span { min-width: 18px; text-align: center; font-weight: 700; font-size: 14px; }
.cart__sum { font-weight: 800; white-space: nowrap; min-width: 76px; text-align: right; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-size: 18px; }
.cart__total b { font-size: 26px; letter-spacing: -0.02em; }

.order-box { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 28px; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 700; color: #cfd6d1; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--dark-line); border-radius: var(--radius-sm);
  background: var(--dark); color: #fff; font: inherit; font-size: 16px; transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6f7872; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field.is-invalid input { border-color: #ff6b5e; }
.form__hint { margin-top: -8px; font-size: 13px; color: #a3aba5; }
.form__msg { padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255,107,94,.12); color: #ffb3ab; font-size: 14px; font-weight: 600; }
.form__fine { font-size: 12px; color: #7f8882; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { display: grid; justify-items: start; gap: 12px; padding: 12px 0; }
.done__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--ink); }
.done h3 { font-size: 26px; font-weight: 800; }
.done p { color: #cfd6d1; }

/* --- подвал --- */
.ftr { padding-block: 56px 24px; }
.ftr__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
.ftr__brand { display: grid; gap: 8px; justify-items: start; align-content: start; }
.ftr__brand .brand { margin-bottom: 8px; }
.ftr__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 32px; margin: 0; padding: 0; list-style: none; }
.ftr__links li { display: grid; gap: 2px; }
.ftr__links span { font-size: 13px; color: var(--muted); }
.ftr__links a { font-weight: 700; text-decoration: none; }
.ftr__links a:hover { text-decoration: underline; }
.ftr__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* --- нижняя плашка заказа (телефон) --- */
.bar {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px;
  border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.bar__info { display: grid; line-height: 1.25; font-size: 13px; color: #a3aba5; }
.bar__info b { color: #fff; font-size: 15px; }
@media (min-width: 900px) { .bar { display: none !important; } }

/* --- адаптив --- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hdr__act { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-block: 28px 40px; }
  .hero__art { order: -1; justify-self: start; max-width: 112px; margin-bottom: 20px; }
  .split, .ftr__in { grid-template-columns: 1fr; gap: 28px; }
  .rows { grid-template-columns: 1fr; }
  .section { padding-block: 56px; }
  body.has-bar .ftr { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; --hdr: 58px; }
  .brand { font-size: 17px; }
  .brand img { width: 34px; height: 34px; }
  .features { grid-template-columns: 1fr; gap: 10px; }
  .feat { display: grid; grid-template-columns: 30px 1fr; gap: 4px 14px; padding: 18px; }
  .feat svg { grid-row: span 2; margin: 2px 0 0; }
  .feat h3 { margin: 0; font-size: 17px; }
  .facts { gap: 16px 28px; margin-top: 32px; }
  .facts b { font-size: 19px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .card__img { width: calc(100% + 36px); margin: -18px -18px 4px; }
  .pricelist { padding: 4px 18px; }
  .pricelist__row { flex-direction: column; gap: 4px; }
  .pricelist dd { text-align: left; white-space: normal; }
  .form__row { grid-template-columns: 1fr; }
  .order-box { padding: 20px; margin-inline: -4px; }
  .faq details p { padding-right: 0; }
}
