/* ==========================================================================
   Arquillena — блоки после первого экрана
   ========================================================================== */

/* ---------- Общие элементы секций ---------- */
main > section:not(.hero), .footer {
  --sec-accent: var(--brand);
  --sec-accent-deep: var(--brand-deep);
  --sec-soft: var(--brand-soft);
}
.section { padding: 120px 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 56px;
}
.section__aside { max-width: 420px; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sec-accent);
  transition: background-color .6s;
}

.h2 {
  margin: 18px 0 0;
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.h2 .t-serif { color: var(--sec-accent-deep); }
.h2--light, .h2--light .t-serif { color: #fff; }

.lead { font-size: 18px; color: var(--ink-soft); margin: 22px 0 0; max-width: 520px; }

.todo {
  display: inline-block;
  padding: 0 6px;
  border-radius: 6px;
  background: #FFF1B8;
  color: #6B5A00;
  font-size: .85em;
}

/* Арочные маски для фото */
.arch {
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--sand);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.arch:hover img { transform: scale(1.04); }

/* Появление при скролле: прячем, только если JS работает (класс .js на <html>) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Цифры ---------- */
.facts { padding: 88px 0 24px; }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.fact { padding-top: 24px; border-top: 1px solid var(--line); }
.fact__num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--brand);
}
.fact__num small {
  font-family: var(--f-serif);
  font-style: normal;
  font-weight: 500;
  font-size: .32em;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.fact p { margin: 16px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 260px; }

/* ---------- Почему желе ---------- */
.jelly__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}
.jelly__media { position: relative; height: 640px; }
.jelly__media .arch--tall { position: absolute; left: 0; top: 0; width: 66%; height: 92%; }
.jelly__media .arch--small {
  position: absolute; right: 0; bottom: 0; width: 46%; height: 52%;
  border: 8px solid var(--cream);
  border-radius: calc(var(--radius-img) + 8px);
}
/* Открытая банка без подложки — лежит поверх правого нижнего угла фото */
.jelly__media .arch--jar {
  z-index: 1;
  right: 0; bottom: 0;
  width: 52%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
}
.jelly__media .arch--jar img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 26px rgba(40, 20, 20, .28));
}
.jelly__media .arch--jar:hover img { transform: translateY(-6px) rotate(-2deg); }
.jelly__sticker {
  position: absolute;
  z-index: 2;
  left: calc(66% - 84px); top: 9%;
  width: 136px; height: 136px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  animation: spin-wobble 9s ease-in-out infinite;
}
.jelly__sticker b { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; display: block; }
@keyframes spin-wobble { 50% { transform: rotate(10deg) scale(1.04); } }

.compare {
  margin-top: 36px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
  font-size: 15px;
}
.compare__row {
  display: grid;
  grid-template-columns: 1.15fr 1.1fr 1fr 1fr;
  border-top: 1px solid var(--line);
}
.compare__row:first-child { border-top: 0; }
.compare__row > span { padding: 14px 16px; line-height: 1.35; color: var(--ink-soft); }
.compare__row > span[role="rowheader"] { color: var(--ink); font-weight: 600; }
.compare__head > span { font-size: 13px; font-weight: 600; color: var(--ink-mute); padding-top: 18px; }
.compare .compare__us {
  background: color-mix(in srgb, var(--brand) 9%, #fff);
  color: var(--brand-deep);
  font-weight: 600;
}
.compare__head .compare__us { background: var(--brand); color: #fff; }

.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: '';
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 16%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231E2326' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ticks b { color: var(--ink); }

/* ---------- Состав ---------- */
.comp {
  background: var(--sand);
}

.seg {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.seg__btn {
  position: relative;
  z-index: 1;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: color .3s;
}
.seg__btn[aria-selected="true"] { color: #fff; }
.seg__btn:focus-visible { outline: 3px solid var(--sec-accent); outline-offset: 2px; }
.seg__thumb {
  position: absolute;
  top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--sec-accent);
  transition: transform .5s var(--ease-spring), background-color .5s;
}
.comp[data-line="veins"] .seg__thumb { transform: translateX(100%); }

.comp__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.comp__center { position: relative; aspect-ratio: 1; display: grid; place-items: center; grid-column: 2; grid-row: 1; }
.comp__list--left { grid-column: 1; grid-row: 1; }
.comp__list--right { grid-column: 3; grid-row: 1; }
.comp__jar { position: relative; width: 100%; margin-top: 18%; filter: drop-shadow(0 28px 30px rgba(0,0,0,.24)); }
/* «на порцию 17 г» — белый круг на крышке банки */
.comp__portion {
  position: absolute;
  z-index: 1;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.35);
  text-align: center;
  line-height: 1.1;
}
.comp__portion span { font-size: clamp(14px, 1.4vw, 20px); color: var(--ink); }
.comp__portion b {
  margin-top: 4px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 50px);
  letter-spacing: -.04em;
  line-height: 1;
}

.comp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ing {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.ing:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(0,0,0,.3); }
.ing__icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sec-soft);
  color: var(--sec-accent-deep);
  transition: background-color .5s, color .5s;
}
.ing__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ing__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ing__name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.ing__dose { font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--sec-accent-deep); white-space: nowrap; }
.ing__text { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }



/* ---------- Доверие (бенто) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  gap: 16px;
}
.bento__card {
  position: relative;
  border-radius: var(--radius-img);
  padding: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
}
.bento__card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.bento__card p { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); }

.bento__story {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(160deg, var(--brand-g1) 0%, var(--brand-g2) 100%);
  color: #fff;
  box-shadow: none;
}
.bento__story h3 { font-size: 26px; }
.bento__story p { color: var(--brand-on-dark); font-size: 17px; line-height: 1.6; max-width: 520px; }
.bento__big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(120px, 14vw, 200px);
  line-height: .85;
  letter-spacing: -.05em;
  color: rgba(255,255,255,.92);
}

.bento__badge { grid-column: 2; display: flex; align-items: center; gap: 20px; padding: 24px 28px; }
.badge__icon {
  flex: 0 0 56px;
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.badge__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.bento__expert { grid-column: 1; grid-row: 4; display: flex; gap: 24px; align-items: center; }
.expert__photo {
  flex: 0 0 160px;
  width: 160px;
  height: 190px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 20%;
  background: var(--sand);
}
.bento__expert blockquote { margin: 0; }
.bento__expert blockquote p { margin: 0; font-family: var(--f-serif); font-style: normal; font-size: 20px; line-height: 1.4; color: var(--ink); }
.bento__expert footer { margin-top: 14px; display: flex; flex-direction: column; font-size: 14px; color: var(--ink-mute); }
.bento__expert footer b { color: var(--ink); font-size: 15px; }

.bento__jars {
  grid-column: 2;
  grid-row: 4;
  display: grid;
  place-items: center;
  padding: 48px 28px 32px;
  background:
    radial-gradient(60% 70% at 50% 60%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(160deg, var(--brand-soft) 0%, color-mix(in srgb, var(--brand) 22%, var(--brand-soft)) 100%);
  box-shadow: none;
}
.bento__jars img {
  position: relative;
  width: 100%;
  max-width: 560px;
  filter: drop-shadow(0 26px 24px rgba(20, 34, 70, .28));
  transition: transform .6s var(--ease-out);
}
.bento__jars:hover img { transform: translateY(-6px) scale(1.02); }
.bento__jars::after {
  content: '';
  position: absolute;
  left: 14%; right: 14%; bottom: 14%;
  height: 18px;
  border-radius: 50%;
  background: rgba(20, 34, 70, .18);
  filter: blur(14px);
}
.jars__tag {
  position: absolute;
  left: 20px; top: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
}

/* ---------- Как принимать ---------- */
.how { background: var(--sand); }
.how__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: stretch;
}
/* Фото тянется на всю высоту блока; кадр прижат к ложке с желе */
.how__media { display: flex; }
.how__media .arch { flex: 1 1 auto; min-height: 520px; }
.how__media .arch img { object-position: 50% 0%; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-template-areas:
    "num title"
    "num text";
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.step:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.step__num {
  grid-area: num;
  align-self: start;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -.04em;
  color: color-mix(in srgb, var(--brand) 35%, transparent);
  transition: color .5s;
}
.step.is-active .step__num { color: var(--brand); }
/* Заголовок по центру строки цифры: высота строки = высоте цифры */
.step h3 { grid-area: title; margin: 0; font-size: 20px; line-height: 48px; }
.step p { grid-area: text; margin: -6px 0 0; font-size: 16px; color: var(--ink-soft); }

/* ---------- Ортопедия + коллаген: «Суставы = ортез + стельки + комплекс» ---------- */
/* Карточки по ширине контента, прижаты к левому краю */
.combo__cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.combo__col {
  flex: 0 0 auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px 24px;
  border-radius: var(--radius-img);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.combo__label {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.eq { display: flex; align-items: flex-start; gap: 10px; }
.eq__op {
  flex: 0 0 auto;
  align-self: center;
  margin-top: -24px; /* по центру картинок, без учёта подписи */
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--brand);
}
.eq__tile {
  flex: 0 0 120px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}
.eq__img {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.eq__img img { width: 100%; height: 100%; object-fit: cover; }
.eq__tile:hover .eq__img { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 14px 24px -16px rgba(0,0,0,.35); }
.eq__name { font-weight: 600; font-size: 13px; line-height: 1.3; }
/* Комплекс — акцент цветом вкуса */
.eq__tile--ours .eq__img {
  background: radial-gradient(70% 70% at 50% 45%, #fff 0%, color-mix(in srgb, var(--fc) 20%, #fff) 85%);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fc) 35%, transparent);
}
.eq__tile--ours .eq__img img { width: 84%; height: auto; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.2)); }
.eq__tile--ours .eq__name { color: var(--fc); }
.eq__cta { align-self: flex-start; }


@media (max-width: 600px) {
  .combo__col { padding: 18px 16px; border-radius: 24px; gap: 14px; }
  .eq { gap: 6px; }
  .eq__op { font-size: 16px; margin-top: -30px; }
  .combo__col { flex: 1 1 100%; }
  .eq__tile { flex: 0 1 84px; }
  .eq__name { font-size: 12px; }
  .eq__cta { align-self: stretch; }
}

/* ---------- Вопросы ---------- */
.faq { background: var(--sand); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}
.notice {
  position: relative;
  margin-top: 36px;
  padding: 24px 24px 24px 28px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--brand) 9%, #fff);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 22%, transparent);
  font-size: 14px;
  color: var(--ink-soft);
  overflow: hidden;
}
/* Акцентная полоса слева */
.notice::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--brand);
}
.notice b {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.notice__icon {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--f-serif);
  font-style: normal;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}
.notice p { margin: 0; color: var(--ink); }

.faq__list { display: grid; gap: 10px; }
.faq details {
  border-radius: 20px;
  background: #fff;
  transition: box-shadow .3s;
}
.faq details[open] { box-shadow: 0 18px 30px -24px rgba(0,0,0,.35); }
.faq summary {
  position: relative;
  list-style: none;
  padding: 22px 64px 22px 24px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 20px; top: 50%;
  width: 32px; height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' fill='none' stroke='%231E2326' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease-out), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-soft); }
.faq summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 20px; }
.faq details p { margin: 0; padding: 0 24px 22px; font-size: 15px; color: var(--ink-soft); }

/* ---------- Где купить ---------- */
.buy { padding: 24px 0 120px; background: var(--sand); }
.buy__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-l);
  padding: 72px 64px 56px;
  background: #FBF8F4;
  box-shadow: 0 0 0 1px var(--line);
}
/* Фрукты по краям: фон фото растворяется в светлой плашке (multiply) и гаснет к центру */
.buy__fruit {
  position: absolute;
  z-index: -1;
  top: 0;
  height: 100%;
  width: 34%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: .9;
  pointer-events: none;
}
.buy__fruit--l {
  left: 0;
  object-position: 40% 30%;
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 30%, transparent 100%);
}
.buy__fruit--r {
  right: 0;
  object-position: 60% 40%;
  -webkit-mask-image: linear-gradient(270deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 30%, transparent 100%);
}
.buy__top { position: relative; text-align: center; max-width: 860px; margin: 0 auto; }
.buy__top .h2 { margin-top: 0; }
.buy__sub { margin: 18px 0 0; font-size: 18px; color: var(--ink-soft); }
.buy__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.buy__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  padding: 24px 64px 24px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.buy__card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(0,0,0,.35); }
.buy__card-title { font-weight: 700; font-size: 19px; }
.buy__card-text { font-size: 14px; color: var(--ink-mute); }
.buy__card-arrow {
  position: absolute;
  right: 20px; top: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  transition: transform .3s var(--ease-out);
}
.buy__card:hover .buy__card-arrow { transform: rotate(-45deg); }

/* ---------- Подвал ---------- */
.footer { padding: 56px 0 64px; background: var(--cream); font-size: 14px; color: var(--ink-mute); }
.footer__inner { display: grid; gap: 10px; max-width: 1320px; }
.footer__logo { height: 30px; width: auto; margin-bottom: 8px; }
.footer p { margin: 0; max-width: 820px; }
.footer__strong { font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- Липкая кнопка (мобильный) ---------- */
.sticky-buy {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.35), 0 0 0 1px var(--line);
  transform: translateY(140%);
  transition: transform .45s var(--ease-out);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-buy__name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { font-size: 13px; color: var(--ink-mute); }

/* ==========================================================================
   Планшет: ≤ 1024
   ========================================================================== */
@media (max-width: 1024px) {
  .section { padding: 96px 0; }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }

  .jelly__grid { gap: 48px; }
  .jelly__media { height: 560px; }
  .compare { font-size: 14px; }
  .compare__row > span { padding: 12px; }

  .comp__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .comp__center { grid-column: 1 / -1; grid-row: 1; width: min(360px, 70%); margin: 0 auto 16px; }
  .comp__list--left { grid-column: 1; grid-row: 2; }
  .comp__list--right { grid-column: 2; grid-row: 2; }

  .bento__expert { flex-direction: column; align-items: flex-start; }
  .expert__photo { flex-basis: auto; width: 120px; height: 144px; }

  .how__grid { gap: 48px; }
  .faq__grid { gap: 48px; }

  .buy__panel { padding: 48px; }
  }

/* Планшет в портрете */
@media (max-width: 899px) {
  .jelly__grid { grid-template-columns: minmax(0, 1fr); }
  .jelly__media { height: auto; aspect-ratio: 1 / .95; max-width: 620px; width: 100%; margin: 0 auto; }

  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .how__media { max-width: 460px; width: 100%; margin: 0 auto; }
  .how__media .arch { min-height: 0; aspect-ratio: 4 / 5; }
  .how__content { order: -1; }


  .faq__grid { grid-template-columns: minmax(0, 1fr); }

  .buy__cards { grid-template-columns: minmax(0, 1fr); }
  .buy__fruit { width: 42%; opacity: .55; }
  .buy__card { min-height: 0; }

}

/* ==========================================================================
   Мобильный: ≤ 600
   ========================================================================== */
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 32px; }
  .h2 { font-size: clamp(28px, 8vw, 36px); }
  .lead { font-size: 16px; }

  .facts { padding: 56px 0 8px; }
  .facts__grid { gap: 28px 16px; }
  .fact { padding-top: 18px; }
  .fact__num { font-size: 52px; }
  .fact p { font-size: 13px; margin-top: 10px; }

  .jelly__sticker { width: 104px; height: 104px; font-size: 12px; left: calc(66% - 64px); }
  .jelly__sticker b { font-size: 17px; }

  /* Таблица сравнения превращается в карточки */
  .compare { background: transparent; box-shadow: none; display: grid; gap: 10px; }
  .compare__head { display: none; }
  .compare__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--line);
    overflow: hidden;
  }
  .compare__row > span[role="rowheader"] { grid-column: 1 / -1; padding: 14px 14px 4px; font-size: 14px; }
  .compare__row > span[role="cell"] { padding: 6px 10px 14px; font-size: 13px; }
  .compare__row > span[role="cell"]::before {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .compare__row > span[role="cell"]:nth-child(2)::before { content: 'Желе'; color: var(--brand-deep); }
  .compare__row > span[role="cell"]:nth-child(3)::before { content: 'Капсулы'; }
  .compare__row > span[role="cell"]:nth-child(4)::before { content: 'Порошок'; }
  .compare .compare__us { border-radius: 12px; margin: 0 0 8px 8px; }

  .seg { width: 100%; }
  .seg__btn { padding: 0 12px; }
  .comp__stage { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .comp__center { width: 78%; }
  .comp__list--left, .comp__list--right { grid-column: 1; grid-row: auto; }
  .ing { padding: 16px; }

  .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .bento__story, .bento__badge, .bento__expert, .bento__jars { grid-column: auto; grid-row: auto; }
  .bento__badge { padding: 20px; gap: 16px; }
  .badge__icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 14px; }
  .bento__jars { min-height: 200px; padding: 44px 16px 24px; }
  .bento__card { padding: 24px; border-radius: 24px; }
  .bento__big { font-size: 120px; }
  .bento__expert { flex-direction: column; align-items: flex-start; }
  .expert__photo { flex-basis: auto; width: 120px; height: 144px; }

  .step { grid-template-columns: 64px 1fr; padding: 18px 0; }
  .step__num { font-size: 36px; line-height: 36px; }
  .step h3 { font-size: 18px; line-height: 36px; }
  .step p { font-size: 15px; margin-top: -4px; }


  .faq summary { padding: 18px 56px 18px 18px; font-size: 16px; }
  .faq summary::after { right: 14px; }
  .faq details p { padding: 0 18px 18px; }

  .buy { padding-bottom: 96px; }
  .buy__panel { padding: 32px 20px 20px; border-radius: 28px; }
      .buy__cards { margin-top: 28px; gap: 10px; }

  .footer { padding-bottom: 104px; }

}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}


/* ---------- Кнопка бренда и строка призыва ---------- */
.btn--brand { background: var(--brand); }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 40px;
}

/* ---------- Каталог ---------- */
.shop { padding-top: 40px; }
.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.prod {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-img);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.prod:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 28px 44px -28px rgba(0,0,0,.35); }
.prod__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .86;
  background: radial-gradient(70% 70% at 50% 45%, #fff 0%, var(--ft) 75%);
}
.prod__media img {
  width: 74%;
  filter: drop-shadow(0 18px 20px rgba(0,0,0,.2));
  transition: transform .5s var(--ease-spring);
}
.prod:hover .prod__media img { transform: translateY(-8px) rotate(-4deg) scale(1.04); }
.prod__line {
  position: absolute;
  z-index: 1;
  left: 14px; top: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--fc);
}
.prod__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 18px 18px 20px; }
.prod__name { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: -.01em; color: var(--fc); }
.prod__desc { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-mute); }
.prod__price { margin-top: auto; padding-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.prod__actions { display: flex; gap: 8px; margin-top: 12px; }
.prod__cart { flex: 1 1 auto; min-height: 46px; padding: 0 14px; background: var(--fc); }

@media (max-width: 1024px) {
  .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .shop { padding-top: 24px; }
  .shop__grid { gap: 10px; }
  .prod { border-radius: 22px; }
  .prod__line { left: 10px; top: 10px; font-size: 11px; padding: 4px 8px; }
  .prod__body { padding: 12px 12px 14px; }
  .prod__name { font-size: 16px; }
  .prod__desc { font-size: 12px; }
  .prod__price { font-size: 18px; padding-top: 10px; }
  .prod__actions { flex-direction: column; gap: 6px; margin-top: 10px; }
  .cta-row { margin-top: 28px; }
  .cta-row .btn { width: 100%; }
}


/* ---------- Зачем коллаген ---------- */
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.why__age {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: 22px;
  background: var(--brand-soft);
}
.why__age-num {
  flex: 0 0 auto;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--brand);
}
.why__age p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.types { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.type {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .3s var(--ease-out);
}
.type:hover { transform: translateX(6px); }
.type__num {
  flex: 0 0 80px;
  font-family: var(--f-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 52px;
  line-height: 1;
  text-align: center;
  color: var(--brand);
}
.type h3 { margin: 0; font-size: 18px; }
.type p { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- Для кого ---------- */
.who { padding-bottom: 40px; }
.who__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.who__card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.who__card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 22px 36px -24px rgba(0,0,0,.3); }
.who__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sand);
}
.who__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.who__card:hover .who__photo img { transform: scale(1.05); }
.who__photo svg {
  position: absolute;
  left: 10px; bottom: 10px;
  width: 44px; height: 44px;
  padding: 9px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  fill: none; stroke: var(--brand-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.who__card > h3, .who__card > p { margin-left: 12px; margin-right: 12px; }
.who__card > .who__tag { margin-left: 2px; } /* пилюля с отступом 10 px: текст метки на линии заголовка */
.who__tag {
  align-self: flex-start;
  margin-top: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
}
.who__card h3 { margin: 10px 0 0; font-size: 18px; line-height: 1.3; }
.who__card p { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }

/* Мелочи «Почему желе» в две колонки */
.ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 12px; }

@media (max-width: 1024px) {
  .why__grid { gap: 40px; }
  .who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .why__age { gap: 14px; padding: 16px 18px; }
  .why__age-num { font-size: 32px; }
  .type { gap: 16px; padding: 16px 18px; }
  .type__num { flex-basis: 52px; font-size: 40px; }
  .who__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .who__card { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 4px; align-items: start; padding: 8px; }
  .who__photo { grid-row: 1 / span 3; aspect-ratio: 1; border-radius: 14px; }
  .who__photo svg { left: 6px; bottom: 6px; width: 32px; height: 32px; padding: 6px; border-radius: 10px; }
  .who__tag { margin-top: 6px; justify-self: start; margin-left: 2px; }
  .who__card h3 { margin-top: 6px; font-size: 16px; }
  .who__card p { margin-top: 4px; margin-bottom: 6px; font-size: 13px; }
  .ticks { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Декор: грани с этикетки банки (только десктоп) ---------- */
.has-shapes { position: relative; overflow: hidden; isolation: isolate; }
.has-shapes > .container { position: relative; z-index: 1; }
.label-shapes {
  --l-y: -28%;   /* левая группа ниже центра */
  --r-y: -72%;   /* правая выше центра */
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.label-shapes svg { position: absolute; top: 50%; width: 300px; height: auto; overflow: visible; }
/* Фигуры прячутся за край экрана, чтобы не спорить с контентом */
.label-shapes__left { left: max(-140px, calc((100vw - 1320px) / 2 - 300px)); transform: translateY(var(--l-y)); }
.label-shapes__right { right: max(-140px, calc((100vw - 1320px) / 2 - 300px)); transform: translateY(var(--r-y)); }
.ls { stroke-width: 18; stroke-linejoin: round; opacity: .3; transform-box: fill-box; transform-origin: center; animation: ls-float 9s ease-in-out infinite; }
.ls--b { opacity: .38; animation-duration: 7s; animation-delay: -2s; }
.ls--c { animation-delay: -4s; }
.ls--d { opacity: .4; animation-duration: 6.5s; animation-delay: -1s; }
@keyframes ls-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
/* Варианты расположения в разных блоках */
.label-shapes--flip { --l-y: -75%; --r-y: -20%; }
@media (max-width: 1024px) { .label-shapes { display: none; } }
