/* Compass — стили. Сначала телефон (390px), потом планшет и компьютер.
   Принципы: минимализм и удобство. Смелость только на первом экране, ниже — тихо и просторно. */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-cyrillic-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-cyrillic-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-latin-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --bg: #fafaf8;
  --card: #ffffff;
  --ink: #15241f;
  --muted: #5d6964;
  --line: #e4e8e4;
  --soft: #f1f3f0;
  --cream: #fff8ee;
  --flavor: #2f7a4a;
  --deep: color-mix(in srgb, var(--flavor) 36%, #000);
  --gut: 24px;
  --head: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.022em; }
p { margin: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; border-radius: 10px; }

.wrap { width: min(1120px, 100% - var(--gut) * 2); margin-inline: auto; }
.wrap--text { width: min(680px, 100% - var(--gut) * 2); }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 248, 238, .55); color: var(--cream); }
.btn--line { background: var(--card); border-color: #cfd6d0; color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Шапка: «жидкое стекло», всегда на месте ----------
   Над первым экраном — прозрачное тёмное стекло, ниже — светлое стекло. */
.top {
  position: fixed; z-index: 30;
  top: calc(8px + env(safe-area-inset-top)); left: 10px; right: 10px;
  border-radius: 24px; color: var(--cream);
  background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 58%, rgba(255, 255, 255, .14)), color-mix(in srgb, var(--deep) 72%, transparent));
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.top.is-light {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .93), rgba(255, 255, 255, .86));
  border-color: rgba(21, 36, 31, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 30px rgba(21, 36, 31, .10);
}
.top__in {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  grid-template-areas: "logo msgr lang";
  padding: 6px 6px 6px 14px; column-gap: 8px;
}
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.logo__svg { width: 32px; height: 32px; flex: none; }
.logo__bg { fill: #fff; }
.logo__tint { fill: var(--flavor); fill-opacity: .4; transition: fill 1s ease; }
.logo__ink { fill: #15241f; }
.nav { display: none; }
.lang { grid-area: lang; display: flex; }
.lang a { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: .6; text-decoration: none; }
.lang a[aria-current="page"] { opacity: 1; background: rgba(127, 127, 127, .16); }
.msgr { grid-area: msgr; display: flex; gap: 6px; }
.msgr__a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; }
.msgr__a .ic { width: 18px; height: 18px; }
.msgr__a .ic { width: 19px; height: 19px; }
.msgr__a--tg { background: #2aa3df; }
.msgr__a--vb { background: #7360f2; }
.msgr__a--wa { background: #25d366; }

/* ---------- Первый экран: тёмный цвет вкуса, яркие волны, живая баночка ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--deep); color: var(--cream);
  border-radius: 0 0 32px 32px;
  padding: calc(var(--head) + 28px + env(safe-area-inset-top)) 0 36px;
  transition: background-color 1s ease;
}
.waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.wv path { transition: fill 1s ease; }
.wv--a path { fill: var(--wave, var(--flavor)); }
.wv--b path { fill: color-mix(in srgb, var(--wave, var(--flavor)) 45%, #fff); opacity: var(--wb, .5); transition: fill 1s ease, opacity 1s ease; }
.wv--c path { fill: color-mix(in srgb, var(--flavor) 66%, #000); }

.hero__in { display: grid; gap: 20px; }
.hero h1 { font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -0.028em; text-wrap: balance; }
.hero__sub { margin-top: 14px; font-size: 17px; line-height: 1.55; color: rgba(255, 248, 238, .86); text-wrap: pretty; }

.stage { position: relative; display: grid; justify-items: center; touch-action: pan-y; --tin: min(64vw, 280px); }
.stage__float, .stage__shadow { grid-area: 1 / 1; }
.stage__float { position: relative; z-index: 1; width: var(--tin); aspect-ratio: 960 / 780; animation: bob 7s ease-in-out infinite; will-change: transform; }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
.stage__shadow {
  align-self: end; width: 62%; height: 24px; margin-bottom: -8px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.86); opacity: .7; } }
.stage__tin { position: absolute; inset: 0; }
.stage__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: translate3d(40px, 0, 0) scale(.95);
  transition: opacity .9s cubic-bezier(.4, 0, .2, 1), transform 1.15s cubic-bezier(.22, 1, .36, 1);
  will-change: transform, opacity; backface-visibility: hidden;
}
.stage__img.from-l { transform: translate3d(-40px, 0, 0) scale(.95); }
.stage__img.is-on { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.stage__img.out-l { opacity: 0; transform: translate3d(-40px, 0, 0) scale(.95); }
.stage__img.out-r { opacity: 0; transform: translate3d(40px, 0, 0) scale(.95); }
.stage__img.no-anim { transition: none; }
/* стрелки: маленькие, стеклянные, не спорят с баночкой */
.stage__arrow {
  position: absolute; z-index: 2; top: calc(var(--tin) * .8125 / 2 - 17px);
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--cream); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.stage__arrow::before { content: ""; position: absolute; inset: -6px; } /* зона нажатия 46px */
.stage__arrow .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.stage__arrow--prev { left: 0; }
.stage__arrow--next { right: 0; }
.stage__cap { margin-top: 14px; display: grid; justify-items: center; text-align: center; line-height: 1.25; }
.stage__line { font-size: 13px; font-weight: 500; color: rgba(255, 248, 238, .7); }
.stage__name { margin-top: 2px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.thumbs {
  width: calc(100% + var(--gut) * 2); margin: 14px calc(var(--gut) * -1) 0; padding: 4px var(--gut) 4px;
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button {
  flex: none; width: 54px; height: 46px; padding: 5px; border-radius: 14px; cursor: pointer; scroll-snap-align: center;
  border: 1.5px solid rgba(255, 248, 238, .18); background: rgba(255, 255, 255, .07);
  transition: border-color .3s, background-color .3s;
}
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button[aria-current="true"] { border-color: var(--cream); background: rgba(255, 255, 255, .2); }
.thumbs button[hidden] { display: none; }
.hero__act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero__act .btn { padding: 0 12px; font-size: 15px; }

/* ---------- Разделы ---------- */
.sec { padding: 72px 0 0; }
.sec:last-of-type { padding-bottom: 72px; }
.sec h2 { font-size: 28px; line-height: 1.2; text-wrap: balance; }
.sec__lead { margin-top: 14px; color: var(--muted); }

/* ---------- Бенто: почему Compass ---------- */
.bento { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { min-width: 0; padding: 22px 20px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: grid; align-content: space-between; gap: 18px; }
.tile--wide { grid-column: span 2; }
.tile--accent { background: color-mix(in srgb, var(--flavor) 12%, #fff); border-color: transparent; transition: background-color 1s ease; }
.tile__big { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -0.035em; }
.tile__title { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; }
.tile__text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tile--pic { grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.tile--pic img { width: 120px; height: auto; }

/* ---------- Вкусы: ровные плитки, баночки одного размера ---------- */
.line-desc { margin-top: 14px; color: var(--muted); font-size: 15px; }
.grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid[hidden] { display: none; }
.card {
  min-width: 0; display: grid; grid-template-rows: auto auto; gap: 10px; padding: 14px 14px 16px;
  border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.card:active { transform: scale(.98); }
.card:hover { border-color: #cdd5cf; }
.card__img { display: grid; place-items: center; aspect-ratio: 4 / 3; min-width: 0; }
.card__img img { width: 88%; height: 88%; object-fit: contain; }
.card__name { font-size: 15px; line-height: 1.3; font-weight: 600; }
.card--more { place-content: center; text-align: center; background: var(--soft); border-color: transparent; color: var(--ink); font-weight: 600; min-height: 100%; }
.card--more .card__big { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }

/* ---------- Шаги ---------- */
.steps { margin-top: 24px; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; counter-increment: s; }
.steps li::before {
  content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;
}
.steps h3 { font-size: 18px; line-height: 1.4; font-weight: 600; }
.steps p { color: var(--muted); font-size: 16px; }

/* ---------- Вопросы ---------- */
.faq { margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--muted); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- Блок контакта ---------- */
.cta { padding: 32px 24px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); text-align: center; display: grid; gap: 16px; }
.cta p { color: var(--muted); }
.cta__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-size: 17px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }

/* ---------- Подвал ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.foot__in { display: grid; gap: 12px; }
.foot__brand strong { color: var(--ink); }
.foot__nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: none; }
.foot__small { font-size: 13px; }

/* ---------- Окно связи (снизу) ---------- */
.sheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 90dvh; padding: 0; border: 0; border-radius: 28px 28px 0 0; background: var(--card); color: var(--ink); }
.sheet[open] { animation: sheet-up .32s cubic-bezier(.2, .8, .2, 1); }
.sheet::backdrop { background: rgba(21, 36, 31, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet[open]::backdrop { animation: fade .3s ease; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.sheet__in { padding: 10px 24px calc(22px + env(safe-area-inset-bottom)); }
.sheet__in::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: #d3d9d4; margin: 0 auto 16px; }
.sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sheet__h { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.sheet__sub { margin-top: 4px; color: var(--muted); font-size: 15px; }
.sheet__x { display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -10px 0 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }

/* ---------- Страница вкуса ---------- */
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 500; color: var(--muted); text-decoration: none; }
.back .ic { width: 18px; height: 18px; }
.hero .back { color: rgba(255, 248, 238, .78); margin: -8px 0 -6px; }
.pp__line { font-size: 14px; font-weight: 500; color: rgba(255, 248, 238, .72); margin-bottom: 6px; }
.hero--pp h1 { font-size: 32px; }
.hero--pp .hero__act { grid-template-columns: 1fr; }
.pp__note { text-align: center; font-size: 14px; color: rgba(255, 248, 238, .72); }
.more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 14px; font-weight: 600; text-decoration: none; }
.more .ic { width: 18px; height: 18px; }

/* ---------- Список вкусов ---------- */
.page-top { padding-top: calc(var(--head) + 24px + env(safe-area-inset-top)); }
.hub h1 { font-size: 32px; line-height: 1.15; margin-top: 6px; }
.grid-h { margin-top: 40px; font-size: 22px; }

/* ---------- Планшет и компьютер ---------- */
@media (min-width: 700px) {
  :root { --head: 64px; --gut: 32px; }
  .top { left: 16px; right: 16px; max-width: 1180px; margin-inline: auto; }
  .top__in { padding: 6px 8px 6px 18px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 2; }
  .sheet { inset: 0; margin: auto; width: min(420px, 100% - 40px); height: fit-content; border-radius: 28px; }
  .sheet[open] { animation: fade .2s ease; }
  .sheet__in::before { display: none; }
  .sheet__in { padding: 22px 26px 26px; }
  .hero__act { display: flex; flex-wrap: wrap; }
  .hero__act .btn { padding: 0 28px; }
}
@media (min-width: 960px) {
  :root { --head: 68px; }
  .top__in { grid-template-columns: auto 1fr auto auto; grid-template-areas: "logo nav msgr lang"; column-gap: 18px; }
  .nav { grid-area: nav; display: flex; gap: 2px; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 500; opacity: .78; text-decoration: none; border-radius: 12px; }
  .nav a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
  .hero { padding: calc(var(--head) + 56px) 0 80px; border-radius: 0 0 48px 48px; }
  .hero__in { grid-template-columns: 1fr 1.05fr; grid-template-rows: 1fr 1fr; column-gap: 64px; row-gap: 0; min-height: min(620px, calc(100svh - var(--head) - 140px)); }
  .hero__in > .back { grid-column: 1 / -1; }
  .hero--pp .hero__in { grid-template-rows: auto 1fr 1fr; }
  .hero__text { grid-column: 1; align-self: end; }
  .hero__act { grid-column: 1; align-self: start; margin-top: 36px; }
  .hero__act .btn { min-height: 56px; font-size: 16px; }
  .hero--pp .hero__act { display: flex; }
  .hero--pp .pp__note { width: 100%; text-align: left; }
  .stage { grid-column: 2; grid-row: 1 / span 2; align-self: center; --tin: clamp(300px, 32vw, 440px); }
  .hero--pp .stage { grid-row: 2 / span 2; }
  .stage__arrow { width: 40px; height: 40px; top: calc(var(--tin) * .8125 / 2 - 20px); }
  .thumbs { width: auto; margin: 16px 0 0; padding: 4px 0; flex-wrap: wrap; justify-content: center; overflow: visible; max-width: 520px; }
  .hero h1 { font-size: 54px; line-height: 1.06; }
  .hero--pp h1 { font-size: 46px; }
  .hero__sub { font-size: 19px; margin-top: 20px; }
  .sec { padding-top: 104px; }
  .sec:last-of-type { padding-bottom: 104px; }
  .sec h2 { font-size: 40px; }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile { padding: 28px; min-height: 180px; }
  .tile__big { font-size: 52px; }
  .cta { padding: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .stage__img { transform: none !important; }
}

/* ---------- Плавающая кнопка-трубка (как на firewoodsp.com.ua) ---------- */
.fab { position: fixed; z-index: 40; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); }
.fab__btn {
  position: relative; display: grid; place-items: center; width: 62px; height: 62px; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: var(--ink); box-shadow: 0 10px 24px rgba(21, 36, 31, .35);
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), background-color .25s;
}
.fab__btn:active { transform: scale(.94); }
.fab__btn .ic { width: 26px; height: 26px; position: absolute; transition: opacity .2s, transform .3s; }
.fab__x { opacity: 0; transform: rotate(-90deg); }
/* мягкая «волна» вокруг кнопки, чтобы её заметили */
.fab__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; animation: ring 3.2s ease-out infinite 1.5s; }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.fab__veil { position: fixed; inset: 0; background: rgba(21, 36, 31, .4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.fab__menu { position: absolute; right: 4px; bottom: 76px; display: grid; justify-items: end; gap: 10px; pointer-events: none; }
.fab__item {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  opacity: 0; transform: translate3d(0, 16px, 0) scale(.96); transition: opacity .22s ease, transform .3s cubic-bezier(.2, .9, .3, 1.1);
}
.fab__label { display: grid; justify-items: end; padding: 9px 14px; border-radius: 16px; background: var(--card); box-shadow: 0 6px 18px rgba(21, 36, 31, .16); line-height: 1.25; }
.fab__label b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.fab__label small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fab__ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 6px 16px rgba(21, 36, 31, .22); }
.fab__ic .ic { width: 24px; height: 24px; }
.fab__ic--cb { background: #f08a24; }
.fab__ic--ph { background: var(--ink); }
.fab__ic--tg { background: #2aa3df; }
.fab__ic--vb { background: #7360f2; }
.fab__ic--wa { background: #25d366; }
.fab.is-open .fab__veil { opacity: 1; pointer-events: auto; }
.fab.is-open .fab__menu { pointer-events: auto; }
.fab.is-open .fab__item { opacity: 1; transform: none; }
.fab.is-open .fab__item:nth-last-child(1) { transition-delay: 0s; }
.fab.is-open .fab__item:nth-last-child(2) { transition-delay: .04s; }
.fab.is-open .fab__item:nth-last-child(3) { transition-delay: .08s; }
.fab.is-open .fab__item:nth-last-child(4) { transition-delay: .12s; }
.fab.is-open .fab__item:nth-last-child(5) { transition-delay: .16s; }
.fab.is-open .fab__btn::after { animation: none; }
.fab.is-open .fab__open { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab__x { opacity: 1; transform: none; }
@media (min-width: 960px) { .fab { right: 28px; bottom: 28px; } }

/* ---------- После первого экрана — без лишней пустоты ---------- */
.hero + .sec { padding-top: 48px; }
@media (min-width: 960px) { .hero + .sec { padding-top: 80px; } }

/* ---------- Характеристики вкуса бенто-плитками ---------- */
.facts { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { min-width: 0; padding: 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: grid; align-content: space-between; gap: 10px; min-height: 120px; }
.fact--wide { grid-column: span 2; min-height: 0; }
.fact--accent { background: color-mix(in srgb, var(--flavor) 12%, #fff); border-color: transparent; }
.fact__big { font-size: 30px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.fact__text { font-size: 14px; line-height: 1.45; color: var(--muted); }
.fact--wide .fact__big { font-size: 22px; letter-spacing: -0.015em; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fact--wide { grid-column: span 2; } }

/* ---------- Кнопка «вгору» над трубкой ---------- */
.totop {
  position: fixed; z-index: 39; right: 25px; bottom: calc(92px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--ink); background: rgba(255, 255, 255, .78); border: 1px solid rgba(21, 36, 31, .1);
  box-shadow: 0 6px 18px rgba(21, 36, 31, .16); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  opacity: 0; transform: translate3d(0, 12px, 0); pointer-events: none; transition: opacity .25s, transform .3s;
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.fab.is-open ~ .totop { opacity: 0; pointer-events: none; }
@media (min-width: 960px) { .totop { right: 37px; bottom: 102px; } }


/* ---------- Формы заявок ---------- */
.lead { display: grid; gap: 14px; margin-top: 14px; }
.lead[hidden], .lead__done[hidden], .lead__f[hidden] { display: none; }
.lead__f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.lead__f input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #d7ddd8; background: #fff;
  font: inherit; font-size: 17px; font-weight: 400; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.lead__f input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 36, 31, .12); }
.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__err { padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #a12a1d; font-size: 14px; }
.lead__note { font-size: 13px; color: var(--muted); text-align: center; }
.lead .btn[disabled] { opacity: .6; cursor: progress; }
.lead__done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18px 0 8px; }
.lead__ok { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e3f4e8; color: #1c7a3f; margin-bottom: 6px; }
.lead__ok .ic { width: 30px; height: 30px; stroke-width: 2.4; }

/* ---------- Classic / Intense: переключатель как на iPhone ---------- */
#flavors h2 { text-align: center; font-family: "Cormorant", Georgia, serif; font-weight: 600; font-size: 40px; line-height: 1.05; letter-spacing: 0; }
@media (min-width: 960px) { #flavors h2 { font-size: 60px; } }
.switch { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.switch__side {
  min-height: 48px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font-family: "Cormorant", Georgia, serif; font-style: italic; font-size: 30px; font-weight: 600; letter-spacing: 0; color: var(--muted); transition: color .3s;
}
.switch__side.is-on { color: var(--ink); }
.switch__track {
  position: relative; flex: none; width: 104px; height: 60px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: #2f7a4a; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .28);
  transition: background-color .4s ease, box-shadow .4s ease;
}
.switch.is-intense .switch__track { background: #1b1b1a; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 2px #c9a24a; }
.switch__knob {
  position: absolute; top: 4px; left: 4px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
  transition: transform .5s cubic-bezier(.3, 1.45, .5, 1);
}
.switch__knob img { width: 40px; height: 30px; object-fit: contain; }
.switch.is-intense .switch__knob { transform: translateX(44px); }
.switch.is-hint .switch__knob { animation: nudge 1.2s ease; }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateX(16px); } 55% { transform: translateX(-3px); } 75% { transform: translateX(6px); } }
.switch__track:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.switch__note { margin-top: 8px; text-align: center; font-size: 15px; color: var(--muted); }
.switch__note[hidden] { display: none; }

/* плитка «Смак»: подробное описание вкуса — крупнее и темнее остальных подписей */
.fact--story { gap: 12px; }
.fact--story .fact__text { font-size: 16px; line-height: 1.6; color: var(--ink); }
