/* ==========================================================
   Jana Men — лендинг
   ========================================================== */

:root {
  --accent: #F58712;
  --ink: #17140F;
  --bg: #F5F1EA;

  --surface: #FFFFFF;
  --bg-alt: color-mix(in oklab, var(--bg) 88%, var(--ink) 6%);
  --ink-2: color-mix(in oklab, var(--ink) 78%, var(--bg));
  --muted: color-mix(in oklab, var(--ink) 55%, var(--bg));
  --line: color-mix(in oklab, var(--ink) 12%, transparent);
  --accent-soft: color-mix(in oklab, var(--accent) 16%, var(--bg));

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(23, 20, 15, .04), 0 12px 32px -12px rgba(23, 20, 15, .18);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* аккуратная тонкая полоса прокрутки страницы в цветах сайта */
html { scrollbar-width: thin; scrollbar-color: color-mix(in oklab, var(--ink) 22%, transparent) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in oklab, var(--ink) 20%, transparent); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: color-mix(in oklab, var(--ink) 35%, transparent); }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.h-display, .h2, .h3 { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 600; }
.h-display { font-size: clamp(2.35rem, 5.4vw, 4.9rem); line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); line-height: 1.06; letter-spacing: -.03em; }
.h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 34em; margin: 0; }
.muted { color: var(--muted); }

.section { padding: clamp(72px, 10vw, 136px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head .eyebrow { margin-bottom: 18px; }
.section__head .lead { justify-self: end; }

/* ---------- Кнопки ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); letter-spacing: .005em; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { box-shadow: 0 10px 28px -10px var(--accent); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: color-mix(in oklab, var(--ink) 82%, var(--accent)); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }
.btn--glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.btn--glass:hover { background: rgba(255,255,255,.16); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 20px; height: 20px; }

.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: color-mix(in oklab, currentColor 8%, transparent); border: 1px solid color-mix(in oklab, currentColor 12%, transparent); }

/* ---------- Анонс ---------- */
.announce { background: var(--announce, #219F43); color: #fff; font-size: 14px; }
.announce__row { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-block: 8px; text-align: center; }
.announce__label { font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 4px 9px; border-radius: 999px; flex: none; }
.announce a.announce__text { text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.announce a.announce__text:hover { text-decoration-color: #fff; }
.announce__close { margin-left: auto; background: none; border: 0; color: #fff; opacity: .7; cursor: pointer; padding: 6px; display: grid; }
.announce__close:hover { opacity: 1; }
.announce__close svg { width: 16px; height: 16px; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 40; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.header.is-scrolled { background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); }
.header__row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav a:hover, .nav a.is-active { color: var(--ink); background: color-mix(in oklab, var(--ink) 6%, transparent); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 600; font-size: 15px; white-space: nowrap; }
.header__phone:hover { color: color-mix(in oklab, var(--accent) 70%, var(--ink)); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 39; background: var(--bg); padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; animation: fadeIn .3s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font: 600 clamp(1.6rem, 7vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__foot { display: grid; gap: 10px; }
.mobile-menu__foot .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: clamp(8px, 2vw, 24px) 0 clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(16px, 4vw, 48px) 0; }
.hero .h-display .hl { position: relative; white-space: nowrap; color: var(--ink); }
.hero .h-display .hl svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hero .h-display .hl path { stroke: var(--accent); stroke-width: 7; fill: none; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.2s .5s var(--ease) forwards; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; margin: 8px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.35; color: var(--ink-2); font-weight: 500; }
.trust svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: -1px; }

.hero__visual {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(420px, 46vw, 640px);
  background:
    radial-gradient(60% 55% at 62% 42%, color-mix(in oklab, var(--accent) 38%, #2b2118) 0%, transparent 70%),
    radial-gradient(90% 80% at 20% 100%, #2a2219 0%, transparent 60%),
    var(--ink);
  isolation: isolate;
}
.hero__visual::before { /* тонкая сетка */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 75%);
}
.hero__ring { position: absolute; left: 50%; top: 46%; width: 78%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); z-index: -1; }
.hero__ring + .hero__ring { width: 54%; border-color: rgba(255,255,255,.06); }
.hero__img { position: absolute; left: 50%; top: 47%; width: min(92%, 640px); translate: -50% -50%; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); animation: float 7s ease-in-out infinite; }
.chip-stat {
  position: absolute; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px);
  background: rgba(255,255,255,.94); color: var(--ink); border-radius: var(--r-md); padding: 16px 20px 16px 18px;
  display: flex; align-items: center; gap: 14px; max-width: 290px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5);
}
.chip-stat strong { font: 600 2rem/1 var(--font-display); letter-spacing: -.04em; color: var(--ink); }
.chip-stat span { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.chip-badge {
  position: absolute; right: clamp(14px, 3vw, 28px); top: clamp(14px, 3vw, 28px);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 500;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 30%, transparent); }

/* ---------- Бегущая строка ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 clamp(1rem, 1.6vw, 1.25rem)/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.marquee__item svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Каталог ---------- */
.filters { display: flex; gap: 8px; margin: -24px 0 32px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.filters::-webkit-scrollbar { display: none; }
.filter { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: all .25s var(--ease); }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  --fg: var(--ink);
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: 10px; color: var(--fg);
  background: var(--tint); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .3s;
}
.pcard.is-dark { --fg: #F7F2EA; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(23, 20, 15, .45); }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; aspect-ratio: 1 / .92; display: grid; place-items: center; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; cursor: pointer; background: radial-gradient(60% 60% at 50% 55%, color-mix(in oklab, #fff 40%, transparent), transparent 70%); }
.pcard.is-dark .pcard__media { background: radial-gradient(55% 55% at 50% 55%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 72%); }
.pcard__media img { position: absolute; left: 10%; top: 11%; height: 78%; width: 80%; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(0,0,0,.28)); transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: translateY(-10px) rotate(-3deg) scale(1.04); }
/* масштаб фото задаётся в панели — для снимков с большими полями */
.pcard__media img, .sheet__media img { scale: var(--scale, 1); }
.pcard__badge { position: absolute; left: 14px; top: 14px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; letter-spacing: .02em; }
.pcard__more { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--fg) 10%, transparent); color: var(--fg); border: 0; cursor: pointer; transition: transform .4s var(--ease), background-color .2s; }
.pcard__more svg { width: 18px; height: 18px; }
.pcard:hover .pcard__more { transform: rotate(45deg); background: var(--fg); color: var(--tint); }
.pcard__body { padding: 18px 14px 14px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pcard__name { font: 600 1.4rem/1.15 var(--font-display); letter-spacing: -.025em; margin: 0; }
.pcard__short { margin: 0; font-size: 15px; opacity: .78; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price strong { font: 600 1.3rem/1.1 var(--font-display); letter-spacing: -.02em; }
.price s { font-size: 13px; opacity: .55; }
.price small { font-size: 13px; opacity: .7; font-weight: 500; }
.pcard .btn--ink { background: var(--fg); color: var(--tint); }
.pcard .btn--ink:hover { background: var(--accent); color: var(--ink); }
.empty-filter { text-align: center; padding: 40px; color: var(--muted); }

/* ---------- Акция ---------- */
.bundle { position: relative; border-radius: var(--r-lg); background: var(--ink); color: #F7F2EA; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; overflow: hidden; isolation: isolate; }
.bundle__copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; justify-content: center; align-items: flex-start; }
.bundle .eyebrow { color: rgba(255,255,255,.6); }
.bundle__discount { font: 700 clamp(4.5rem, 11vw, 9rem)/.85 var(--font-display); letter-spacing: -.06em; color: var(--accent); }
.bundle__title { font: 600 clamp(1.6rem, 3vw, 2.4rem)/1.05 var(--font-display); letter-spacing: -.03em; margin: 0; }
.bundle__text { margin: 0; color: rgba(247,242,234,.72); max-width: 26em; }
.bundle__media { position: relative; min-height: 340px; }
.bundle__media img { position: absolute; inset: auto 0 -2% auto; width: 108%; max-width: none; right: -6%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); transition: transform 1s var(--ease); }
.bundle:hover .bundle__media img { transform: translateY(-8px); }
.bundle__ring { position: absolute; z-index: -1; right: -10%; top: 50%; translate: 0 -50%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 45%, transparent), transparent); opacity: .55; }

/* ---------- Польза ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { background: var(--surface); border-radius: var(--r-md); padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: color-mix(in oklab, var(--accent) 75%, var(--ink)); margin-bottom: auto; }
.benefit__icon svg { width: 24px; height: 24px; }
.benefit p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- Как принимать ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 28px 30px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); }
.step__num { font: 600 3.4rem/1 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in oklab, var(--ink) 30%, transparent); margin-bottom: 40px; display: block; }
.step:hover .step__num { -webkit-text-stroke-color: var(--accent); }
.step p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
.step__dot { position: absolute; right: 26px; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* ---------- О бренде ---------- */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.founder__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 579 / 619; background: var(--ink); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.founder:hover .founder__photo img { transform: scale(1.03); }
.founder__copy { display: flex; flex-direction: column; gap: 24px; }
.founder__quote { margin: 0; font: 500 clamp(1.15rem, 1.8vw, 1.45rem)/1.5 var(--font-body); color: var(--ink); position: relative; padding-left: 28px; border-left: 2px solid var(--accent); }
.founder__who { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.founder__name { font: 600 1.15rem/1.2 var(--font-display); letter-spacing: -.02em; }
.founder__role { font-size: 14px; color: var(--muted); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: var(--r-sm); background: var(--surface); min-width: 130px; transition: transform .35s var(--ease), box-shadow .35s; }
.social:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.social strong { font: 600 1.25rem/1.1 var(--font-display); letter-spacing: -.03em; }
.social span { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.social svg { width: 14px; height: 14px; }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--surface); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.review__mark { width: 32px; height: 32px; color: var(--accent); }
.review p { margin: 0; color: var(--ink); font-size: 16px; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: color-mix(in oklab, var(--accent) 60%, var(--ink)); font: 600 14px/1 var(--font-display); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.faq__help { margin-top: 12px; padding: 22px; border-radius: var(--r-md); background: var(--surface); display: grid; gap: 14px; width: 100%; max-width: 380px; }
.faq__help p { margin: 0; font-size: 15px; color: var(--ink-2); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font: 600 clamp(1.02rem, 1.5vw, 1.2rem)/1.3 var(--font-display); letter-spacing: -.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background-color .3s, border-color .3s; }
.acc summary .pm::before, .acc summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform .35s var(--ease); }
.acc summary .pm::after { transform: rotate(90deg); }
.acc details[open] summary .pm { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.acc details[open] summary .pm::after { transform: rotate(0); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc details[open] .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { margin: 0 0 24px; max-width: 40em; color: var(--ink-2); }

/* ---------- Заявка ---------- */
.contact { border-radius: var(--r-lg); background: var(--ink); color: #F7F2EA; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ''; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: -20%; bottom: -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 40%, transparent), transparent); opacity: .55; }
.contact .h2 { color: #F7F2EA; }
.contact .eyebrow { color: rgba(255,255,255,.6); }
.contact__copy { display: flex; flex-direction: column; gap: 22px; }
.contact__copy .lead { color: rgba(247,242,234,.72); }
.contact__list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 10px; }
.contact__list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background-color .25s, transform .35s var(--ease); }
.contact__list a:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.contact__list svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.contact__list small { display: block; font-size: 12px; color: rgba(247,242,234,.55); }
.contact__list b { font-weight: 600; }

.form { background: var(--surface); color: var(--ink); border-radius: var(--r-md); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.form__title { font: 600 1.25rem/1.2 var(--font-display); letter-spacing: -.02em; margin: 0 0 4px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg);
  transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { height: 88px; padding: 14px 16px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%2317140F' stroke-width='1.6' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in oklab, var(--ink) 30%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }
.field.is-invalid input { border-color: #D93B2B; background: #FFF6F4; }
.field__err { font-size: 12px; color: #C2321F; display: none; }
.field.is-invalid .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FFF1EE; color: #B42318; font-size: 14px; }
.form__error a { font-weight: 600; text-decoration: underline; }
.form__note {font-size: 12px; color: var(--muted); margin: 0; text-align: center; }
.form__note a { text-decoration: underline; }
.form:has(.form-done) { align-content: center; }
.form-done { display: grid; place-items: center; text-align: center; gap: 16px; padding: 24px 8px; animation: fadeUp .6s var(--ease); }
.form-done__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: color-mix(in oklab, var(--accent) 70%, var(--ink)); }
.form-done__icon svg { width: 28px; height: 28px; }
.form-done p { margin: 0; color: var(--ink-2); }

/* ---------- Подвал ---------- */
.footer { padding: clamp(56px, 8vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand img { height: 46px; width: auto; }
.footer__disc { display: inline-flex; align-self: start; justify-self: start; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.footer h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); transition: color .2s; }
.footer ul a:hover { color: var(--ink); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- Страница документа (политика) ---------- */
.doc { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(48px, 8vw, 96px); }
.doc__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 5vw, 56px); max-width: 760px; }
.doc__head .muted { margin: 0; font-size: 15px; }
.doc__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.doc__card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border-radius: var(--r-md); padding: 24px; }
.doc__label { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.doc__card dl { margin: 0; display: grid; gap: 14px; }
.doc__card dt { font-size: 13px; color: var(--muted); }
.doc__card dd { margin: 2px 0 0; font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.doc__card a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.doc__card a:hover { text-decoration-color: currentColor; }
.doc__body { max-width: 720px; color: var(--ink-2); }
.doc__body h2 { font: 600 clamp(1.15rem, 1.8vw, 1.35rem)/1.25 var(--font-display); letter-spacing: -.02em; color: var(--ink); margin: 40px 0 14px; }
.doc__body h2:first-child { margin-top: 0; }
.doc__body p { margin: 0 0 14px; }
.doc__body ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.doc__body li { position: relative; padding-left: 22px; }
.doc__body li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.doc-page .footer { padding-top: 28px; }
@media (max-width: 960px) {
  .doc__grid { grid-template-columns: 1fr; }
  .doc__card { position: static; }
}
@media (max-width: 720px) {
  .doc-page .header__phone { display: none; }
  .doc-page .header__actions > .btn { display: inline-flex; }
  .doc-page .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

/* ---------- Мобильная плашка CTA ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: none; gap: 8px; padding: 8px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -12px rgba(0,0,0,.45); transform: translateY(140%); transition: transform .5s var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; --h: 48px; }
.sticky-cta .btn--wa { flex: none; width: 48px; padding: 0; background: #25D366; color: #fff; }

/* ---------- Карточка товара (dialog) ---------- */
.sheet { border: 0; padding: 0; margin: 0 0 0 auto; width: min(600px, 100%); max-width: 100%; height: 100%; max-height: 100%; background: var(--bg); color: var(--ink); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; animation: slideIn .55s var(--ease); }
.sheet.is-closing { animation: slideOut .35s var(--ease) forwards; }
.sheet::backdrop { background: rgba(23, 20, 15, .45); backdrop-filter: blur(4px); animation: fadeIn .4s; }
/* прокрутка карточки без видимых полос: колесо, тачпад и свайп работают как обычно */
.sheet__scroll { overflow-x: hidden; overflow-y: auto; flex: 1; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
.sheet__scroll::-webkit-scrollbar { display: none; }
.sheet__media { position: relative; background: var(--tint); height: clamp(260px, 42vh, 400px); display: grid; place-items: center; overflow: hidden; }
.sheet__media img { position: absolute; left: 10%; top: 9%; height: 82%; width: 80%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.3)); animation: fadeUp .8s .1s var(--ease) both; }
.sheet__close { position: absolute; right: 16px; top: 16px; background: rgba(255,255,255,.85); border-color: transparent; }
.sheet__body { padding: 28px clamp(20px, 4vw, 36px) 36px; display: grid; gap: 28px; }
.sheet__body > header { display: grid; gap: 12px; }
.sheet__body h3 { font: 600 clamp(1.6rem, 3vw, 2rem)/1.05 var(--font-display); letter-spacing: -.03em; margin: 0; }
.sheet__body p { margin: 0; color: var(--ink-2); }
.sheet__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.comps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.comp { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-sm); background: var(--surface); font-size: 14px; line-height: 1.3; }
.comp b { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); font: 600 14px/1 var(--font-display); color: color-mix(in oklab, var(--accent) 60%, var(--ink)); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.result { padding: 16px; border-radius: var(--r-sm); background: var(--ink); color: #F7F2EA; display: grid; gap: 8px; align-content: start; }
.result strong { font: 600 1.7rem/1 var(--font-display); letter-spacing: -.04em; color: var(--accent); }
.result span { font-size: 13px; line-height: 1.35; color: rgba(247,242,234,.75); }
.dosage { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-sm); border: 1px dashed color-mix(in oklab, var(--ink) 25%, transparent); font-size: 15px; }
.dosage svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.sheet__foot { display: flex; align-items: center; gap: 12px; padding: 14px clamp(20px, 4vw, 36px) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 90%, transparent); }
.sheet__foot .price { margin-right: auto; }
.sheet__foot .price strong { white-space: nowrap; font-size: clamp(1.05rem, 4vw, 1.3rem); }
.sheet__foot .btn--wa { width: 54px; padding: 0; background: #25D366; color: #fff; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; translate: -50% 150%; background: var(--ink); color: var(--bg); padding: 14px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: translate .5s var(--ease), visibility 0s .5s; pointer-events: none; visibility: hidden; }
.toast.is-on { translate: -50% 0; visibility: visible; transition-delay: 0s; }

/* ---------- Появление ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
/* первый экран анимируется сразу при загрузке, без ожидания скролла */
.hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: fadeUp .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-.6deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideOut { to { transform: translateX(100%); } }
@keyframes slideUp { from { transform: translateY(100%); } }
@keyframes slideDown { to { transform: translateY(100%); } }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__actions { margin-left: auto; }
  .burger { display: inline-block; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero__grid, .bundle, .founder, .faq, .contact, .section__head { grid-template-columns: 1fr; }
  .section__head .lead { justify-self: start; }
  .hero__copy { padding-bottom: 0; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step__num { margin-bottom: 20px; }
  .faq__aside { position: static; }
  .bundle__media { min-height: 280px; }
  .bundle__media img { width: 92%; right: 4%; }
  .founder__photo { max-width: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header__phone, .header__actions > .btn { display: none; }
  .products { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 12px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .chip-stat { max-width: calc(100% - 28px); padding: 12px 16px; }
  .chip-stat strong { font-size: 1.6rem; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { min-height: 0; }
  .benefit__icon { margin-bottom: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .comps, .results { grid-template-columns: 1fr; }
  .result { grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .sticky-cta { display: flex; }
  .announce__row { font-size: 13px; justify-content: flex-start; text-align: left; }
  .announce__label { display: none; }
  .sheet { width: 100%; height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .sheet[open] { animation-name: slideUp; }
  .sheet.is-closing { animation-name: slideDown; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero .h-display .hl path { stroke-dashoffset: 0; }
}
