/* StepTool — стили сайта */
:root {
  --y: #FFD100;
  --y-deep: #F0C000;
  --y-soft: #FFF4C2;
  --ink: #111111;
  --ink-2: #1B1B1B;
  --ink-3: #2A2A2A;
  --text: #1A1A1A;
  --muted: #5F5B54;
  --muted-2: #8C877E;
  --bg: #F3F1EC;
  --bg-2: #E9E6DF;
  --card: #FFFFFF;
  --line: #E0DCD4;
  --line-dark: rgba(255, 255, 255, .12);
  --ok: #1E8A4C;
  --danger: #C62828;

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-s: 4px;
  --r: 8px;
  --r-l: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px -12px rgba(0,0,0,.18);
  --shadow-l: 0 24px 60px -20px rgba(0,0,0,.35);
  --wrap: 1240px;
  --gut: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.dark { background: var(--ink); color: #fff; }
.dark .muted { color: #A9A49B; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 4px; background: var(--y); border-radius: 1px; }
.dark .eyebrow { color: #C9C4BA; }

.h-xl { font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: -0.025em; }
.h-l { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; letter-spacing: -0.02em; }
.h-m { font-size: clamp(22px, 2.4vw, 30px); }
.h-s { font-size: 19px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.mark { background: linear-gradient(transparent 58%, var(--y) 58%, var(--y) 92%, transparent 92%); padding: 0 .06em; }
.dark .mark, .hero .mark { background: none; color: var(--y); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .h-l { margin-top: 14px; max-width: 760px; }
.section-head p { max-width: 460px; }

/* ---------- Кнопки ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px;
  border: 0; border-radius: var(--r-s);
  font-weight: 800; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-y { background: var(--y); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }
.btn-y:hover { background: var(--y-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-line:hover { background: rgba(0,0,0,.05); }
.dark .btn-line:hover { background: rgba(255,255,255,.08); }
.btn-sm { --bh: 42px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: transparent; border-radius: var(--r-s);
}
.icon-btn:hover { background: rgba(0,0,0,.06); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Логотип ---------- */
.logo {
  display: inline-flex; align-items: center; text-decoration: none;
  font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .02em; line-height: 1;
  color: var(--ink);
}
.logo-e { display: inline-flex; flex-direction: column; justify-content: space-between; width: .56em; height: .72em; margin: 0 .07em 0 .05em; }
.logo-e i { display: block; height: 22%; background: var(--y); border-radius: 1px; }
.logo-e i:nth-child(2) { width: 80%; }
.dark .logo, .logo.on-dark { color: #fff; }

/* ---------- Шапка ---------- */
.topbar { background: var(--ink); color: #D9D4CA; font-size: 13px; }
.topbar .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; height: 38px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; gap: 22px; align-items: center; }
.topbar-list span { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 15px; height: 15px; color: var(--y); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 10px 12px; border-radius: var(--r-s); font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink-3); }
.nav a:hover { background: var(--bg); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; text-align: right; }
.header-phone b { font-size: 16px; font-weight: 800; }
.header-phone small { font-size: 12px; color: var(--muted); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--y); color: var(--ink); font-size: 12px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 0 2px #fff;
}
.cart-count[hidden] { display: none; }
.burger { display: none; }

.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--y) 0 16px, var(--ink) 16px 32px); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero h1 { margin: 20px 0 24px; }
.hero .lead { color: #D6D1C7; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; border-radius: var(--r-l); aspect-ratio: 9 / 8; object-fit: cover; object-position: 50% 40%; }
.hero-tag {
  position: absolute; left: -22px; bottom: 34px; background: var(--y); color: var(--ink);
  padding: 14px 18px; border-radius: var(--r); box-shadow: var(--shadow-l); max-width: 240px;
}
.hero-tag b { display: block; font-family: var(--f-display); font-size: 28px; line-height: 1; }
.hero-tag span { font-size: 13px; font-weight: 700; }
.hero-rating {
  position: absolute; right: 18px; top: 18px; background: rgba(17,17,17,.82); backdrop-filter: blur(6px);
  border: 1px solid var(--line-dark); border-radius: var(--r); padding: 10px 14px; font-size: 13px;
}
.hero-rating b { font-size: 18px; color: var(--y); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line-dark); }
.stat { padding: 20px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.stat b { display: block; white-space: nowrap; font-family: var(--f-display); font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; color: var(--y); line-height: 1.1; }
.stat span { font-size: 14px; color: #BDB8AE; }

/* ---------- Три инструмента ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio-card { background: var(--card); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.trio-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.trio-card img { width: 100%; height: 100%; object-fit: cover; }
.trio-card .body { padding: 22px 24px 26px; }
.trio-num { font-family: var(--f-display); font-size: 13px; font-weight: 700; color: var(--muted-2); }
.trio-card h3 { font-size: 22px; margin: 8px 0 10px; }
.equation { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; font-family: var(--f-display); font-weight: 700; font-size: clamp(16px, 2vw, 22px); flex-wrap: wrap; text-align: center; }
.equation .op { color: var(--muted-2); }
.equation .res { background: var(--ink); color: var(--y); padding: 8px 16px; border-radius: var(--r-s); }

/* ---------- Каталог ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--card); font-weight: 700; font-size: 14px;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .n { color: var(--muted-2); margin-left: 4px; }
.chip[aria-pressed="true"] .n { color: var(--y); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--card); border-radius: var(--r-l); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .4s; }
.card-media.cover img { object-fit: cover; padding: 0; }
.card:hover .card-media img { transform: scale(1.03); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--y); color: var(--ink); font-size: 12px; font-weight: 800;
  padding: 5px 10px; border-radius: var(--r-s); letter-spacing: .02em; text-transform: uppercase;
}
.badge.dark { background: var(--ink); color: var(--y); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-model { font-family: var(--f-display); font-weight: 700; font-size: 13px; color: var(--muted-2); letter-spacing: .02em; }
.card-title { font-size: 18px; font-weight: 800; line-height: 1.25; margin: 6px 0 6px; font-family: var(--f-text); }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--y); }
.card-sub { font-size: 14px; color: var(--muted); }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 18px; }
.kv div { background: var(--bg); border-radius: var(--r-s); padding: 8px 10px; }
.kv small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kv b { font-size: 15px; font-weight: 800; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--f-display); font-size: 24px; font-weight: 700; white-space: nowrap; }
.price-req { font-size: 16px; font-weight: 800; color: var(--muted); }
.card-links { display: flex; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.card-links a { text-decoration: none; border-bottom: 1px solid var(--line); }
.card-links a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Подбор по высоте ---------- */
.picker { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); }
.picker-controls { padding: 44px; }
.picker-controls h2 { margin: 14px 0 12px; }
.range-row { margin-top: 32px; }
.range-value { font-family: var(--f-display); font-size: 56px; font-weight: 800; line-height: 1; }
.range-value small { font-size: 22px; font-weight: 700; color: var(--muted); margin-left: 6px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 24px 0 10px; background: linear-gradient(90deg, var(--ink) var(--p, 30%), var(--bg-2) var(--p, 30%)); border-radius: 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--y); border: 4px solid var(--ink); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--y); border: 4px solid var(--ink); cursor: grab; }
.range-scale { position: relative; height: 20px; margin: 0 15px; font-size: 13px; color: var(--muted); font-weight: 600; }
.range-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.picker-result { background: var(--ink); color: #fff; padding: 44px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.picker-result .label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #BDB8AE; }
.picker-result h3 { font-size: 28px; color: var(--y); }
.picker-result p { color: #D6D1C7; }
.picker-result .res-img { background: #fff; border-radius: var(--r); aspect-ratio: 16 / 9; overflow: hidden; }
.picker-result .res-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.picker-result .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.picker-result .price { color: #fff; }

/* ---------- Детали конструкции ---------- */
.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.detail { background: var(--card); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.detail:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.detail-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.detail:hover .detail-media img { transform: scale(1.04); }
.detail-media.contain img { object-fit: contain; }
.detail-media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--y); }
.detail-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.detail-num { font-family: var(--f-display); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted-2); display: flex; gap: 10px; align-items: center; }
.detail-num i { font-style: normal; font-family: var(--f-text); font-weight: 800; letter-spacing: .02em; color: var(--ink); background: var(--bg); padding: 3px 8px; border-radius: 3px; text-transform: uppercase; font-size: 11px; }
.detail h3 { font-family: var(--f-text); font-size: 18px; font-weight: 800; line-height: 1.25; }
.detail p { font-size: 15px; color: var(--muted); }
.detail.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.detail.wide .detail-media { aspect-ratio: auto; height: 300px; }
.detail.wide .detail-media img { object-position: 50% 35%; }
.detail.wide .detail-body { justify-content: center; padding: 28px; }
.detail-big { font-family: var(--f-display); font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.detail-big small { font-size: 20px; margin-left: 6px; color: var(--muted); font-weight: 700; }

/* ---------- Производство ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-l); overflow: hidden; }
.prod-step { background: var(--ink); padding: 30px 26px 34px; }
.prod-step .n { font-family: var(--f-display); font-size: 44px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--y); line-height: 1; }
.prod-step h3 { font-family: var(--f-text); font-size: 19px; font-weight: 800; margin: 22px 0 8px; }
.prod-step p { font-size: 15px; color: #BDB8AE; }
.prod-foot { display: flex; justify-content: space-between; gap: 24px; margin-top: 36px; align-items: center; flex-wrap: wrap; }
.prod-foot .addr { display: flex; gap: 14px; align-items: center; }
.prod-foot .addr svg { width: 26px; height: 26px; color: var(--y); flex: none; }

/* ---------- Основатель ---------- */
.founder { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.founder-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden;
  background: linear-gradient(160deg, #2B2B2B, #111); display: grid; place-items: center; color: #fff;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .ph { text-align: center; padding: 24px; }
.founder-photo .ph b { display: block; font-family: var(--f-display); font-size: 88px; color: var(--y); line-height: 1; }
.founder-photo .ph span { font-size: 13px; color: #A9A49B; }
.founder-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--y) 0 12px, var(--ink) 12px 24px); }
.founder blockquote { margin: 22px 0 28px; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.25; letter-spacing: -0.01em; }
.founder blockquote::before { content: "«"; color: var(--y-deep); }
.founder blockquote::after { content: "»"; color: var(--y-deep); }
.founder .sign { display: flex; gap: 16px; align-items: center; }
.founder .sign b { display: block; font-size: 18px; }
.founder-text { display: grid; gap: 14px; color: var(--muted); max-width: 640px; }

/* ---------- Таймлайн ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 26px); opacity: .25; }
.tl-item { position: relative; }
.tl-dot { width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: 4px solid var(--ink); display: grid; place-items: center; position: relative; z-index: 1; }
.tl-item.now .tl-dot { background: var(--y); }
.tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.tl-year { font-family: var(--f-display); font-size: 30px; font-weight: 800; margin: 18px 0 8px; }
.tl-item h3 { font-family: var(--f-text); font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.tl-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- Отзывы ---------- */
.ratings { display: flex; gap: 12px; flex-wrap: wrap; }
.mp-dot { width: 28px; height: 28px; border-radius: 7px; display: inline-grid; place-items: center; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.mp-ozon { background: #005BFF; }
.mp-wb { background: linear-gradient(135deg, #CB11AB, #481173); }
.mp-ym { background: #FFD000; color: #111; }
.mp-vi { background: #E4322B; }
.rstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rstat { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "dot name" "val val" "cnt cnt"; gap: 6px 10px; align-items: center; background: var(--card); border-radius: var(--r-l); padding: 18px 20px; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.rstat:hover { transform: translateY(-2px); }
.rstat .mp-dot { grid-area: dot; }
.rstat-name { grid-area: name; font-weight: 800; font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rstat b { grid-area: val; font-family: var(--f-display); font-size: 40px; line-height: 1; margin-top: 8px; }
.rstat b small { font-size: 22px; color: #E8A800; margin-left: 4px; }
.rstat-count { grid-area: cnt; color: var(--muted); font-size: 14px; }
.rv-grid { columns: 3 300px; column-gap: 20px; }
.rv { break-inside: avoid; background: var(--card); border-radius: var(--r-l); padding: 20px 22px; box-shadow: var(--shadow); margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.rv-head { display: flex; align-items: center; gap: 12px; }
.rv-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.rv-ava.t0 { background: var(--ink); color: var(--y); }
.rv-ava.t1 { background: var(--y); color: var(--ink); }
.rv-ava.t2 { background: var(--bg-2); color: var(--ink-3); }
.rv-who { flex: 1; min-width: 0; line-height: 1.25; }
.rv-who b { display: block; font-size: 15px; }
.rv-who span { font-size: 13px; color: var(--muted); }
.rv-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rv-stars { color: #E8A800; letter-spacing: 2px; font-size: 15px; }
.rv-stars i { font-style: normal; color: var(--line); }
.rv-src { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.rv-model { font-size: 12px; font-weight: 800; text-decoration: none; background: var(--bg); padding: 4px 9px; border-radius: 4px; white-space: nowrap; }
a.rv-model:hover { background: var(--y); }
.rv-body { display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.rv-body b { font-weight: 800; }
.rv-body.clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rv-body.clamp p + p { margin-top: 8px; }
.rv-more { align-self: flex-start; font-weight: 700; color: var(--ink); }
.pdp-rv-link { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--y); text-decoration-thickness: 2px; }
.pdp-reviews { padding-bottom: 96px; }

/* ---------- Где купить ---------- */
.buy { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 16px; }
.buy-card { background: var(--card); border-radius: var(--r-l); padding: 26px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.buy-card:hover { transform: translateY(-2px); }
.buy-card.main { background: var(--y); }
.buy-card h3 { font-family: var(--f-text); font-weight: 800; font-size: 20px; }
.buy-card p { font-size: 14.5px; color: var(--muted); }
.buy-card.main p { color: var(--ink-3); }
.buy-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; }
.buy-card li { display: flex; gap: 8px; }
.buy-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.buy-card .go { margin-top: auto; font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
.buy-card .go svg { width: 18px; height: 18px; }

/* ---------- B2B ---------- */
.b2b { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.b2b-list { display: grid; gap: 14px; margin-top: 28px; }
.b2b-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.b2b-item svg { width: 26px; height: 26px; color: var(--y); flex: none; margin-top: 2px; }
.b2b-item b { display: block; font-size: 17px; }
.form-card { background: #fff; color: var(--text); border-radius: var(--r-l); padding: 32px; box-shadow: var(--shadow-l); }
.form-card h3 { font-size: 24px; margin-bottom: 8px; }

/* ---------- Формы ---------- */
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; height: 50px; padding: 0 14px; border-radius: var(--r-s);
  border: 1.5px solid var(--line); background: #fff; font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--y-soft); }
.input.invalid { border-color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 14px; font-weight: 700; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--ok); }

.options { display: grid; gap: 10px; }
.option {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.option:hover { border-color: var(--muted-2); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--muted-2); flex: none; margin-top: 2px; display: grid; place-items: center; }
.option:has(input:checked) { border-color: var(--ink); background: #FFFCEB; }
.option:has(input:checked) .radio { border-color: var(--ink); }
.option:has(input:checked) .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.option:has(input:focus-visible) { outline: 3px solid var(--y); outline-offset: 2px; }
.option b { display: block; font-size: 15.5px; }
.option small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.option .tag { margin-left: auto; font-weight: 800; font-size: 14px; white-space: nowrap; }
.pay-logos { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.pay-logos span { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 3px; background: var(--bg); color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 800; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 20px; font-weight: 700; transition: transform .2s, background-color .2s; }
.faq details[open] summary::after { content: "–"; background: var(--y); }
.faq details > div { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: #BDB8AE; padding: 64px 0 32px; font-size: 14.5px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-family: var(--f-text); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer .phone { font-size: 22px; font-weight: 800; color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #8C877E; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: var(--r-s); background: var(--ink-3); display: grid; place-items: center; }
.socials a:hover { background: var(--y); color: var(--ink); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Корзина (выезжающая панель) ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow-l); }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.total-row .price { font-size: 26px; }
.empty { text-align: center; padding: 56px 12px; color: var(--muted); }
.empty svg { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--muted-2); }

.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line:last-child { border-bottom: 0; }
.line-img { width: 76px; height: 64px; border-radius: var(--r-s); background: var(--bg); overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-weight: 800; font-size: 14.5px; line-height: 1.3; text-decoration: none; }
.line-price { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.line-side { display: grid; justify-items: end; gap: 8px; }
.line-sum { font-weight: 800; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-s); height: 36px; }
.qty button { width: 32px; height: 100%; border: 0; background: transparent; font-size: 18px; font-weight: 700; }
.qty button:hover { background: var(--bg); }
.qty span { min-width: 28px; text-align: center; font-weight: 800; font-size: 14px; }
.qty.lg { height: 52px; }
.qty.lg button { width: 44px; }
.qty.lg span { min-width: 36px; font-size: 16px; }
.link-btn { border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.link-btn:hover { color: var(--danger); }

/* ---------- Тост ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 18px 14px 16px; border-radius: var(--r); display: flex; gap: 12px; align-items: center; z-index: 120; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--shadow-l); font-weight: 700; font-size: 15px; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast svg { width: 22px; height: 22px; color: var(--y); flex: none; }
.toast button { background: var(--y); color: var(--ink); border: 0; border-radius: var(--r-s); padding: 8px 12px; font-weight: 800; font-size: 13px; margin-left: 6px; }

/* ---------- Модальное окно ---------- */
.modal { border: 0; padding: 0; border-radius: var(--r-l); width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-l); }
.modal::backdrop { background: rgba(0,0,0,.5); }
.modal .form-card { box-shadow: none; position: relative; }
.modal .close { position: absolute; top: 12px; right: 12px; }

/* ---------- Карточка товара ---------- */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); padding: 22px 0; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; padding-bottom: 72px; }
.pdp > *, .pdp-sections > *, .checkout > *, .picker > *, .b2b > *, .faq > *, .founder > * { min-width: 0; }
.gallery-main { position: relative; background: #fff; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: var(--shadow); display: grid; place-items: center; }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-nav svg { width: 20px; height: 20px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 76px; height: 76px; border-radius: var(--r); border: 2px solid transparent; background: #fff; padding: 0; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-info h1 { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 10px; }
.pdp-info .kv div { background: #fff; }
.pdp-buy { background: #fff; border-radius: var(--r-l); padding: 24px; box-shadow: var(--shadow); margin: 24px 0; display: grid; gap: 16px; }
.pdp-buy .price { font-size: 36px; }
.pdp-buy .row { display: flex; gap: 12px; }
.pdp-buy .row .btn { flex: 1; }
.perks { display: grid; gap: 10px; font-size: 14.5px; }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 20px; height: 20px; flex: none; }
.pdp-market { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); align-items: center; }
.pdp-market a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 700; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 5px 12px 5px 6px; background: #fff; }
.pdp-market a:hover { border-color: var(--ink); }
.pdp-market .mp-dot { width: 22px; height: 22px; font-size: 10px; }
.pdp-sections { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding-bottom: 96px; }
.pdp-sections h2 { font-size: 26px; margin-bottom: 20px; }
.prose { display: grid; gap: 14px; font-size: 16.5px; }
.specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); }
.specs th, .specs td { text-align: left; padding: 13px 18px; font-size: 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 600; color: var(--muted); width: 48%; }
.specs td { font-weight: 700; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.kit { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.kit li { display: flex; gap: 10px; }
.kit svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* ---------- Оформление заказа ---------- */
.checkout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; padding-bottom: 96px; }
.checkout h1 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 28px; }
.step { background: #fff; border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow); margin-bottom: 20px; }
.step h2 { font-family: var(--f-text); font-size: 20px; font-weight: 800; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.step h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--y); display: grid; place-items: center; font-size: 14px; }
.checkout > aside { position: sticky; top: calc(var(--header-h) + 20px); }
.summary { background: #fff; border-radius: var(--r-l); padding: 24px; box-shadow: var(--shadow); }
.summary h2 { font-family: var(--f-text); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.summary .rows { display: grid; gap: 8px; margin: 14px 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.summary .rows div { display: flex; justify-content: space-between; gap: 12px; }
.summary .grand { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 2px solid var(--ink); font-weight: 800; }
.summary .grand .price { font-size: 30px; }
.summary .note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.secure { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.secure svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

.result { max-width: 640px; margin: 0 auto; text-align: center; padding: 96px 0 120px; }
.result .ic { width: 88px; height: 88px; border-radius: 50%; background: var(--y); display: grid; place-items: center; margin: 0 auto 28px; }
.result .ic.bad { background: #F6D6D6; color: var(--danger); }
.result .ic svg { width: 44px; height: 44px; }
.result h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.result p { color: var(--muted); font-size: 17px; }
.result .actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

.legal { max-width: 820px; padding: 40px 0 96px; }
.legal h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 24px; }
.legal h2 { font-family: var(--f-text); font-size: 20px; font-weight: 800; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--ink-3); margin-bottom: 10px; }
.legal .todo { background: var(--y-soft); padding: 2px 6px; border-radius: 3px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header-phone small { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .details { grid-template-columns: repeat(2, 1fr); }
  .rstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy { grid-template-columns: 1fr 1fr; }
  .buy-card.main { grid-column: 1 / -1; }
  .founder { grid-template-columns: 340px 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .mobile-nav { display: block; position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); z-index: 49; padding: 8px var(--gut) 20px; transform: translateY(-120%); transition: transform .25s; box-shadow: var(--shadow-l); }
  body.nav-open .mobile-nav { transform: none; }
  .mobile-nav a { display: block; padding: 14px 0; font-weight: 800; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  :root { --gut: 16px; --header-h: 62px; }
  .section { padding: 64px 0; }
  .topbar-list .hide-m { display: none; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 64px; gap: 32px; }
  .hero-tag { left: 12px; bottom: 12px; padding: 10px 12px; max-width: 190px; }
  .hero-tag b { font-size: 20px; }
  .hero-tag span { font-size: 12px; line-height: 1.3; display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .stat { padding: 16px 12px 16px 0; }
  .stat + .stat { padding-left: 12px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .trio { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 1fr; }
  .picker-controls, .picker-result { padding: 28px 22px; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
  .b2b { grid-template-columns: 1fr; gap: 36px; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .pdp, .pdp-sections, .checkout { grid-template-columns: 1fr; gap: 28px; }
  .pdp-info, .checkout > aside { position: static; }
  .detail.wide { grid-column: span 2; }
  .header-phone { display: none; }
}
@media (max-width: 600px) {
  .grid, .details, .buy { grid-template-columns: 1fr; }
  .rstat b { font-size: 32px; }
  .rstat { padding: 14px 14px 16px; }
  .rstat-name { font-size: 13px; }
  .detail.wide { grid-column: auto; grid-template-columns: 1fr; }
  .detail.wide .detail-media { min-height: 220px; height: 220px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 28px; }
  .kv { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kv div { padding: 7px 8px; }
  .kv b { font-size: 14px; }
  .step, .form-card { padding: 22px 18px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .range-value { font-size: 44px; }
  .topbar .wrap { justify-content: center; }
  .topbar .topbar-right { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
