/* honeyopt.ru v2 — сцены на весь экран, банка едет через первые три экрана */

:root {
  --sky-top: #1C74BD;
  --sky-2: #2F8AD2;
  --sky-3: #6DB8EA;
  --sky-low: #BFE4F8;
  --sky-soft: #DDF0FB;
  --cream: #FFF6E4;
  --paper: #FFFBF3;
  --honey: #F5B62A;
  --honey-deep: #E09A0C;
  --honey-light: #FFD57A;
  --accent: #C94A1B;
  --accent-hover: #B0401A;
  --accent-text: #A93D16;
  --land: #3C5844;
  --green: #3F5A4E;
  --ink: #22301F;
  --text: #3B2B14;
  --text-soft: #6A5432;
  --serif: "PT Serif", Georgia, serif;
  --display: Nunito, "Arial Rounded MT Bold", system-ui, sans-serif;
  --sans: Manrope, system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --jar-w: min(24vw, 40svh, 380px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .17 0 0 0 0 .08 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  letter-spacing: -0.005em;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--honey); color: var(--text); }
:focus-visible { outline: 2px solid var(--honey-deep); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--paper); padding: .6rem 1rem; border-radius: 9px; }
.skip:focus { top: 1rem; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .85rem 1.7rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { position: relative; isolation: isolate; background: none; color: #fff; padding-inline: 2rem; }
/* мазок краской вместо овала: форма задана маской, цвет — фоном, поэтому наведение просто меняет цвет */
.btn--accent::before {
  content: ""; position: absolute; inset: -9px -14px; z-index: -1;
  background-color: var(--accent);
  -webkit-mask: url("img/art/mazok.png?v=2") center / 100% 100% no-repeat;
  mask: url("img/art/mazok.png?v=2") center / 100% 100% no-repeat;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background-color .2s;
}
.btn--accent:nth-of-type(even)::before { transform: scaleX(-1); }
.btn--accent:hover { background: none; }
.btn--accent:hover::before { background-color: var(--accent-hover); transform: rotate(-1.5deg) scale(1.04); }
.btn--accent:nth-of-type(even):hover::before { transform: scaleX(-1) rotate(1.5deg) scale(1.04); }
.btn--light { background: var(--paper); color: var(--text); box-shadow: 0 14px 26px -18px rgba(20,40,30,.7); }
.btn--light:hover { background: #fff; }

/* ---------- шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px clamp(.75rem, 2.5vw, 2rem); pointer-events: none; transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.top.is-hidden { transform: translateY(-115%); }
.top__row {
  pointer-events: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  max-width: 1240px; margin: 0 auto; padding: .45rem 1.1rem;
  border-radius: 999px; color: #fff;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.top.is-scrolled .top__row {
  background: rgba(255, 251, 243, .94);
  color: var(--text);
  box-shadow: 0 16px 34px -24px rgba(40, 30, 10, .6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.top__nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.top__nav--right { justify-content: flex-end; }
.top__nav a { font: 600 .95rem/1.2 var(--sans); text-decoration: none; }
.top__nav a:not(.top__tel):hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--honey); }
.top__mark {
  text-align: center; text-decoration: none;
  font: 700 1.15rem/1.1 var(--serif); letter-spacing: .06em;
}
.top__mark span { display: block; margin-top: .2rem; font: 500 .7rem/1.2 var(--sans); letter-spacing: .01em; opacity: .9; }
.top__tel { background: var(--honey); color: var(--text); padding: .45rem .95rem; border-radius: 999px; font-weight: 700 !important; }
.top__tel:hover { background: var(--honey-light); }

/* ---------- путь банки ---------- */
.journey { position: relative; }
.journey__rail {
  position: absolute; top: 0; left: 0; right: 0; z-index: 8;
  /* без скрипта и при reduced-motion банка стоит в сцене, а в шестиграннике своя */
  height: max(100svh, 640px);
  pointer-events: none;
}
.journey__sticky { position: absolute; inset: 0; display: grid; place-items: center; }
.jar { position: relative; width: var(--jar-w); container-type: inline-size; transform: translateY(13svh) rotate(-6deg); }
/* этикетка на рисунке занимает 12–88% по ширине и 57–71% по высоте */
.label { position: absolute; left: 12%; right: 12%; top: 57%; height: 14%; display: grid; place-items: center; pointer-events: none; }
.label__word {
  grid-area: 1 / 1; white-space: nowrap;
  font: 700 14cqw/1 var(--serif); letter-spacing: -.015em;
  color: #3A2414;
}
.label__word--our { font-size: 10cqw; letter-spacing: -.025em; transform: scaleY(0); }
/* скрипт включает поездку: банка держится в центре экрана до шестигранника */
.is-travel .journey__sticky { position: sticky; top: 0; bottom: auto; height: 100svh; }
.is-travel .jar { transform: none; }
.is-travel .frame__jar { display: none; }
/* Без CSS filter и mix-blend-mode: Safari на iPhone рисует такой слой прямоугольником вокруг банки. Тень отдельным пятном. */
.jar__img { position: relative; width: 100%; height: auto; }
.jar__shadow {
  position: absolute; left: 6%; right: 6%; bottom: -5%; height: 13%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 30, 10, .34), rgba(40, 30, 10, .12) 60%, transparent);
}

/* ---------- экран 1: сцена ---------- */
.scene { position: relative; height: max(100svh, 640px); overflow: hidden; }
.scene__view {
  position: absolute; inset: 0; isolation: isolate;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-2) 26%, var(--sky-3) 56%, var(--sky-low) 76%);
}
.scene__sky, .clouds { position: absolute; inset: 0; }
.cloud {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto;
  animation: drift var(--dur) ease-in-out infinite alternate;
}
.clouds--far .cloud { opacity: 1; }
@keyframes drift { from { transform: translateX(-5vw); } to { transform: translateX(6vw); } }

.scene__lane { position: absolute; z-index: 2; fill: none; stroke: rgba(255, 246, 228, .85); stroke-width: 2.4; stroke-dasharray: 8 10; stroke-linecap: round; }
.scene__lane--l { left: 2vw; top: 17%; width: min(28vw, 400px); }
.scene__lane--r { right: 1vw; top: 30%; width: min(24vw, 340px); }
.bee { position: absolute; left: 0; top: 0; z-index: 3; width: clamp(44px, 4.4vw, 64px); height: auto; pointer-events: none; will-change: transform; }
.bee--l { left: 20vw; top: 22%; }
.bee--r { right: 8vw; left: auto; top: 36%; }

.scene__title { position: absolute; z-index: 4; left: 50%; top: clamp(64px, 9svh, 110px); width: min(1080px, 88vw); margin: 0; transform: translateX(-50%); }
.arc { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 16px rgba(8, 44, 90, .35)); }
.arc text { font: 900 72px var(--display); fill: #fff; letter-spacing: -.01em; }
.arc--narrow { display: none; }
.arc--narrow text { font-size: 42px; }

.scene__land { position: absolute; z-index: 5; left: 50%; bottom: 0; width: max(100%, 1100px); transform: translateX(-50%); }
.scene__land::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 10px; background: var(--land); z-index: 3; }
.hills { position: absolute; left: 0; width: 100%; height: auto; }
.hills--far { bottom: clamp(70px, 9vw, 130px); z-index: 1; }
.hills--near { position: relative; z-index: 2; margin-bottom: -2px; }
.hive { position: absolute; height: auto; }
.hive--small { z-index: 1; left: 15%; bottom: clamp(150px, 18vw, 250px); width: clamp(46px, 4.2vw, 64px); }
.hive--big { z-index: 3; right: 13%; bottom: clamp(56px, 7vw, 100px); width: clamp(96px, 9vw, 140px); transform-origin: 50% 100%; animation: hum 3.8s ease-in-out infinite; }
@keyframes hum { 50% { transform: scale(1.012, .985); } }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 6; width: 100%; height: clamp(34px, 5vw, 80px); }
.wave--cream { fill: var(--cream); }

.scene__foot {
  position: absolute; z-index: 7; left: var(--pad); right: var(--pad); bottom: clamp(58px, 8vw, 118px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  pointer-events: none;
}
.scene__foot > * { pointer-events: auto; }
.scene__lead { margin: 0; max-width: 23ch; color: var(--cream); font: 600 clamp(1.05rem, 1.35vw, 1.3rem)/1.4 var(--sans); text-shadow: 0 2px 12px rgba(20, 30, 20, .55); }
.scene__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; max-width: 30vw; }

/* ---------- общие заголовки ---------- */
.h2 { margin: 0; color: var(--accent-text); font: 900 clamp(1.8rem, 2.9vw, 2.7rem)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.h2--center { text-align: center; }
.h2--hex { display: flex; align-items: center; gap: .55em; }
.hex { flex: none; width: 1.5em; height: auto; overflow: visible; }
.hex__cell { fill: #fff; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; }
.hex__icon { fill: none; stroke: var(--text); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- экран 2: от вас / от нас ---------- */
.duo {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: clamp(5rem, 13svh, 9rem) var(--pad) clamp(4rem, 10svh, 7rem);
  background: var(--grain), var(--cream);
}
.duo__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--jar-w) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  max-width: 1360px; min-height: calc(100svh - 18svh); margin: 0 auto;
}
.duo__col { max-width: 31rem; }
.duo .h2 { font-size: clamp(1.7rem, 2.3vw, 2.3rem); }
.duo__col--you { grid-column: 1; align-self: start; justify-self: end; }
.duo__col--us { grid-column: 3; align-self: end; justify-self: start; }
.duo__col .h2 { margin-bottom: 1.5rem; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.ticks li { display: flex; align-items: center; gap: .9rem; font: 600 clamp(1.1rem, 1.4vw, 1.3rem)/1.3 var(--sans); }
.ticks b {
  flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.55rem;
  background: var(--honey); color: var(--text); font: 900 1.1rem/1 var(--display);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.ticks span { display: flex; flex-direction: column; }
.ticks small { margin-top: .15rem; color: var(--text-soft); font: 500 .92rem/1.35 var(--sans); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  padding: .6rem 1.05rem; border-radius: 999px;
  background: var(--paper); border: 1px solid rgba(59, 43, 20, .14);
  box-shadow: 0 10px 20px -16px rgba(40, 30, 10, .6);
  font: 600 clamp(1rem, 1.2vw, 1.12rem)/1.25 var(--sans);
}
.note { margin: 1.3rem 0 0; color: var(--text-soft); font: 500 1rem/1.45 var(--sans); }

.duo__lane { position: absolute; z-index: 1; left: -2vw; bottom: -4svh; width: min(24vw, 340px); fill: none; stroke: rgba(59, 43, 20, .45); stroke-width: 2.2; stroke-dasharray: 8 10; stroke-linecap: round; }
.bee--duo { z-index: 1; left: 12vw; top: auto; bottom: 18svh; }
.duo__barrel { position: absolute; z-index: 1; right: -5vw; top: clamp(4rem, 12svh, 8rem); width: min(30vw, 440px); height: auto; }

/* ---------- экран 3: производство ---------- */
.show {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: clamp(4.5rem, 10svh, 7rem) var(--pad) clamp(7rem, 14vw, 11rem);
  background: var(--grain), linear-gradient(180deg, var(--cream) 0%, var(--cream) 50%, var(--sky-soft) 100%);
  display: flex; flex-direction: column; align-items: center;
}
.show__title { position: relative; z-index: 9; }
.show__stage {
  width: min(1180px, 100%); margin: clamp(1.5rem, 4svh, 3rem) 0 0;
  display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--jar-w) * 1.15) minmax(0, 1fr); grid-template-rows: 1fr 1fr;
  column-gap: clamp(1rem, 3vw, 3rem); align-items: center;
}
.facts { display: contents; list-style: none; }
.fact { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; max-width: 15rem; }
.fact .hex--big { width: clamp(76px, 6.4vw, 100px); margin-bottom: .6rem; }
.fact b { font: 900 clamp(1.3rem, 1.7vw, 1.6rem)/1.15 var(--display); letter-spacing: -.01em; }
.fact span { color: var(--text-soft); font: 600 .98rem/1.35 var(--sans); }
.fact--1 { grid-column: 1; grid-row: 1; justify-self: end; margin-right: clamp(0rem, 3vw, 3rem); }
.fact--2 { grid-column: 1; grid-row: 2; justify-self: start; margin-left: clamp(0rem, 4vw, 5rem); }
.fact--3 { grid-column: 3; grid-row: 1; justify-self: start; margin-left: clamp(0rem, 3vw, 3rem); }
.fact--4 { grid-column: 3; grid-row: 2; justify-self: end; margin-right: clamp(0rem, 4vw, 5rem); }

.frame { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 100%; }
.frame__hex { width: 100%; height: auto; overflow: visible; }
.frame__jar { position: absolute; left: 50%; top: 50%; width: 66%; container-type: inline-size; transform: translate(-50%, -48%); }
.frame__jar img { width: 100%; height: auto; }
.show__cap { margin: 1.4rem 0 0; font: 700 1.2rem/1.3 var(--sans); }
.show__cta { margin-top: 1.1rem; }


/* ---------- экран 4: партии под чужими марками ---------- */
.works { position: relative; z-index: 3; background: var(--accent); color: #fff; padding: 0 0 clamp(2.5rem, 4vw, 4rem); }
.works__top { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(56px, 9vw, 140px); fill: var(--accent); }
.works__bottom { position: absolute; left: 0; right: 0; top: calc(100% - 1px); width: 100%; height: clamp(40px, 7vw, 110px); fill: var(--accent); }
.works__inner { max-width: 1320px; margin: 0 auto; padding: clamp(1rem, 3vw, 2.5rem) var(--pad) 0; }
.works__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.6rem); }
.works__title { color: var(--cream); font-size: clamp(2.1rem, 4.2vw, 3.8rem); line-height: 1.04; max-width: 17ch; }
.works__lede { margin: 0; max-width: 24ch; color: #fff; font: 600 clamp(1.05rem, 1.3vw, 1.2rem)/1.4 var(--sans); }
.works__stage { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, 1fr); align-items: end; gap: clamp(1rem, 3vw, 3rem); }
.works__bear { justify-self: end; width: 118%; max-width: 440px; height: auto; margin: 0 -2rem 3.2rem 0; position: relative; z-index: 1; transform-origin: 50% 100%; }

.gal { min-width: 0; }
.gal__stage { position: relative; }
.gal__track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  border: 10px solid var(--paper); border-radius: 24px; background: var(--paper);
  box-shadow: 0 44px 60px -44px rgba(60, 20, 5, .9);
}
.gal__track::-webkit-scrollbar { display: none; }
.gal__track:focus-visible { outline-offset: 4px; outline-color: var(--honey); }
.gal__slide { position: relative; aspect-ratio: 4 / 3; scroll-snap-align: start; }
.gal__slide figure { margin: 0; height: 100%; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.gal__slide figcaption {
  position: absolute; left: 1rem; bottom: 1rem; max-width: calc(100% - 2rem);
  padding: .5rem .85rem; border-radius: 9px; background: var(--paper); color: var(--text);
  font: 600 .98rem/1.3 var(--sans); box-shadow: 0 8px 18px -12px rgba(40, 30, 10, .7);
}
.gal__slide--yours a {
  height: 100%; display: grid; place-items: center; align-content: center; gap: 1rem;
  border-radius: 14px; text-decoration: none; color: var(--text);
  background: radial-gradient(circle at 50% 40%, #fff 0, var(--sky-soft) 70%);
}
.gal__slide--yours img { width: min(30%, 190px); height: auto; object-fit: contain; border-radius: 0; }
.gal__yours-title { font: 900 clamp(1.4rem, 2.4vw, 2.1rem)/1.1 var(--display); color: var(--accent-text); }
.gal__nav, .gal__bar { display: none; }
.gal.is-live .gal__nav { display: block; }
.gal.is-live .gal__bar { display: flex; }
.gal__nav {
  position: absolute; top: 50%; z-index: 2; width: 66px; height: 72px; padding: 0; border: 0; background: none; cursor: pointer;
  transform: translateY(-50%); transition: transform .2s cubic-bezier(.2,.7,.3,1);
}
.gal__nav svg { width: 100%; height: 100%; overflow: visible; }
.gal__nav--prev { left: -30px; }
.gal__nav--next { right: -30px; }
.gal__nav:hover { transform: translateY(-50%) scale(1.08); }
.gal__nav:disabled { cursor: default; transform: translateY(-50%) scale(.9); }
.gal__nav:disabled .gal__hex { fill: #F3D9A3; }
.gal__hex { fill: var(--honey); stroke: var(--paper); stroke-width: 4; stroke-linejoin: round; }
.gal__arrow { fill: none; stroke: var(--text); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.gal__bar { align-items: center; gap: 1.2rem; margin-top: 1.2rem; }
.gal__count { flex: none; margin: 0; min-width: 4.6em; color: #fff; font: 600 1rem/1 var(--sans); }
.gal__count b { font: 900 1.6rem/1 var(--display); }
.gal__thumbs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumb {
  flex: none; width: 76px; height: 57px; padding: 0; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; border-radius: 10px; background: rgba(255, 255, 255, .16);
}
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb.is-current { border-color: var(--honey); }
.gal__thumb:not(.is-current) img { filter: saturate(.75) brightness(.85); }
.gal__thumb--yours span { display: grid; place-items: center; height: 100%; color: #fff; font: 700 1.5rem/1 var(--sans); }

/* ---------- экран 5: линейка ---------- */
.line {
  position: relative; overflow: hidden;
  padding: clamp(6rem, 11vw, 10rem) 0 clamp(7rem, 12vw, 11rem);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1l27 15.6v31.2L28 63.4 1 47.8V16.6zM28 63.4V97M1 47.8L-26 63.4M55 47.8l27 15.6' fill='none' stroke='%233B2B14' stroke-opacity='.08' stroke-width='1.6'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #FFE8A8 0%, #FFD57A 45%, var(--honey) 100%);
}
.line__head { position: relative; z-index: 2; padding: 0 var(--pad); text-align: center; }
/* строка «100% натуральный продукт» под заголовком линейки */
.line__natural { display: inline-flex; align-items: center; gap: .55rem; margin: .9rem 0 0; padding: .45rem 1.1rem .45rem .55rem; border-radius: 999px; background: var(--cream); color: var(--text); font: 900 1.05rem/1.2 var(--display); box-shadow: 0 10px 20px -16px rgba(90, 50, 0, .8); }
.line__natural svg { width: 1.7rem; height: auto; }
.line__natural path { fill: var(--honey); stroke: var(--text); stroke-width: 3; stroke-linejoin: round; }
.line__natural .tick { fill: none; stroke: var(--text); stroke-width: 5; stroke-linecap: round; }
.line__title { color: var(--text); font-size: clamp(2rem, 4vw, 3.4rem); }
.line__band { display: grid; gap: clamp(1.2rem, 2.2vw, 2rem); margin: clamp(2rem, 4vw, 3.5rem) -8vw 0; padding: 2.5rem 0; transform: rotate(-5deg); }
/* на компьютере подпись ряда стоит на месте у левого края, банки проезжают под ней */
@media (min-width: 761px) {
  .line__row { position: relative; }
  .line__label { position: absolute; z-index: 3; left: 10vw; top: 50%; transform: translateY(-50%); }
  .line__rail { padding-left: calc(10vw + 170px); }
  .is-live .line__rail { padding-left: 0; }
}
/* min-width: 0 обязателен: без него ряд в сетке растягивается до ширины дорожки и ехать некуда */
.line__band { grid-template-columns: minmax(0, 1fr); }
.line__row { min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 1rem 0; }
.line__row::-webkit-scrollbar { display: none; }
.line__rail { display: flex; align-items: center; gap: 1rem; width: max-content; padding: 0 12vw; }
.line__label {
  flex: none; display: grid; place-content: center; margin: 0; width: 150px; height: 166px; text-align: center;
  background: var(--text); color: var(--cream); font: 600 .95rem/1.25 var(--sans);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.line__label b { display: block; margin-bottom: .2rem; font: 900 1.3rem/1.1 var(--display); }
.line__cards { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; }
.card { position: relative; flex: none; width: clamp(140px, 12.5vw, 184px); text-align: center; container-type: inline-size; }
.card:nth-child(odd) { transform: rotate(-2deg); }
.card:nth-child(even) { transform: rotate(2deg) translateY(6px); }
.card img { position: relative; z-index: 1; width: 100%; height: auto; }
/* контактная тень под донышком: линия низа банок на 95% кадра */
.card::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 98cqw; height: 13cqw;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(90, 50, 0, .38), rgba(90, 50, 0, .14) 55%, transparent);
}
.card span {
  position: relative; z-index: 2; display: inline-block; margin-top: -.2rem; padding: .28rem .75rem;
  border-radius: 999px; background: var(--cream); color: var(--text);
  font: 700 .9rem/1.2 var(--sans); white-space: nowrap;
  box-shadow: 0 6px 12px -8px rgba(90, 50, 0, .7);
}
.line__sticker {
  position: relative; z-index: 2; width: fit-content; max-width: min(40rem, calc(100% - 2.5rem));
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0; padding: .8rem 1.4rem;
  border-radius: 18px; background: var(--paper); color: var(--text); text-align: center;
  font: 600 1rem/1.45 var(--sans); transform: rotate(-1.5deg);
  box-shadow: 0 18px 30px -22px rgba(80, 50, 0, .8);
}
.is-live .line__row { overflow: visible; }


/* ---------- экран 6: сроки ---------- */
.terms { position: relative; z-index: 3; background: var(--green); color: var(--cream); padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 4vw, 4rem); }
.terms__top { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(50px, 8vw, 120px); fill: var(--green); }
.terms__bottom { position: absolute; left: 0; right: 0; top: calc(100% - 1px); width: 100%; height: clamp(40px, 7vw, 100px); fill: var(--green); }
.terms__inner { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.terms__title { color: var(--cream); text-align: center; font-size: clamp(2rem, 4vw, 3.4rem); }
.terms__stage { position: relative; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 1rem; }
.terms__hive { position: absolute; left: -1rem; bottom: -1rem; width: clamp(110px, 11vw, 170px); height: auto; transform-origin: 50% 100%; }
.terms__lane { position: absolute; left: 6%; right: 4%; top: 6%; width: 90%; height: 70%; fill: none; stroke: rgba(255, 232, 168, .55); stroke-width: 2.4; stroke-dasharray: 8 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bee--terms { z-index: 2; left: 8%; top: 60%; }
.terms__lane--m { display: none; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: rgba(255, 232, 168, .6); stroke-width: 2.4; stroke-dasharray: 8 10; stroke-linecap: round; }
.comb { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0 0 0 clamp(4rem, 9vw, 9rem); display: flex; justify-content: center; align-items: flex-start; gap: clamp(.4rem, 1vw, 1rem); }
.cell { position: relative; flex: none; width: clamp(180px, 17vw, 236px); aspect-ratio: 200 / 230; display: grid; place-items: center; }
.cell:nth-child(even) { margin-top: clamp(80px, 8vw, 118px); }
.cell__hex { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cell__hex path { fill: var(--cream); stroke: var(--honey); stroke-width: 5; }
.cell--honey .cell__hex path { fill: var(--honey); stroke: var(--cream); }
.cell__body { position: relative; display: grid; gap: .35rem; max-width: 76%; text-align: center; color: var(--text); }
.cell__body b { font: 900 clamp(1.3rem, 1.8vw, 1.7rem)/1.08 var(--display); letter-spacing: -.01em; }
.cell__body span { font: 600 clamp(.86rem, 1vw, .98rem)/1.3 var(--sans); color: var(--text-soft); }
.cell--honey .cell__body span { color: var(--text); }
.terms__note { margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 34rem; text-align: center; color: var(--cream); font: 600 1.05rem/1.45 var(--sans); }

/* ---------- экран 7: документы и образцы ---------- */
.docs {
  position: relative; overflow: hidden; z-index: 2;
  padding: clamp(6rem, 11vw, 10rem) var(--pad) clamp(6rem, 10vw, 9rem);
  background: linear-gradient(180deg, #8ECBF0 0%, var(--sky-low) 45%, var(--sky-soft) 100%);
}
.docs__bottom { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 100px); fill: var(--cream); }
.docs__inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.docs__pill {
  margin: 0; padding: .8rem 1.8rem .9rem; color: #fff; background: var(--accent);
  border-radius: 48% 52% 46% 54% / 60% 58% 42% 40%;
  font: 900 clamp(1.25rem, 2.2vw, 1.8rem)/1.2 var(--display); letter-spacing: -.01em;
  box-shadow: 0 18px 30px -22px rgba(120, 40, 10, .9);
}
.seals { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 3vw, 2.6rem); }
.seal { width: clamp(130px, 13vw, 170px); display: grid; justify-items: center; gap: .3rem; }
.seal__ring {
  display: grid; place-items: center; width: clamp(86px, 8vw, 110px); aspect-ratio: 1; margin-bottom: .45rem;
  border-radius: 50%; background: var(--paper);
  box-shadow: 0 0 0 4px var(--accent), 0 0 0 9px var(--paper), 0 20px 30px -18px rgba(20, 60, 100, .6);
}
.seal__ring svg { width: 52%; fill: none; stroke: var(--text); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.seal b { font: 700 1rem/1.25 var(--sans); color: var(--text); }
.seal span { font: 500 .92rem/1.3 var(--sans); color: var(--text); }
.docs__arc-title { margin: clamp(2.5rem, 5vw, 4rem) 0 0; width: min(900px, 100%); }
.docs__arc { width: 100%; height: auto; overflow: visible; }
.docs__arc text { font: 900 51px var(--display); fill: var(--accent-text); letter-spacing: -.01em; }
.docs__arc--narrow { display: none; }
.docs__arc--narrow text { font-size: 37px; }
.docs__lede { margin: -.4rem 0 0; max-width: 32rem; color: var(--text); font: 600 1.1rem/1.45 var(--sans); }
.docs__cta { margin-top: 1.4rem; }
.docs__jar-wrap { position: absolute; z-index: 1; top: 34%; width: clamp(150px, 16vw, 250px); container-type: inline-size; }
.docs__jar-wrap img { width: 100%; height: auto; }
.docs__jar-wrap--l { left: -2vw; transform: rotate(-16deg); }
.docs__jar-wrap--r { right: -2vw; transform: rotate(14deg); }
.label__word--small { font-size: 10.5cqw; letter-spacing: .02em; }

/* ---------- экран 8: отзывы ---------- */
.otzyvy { position: relative; background: var(--grain), var(--cream); padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(5rem, 9vw, 8rem); }
.otzyvy__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.otzyvy__intro { position: sticky; top: 6rem; }
.otzyvy__title { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.otzyvy__lede { margin: 1rem 0 0; max-width: 30ch; font: 500 1.08rem/1.5 var(--sans); }
.otzyvy__link { margin: 1rem 0 0; }
.otzyvy__link a { font-weight: 700; color: var(--accent-text); text-underline-offset: 4px; text-decoration-color: var(--honey); }
.otzyvy__bear { display: block; width: min(100%, 360px); height: auto; margin-top: clamp(1.5rem, 4vw, 3rem); }
.otzyvy__panel { position: relative; border-radius: 22px; background: var(--paper); border: 1px solid rgba(59, 43, 20, .1); box-shadow: 0 30px 50px -40px rgba(40, 30, 10, .7); overflow: hidden; }
.otzyvy__widget { height: 760px; }
.otzyvy__widget iframe { display: block; width: 100%; height: calc(100% - 2.2rem); border: 0; }
.otzyvy__widget[hidden] { display: none; }
.otzyvy__credit { display: block; padding: .6rem 1rem; font-size: .8rem; color: var(--text-soft); text-align: center; }
.otzyvy__off { display: none; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; justify-items: center; gap: 1rem; }
.otzyvy__off img { width: 70px; height: auto; }
.otzyvy__off p { margin: 0; max-width: 34ch; color: var(--text-soft); font: 500 1rem/1.5 var(--sans); }
.otzyvy.is-off .otzyvy__off { display: grid; }
.otzyvy.is-off .otzyvy__intro { position: static; }

/* ---------- баннер cookie ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 1rem; z-index: 60; width: min(760px, calc(100% - 1.5rem));
  display: flex; align-items: center; gap: 1.2rem; padding: 1rem 1.2rem;
  background: var(--paper); border-radius: 16px; border: 1px solid rgba(59, 43, 20, .12);
  box-shadow: 0 24px 50px -24px rgba(40, 30, 10, .6);
  transform: translate(-50%, 140%); transition: transform .26s cubic-bezier(.2,.7,.3,1);
}
.cookie.is-shown { transform: translate(-50%, 0); }
.cookie[hidden] { display: none; }
.cookie__text { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--text-soft); }
.cookie__text a { color: var(--accent-text); text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-direction: column; gap: .5rem; flex: none; }
.cookie .btn { min-height: 2.6rem; padding: .55rem 1.1rem; font-size: .9rem; cursor: pointer; font-family: inherit; }
/* в баннере cookie кнопка обычная, овалом: при первом заходе мазков на экране и так хватает */
/* согласие не спорит с главной кнопкой: медовый овал с тёмным текстом, а не оранжевый мазок */
.cookie .btn--accent { background: var(--honey); color: var(--text); border-radius: 999px; padding-inline: 1.1rem; }
.cookie .btn--accent::before { display: none; }
.cookie .btn--accent:hover { background: var(--honey-deep); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(59, 43, 20, .35); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .55); }

/* ---------- экран 9: заявка ---------- */
.order { position: relative; background: var(--grain), var(--cream); padding: clamp(5rem, 9vw, 8rem) clamp(.75rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem); }
.order__card {
  position: relative; max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem) clamp(2.5rem, 5vw, 4.5rem);
  border-radius: 28px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1l27 15.6v31.2L28 63.4 1 47.8V16.6zM28 63.4V97M1 47.8L-26 63.4M55 47.8l27 15.6' fill='none' stroke='%233B2B14' stroke-opacity='.08' stroke-width='1.6'/%3E%3C/svg%3E"),
    var(--honey);
}
.order__jar { position: absolute; z-index: 2; right: clamp(1rem, 5vw, 5rem); top: 0; width: clamp(110px, 11vw, 170px); container-type: inline-size; transform: translateY(-62%) rotate(8deg); }
.order__jar img { width: 100%; height: auto; }
.order__lane { position: absolute; z-index: 2; left: 36%; top: -5.2rem; width: min(38%, 480px); fill: none; stroke: rgba(59, 43, 20, .4); stroke-width: 2.2; stroke-dasharray: 8 10; stroke-linecap: round; }
.bee--order { z-index: 2; left: 60%; top: 2rem; }
.order__intro { position: relative; z-index: 1; }
.order__title { color: var(--text); font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.04; }
.order__lede { margin: 1.1rem 0 0; max-width: 34ch; color: var(--text); font: 500 1.1rem/1.5 var(--sans); }
.order__contacts { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .45rem; }
.order__contacts a { color: var(--text); font: 700 clamp(1.2rem, 1.8vw, 1.5rem)/1.3 var(--sans); text-decoration: none; }
.order__contacts a:hover { text-decoration: underline; text-underline-offset: 5px; }
.order__contacts span { color: var(--text); font: 500 1rem/1.3 var(--sans); }

.order__form {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 20px; background: var(--paper);
  box-shadow: 0 30px 50px -36px rgba(80, 50, 0, .8);
}
.mode { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; margin: 0 0 .3rem; padding: .3rem; border: 0; border-radius: 999px; background: #FFECC9; }
.mode__opt { position: relative; cursor: pointer; }
.mode__opt input { position: absolute; opacity: 0; pointer-events: none; }
.mode__opt span { display: block; padding: .6rem .8rem; border-radius: 999px; text-align: center; font: 700 .95rem/1.2 var(--sans); color: var(--text-soft); transition: background-color .15s, color .15s; }
.mode__opt input:checked + span { background: var(--paper); color: var(--text); box-shadow: 0 6px 14px -10px rgba(90, 50, 0, .8); }
.mode__opt input:focus-visible + span { outline: 2px solid var(--honey-deep); outline-offset: 2px; }
.req { color: var(--accent-text); font-weight: 700; }
.order__form.is-prais [data-task] { display: none; }
.order__prais { margin: 1.2rem 0 0; max-width: 34ch; font: 600 1rem/1.45 var(--sans); color: var(--text); }
.order__prais a { color: var(--accent-text); text-underline-offset: 4px; }
.line__cta { position: relative; z-index: 2; margin: 1.2rem 0 0; text-align: center; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: .4rem; }
.field--wide, .consent, .order__submit, .order__status { grid-column: 1 / -1; }
.field__label { font: 600 .88rem/1.3 var(--sans); color: var(--text); }
.field input, .field textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 12px; border: 1px solid rgba(59, 43, 20, .25);
  background: #fff; color: var(--text); font: 500 1rem/1.4 var(--sans); caret-color: var(--accent);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 6.2rem; }
.field input:hover, .field textarea:hover { border-color: rgba(59, 43, 20, .45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--honey-deep); box-shadow: 0 0 0 3px rgba(224, 154, 12, .25); }
.field [aria-invalid="true"] { border-color: #A33B2C; box-shadow: 0 0 0 3px rgba(163, 59, 44, .14); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font: 500 .9rem/1.45 var(--sans); color: var(--text-soft); }
.consent input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--accent); }
.consent a { color: var(--accent-text); }
.order__submit { justify-self: start; cursor: pointer; font-family: inherit; }
.order__submit:disabled { opacity: .55; cursor: progress; transform: none; }
.order__status { margin: 0; min-height: 1.4em; font: 600 .95rem/1.45 var(--sans); }
.order__status[data-state="err"] { color: #A33B2C; }
.order__status[data-state="ok"] { color: var(--green); }

/* ---------- подвал ---------- */
.foot { background: var(--ink); color: #CFDCCF; padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad); font: 500 .95rem/1.5 var(--sans); }
.foot__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 1.5rem 3rem; align-items: start; }
.foot p { margin: 0; }
.foot__name { margin-bottom: .4rem !important; color: var(--cream); font: 700 1.2rem/1.2 var(--serif); letter-spacing: .06em; }
.foot__nav, .foot__links { display: grid; gap: .45rem; }
.foot__nav { grid-template-columns: 1fr 1fr; }
.foot a { color: #E7EFE7; text-decoration: none; }
.foot a:hover { color: var(--honey-light); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- планшет ---------- */
@media (max-width: 1100px) {
  .scene__actions { max-width: 34vw; }
  .fact--2, .fact--4 { margin-left: 0; margin-right: 0; }
}

/* ---------- телефон ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  /* Высота сцены и размер банки от одной величины: на низком экране Safari (адресная строка
     и нижняя панель) банка уменьшается и обе строки заголовка остаются над ней. */
  :root {
    --hero-h: max(84svh, 560px);
    --jar-w: min(62vw, calc((var(--hero-h) - 300px) / 1.237), 300px);
  }

  html { scroll-padding-top: 76px; }
  .top { padding: 6px 8px; }
  .top__row { grid-template-columns: 1fr auto; padding: .3rem .35rem .3rem .85rem; }
  .top.is-scrolled .top__row { background: rgba(255, 251, 243, .98); -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* после первого экрана подпись под маркой прячется: шапка в одну строку */
  .top.is-scrolled .top__mark span { display: none; }
  .top__nav--left, .top__nav--right a:not(.top__tel) { display: none; }
  .top__mark { text-align: left; font-size: 1rem; }
  .top__mark span { font-size: .64rem; }
  .top__tel { font-size: .85rem !important; padding: .4rem .7rem; }
  .top__mark span { white-space: nowrap; }

  /* без поездки банка стоит в сцене; с поездкой рельс удлиняет скрипт */
  .journey__rail { height: var(--hero-h); }
  /* низ банки на 70px выше низа сцены, на ближнем холме */
  .jar { transform: translateY(calc(var(--hero-h) / 2 - 70px - var(--jar-w) * .6185)) rotate(-5deg); }

  .scene { height: auto; overflow: visible; }
  .scene__view { position: relative; inset: auto; height: var(--hero-h); overflow: hidden; }
  .scene__title { top: 62px; width: 94vw; }
  .arc--wide { display: none; }
  .arc--narrow { display: block; }
  .scene__lane--l { top: 36%; left: -8vw; width: 46vw; }
  .scene__lane--r { top: 44%; width: 40vw; right: -6vw; }
  .bee--l { left: 6vw; top: 42%; }
  .bee--r { right: 4vw; top: 50%; }
  .cloud { width: calc(var(--w) * 2); }
  /* облака уходят из полосы заголовка, иначе белые буквы теряются на кремовом */
  .clouds--mid { display: none; }
  .clouds--far .cloud:nth-child(1) { left: -12%; top: 47%; }
  .clouds--far .cloud:nth-child(2) { left: 70%; top: 41%; width: 34vw; }
  .scene__land { width: 900px; }
  .hills--far { bottom: 70px; }
  .hive--small { display: none; }
  .hive--big { right: calc(50% - 190px); bottom: 58px; width: 64px; }

  /* На телефоне колонок нет, поэтому текст стоит на полупрозрачных плашках:
     банка проезжает за ними и просвечивает, текст остаётся читаемым. */
  .scene__foot, .duo__col {
    position: relative; z-index: 9;
    background: rgba(255, 251, 243, .9);
    border: 1px solid rgba(59, 43, 20, .08);
    border-radius: 16px;
    box-shadow: 0 18px 40px -30px rgba(40, 30, 10, .55);
  }
  .scene__foot { flex-direction: column; align-items: stretch; gap: 1.1rem; margin: 1.1rem 1rem 0; padding: 1.3rem 1.1rem 1.2rem; left: auto; right: auto; bottom: auto; pointer-events: auto; }
  .scene__lead { max-width: none; color: var(--text); text-shadow: none; font-size: 1.12rem; text-align: center; }
  .scene__actions { max-width: none; justify-content: stretch; }
  .scene__actions .btn { flex: 1 1 10rem; padding-inline: 1rem; }

  .duo { min-height: 0; padding: 3rem 1rem 4.5rem; }
  .duo__grid { grid-template-columns: 1fr; min-height: 0; gap: 1.25rem; }
  /* свободный промежуток, по которому банка едет между списками */
  .is-travel .duo__grid { gap: 62svh; }
  /* у сетки свой z-index создаёт контекст наложения: без этого плашки оказываются под банкой */
  .duo__grid { z-index: 9; }
  .duo__col { padding: 1.3rem 1.1rem 1.2rem; }
  .duo__col--you, .duo__col--us { grid-column: 1; justify-self: stretch; max-width: none; }
  .duo__lane, .bee--duo { display: none; }
  .duo__barrel { z-index: 1; top: auto; bottom: 1rem; right: -18vw; width: 60vw; }
  /* банка проезжает за заголовком, как за остальными плашками */
  .show__title { padding: .7rem 1rem; border-radius: 16px; background: rgba(255, 251, 243, .9); box-shadow: 0 18px 40px -30px rgba(40, 30, 10, .55); }

  .show { min-height: 0; padding: 4rem 1.25rem 4.5rem; }
  .show__stage { grid-template-columns: 1fr 1fr; grid-template-rows: auto; row-gap: 2rem; column-gap: 1rem; }
  .frame { grid-column: 1 / -1; grid-row: 1; width: min(76vw, 320px); justify-self: center; }
  .fact { grid-row: auto !important; grid-column: auto !important; justify-self: center !important; margin: 0 !important; }
  .fact .hex--big { width: 68px; }

  .works__head { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .works__stage { grid-template-columns: 1fr; }
  .works__bear { order: 2; justify-self: center; width: 40vw; max-width: 180px; margin: 1rem 0 -1rem; }
  .gal__track { border-width: 6px; border-radius: 18px; }
  .gal__slide figcaption { left: .6rem; bottom: .6rem; max-width: calc(100% - 1.2rem); font-size: .86rem; padding: .4rem .6rem; }
  .gal.is-live .gal__nav { display: none; }
  .gal__bar { gap: .8rem; }
  .gal__thumb { width: 60px; height: 45px; }
  .gal__slide--yours .btn { min-height: 2.6rem; padding: .6rem 1.1rem; font-size: .92rem; }

  .line__band { transform: none; margin: 1.8rem 0 0; padding: 0; gap: 1.2rem; }
  .is-live .line__row { overflow-x: auto; }
  .line__row { scroll-snap-type: x proximity; padding: .8rem 0; }
  .line__row { display: flex; align-items: center; gap: .6rem; padding-left: 1rem; }
  .line__rail { padding: 0 1rem 0 0; gap: .6rem; }
  /* подпись ряда держится слева, банки уезжают под неё; третья банка выглядывает у края и зовёт листать */
  .line__label { position: sticky; left: 0; z-index: 2; width: 92px; height: 102px; font-size: .78rem; }
  .line__label b { font-size: 1rem; }
  .card { width: 112px; }
  .card span { font-size: .8rem; padding: .22rem .6rem; }

  .terms { padding-bottom: 2.5rem; }
  /* улей над сотами справа: пчела летит от него вниз, по ходу прокрутки */
  .terms__stage { padding-top: 3.4rem; padding-bottom: 2.5rem; }
  .terms__lane { display: none; }
  .terms__lane--m { display: block; }
  .bee--terms { width: 54px; }
  .terms__hive { left: auto; right: .5rem; top: -.4rem; bottom: auto; width: 84px; }
  .comb { padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem .6rem; justify-items: center; }
  .cell { width: min(44vw, 176px); }
  .cell:nth-child(even) { margin-top: 40%; }
  .cell:nth-child(n+3) { margin-top: -26%; }
  .cell:nth-child(4) { margin-top: 14%; }
  .cell__body b { font-size: 1.12rem; }
  .cell__body span { font-size: .8rem; }
  .terms__note { font-size: .98rem; margin-top: 1rem; }

  .docs { padding: 5rem 1.25rem 6rem; }
  .docs__jar-wrap { top: auto; bottom: 3.2rem; width: 96px; }
  .docs__jar-wrap--l { left: -30px; }
  .docs__jar-wrap--r { right: -30px; }
  .seals { gap: 1.2rem .6rem; }
  .seal { width: calc(50% - .6rem); }
  .seal:last-child { width: 100%; }
  .seal__ring { width: 78px; }
  .docs__arc--wide { display: none; }
  .docs__arc--narrow { display: block; }
  .docs__lede { font-size: 1rem; margin-top: .2rem; }

  .otzyvy__grid { grid-template-columns: 1fr; }
  .otzyvy__intro { position: static; }
  .otzyvy__bear { width: 220px; margin: 1rem 0 0; }
  .otzyvy__widget { height: 640px; }
  .cookie { flex-direction: column; align-items: stretch; bottom: .6rem; }
  .cookie__actions { flex-direction: row; }
  .cookie .btn { flex: 1 1 50%; padding-inline: .6rem; }

  .order { padding: 5.5rem .5rem .5rem; }
  .order__card { grid-template-columns: 1fr; gap: 1.8rem; padding: 3.2rem 1.1rem 1.4rem; border-radius: 22px; }
  .order__jar { width: 92px; right: 1rem; }
  .order__lane, .bee--order { display: none; }
  .order__form { grid-template-columns: 1fr; padding: 1.1rem; }
  .order__submit { justify-self: stretch; }
  .foot__grid { grid-template-columns: 1fr; }
}

/* узкие телефоны: подпись под маркой не помещается в строку рядом с телефоном */
@media (max-width: 380px) {
  .top__mark span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cloud, .hive--big { animation: none; }
  .top, .cookie { transition: none; }
  .btn, .btn--accent::before { transition: none; }
  .btn:hover, .gal__nav:hover { transform: none; }
  .gal__nav:hover { transform: translateY(-50%); }
  .gal__nav { transition: none; }
}
