/* ==========================================================================
   GAS Oil — стиль презентації: біле поле, Dela Gothic One, червоні й жовті плашки
   ========================================================================== */

/* Fallback з підігнаними метриками, поки вантажаться Dela Gothic One та Commissioner */
@font-face { font-family: 'Dela Fallback'; src: local('Arial Black'), local('Arial-BlackMT'), local('Arial Bold'), local('Roboto Black'); size-adjust: 108%; ascent-override: 88%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'Commissioner Fallback'; src: local('Arial'), local('ArialMT'), local('Roboto'), local('Helvetica Neue'); size-adjust: 102%; ascent-override: 96%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --white: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #5E5E5E;
  --ink-3: #6B6B6B;
  --gray: #F7F7F7;
  --gray-2: #EFEFEF;
  --line: #E6E6E6;
  --red: #F10B11;
  --red-1: #FD2100;
  --red-2: #E31100;
  --red-btn-1: #E8180C;
  --red-btn-2: #C90E08;
  --pink: #FEEAE9;
  --yellow-1: #FCDD10;
  --yellow-2: #FCD210;
  --ok: #15A34A;
  --err: #C8170F;

  --display: 'Dela Gothic One', 'Dela Fallback', 'Arial Black', sans-serif;
  --text: 'Commissioner', 'Commissioner Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1360px;
  --gutter: clamp(18px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 150px);
  --header-h: 64px;
  --r: 18px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  color-scheme: light;
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
html.quiz-open, html.quiz-open body { overflow: hidden; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--white); text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; }
.red { color: var(--red); }

/* ---------- типографіка ---------- */
.section { padding-top: var(--section-y); }
.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 64px); line-height: 1.05; letter-spacing: 0;
  text-wrap: balance;
}
.h2--center { text-align: center; }
.lead { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45; max-width: 36ch; text-wrap: pretty; }
.hint { color: var(--ink-2); font-size: 14px; }
.split-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- кнопки ---------- */
.btn {
  --h: 54px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 26px; border-radius: 14px;
  background: linear-gradient(90deg, var(--red-btn-1), var(--red-btn-2)); color: var(--white);
  font-family: var(--text); font-weight: 700; font-size: 17px; line-height: 1; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(227, 17, 0, .7);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn svg { width: 22px; height: 22px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(227, 17, 0, .8); }
.btn:hover::after { transform: translateX(120%); transition: transform .8s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { cursor: progress; opacity: .8; transform: none; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn--lg { --h: 64px; padding: 0 34px; font-size: 18.7px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--ghost { background: var(--gray); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--dark { background: var(--ink); box-shadow: none; }

.link-under { position: relative; font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; padding-block: 6px; }
.link-under::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform-origin: left; transition: transform .45s var(--ease-out); }
.link-under:hover::after { transform: scaleX(.35); }

/* ---------- плашки ---------- */
.badge { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1; }
.badge--red { color: var(--white); background: linear-gradient(90deg, var(--red-1), var(--red-2)); border-radius: 16px; }
.badge--yellow { color: var(--ink); background: linear-gradient(90deg, var(--yellow-1), var(--yellow-2)); border-radius: 16px; }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__word { font-family: var(--display); font-size: 22px; letter-spacing: .01em; line-height: 1; }
.logo__word b { font-weight: 400; color: var(--white); background: linear-gradient(90deg, var(--red-1), var(--red-2)); border-radius: 8px; padding: 3px 7px 4px; margin-left: 5px; display: inline-block; transform: rotate(-3deg); }
.site-nav { display: none; gap: 28px; margin-left: 12px; }
.site-nav a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.site-nav a:hover { color: var(--red); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink); }
.header-phone svg { width: 18px; height: 18px; color: var(--red); }

/* ═════════ 1. HERO ═════════ */
.hero { position: relative; overflow: hidden; padding-top: clamp(16px, 3vw, 32px); }
.hero__inner { position: relative; display: grid; }
.hero__copy { position: relative; z-index: 3; display: grid; gap: 22px; align-content: start; }
.hero__title {
  position: relative;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(42px, 6.4vw, 104px); line-height: .98; letter-spacing: 0;
}
.hero__line { display: block; }
.reveal-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.reveal-mask > span { display: inline-block; }
.hero__badge {
  font-size: clamp(32px, 4.4vw, 72px);
  padding: .24em .44em .28em;
  margin-top: .2em; margin-left: clamp(24px, 7vw, 120px);
  border-radius: clamp(12px, 1.4vw, 20px);
  transform: rotate(-2deg);
  transform-origin: left center;
}
.hero__note {
  display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--ink-2);
  font-size: clamp(16px, 1.7vw, 24px); text-transform: uppercase; line-height: 1.3; color: var(--ink-2);
}
.hero__note b { color: #444; font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__aside {
  display: none;
  position: absolute; right: var(--gutter); top: 40px; z-index: 3;
  max-width: 11ch; padding-left: 18px; border-left: 2px solid var(--ink-2);
  text-transform: uppercase; font-weight: 300; font-size: 17px; line-height: 1.7; color: var(--ink-2);
}
.hero__chips { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero__chips button {
  min-height: 42px; padding: 0 16px; border-radius: 12px; background: var(--gray);
  font-family: var(--display); font-size: 15px; line-height: 1;
  transition: background-color .25s var(--ease-out), color .25s, transform .25s var(--ease-out);
}
.hero__chips button:hover, .hero__chips button:focus-visible { background: var(--ink); color: var(--white); transform: translateY(-2px); }

.hero__cue { display: none; align-items: center; gap: 10px; margin-top: 2px; color: var(--ink-2); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hero__cue svg { width: 22px; height: 22px; animation: cue 1.8s var(--ease-out) infinite; }

.hero__pallet { border: 0; cursor: pointer; text-align: left; }

.hero__visual { position: relative; z-index: 1; display: grid; justify-items: center; margin-top: -8px; }
.hero__man { width: min(92%, 520px); height: auto; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s var(--ease-out); }
.hero__pallet {
  position: absolute; right: 1%; bottom: 15%; z-index: 2;
  display: grid; gap: .12em; padding: .5em .8em .55em;
  font-size: clamp(22px, 3vw, 46px);
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(1.5deg);
  transition: transform .6s var(--ease-out);
}
.hero__pallet span { font-size: .72em; }
.swoosh { position: absolute; z-index: 0; overflow: visible; pointer-events: none; }
.swoosh path { fill: none; stroke: var(--red); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.swoosh--arc { left: -4%; bottom: 14%; width: 58%; }
.swoosh--arrow { right: -2%; top: 34%; width: 40%; }
.swoosh--arrow .swoosh__head { stroke-width: 8; }

/* ═════════ 2. ABOUT ═════════ */
.about__grid { display: grid; gap: 28px; }
.about__text { display: grid; gap: 18px; align-content: start; }
.about__text .h2 { margin-bottom: 8px; }
.about__media { position: relative; }
.about__media img { width: 100%; height: auto; transform: translate3d(0, var(--pY, 0), 0) scale(var(--pS, 1)); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { display: grid; gap: 2px; align-content: start; position: relative; }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b small { font-family: var(--text); font-size: .34em; font-weight: 500; vertical-align: middle; }
.stat > span { font-size: clamp(15px, 1.5vw, 21px); color: var(--ink-2); }

.network { margin-top: clamp(40px, 6vw, 72px); padding: clamp(22px, 3vw, 38px); border-radius: var(--r); background: var(--gray); display: grid; gap: clamp(18px, 2.4vw, 30px); }
.network__head { display: grid; gap: 8px; align-content: start; }
.network__num { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 6.6vw, 96px); line-height: .88; white-space: nowrap; color: var(--red); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.network__of { color: #C2C2C2; font-size: .42em; margin-left: .12em; }
.network__text { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.4; color: var(--ink-2); max-width: 40ch; }
.network__map { display: grid; gap: 12px; }
.network__dots { --cols: 25; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: clamp(3px, .7vw, 6px); }
.network__dots i { aspect-ratio: 1; border-radius: 2px; background: #E0E0E0; }
.network__dots i.is-on { background: #F4B7B3; }
.network__dots.is-lit i.is-on { background: linear-gradient(160deg, var(--red-1), var(--red-2)); }
.network__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.network__key { width: 12px; height: 12px; border-radius: 2px; background: #E0E0E0; }
.network__key--on { background: linear-gradient(160deg, var(--red-1), var(--red-2)); }

/* ═════════ 3. BENTO ═════════ */
.bento { display: grid; gap: 14px; }
.tile {
  position: relative; display: grid; align-content: space-between; gap: 18px;
  min-height: 190px; padding: clamp(24px, 3.4vw, 46px);
  border-radius: var(--r);
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .5s var(--ease-out);
}
.tile__title { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 70px); line-height: 1; }
.tile p { position: relative; padding-top: 22px; font-size: clamp(17px, 1.9vw, 27px); line-height: 1.3; }
.tile p::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 6px; background: currentColor; }
.tile--gray { background: var(--gray); }
.tile--gray p { color: var(--ink-2); }
.tile--gray p::before { background: var(--red); }
.tile--gray .tile__title:not(.red) { color: var(--ink); }
.tile--red { background: linear-gradient(90deg, var(--red-1), var(--red-2)); color: var(--white); }
.tile--yellow { background: linear-gradient(90deg, var(--yellow-1), var(--yellow-2)); color: var(--ink); }

/* ═════════ 4. BRANDS ═════════ */
.brands { display: grid; gap: 16px; }
.brand { position: relative; }
.brand__stage { position: relative; display: grid; overflow: hidden; background: var(--white); }
.brand__bg { display: block; }
.brand__bg img { width: 100%; height: auto; transform: scale(var(--bs, 1)); transform-origin: 50% 60%; transition: transform 1.4s var(--ease-out); }
.brand__copy { position: relative; z-index: 2; display: grid; gap: 14px; padding: 8px var(--gutter) 0; }
.brand__num { font-family: var(--display); font-size: clamp(56px, 6.4vw, 108px); line-height: .9; color: #C9C9C9; }
.brand__name { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.4vw, 92px); line-height: 1; }
.brand__name::after { content: ""; display: block; width: 72px; height: 7px; margin-top: clamp(18px, 2.4vw, 34px); background: var(--red); }
.brand__desc { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 25px); line-height: 1.35; max-width: 26ch; }
.brand__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.spec-cards { position: relative; z-index: 2; display: grid; gap: 10px; padding: 18px var(--gutter) 0; }
.spec-card {
  display: block; padding: 15px 18px 17px; border-radius: 16px; background: var(--white);
  box-shadow: 0 0 0 1.5px var(--line); text-align: center;
}
.spec-card svg { display: inline-block; width: 19px; height: 19px; margin-right: 8px; vertical-align: -4px; color: var(--red); }
.spec-card__k { display: inline; font-family: var(--text); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); }
.spec-card__v { display: block; margin-top: 7px; font-family: var(--display); font-weight: 400; font-size: clamp(19px, 5.2vw, 26px); line-height: 1.15; letter-spacing: -.01em; }
.spec-card__v span { white-space: nowrap; }

/* ═════════ 5. DISCOUNT — сходи економії ═════════ */
.discount__grid { display: grid; gap: 24px; align-items: center; }
.discount__copy { display: grid; gap: 20px; justify-items: start; }
.discount__copy .h2 { font-size: clamp(34px, 5vw, 76px); line-height: 1; }

/* керування кількістю */
.calc { width: 100%; max-width: 620px; display: grid; gap: 12px; }
.calc__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.calc__label { font-weight: 600; font-size: clamp(15px, 1.4vw, 18px); color: var(--ink-2); }
.calc__qty { display: flex; align-items: center; gap: 12px; }
.qty__step { width: 46px; height: 46px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 24px; font-weight: 600; line-height: 1; transition: box-shadow .2s, color .2s; }
.qty__step:hover { box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red); }
.qty__value { min-width: 3.6ch; text-align: center; font-family: var(--display); font-size: clamp(30px, 3.2vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.qty__value::after { content: " шт"; font-family: var(--text); font-size: 15px; color: var(--ink-2); }
.qty__value.is-pallet::after { content: none; }
.qty__range { width: 100%; height: 28px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.qty__range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--red) var(--fill, 56%), #DADADA var(--fill, 56%)); }
.qty__range::-moz-range-track { height: 8px; border-radius: 99px; background: #DADADA; }
.qty__range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--red); }
.qty__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 7px solid var(--red); box-shadow: 0 4px 12px -2px rgba(227, 17, 0, .5); }
.qty__range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 7px solid var(--red); }

/* сходи */
.stairs {
  width: 100%; max-width: 620px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  height: clamp(190px, 24vw, 280px);
}
.stair { display: grid; }
.stair__btn {
  display: grid; grid-template-rows: clamp(30px, 3.2vw, 44px) minmax(0, 1fr) auto; gap: 6px;
  width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: center;
}
.stair__disc {
  align-self: end; font-family: var(--display); font-weight: 400; line-height: 1;
  font-size: clamp(14px, 1.5vw, 19px); color: var(--ink-3);
  transition: color .3s var(--ease-out), font-size .3s var(--ease-out);
}
.stair__bar {
  align-self: end; width: 100%; height: var(--h); border-radius: 12px 12px 4px 4px;
  background: var(--gray-2);
  transition: background .35s var(--ease-out), transform .45s var(--ease-back), box-shadow .35s var(--ease-out);
}
.stair__qty { font-size: clamp(10px, 1vw, 13px); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-3); transition: color .3s var(--ease-out); }
.stair__btn:hover .stair__bar { background: #E2E2E2; }
.stair--pallet .stair__bar { background: #FBF0B4; }
.stair--pallet .stair__btn:hover .stair__bar { background: #FAE98F; }

.stair.is-active .stair__disc { font-size: clamp(22px, 2.8vw, 38px); color: var(--red); }
.stair.is-active .stair__bar { background: linear-gradient(180deg, var(--red-1), var(--red-2)); box-shadow: 0 16px 30px -18px rgba(227, 17, 0, .9); transform: translateY(-4px); }
.stair.is-active .stair__qty { color: var(--ink); }
.stair--pallet.is-active .stair__disc { color: var(--ink); }
.stair--pallet.is-active .stair__bar { background: linear-gradient(180deg, var(--yellow-1), var(--yellow-2)); box-shadow: 0 16px 30px -18px rgba(252, 210, 16, .9); }
.stair.is-active .stair__disc { animation: stair-pop .45s var(--ease-back); }
@keyframes stair-pop { 0% { transform: translateY(6px) scale(.86); } 100% { transform: none; } }

.stairs__bonus {
  justify-self: start; max-width: 620px; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow-1), var(--yellow-2));
  font-family: var(--display); font-weight: 400; font-size: clamp(13px, 1.2vw, 16px); line-height: 1.25;
  visibility: hidden;
}
.stairs__bonus.is-on { visibility: visible; animation: stair-pop .45s var(--ease-back); }

.discount__mix { color: var(--ink-3); font-size: 16px; }
.discount__media img { width: 100%; height: auto; }

/* ═════════ 6. PALLET ═════════ */
.pallet .h2 { font-size: clamp(34px, 5.6vw, 88px); line-height: 1; }
.pallet__grid { display: grid; gap: 12px; margin: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); }
.pallet__col { display: grid; gap: 22px; align-content: center; }
.pallet__item { position: relative; }
.pallet__item h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 34px); line-height: 1.1; }
.pallet__item p { color: var(--ink-2); font-size: clamp(16px, 1.5vw, 22px); line-height: 1.35; max-width: 22ch; }
.pallet__item .pallet__pre { margin-bottom: 4px; }
.pallet__item .pallet__upto { font-family: var(--display); font-size: clamp(32px, 3.6vw, 56px); line-height: 1; margin-bottom: clamp(10px, 1.4vw, 22px); color: var(--ink) !important; }
.pallet__item .pallet__pct { font-family: var(--display); font-size: clamp(76px, 10vw, 150px); line-height: .95; color: var(--red) !important; max-width: none !important; font-variant-numeric: tabular-nums; }
.pallet__media img { width: 100%; height: auto; max-width: 560px; margin-inline: auto; }
.p-arrow { display: none; position: absolute; width: clamp(80px, 8vw, 130px); overflow: visible; }
.p-arrow path { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

/* ═════════ 7. CATALOG ═════════ */
.filters { display: grid; gap: 10px; margin-bottom: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filter-row--scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 12px;
  background: var(--gray); font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: linear-gradient(90deg, var(--red-1), var(--red-2)); color: var(--white); box-shadow: none; }
.chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .75); }
.chip[disabled] { color: #B5B5B5; cursor: not-allowed; box-shadow: none; }
.chip--visc { font-family: var(--display); font-weight: 400; font-size: 14px; }

.catalog-status { font-size: 14px; color: var(--ink-3); margin: 18px 0 14px; min-height: 1.5em; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.product { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 10px 10px 16px; border-radius: var(--r); background: var(--gray); animation: card-in .6s var(--ease-out) both; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .35); }
.product__media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--white); }
.product__media img { width: 100%; height: 100%; object-fit: contain; transform: scale(.9); transition: transform .7s var(--ease-out); }
.product:hover .product__media img { transform: scale(.97); }
.product__media--photo img { object-fit: cover; transform: none; }
.product__body { display: flex; flex-direction: column; gap: 6px; padding: 0 6px; }
.product__brand { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--red-btn-2); }
.product__name { font-size: 16px; font-weight: 600; line-height: 1.25; }
.product__nums { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--display); font-size: 16px; }
.product__nums span + span { color: var(--ink-3); }
.product__specs { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.spec-more { font-size: 13px; font-weight: 600; color: var(--red-btn-2); text-decoration: underline; text-underline-offset: 3px; }
.product__cta { align-self: start; margin-top: auto; padding-top: 4px; }
.product__cta.btn { --h: 40px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.product__example { position: absolute; top: 16px; right: 16px; z-index: 2; padding: 3px 8px; border-radius: 8px; font-size: 11px; font-weight: 700; background: var(--yellow-1); }
.product__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #BDBDBD; }
.product__placeholder svg { width: 40%; }
.catalog-more { display: flex; justify-content: center; margin-top: 32px; }

/* ═════════ 8. HOW ═════════ */
.flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; margin-top: clamp(28px, 5vw, 64px); counter-reset: flow; }
.flow__step { position: relative; display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; }
.flow__head { position: relative; display: grid; place-items: center; min-height: 92px; width: 100%; }
.flow__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: clamp(76px, 9.5vw, 160px); line-height: 1; color: #F0F0F0; z-index: 0; }
.flow__title { position: relative; z-index: 1; font-family: var(--display); font-size: clamp(15px, 1.7vw, 26px); line-height: 1.12; text-transform: uppercase; max-width: 11ch; }
.flow__step img { height: clamp(130px, 16vw, 270px); width: auto; object-fit: contain; }
.flow__step:not(:last-child)::after {
  content: ""; display: none; position: absolute; right: -12%; top: 62%; width: 36px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 26'%3E%3Cpath d='M2 13h30M21 3l11 10-11 10' fill='none' stroke='%23F10B11' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.8vw, 20px); margin-top: clamp(28px, 4vw, 52px); font-size: clamp(18px, 5vw, 30px); line-height: 1.25; color: var(--ink-2); }
.delivery span { white-space: normal; }
.delivery svg { flex: none; width: clamp(34px, 8vw, 96px); height: auto; color: var(--red); }
.delivery b { color: var(--ink); }

/* ═════════ 9. FAQ ═════════ */
.faq-layout { display: grid; gap: 24px; }
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 14px; background: var(--gray); transition: background-color .3s; }
.faq__item[open] { background: var(--white); box-shadow: 0 0 0 1.5px var(--line); }
.faq__item summary { list-style: none; cursor: pointer; position: relative; padding: 20px 60px 20px 22px; font-weight: 700; font-size: 18px; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 18px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--red); transition: transform .35s var(--ease-out); }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__item p { padding: 0 60px 22px 22px; color: var(--ink-2); max-width: 66ch; }

/* ═════════ 10. CONTACT ═════════ */
.contact { padding-bottom: var(--section-y); }
.contact__grid { display: grid; gap: 28px; align-items: center; }
.contact__copy { display: grid; gap: 18px; }
.contact__copy .h2 { font-size: clamp(30px, 4.4vw, 70px); line-height: 1; }
.manager { position: relative; width: fit-content; display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.manager__avatar {
  flex: none; align-self: center; width: clamp(96px, 8vw, 132px); height: clamp(96px, 8vw, 132px);
  display: grid; place-items: center; overflow: hidden; border-radius: 50%;
  background: #FDE3E3; color: var(--red);
}
.manager__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; border-radius: 50%; }
.manager__avatar svg { width: 44%; height: 44%; }
.manager__info { display: grid; gap: 4px; }
.manager__name { font-family: var(--display); font-size: clamp(20px, 2vw, 30px); }
.manager__phone { font-family: var(--text); font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; color: var(--red); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.manager__phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.manager__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.msg { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 12px; background: var(--gray); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.msg svg { width: 20px; height: 20px; }
.msg--tg svg { color: #229ED9; }
.msg--viber svg { color: #7360F2; }
.msg--wa svg { color: #1FAF38; }
.msg:hover { background: var(--ink); color: var(--white); }
.msg:hover svg { color: currentColor; }
.contact__arrow { display: none; position: absolute; left: calc(100% + 20px); top: -16px; width: 108px; overflow: visible; }
.contact__arrow path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.contact__card { display: grid; gap: 14px; padding: clamp(22px, 3vw, 40px); border-radius: var(--r); background: var(--gray); }
.contact__card-title { font-family: var(--display); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.1; text-transform: uppercase; }
.contact__card-text { color: var(--ink-2); }
.contact__qr { display: none; justify-items: center; gap: 12px; margin-top: 10px; }
.contact__qr img { width: 180px; height: auto; mix-blend-mode: multiply; }
.contact__qr figcaption { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; }

/* ---------- підвал ---------- */
.contact { padding-bottom: clamp(26px, 4vw, 56px); }
.site-footer { padding: 28px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.site-footer__inner { display: grid; gap: 14px; align-items: center; }
.site-footer__legal, .site-footer__link { color: var(--ink-2); font-size: 14px; }
.contact-list { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--gray); text-decoration: none; font-size: 14px; font-weight: 600; }
.contact-list svg { width: 18px; height: 18px; color: var(--red); }

/* ---------- закріплений CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 8px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); box-shadow: 0 -1px 0 var(--line), 0 -10px 24px -18px rgba(0, 0, 0, .3); transition: transform .4s var(--ease-out); }
.sticky-cta .btn { flex: 1; --h: 54px; }
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta__icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--gray); color: var(--ink); }
.sticky-cta__icon svg { width: 24px; height: 24px; }
.sticky-cta__icon--tg { color: #229ED9; }

/* ---------- квіз ---------- */
.quiz { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--white); color: var(--ink); overflow: hidden; }
.quiz[open] { display: flex; animation: quiz-in .45s var(--ease-out); }
.quiz::backdrop { background: rgba(10, 10, 10, .55); }
.quiz__form { display: flex; flex-direction: column; width: 100%; height: 100%; }
.quiz__head { flex: none; padding: calc(10px + env(safe-area-inset-top)) var(--gutter) 0; }
.quiz__meter { height: 6px; border-radius: 99px; background: var(--gray-2); overflow: hidden; }
.quiz__meter-oil { height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red-1), var(--red-2)); transform: scaleX(var(--progress, .25)); transform-origin: left; transition: transform .7s var(--ease-out); }
.quiz__bar { display: flex; align-items: center; gap: 10px; min-height: 60px; }
.quiz__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--gray); transition: background-color .2s; }
.quiz__icon:hover { background: var(--gray-2); }
.quiz__icon svg { width: 20px; height: 20px; }
.quiz__close { margin-left: auto; }
.quiz__count { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.quiz__level { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 10px; background: var(--yellow-1); font-size: 13px; font-weight: 700; animation: pop .5s var(--ease-back); }
.quiz__body { flex: 1; overflow-y: auto; padding: 12px var(--gutter) 24px; overscroll-behavior: contain; }
.quiz__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz__step:not([hidden]) > * { animation: step-in .5s var(--ease-out) both; }
.quiz__step:not([hidden]) > *:nth-child(2) { animation-delay: 50ms; }
.quiz__step:not([hidden]) > *:nth-child(3) { animation-delay: 100ms; }
.quiz__title { padding: 0; margin-bottom: 10px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 5.6vw, 44px); line-height: 1.05; text-wrap: balance; }
.quiz__title:focus { outline: none; }
.quiz__hint { color: var(--ink-2); margin-bottom: 18px; }
.quiz__summary { margin: 4px 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--pink); font-size: 15px; line-height: 1.5; color: #5C1A17; }
.quiz__summary b { color: var(--red); }
.quiz__foot { flex: none; padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom)); }

.options { display: grid; gap: 8px; }
.option { position: relative; display: block; }
.option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.option__box {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px;
  min-height: 66px; padding: 14px 54px 14px 18px; border-radius: 14px; background: var(--gray);
  transition: background-color .25s, box-shadow .25s, transform .35s var(--ease-back);
}
.option__box::after { content: ""; position: absolute; right: 18px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px #CFCFCF; transition: box-shadow .25s, background-color .25s; }
.option input[type="checkbox"] + .option__box::after { border-radius: 7px; }
.option__box b { font-weight: 700; font-size: 18px; line-height: 1.25; }
.option__box small { grid-column: 1; font-size: 14px; color: var(--ink-3); }
.option:hover .option__box { box-shadow: inset 0 0 0 1.5px var(--ink); }
.option input:focus-visible + .option__box { outline: 3px solid var(--red); outline-offset: 2px; }
.option input:checked + .option__box { background: var(--white); box-shadow: inset 0 0 0 2.5px var(--red), 0 12px 24px -18px rgba(227, 17, 0, .7); transform: scale(1.01); }
.option input:checked + .option__box::after { background: var(--red); box-shadow: inset 0 0 0 6px var(--red), inset 0 0 0 24px var(--white); }
.option input[type="checkbox"]:checked + .option__box::after { box-shadow: none; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.vol-option .option__box { padding-right: 18px; }
.vol-option .option__box::after { display: none; }
.vol-option__range { font-family: var(--display); font-size: 20px; }
.vol-option__disc { font-family: var(--display); font-size: 22px; color: var(--red-btn-2); }
.vol-option:first-child .vol-option__disc { font-family: var(--text); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.vol-option--pallet .option__box { background: linear-gradient(90deg, var(--red-1), var(--red-2)); color: var(--white); }
.vol-option--pallet .vol-option__disc { color: var(--white); }
.vol-option--pallet input:checked + .option__box { box-shadow: inset 0 0 0 3px var(--ink), 0 12px 24px -14px rgba(227, 17, 0, .8); }

.fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field__label { font-size: 14px; font-weight: 700; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input { width: 100%; min-height: 56px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--gray); font-size: 17px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s; }
.field input::placeholder { color: #9A9A9A; }
.field input:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--red); }
.field input[aria-invalid="true"] { background: var(--white); box-shadow: inset 0 0 0 2px var(--err); }
.field-error { font-size: 14px; color: var(--err); font-weight: 500; }
.field-error:empty { display: none; }
.field--messenger { margin-top: 20px; }
.messengers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.messenger { position: relative; }
.messenger input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.messenger span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; background: var(--gray); font-size: 15px; font-weight: 700; transition: background-color .2s, color .2s, box-shadow .2s; }
.messenger svg { width: 20px; height: 20px; }
.messenger:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.messenger input:checked + span { background: var(--ink); color: var(--white); box-shadow: none; }
.messenger input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #FDECEA; color: var(--err); font-size: 15px; font-weight: 500; }
.form-error:empty { display: none; }
.form-error a { color: inherit; font-weight: 700; }
.consent { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .7s linear infinite; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #E9F8EF; color: #0E5E2E; font-size: 15px; }
.notice svg { flex: none; width: 22px; height: 22px; color: var(--ok); }

/* ---------- сторінки подяки та політики ---------- */
.page-simple main { padding-bottom: var(--section-y); }
.thanks-hero { padding-top: clamp(32px, 8vw, 96px); display: grid; justify-items: start; gap: 20px; }
.thanks-badge { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(90deg, var(--red-1), var(--red-2)); transform: rotate(-4deg); animation: pop .7s var(--ease-back) both; }
.thanks-badge svg { width: 42px; height: 42px; color: var(--white); stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .35s var(--ease-out) forwards; }
.thanks-hero .section-title, .section-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 5vw, 72px); line-height: 1.05; text-wrap: balance; }
.section-lead { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45; max-width: 44ch; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.legal { padding-top: clamp(28px, 6vw, 72px); max-width: calc(860px + var(--gutter) * 2); }
.legal h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 5.2vw, 60px); line-height: 1.05; overflow-wrap: break-word; hyphens: auto; margin-bottom: 12px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); max-width: 70ch; }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }
.legal .todo { background: #FFF3B0; padding: 0 4px; border-radius: 4px; color: var(--ink); }

/* ---------- анімації ---------- */
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes quiz-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(6px); opacity: 1; } }

/* Hero: початковий кадр (JS знімає .is-pre) */
.js .hero.is-pre .reveal-mask > span { transform: translateY(105%); }
.js .hero .reveal-mask > span { transition: transform 1s var(--ease-out); }
.js .hero .hero__line:nth-child(2) .reveal-mask > span { transition-delay: .08s; }
.js .hero.is-pre .hero__badge { transform: rotate(-14deg) scale(.4); opacity: 0; }
.js .hero .hero__badge { transition: transform .9s var(--ease-back) .35s, opacity .4s .35s; }
.js .hero.is-pre .hero__pallet { opacity: 0; transform: translateY(30px) rotate(8deg) scale(.8); }
.js .hero .hero__pallet:not(.is-live) { transition: transform .9s var(--ease-back) .75s, opacity .4s .75s; }
.js .hero.is-pre .hero__man { transform: translateY(40px) scale(.96); }
.js .hero .swoosh path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-out) .55s; }
.js .hero.is-pre .swoosh path { stroke-dashoffset: 1; }
.js .hero .swoosh--arrow .swoosh__head { transition-delay: 1.25s; transition-duration: .6s; }
.js .hero.is-pre .hero__note, .js .hero.is-pre .hero__actions, .js .hero.is-pre .hero__aside { opacity: 0; transform: translateY(14px); }
.js .hero .hero__note, .js .hero .hero__actions, .js .hero .hero__aside { transition: opacity .7s var(--ease-out) .5s, transform .7s var(--ease-out) .5s; }

/* Поява при скролі */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .tile.reveal { transform: translateY(30px) scale(.97); }
.js .tile.reveal.is-in { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.js .stair__bar { transform: scaleY(.04); transform-origin: 50% 100%; }
.js .stair__disc, .js .stair__qty { opacity: 0; }
.js .stairs.is-in .stair__bar { transform: none; transition: transform .7s var(--ease-back), background .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.js .stairs.is-in .stair__disc, .js .stairs.is-in .stair__qty { opacity: 1; transition: opacity .5s var(--ease-out) .25s, color .3s var(--ease-out), font-size .3s var(--ease-out); }
.js .stairs.is-in .stair:nth-child(2) .stair__bar { transition-delay: .08s; }
.js .stairs.is-in .stair:nth-child(3) .stair__bar { transition-delay: .16s; }
.js .stairs.is-in .stair:nth-child(4) .stair__bar { transition-delay: .24s; }
.js .stairs.is-in .stair:nth-child(5) .stair__bar { transition-delay: .32s; }
.js .stairs.is-settled .stair__bar { transition-delay: 0s !important; transition: background .35s var(--ease-out), transform .45s var(--ease-back), box-shadow .35s var(--ease-out); }
.js .stairs.is-in .stair.is-active .stair__bar { transform: translateY(-4px); }
.js .p-arrow path, .js .contact__arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease-out); }
.js .is-drawn .p-arrow path, .js .is-drawn .contact__arrow path { stroke-dashoffset: 0; }
.js .is-drawn .p-arrow path:nth-child(2), .js .is-drawn .contact__arrow path:nth-child(2) { transition-delay: .6s; transition-duration: .4s; }
.js .network__dots i { opacity: 0; transform: scale(.3); }
.js .network.is-in .network__dots i { opacity: 1; transform: none; transition: opacity .4s var(--ease-out), transform .5s var(--ease-back), background .4s var(--ease-out); transition-delay: calc(var(--i) * 2.4ms); }
.js .network.is-in .network__dots.is-lit i.is-on { transition-delay: calc(var(--i) * 7ms); }
.js .pallet__item { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .is-drawn .pallet__item { opacity: 1; transform: none; }
.js .flow__step { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .flow.is-in .flow__step { opacity: 1; transform: none; }
.js .flow.is-in .flow__step:nth-child(2) { transition-delay: .15s; }
.js .flow.is-in .flow__step:nth-child(3) { transition-delay: .3s; }
.js .flow.is-in .flow__step:nth-child(4) { transition-delay: .45s; }
.js .brand__copy > *, .js .spec-card { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .brand.is-in .brand__copy > *, .js .brand.is-in .spec-card { opacity: 1; transform: none; }
.js .brand.is-in .brand__copy > :nth-child(2) { transition-delay: .08s; }
.js .brand.is-in .brand__copy > :nth-child(3) { transition-delay: .16s; }
.js .brand.is-in .brand__copy > :nth-child(4) { transition-delay: .24s; }
.js .brand.is-in .spec-card:nth-child(1) { transition-delay: .3s; }
.js .brand.is-in .spec-card:nth-child(2) { transition-delay: .42s; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
/* перший екран на мобільному і планшеті: по центру, на всю висоту */
@media (max-width: 1023px) {
  .hero { padding-top: 0; }
  .hero__inner { gap: 0; }
  .hero__copy {
    min-height: calc(100svh - var(--header-h) - 78px);
    display: grid; align-content: center; justify-items: center; text-align: center;
    gap: 20px; padding-block: 24px 10px;
  }
  .hero__title { width: 100%; }
  .hero__badge { margin-left: 0; margin-top: .16em; }
  .hero__note { border-left: 0; padding-left: 0; padding-top: 12px; border-top: 2px solid var(--ink-2); }
  .hero__actions { width: 100%; justify-content: center; }
  .hero__chips { display: flex; }
  .hero__cue { display: inline-flex; }
  .hero__visual { padding-top: 4px; }
}

@media (max-width: 767px) {
  .site-header__actions .btn { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__actions .link-under { margin-inline: auto; }
  .hero__visual { margin-inline: 0; margin-top: 8px; }
  .hero__man { width: min(86%, 420px); margin-inline: auto; }
  .hero__pallet { right: 0; bottom: 20%; font-size: clamp(20px, 5.4vw, 30px); }
  .swoosh--arc { display: none; }
  .swoosh--arrow { right: -4%; top: 26%; width: 42%; }
  .hero__actions { margin-bottom: 6px; }
  .hero__inner { gap: 4px; }
  .hero__copy { gap: 18px; }
  .swoosh { opacity: .95; }
  .brand__stage { border-radius: 0; }
  .brands { gap: 48px; }
  .brand__stage { gap: 0; }
  .brand__copy { order: -1; padding: 0 var(--gutter) 24px; gap: 14px; }
  .brand__bg img { width: 100%; height: auto; }
  .spec-cards { padding: 18px var(--gutter) 0; margin-top: 0; gap: 10px; }
  .spec-card { padding: 15px 18px; }
  /* усі секції на мобільному — по центру */
  .section .h2, .section .lead, .section-lead { text-align: center; }
  .about__copy, .split-head, .catalog__head { justify-items: center; text-align: center; }
  .lead, .section-lead { margin-inline: auto; }
  .stats { justify-items: center; text-align: center; }
  .stat + .stat::before { left: 50%; transform: translateX(-50%); }
  .network { justify-items: center; text-align: center; }
  .network__head { justify-items: center; }
  .network__text { margin-inline: auto; }
  .network__legend { justify-content: center; }
  .product__cta { align-self: center; }
  .brand__copy { justify-items: center; text-align: center; }
  .brand__name::after { margin-inline: auto; }
  .brand__desc { margin-inline: auto; }
  .brand__actions { justify-content: center; }
  .spec-card { justify-items: center; }
  .discount__copy { justify-items: center; text-align: center; }
  .stairs, .calc, .stairs__bonus { justify-self: center; }
  .calc__row { justify-content: center; }
  .discount__mix { max-width: 32ch; margin-inline: auto; }
  .pallet__item { text-align: center; }
  .pallet__item p { margin-inline: auto; }
  .flow__step { text-align: center; }
  .flow__head { justify-content: center; }
  .delivery { justify-content: center; gap: 14px; }
  .delivery b { display: block; }
  .delivery svg { width: 46px; }

  /* фільтри — акуратні стрічки з прокруткою */
  .filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; justify-content: flex-start; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filter-row::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: center; }

  /* палета — більший відступ між фото та підписами */
  .site-footer__inner { justify-items: center; text-align: center; }
  .site-footer .contact-list { justify-content: center; }
  .pallet__grid { gap: clamp(26px, 7vw, 44px); }
  .pallet__col { gap: clamp(24px, 6vw, 38px); }
  .catalog-status { text-align: center; }
  .product__body { text-align: center; }
  .product__nums { justify-content: center; }
  .product__cta { justify-self: center; }
  .faq__item summary { padding: 20px 52px; text-align: center; }
  .faq__item p { padding: 0 24px 22px; text-align: center; margin-inline: auto; }
  .contact__copy { justify-items: center; text-align: center; }
  .manager { flex-direction: column; text-align: center; gap: 12px; }
  .manager__info { justify-items: center; }
  .manager__links { justify-content: center; }
  .contact__actions, .msgs { justify-content: center; }
  .contact__card { text-align: center; justify-items: center; }
  .stairs { gap: 5px; }
  .flow__step img { height: 120px; }
  .contact__copy .h2 br { display: none; }
  .msg { flex: 1 1 auto; justify-content: center; }
}

@media (min-width: 560px) {
  .network__dots { --cols: 50; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .messengers { grid-template-columns: repeat(4, 1fr); }
  .options--grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  :root { --header-h: 72px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 300px; }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow__step:not(:last-child)::after { display: block; }
  .fields { grid-template-columns: 1fr 1fr; }
  .quiz { width: min(720px, calc(100% - 32px)); height: auto; max-height: calc(100dvh - 48px); margin: auto; border-radius: 24px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5); }
  .quiz__form { height: auto; max-height: calc(100dvh - 48px); }
  .quiz__head { padding: 22px 32px 0; }
  .quiz__body { padding: 12px 32px 24px; flex: 0 1 auto; }
  .quiz__foot { padding: 12px 32px 28px; display: flex; justify-content: flex-end; }
  .quiz__foot .btn--block { width: auto; min-width: 260px; }
  .site-footer { padding-bottom: 36px; }
  .site-footer__inner { grid-template-columns: auto 1fr auto auto; gap: 28px; }
  .sticky-cta { display: none; }
  .split-head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
  .faq-layout { grid-template-columns: 1fr 1.8fr; gap: 48px; align-items: start; }
  .contact__grid { grid-template-columns: 1.25fr 1fr; gap: 48px; }
  .contact__arrow { display: block; }
  .contact__qr { display: grid; }
  .network { grid-template-columns: minmax(240px, 30%) 1fr; align-items: center; column-gap: clamp(30px, 4vw, 60px); }
}

@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .header-phone:not([hidden]) { display: inline-flex; }

  /* hero як слайд 1 */
  .hero__inner { grid-template-columns: 1fr 1fr; min-height: clamp(620px, calc(100svh - var(--header-h) - 10px), 900px); align-items: stretch; }
  .hero__copy { grid-column: 1; grid-row: 1; padding-top: clamp(40px, 6vh, 90px); gap: 28px; }
  .hero__note { margin-top: auto; }
  .hero__actions { padding-bottom: 12px; }
  .hero__copy { display: flex; flex-direction: column; padding-bottom: 48px; }
  .hero__visual { grid-column: 1 / -1; grid-row: 1; position: absolute; inset: 0; margin: 0; }
  .hero__man { position: absolute; left: 46%; bottom: 0; width: auto; height: 92%; max-width: none; }
  .hero__badge { margin-left: clamp(80px, 11vw, 190px); }
  .hero__pallet { right: 4%; bottom: 10%; }
  .hero__aside { display: block; }
  .swoosh--arc { left: 13%; top: 60%; bottom: auto; width: 26%; }
  .swoosh--arrow { left: 80%; right: auto; top: 36%; width: 15%; }

  /* about як слайд 2 */
  .about__grid { grid-template-columns: 1fr 1.32fr .58fr; align-items: center; gap: 28px; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 22px 0; }
  .stat + .stat::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 6px; background: var(--red); }

  .bento { gap: 18px; }
  .tile { min-height: 340px; }

  /* бренди як слайди 4–6: широка сцена + накладені картки */
  .brands { gap: 0; }
  .brand { position: sticky; top: var(--header-h); }
  .brand__stage { container-type: inline-size; aspect-ratio: 3412 / 1920; max-height: calc(100svh - var(--header-h)); margin-inline: auto; width: min(100%, calc((100svh - var(--header-h)) * 1.777)); border-radius: 0; }
  .brand__bg { position: absolute; inset: 0; }
  .brand__bg img { width: 100%; height: 100%; object-fit: cover; }
  .brand__copy { position: absolute; left: 4%; top: 11%; width: 26%; padding: 0; gap: 1.2cqw; grid-template-columns: minmax(0, 1fr); }
  .brand__num { font-size: 4.4cqw; }
  .brand__name { font-size: 3.7cqw; }
  .brand__name::after { width: 4.8cqw; height: .5cqw; margin-top: 3.2cqw; }
  .brand__desc { font-size: 1.45cqw; max-width: 21cqw; }
  .brand__actions { gap: .8cqw 1.4cqw; margin-top: 1cqw; }
  .brand__actions .btn { --h: 3.6cqw; font-size: 1.05cqw; padding: 0 1.6cqw; border-radius: .9cqw; gap: .6cqw; }
  .brand__actions .btn svg { width: 1.3cqw; height: 1.3cqw; }
  .brand__actions .link-under { font-size: 1.05cqw; }
  .spec-cards { position: absolute; left: var(--x); top: var(--y); width: var(--w); padding: 0; gap: var(--gap); }
  .spec-card { display: grid; align-items: center; text-align: left; grid-template-columns: auto 1px 1fr; height: var(--h); padding: 0 1.3cqw; gap: 1.1cqw; border-radius: .95cqw; font-size: 1.5cqw; box-shadow: 0 1cqw 2.2cqw -1.2cqw rgba(0, 0, 0, .18), 0 0 0 .08cqw rgba(0, 0, 0, .03); }
  .spec-card::before { content: ""; grid-column: 2; grid-row: 1; align-self: stretch; background: #D8D8D8; }
  .spec-card svg { grid-column: 1; grid-row: 1; width: 2.2cqw; height: 2.2cqw; margin-right: 0; vertical-align: 0; }
  .spec-card__k { display: none; }
  .spec-card__v { grid-column: 3; grid-row: 1; margin-top: 0; font-size: inherit; text-align: left; }

  .discount__grid { grid-template-columns: 1.05fr 1fr; gap: 36px; }
  .discount__media { align-self: end; margin-right: calc(var(--gutter) * -1); overflow: clip; }
  .discount__media img { width: 116%; max-width: none; margin-left: -8%; }

  .pallet__grid { grid-template-columns: 1fr 1.25fr 1fr; align-items: center; gap: 32px; }
  .pallet__col--left { justify-items: end; text-align: left; gap: 56px; }
  .pallet__col--right { gap: 44px; }
  .p-arrow { display: block; }
  .p-arrow { width: clamp(88px, 7.5vw, 124px); }
  .p-arrow--l1 { right: -16%; top: 34%; }
  .p-arrow--l2 { right: -16%; top: 8%; }
  .p-arrow--r1 { left: -17%; top: 30%; }
  .p-arrow--r2 { left: -17%; top: 14%; }
  .p-arrow--r3 { left: -17%; top: 6%; }

  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

@media (min-width: 1440px) {
  .hero__man { left: 45%; }
}

@media (hover: none) {
  .btn:hover, .product:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .stair__disc, .js .stair__qty, .js .flow__step, .js .pallet__item, .js .brand__copy > *, .js .spec-card, .js .network__dots i { opacity: 1 !important; transform: none !important; }
  .js .swoosh path, .js .p-arrow path, .js .contact__arrow path { stroke-dashoffset: 0 !important; }
  .brand { position: relative !important; }
}
