/* ============================================================
   HUMN — TOTALITY. Кинематографичное затмение.
   Сквозной космос + золотая корона + тёплый съедобный премиум.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Космос / фоны */
  --bg: #0A0806;
  --bg-rise: #15100B;
  --surface: #1C160F;
  --surface-hover: #241C12;
  --hairline: #2A2118;
  --hairline-gold: rgba(232, 160, 76, 0.22);

  /* Золото */
  --gold-core: #F5B544;
  --gold: #E8A04C;
  --gold-deep: #B5631E;

  /* Текст */
  --text: #F5EEE3;
  --text-dim: #A89C88;
  --text-on-gold: #100B06;

  /* Градиенты */
  --grad-gold-text: linear-gradient(180deg, #F7C45A 0%, #F0A93C 45%, #B5631E 100%);
  --grad-gold-btn: linear-gradient(180deg, #F5B544 0%, #E8A04C 100%);
  --grad-section-rise: linear-gradient(180deg, #0A0806 0%, #15100B 50%, #0A0806 100%);

  /* Тени / свечения */
  --sh-card: 0 1px 0 rgba(245, 181, 68, 0.04) inset, 0 12px 40px -16px rgba(0, 0, 0, 0.8);
  --sh-card-hover: 0 0 0 1px rgba(232, 160, 76, 0.45), 0 20px 60px -20px rgba(0, 0, 0, 0.9), 0 0 40px -8px rgba(232, 160, 76, 0.18);
  --sh-gold-glow: 0 0 32px -4px rgba(245, 181, 68, 0.45), 0 0 80px -10px rgba(232, 160, 76, 0.30);
  --sh-btn-glow: 0 8px 24px -8px rgba(245, 181, 68, 0.5), 0 0 48px -12px rgba(232, 160, 76, 0.4);
  --sh-focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold-core);

  /* Радиусы */
  --r-xs: 4px;  --r-sm: 12px;  --r-md: 20px;  --r-lg: 28px;  --r-pill: 999px;

  /* Спейсинг (8px база) */
  --s1: 8px; --s2: 12px; --s3: 16px; --s4: 24px; --s5: 32px;
  --s6: 48px; --s7: 64px; --s8: 96px; --s9: 128px;

  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;

  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  --font-accent: "Playfair Display", "Times New Roman", serif;
  --font-numeric: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
em { font-style: normal; }

::selection { background: rgba(245, 181, 68, 0.28); color: var(--text); }

:focus-visible { outline: none; box-shadow: var(--sh-focus); border-radius: var(--r-xs); }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--gold-core); color: var(--text-on-gold);
  padding: 10px 18px; border-radius: var(--r-pill); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }
.container--narrow { max-width: 840px; }

.section { position: relative; padding-block: clamp(44px, 5.5vh, 72px); z-index: 1; }
:where(section[id]) { scroll-margin-top: calc(var(--nav-h) + 8px); }
.section--rise { background: var(--grad-section-rise); }

.section__head { max-width: 760px; margin-bottom: var(--s6); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--wide { max-width: 900px; }
.section__lead { margin-top: var(--s3); font-size: clamp(17px, 2vw, 20px); color: var(--text-dim); }

/* ---------- TYPO ---------- */
.eyebrow {
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.28em; color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow__tick { width: 28px; height: 1px; background: var(--gold); display: inline-block; }

.section__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 5vw, 64px); line-height: 1.06; letter-spacing: 0.01em;
  color: var(--text); margin-top: var(--s3);
}
.accent { font-family: var(--font-accent); font-style: italic; font-weight: 500;
  color: var(--gold); }

.stress { position: relative; display: inline-block; }
.stress__mark {
  position: absolute; left: 50%; top: 0;
  width: 0.42em; height: 0.22em;
  transform: translateX(-30%) translateY(0.075em) skewX(-15deg);
  fill: none; stroke: var(--gold); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round;
}

.num { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-weight: 700; display: inline-block; }
.num--gold {
  background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text;
  color: var(--gold); -webkit-text-fill-color: transparent;
}

/* ---------- WORDMARK ---------- */
.wordmark { display: inline-flex; align-items: center; gap: .42em; position: relative; }
.wordmark__text {
  font-family: var(--font-display); font-weight: 600; color: var(--text);
  letter-spacing: 0.42em; line-height: 1; padding-left: 0.21em;
}
.wordmark__arc {
  width: 0.62em; height: 0.62em; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, transparent 58%, var(--gold-core) 66%, var(--gold) 72%, transparent 86%);
  filter: drop-shadow(0 0 6px rgba(245, 181, 68, .5));
  transform: translateX(-0.3em);
}
.wordmark__by {
  font-family: var(--font-body, inherit); font-weight: 500; color: var(--text-dim);
  letter-spacing: 0.02em; font-size: 12px; text-transform: none; margin-left: .1em;
  white-space: nowrap; align-self: flex-end;
}
.wordmark--sm .wordmark__text { font-size: 19px; }
.wordmark--sm .wordmark__arc { display: none; }
.wordmark--md .wordmark__text { font-size: 30px; }
.wordmark--lg .wordmark__text { font-size: clamp(40px, 9vw, 104px); }
.wordmark--lg { margin-bottom: var(--s4); }
.wordmark--lg .wordmark__arc { display: none; } /* большой круг-затмение уже несёт мотив */
.wordmark--md .wordmark__by { font-size: 16px; }
.wordmark--lg { flex-direction: column; align-items: flex-end; }
.wordmark--lg .wordmark__by { font-size: clamp(15px, 2.2vw, 26px); margin-left: 0; line-height: 1; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 16px 32px; border-radius: var(--r-pill);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn .ic { width: 18px; height: 18px; }

.btn--gold { background: var(--grad-gold-btn); color: var(--text-on-gold); box-shadow: var(--sh-btn-glow); }
.btn--gold:hover { transform: scale(1.03); box-shadow: 0 10px 30px -8px rgba(245,181,68,.6), 0 0 60px -10px rgba(232,160,76,.5); }
.btn--gold:active { box-shadow: inset 0 3px 12px -4px rgba(120,60,10,.6), var(--sh-btn-glow); }

.btn--ghost { border: 1px solid var(--hairline-gold); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-core); box-shadow: var(--sh-gold-glow); }
.btn--ghost:hover .ic { transform: translateY(2px); }
.btn--ghost .ic { transition: transform .28s var(--ease); stroke: var(--gold); }

/* wipe-кнопка: золото проезжает слева-направо */
.btn--wipe { border: 1px solid var(--gold); color: var(--text); z-index: 0; }
.btn--wipe::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-gold-btn);
  transform: scaleX(0); transform-origin: left; transition: transform .42s var(--ease); z-index: -1;
}
.btn--wipe:hover { color: var(--text-on-gold); box-shadow: var(--sh-btn-glow); }
.btn--wipe:hover::before { transform: scaleX(1); }

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--lg { padding: 19px 44px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 8, 6, 0.72); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--hairline);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); width: 100%; }
.nav__links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--text-dim); position: relative; padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: auto; }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* мобильное меню */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
  background: rgba(10, 8, 6, 0.97); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: center; gap: var(--s5);
  padding: var(--s6) clamp(24px, 8vw, 64px);
  transform: translateX(100%); transition: transform .4s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; gap: var(--s4); }
.mobile-menu__links a { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 7vw, 34px); color: var(--text); padding: 8px 0; display: inline-block; }
.mobile-menu__links a:active { color: var(--gold); }
.mobile-menu__cta { align-self: flex-start; }

/* ============================================================
   ФОН: КОРОНА ЗАТМЕНИЯ (фиксированный слой)
   ============================================================ */
.eclipse-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.eclipse-corona {
  position: absolute; top: 50%; right: -10%;
  width: 90vmax; height: 90vmax;
  /* статичный градиент; интенсивность фазы — только через opacity/scale (композитор, без paint) */
  background: radial-gradient(closest-side,
    rgba(245, 181, 68, 0.22) 0%,
    rgba(232, 160, 76, 0.13) 32%,
    rgba(181, 99, 30, 0.05) 52%,
    rgba(10, 8, 6, 0) 70%);
  opacity: calc(0.30 + 0.55 * var(--phase, .4));
  transform: translateY(-50%) scale(calc(0.92 + 0.13 * var(--phase, .4)));
  will-change: opacity, transform;
}
/* ОРБИТЫ: единая фоновая система тонких эллиптических линий.
   Слой фиксированный, интенсивность по секциям (--orbA/--orbB/--orbC)
   и слабый параллакс (--orbPy) выставляет скролл-обработчик в script.js.
   Анимации — только transform и SMIL-точки, без фильтров. */
.orbits {
  position: absolute; left: 0; top: -4%;
  width: 100%; height: 108%;
  transform: translate3d(0, var(--orbPy, 0px), 0);
  will-change: transform;
}
.orb__line { fill: none; stroke: #C08A4E; stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbits__bucket { transition: opacity .6s var(--ease); }
.orbits__bucket--a { opacity: var(--orbA, .9); }
.orbits__bucket--b { opacity: var(--orbB, .6); }
.orbits__bucket--c { opacity: var(--orbC, .5); }
/* медленное «дыхание» орбит: лёгкий наклон туда-обратно, у всех разный период */
.orb--sway1, .orb--sway2, .orb--sway3 { transform-box: fill-box; transform-origin: center; }
.orb--sway1 { animation: orb-sway1 64s ease-in-out infinite alternate; }
.orb--sway2 { animation: orb-sway2 86s ease-in-out infinite alternate; }
.orb--sway3 { animation: orb-sway3 48s ease-in-out infinite alternate; }
@keyframes orb-sway1 { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@keyframes orb-sway2 { from { transform: rotate(1.8deg); } to { transform: rotate(-1.8deg); } }
@keyframes orb-sway3 { from { transform: rotate(-1.3deg); } to { transform: rotate(1.3deg); } }
.eclipse-noise {
  position: absolute; inset: 0; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; display: flex; flex-direction: column; align-items: stretch;
  padding-top: calc(var(--nav-h) + var(--s7)); padding-bottom: var(--s5); z-index: 1; }
.hero__inner { display: grid; grid-template-columns: 0.82fr 1.18fr; align-items: center; gap: clamp(16px, 2.4vw, 32px); width: 100%; }
.hero__eyebrow { margin-bottom: var(--s4); font-size: clamp(15px, 1.6vw, 19px); letter-spacing: 0.14em; white-space: nowrap; }
.hero__wordmark { margin-bottom: var(--s4); }
.hero__wordmark .wordmark__text { font-size: clamp(28px, 3.4vw, 40px); color: var(--gold); }
.hero__wordmark .wordmark__by { font-size: clamp(13px, 1.2vw, 15px); }
.hero__title {
  font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: var(--s4); text-transform: uppercase;
}
.hero__line { display: block; font-size: clamp(30px, 4vw, 52px); white-space: nowrap; }
.hero__title .dot { color: var(--gold-core); }
.hero__lead {
  max-width: none; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6;
  color: var(--text-dim); margin-bottom: var(--s5);
  text-align: justify;
}
.hero__lead--short { max-width: 460px; text-align: left; }

.hero__stats-inline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px clamp(10px, 1.6vw, 18px);
  margin-bottom: var(--s5); font-size: clamp(14px, 1.2vw, 16px); color: var(--text-dim);
}
.hero__stats-inline li { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.hero__stats-inline li + li::before { content: "·"; margin-right: clamp(10px, 1.6vw, 18px); color: var(--hairline-gold); }
.hero__stats-inline .num {
  font-family: var(--font-numeric); font-weight: 700; font-size: clamp(17px, 1.5vw, 19px); color: var(--gold);
}
.hero__stats-inline li.hero__stats-inline--tag { align-self: center; align-items: center; }
.hero__stats-inline li.hero__stats-inline--tag .ic { width: 15px; height: 15px; stroke-width: 1.8; color: var(--gold); flex-shrink: 0; }

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s5); }
.hero__cta .btn { flex: 0 0 auto; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__trust li {
  font-size: 12px; letter-spacing: .04em; color: var(--text-dim);
  border: 1px solid var(--hairline-gold); border-radius: var(--r-pill); padding: 6px 14px;
}

.hero__visual { position: relative; overflow: visible; }
.hero__visual img {
  width: 100%; max-width: 100%; margin-left: 0;
  display: block; position: relative;
}
.hero__glow {
  position: absolute; inset: -10% -10% -20% -10%; z-index: -1;
  background: radial-gradient(60% 55% at 60% 45%, rgba(245,181,68,.22), rgba(10,8,6,0) 70%);
  filter: blur(10px);
}
@media (max-width: 1024px) {
  .hero__visual img { width: 100%; max-width: 100%; margin-left: 0; }
}

/* ---------- 3 ПРОСТЫХ ШАГА (полоса под hero) ---------- */
.steps-strip { padding-block: 0 clamp(56px, 7vh, 96px); position: relative; z-index: 1; }
.steps-strip .container { display: flex; flex-direction: column; align-items: center; gap: var(--s5); text-align: center; }
.steps-strip__img { max-width: 640px; width: 100%; height: auto; border-radius: var(--r-md); }
.steps-strip__cta { display: flex; }

.scroll-hint {
  position: absolute; bottom: var(--s5); left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .26em; color: var(--text-dim);
}
.scroll-hint .ic { width: 16px; height: 16px; stroke: var(--gold); animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- icons ---------- */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   ПРЕИМУЩЕСТВА
   ============================================================ */
#benefits {
  background: #F3EEE2;
  padding-block: clamp(44px, 5.5vh, 64px);
  overflow: hidden;
  --surface: #FFFDF7;
  --surface-hover: #FBF7EC;
  --hairline: #E4DAC3;
  --hairline-gold: rgba(181, 99, 30, 0.28);
  --text: #241A10;
  --text-dim: #6E5F4A;
  --sh-card: 0 1px 2px rgba(120, 88, 42, .05), 0 24px 60px -32px rgba(120, 88, 42, .22);
  --sh-card-hover: 0 2px 4px rgba(120, 88, 42, .06), 0 34px 70px -30px rgba(120, 88, 42, .3);
}
/* мягкое асимметричное золотистое свечение за карточками */
#benefits::before,
#benefits::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
}
#benefits::before {
  width: 58vw; height: 36vw; right: -14%; top: 4%;
  background: radial-gradient(closest-side, rgba(232, 160, 76, .13), rgba(232, 160, 76, 0) 72%);
}
#benefits::after {
  width: 44vw; height: 30vw; left: -16%; bottom: -10%;
  background: radial-gradient(closest-side, rgba(245, 181, 68, .09), rgba(245, 181, 68, 0) 70%);
}
#benefits .container { position: relative; z-index: 1; max-width: 1520px; }
#benefits .section__head { max-width: none; margin-bottom: var(--s4); }
#benefits .section__title { font-size: clamp(32px, 4.4vw, 58px); }
#benefits .reveal { transform: translateY(16px); }
#benefits .reveal.in-view { transform: none; }
#comparison .section__head { max-width: none; }
#comparison .section__title { font-size: clamp(28px, 4.3vw, 54px); white-space: nowrap; }
@media (max-width: 900px) {
  #comparison .section__title { white-space: normal; }
}
/* заголовок «Когда пригодится» — всегда ровно 2 строки */
#scenarios { padding-top: clamp(40px, 5vh, 64px); }
#scenarios .section__head { max-width: none; margin-bottom: var(--s5); }
#scenarios-title { font-size: clamp(16px, 4.6vw, 54px); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 22px;
  padding: clamp(20px, 1.9vw, 28px) clamp(20px, 2vw, 28px); box-shadow: var(--sh-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card--accent {
  background: linear-gradient(160deg, #FFFBF0 0%, #FDF3DF 100%);
  border-color: rgba(181, 99, 30, .38);
  box-shadow: var(--sh-card), 0 0 44px -16px rgba(232, 160, 76, .32);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--sh-card-hover); }
  .card:hover .card__icon { box-shadow: 0 0 24px -6px rgba(232,160,76,.4); }
  .card:hover .card__icon img { transform: scale(1.07); }
}
.card__head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s2); }
.card__icon {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: block; flex-shrink: 0;
  border: 1px solid rgba(181, 99, 30, .18);
  box-shadow: 0 6px 18px -8px rgba(181, 99, 30, .25);
  transition: box-shadow .3s var(--ease);
}
.card__icon picture { display: block; width: 100%; height: 100%; }
.card__icon img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.card__bignum {
  display: inline-block; font-family: var(--font-numeric); font-weight: 700; font-size: clamp(40px, 5vw, 56px);
  line-height: 1; margin-bottom: var(--s4); color: var(--gold);
  background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.card__bignum span { font-variant-numeric: tabular-nums; }
.card__title { font-family: var(--font-body); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--text); letter-spacing: .01em; }
.card__text { font-size: 15px; color: var(--text-dim); line-height: 1.6; }

/* ============================================================
   КОГДА ПРИГОДИТСЯ — BENTO
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.bento__cell {
  position: relative; overflow: hidden; background: #F3EEE2; border: 1px solid #E4DAC3;
  border-radius: var(--r-md); padding: var(--s5); min-height: 180px;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 10px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.bento__cell:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 0 36px -12px rgba(232,160,76,.3); }
.bento__photo {
  position: absolute; inset: calc(-1 * var(--s5)); z-index: 0;
  background-repeat: no-repeat; background-size: cover; background-position: center center;
}
.bento__cell .bento__title, .bento__cell .bento__text { position: relative; z-index: 2; }
.bento__cell .bento__title { max-width: 46%; color: #241A10; }
.bento__cell .bento__text { max-width: 40%; color: #6E5F4A; }

/* 01–04 — широкие кадры с пустой зоной слева: фото на всю карточку, текст прямо на стене/фоне.
   Лёгкая кремовая растушёвка слева сливается со стеной и страхует читаемость там,
   где почти квадратная карточка срезает часть пустой зоны. */
.bento__cell--1 .bento__photo { background-size: cover; background-position: 75% 15%; }
.bento__cell--2 .bento__photo { background-size: cover; background-position: 50% 60%; }
.bento__cell--3 .bento__photo { background-size: cover; background-position: 65% 15%; }
.bento__cell--4 .bento__photo { background-size: cover; background-position: 50% 20%; }
/* лёгкий тёплый фильтр выравнивает тон фонов между фото, не пряча фигурные контуры */
.bento__photo { filter: sepia(.14) saturate(.9) brightness(1.04); }
/* 02 — мужчина в кадре целиком, окно кадра сдвинуто так, чтобы слева осталась стена под текст.
   auto 96% — лёгкий зум-аут: запас в 32px (inset фото за краями карточки) прячет щели. */
@media (min-width: 1025px) {
  .bento__cell--2 .bento__photo { background-size: auto 96%; background-position: 45% 50%; }
}

/* 05 — после спортзала: широкий кадр с пустой зоной слева, как 01–04.
   На планшете и десктопе (почти квадратная карточка) добавляем небольшой зум с высоты,
   чтобы поднять кадр и не срезать голову краем ячейки, и сдвигаем вправо к лицу. */
.bento__cell--5 .bento__photo { background-size: cover; background-position: 20% 15%; }
@media (min-width: 761px) {
  .bento__cell--5 .bento__photo { background-size: auto 115%; background-position: 55% 8%; }
}

/* 06 — за рулём: новое фото с чистой пустой зоной слева, как 01–05 — текст на стандартной левой раскладке.
   На планшете и десктопе зумим и сдвигаем к лицу; дверная рама — самое узкое место кадра,
   поэтому сдвиг умеренный, чтобы рама не заезжала на текст. */
.bento__cell--6 .bento__photo { background-size: cover; background-position: 20% 15%; }
@media (min-width: 761px) {
  .bento__cell--6 .bento__photo { background-size: auto 115%; background-position: 55% 5%; }
}
.bento__title { font-family: var(--font-body); font-weight: 600; color: var(--text); font-size: clamp(18px, 2vw, 22px); line-height: 1.25; }
.bento__text { font-size: 15px; color: var(--text-dim); line-height: 1.55; }

/* ============================================================
   СОСТАВ
   ============================================================ */
#composition {
  background: #F3EEE2;
  --surface: #FFFFFF;
  --surface-hover: #FBF7EC;
  --bg-rise: #F3EEE2;
  --hairline: #E4DAC3;
  --hairline-gold: rgba(181, 99, 30, 0.28);
  --text: #241A10;
  --text-dim: #6E5F4A;
}
#composition .comp__tab.is-active { color: var(--gold-deep); }
#composition .eyebrow { color: var(--gold-deep); }

.comp { display: grid; grid-template-columns: 1fr; gap: var(--s3); max-width: 820px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: clamp(18px, 2vw, 26px); box-shadow: var(--sh-card); }
.comp__tabs { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px; }
.comp__tab {
  text-align: center; padding: 12px 20px; border-radius: var(--r-pill); color: var(--text-dim);
  font-weight: 500; font-size: 17px; line-height: 1.2; position: relative; transition: color .25s var(--ease), background .25s var(--ease);
}
.comp__tab:hover { color: var(--text); background: var(--surface-hover); }
.comp__tab.is-active { color: var(--gold-core); background: var(--surface-hover); box-shadow: inset 0 0 0 1px var(--hairline-gold); }

.comp__panel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s3); animation: fadeUp .4s var(--ease); }
.comp__panel[hidden] { display: none; }
.comp__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.comp__name { font-family: var(--font-accent); font-weight: 500; font-style: italic; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; color: var(--text); margin-bottom: 6px; }
.comp__desc { font-size: 17px; color: var(--text-dim); line-height: 1.6; max-width: 68ch; margin: 0 auto; text-wrap: balance; }
.comp__sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.comp__sources li {
  position: relative; border: 1px solid var(--hairline-gold); border-radius: var(--r-pill);
  padding: 8px 16px; font-size: 14px; color: var(--text); background: var(--bg-rise);
  cursor: help; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.comp__sources li:hover, .comp__sources li:focus-visible { border-color: var(--gold); background: var(--surface-hover); }
.comp__sources li[data-tip]::after, .pile[data-tip]::after {
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px);
  width: 260px; max-width: 70vw; text-align: left; white-space: normal;
  background: #241A10; color: #F5EEE3; font-size: 13px; font-weight: 400; line-height: 1.55;
  padding: 12px 14px; border-radius: var(--r-sm); box-shadow: 0 14px 34px -10px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 5;
}
.comp__sources li[data-tip]:hover::after, .comp__sources li[data-tip]:focus-visible::after,
.pile[data-tip]:hover::after, .pile[data-tip]:focus-visible::after {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.comp__piles { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 5vw, 64px); }
.pile { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s3); max-width: 200px; cursor: help; }
.pile picture { display: block; height: 150px; }
.pile img { display: block; width: auto; height: 100%; max-width: 200px; object-fit: contain; mix-blend-mode: multiply; }
.pile__name { font-family: var(--font-accent); font-weight: 500; font-style: italic; font-size: 17px; color: var(--text); text-align: center; transition: color .2s var(--ease); }
.pile:hover .pile__name, .pile:focus-visible .pile__name { color: var(--gold-deep); }

/* ============================================================
   СРАВНЕНИЕ С ЕДОЙ
   ============================================================ */
.equation-visual { max-width: 1080px; margin-inline: auto; }
.equation-visual img { width: 100%; height: auto; display: block; }
.bzhu { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 1.4vw, 18px); }
.comparison .bzhu { margin-top: clamp(24px, 3.4vw, 44px); }
.bzhu li {
  flex: 1 1 140px; background: transparent;
  border: 1px solid var(--hairline-gold); border-radius: var(--r-md);
  padding: clamp(14px, 2vw, 24px) 16px;
  display: flex; flex-direction: column; align-items: center;
}
.bzhu .num { font-size: clamp(26px, 3vw, 40px); line-height: 1; }
.bzhu span:last-child { font-size: 13px; color: var(--text-dim); margin-top: 6px; }
.equation-note { text-align: center; margin-top: clamp(18px, 2.6vw, 30px); font-size: 13px; color: var(--text-dim); letter-spacing: .02em; }

/* ============================================================
   ЦЕНА
   ============================================================ */
.scales { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 4vw, 48px); max-width: 880px; margin-inline: auto; }
.scales__col { display: flex; flex-direction: column; align-items: center; gap: var(--s3); text-align: center;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: var(--s6) var(--s5); }
.scales__col--gold { border-color: var(--hairline-gold); box-shadow: var(--sh-gold-glow); }
.scales__ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hairline); color: var(--text-dim); }
.scales__col--gold .scales__ic { border-color: var(--hairline-gold); color: var(--gold); }
.scales__label { font-size: 14px; letter-spacing: .04em; color: var(--text-dim); text-transform: uppercase; }
.scales__vs { color: var(--gold); }
.scales__vs .ic { width: 40px; height: 40px; }

.price__verdict { text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3.2vw, 40px); color: var(--text); margin-top: var(--s7); line-height: 1.25; }
.price__cta { text-align: center; margin-top: var(--s5); }

/* ============================================================
   ВКУСЫ + ПРОДАЖА
   ============================================================ */
.flavor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.flavor {
  position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--s5); display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.flavor::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: radial-gradient(80% 70% at 50% 100%, var(--flavor) 0%, transparent 70%);
  opacity: .18; transition: opacity .3s var(--ease); pointer-events: none;
}
.flavor:hover, .flavor:focus-within { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--sh-card-hover); }
.flavor:hover::before, .flavor:focus-within::before { opacity: .34; }
.flavor-grid:hover .flavor:not(:hover),
.flavor-grid:focus-within .flavor:not(:focus-within) { opacity: .62; }
.flavor__img { position: relative; z-index: 1; margin-bottom: var(--s4); }
.flavor__img img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 42px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05); }
.flavor__name { position: relative; z-index: 1; font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: 26px; color: var(--text); margin-bottom: var(--s2); }
.flavor__note { position: relative; z-index: 1; font-size: 15px; color: var(--text-dim); line-height: 1.55; margin-bottom: var(--s3); }
.flavor__spec { position: relative; z-index: 1; font-size: 13px; color: var(--gold); letter-spacing: .02em; margin-bottom: var(--s4); margin-top: auto; }
.flavor .btn { position: relative; z-index: 1; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { border-top: 1px solid var(--hairline-gold); }
.faq__item { border-bottom: 1px solid var(--hairline-gold); position: relative; }
.faq__item.is-open { background: linear-gradient(90deg, rgba(245,181,68,.04), transparent 40%); }
.faq__item.is-open::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-core); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s4) var(--s4) var(--s4) var(--s3); text-align: left; font-weight: 500; font-size: clamp(17px, 2vw, 20px); color: var(--text); }
.faq__q:hover { color: var(--gold-core); }
.faq__plus { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.faq__plus::before { width: 16px; height: 1.6px; }
.faq__plus::after { width: 1.6px; height: 16px; }
.faq__item.is-open .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__item.is-open .faq__plus::before { transform: translate(-50%, -50%) rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > p { overflow: hidden; color: var(--text-dim); font-size: 16px; line-height: 1.7; padding-left: var(--s3); padding-right: 40px;
  max-width: 70ch; }
.faq__item.is-open .faq__a > p { padding-bottom: var(--s4); }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer { position: relative; padding-block: clamp(64px, 9vw, 112px) var(--s5); background: var(--bg); z-index: 1; overflow: hidden; }
.footer__horizon { position: absolute; top: 0; left: -10%; right: -10%; height: 200px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(245,181,68,.18), transparent 70%);
  border-top: 1px solid var(--hairline-gold); }
.footer__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s6); padding-top: var(--s6); align-items: start; }
.footer__about { margin-top: var(--s4); max-width: 38ch; font-size: 14px; color: var(--text-dim); }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { color: var(--text-dim); font-size: 15px; width: max-content; position: relative; }
.footer__nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.footer__nav a:hover { color: var(--text); }
.footer__nav a:hover::after { transform: scaleX(1); }
.footer__side { display: flex; flex-direction: column; gap: var(--s4); align-items: flex-start; }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline-gold); display: grid; place-items: center; color: var(--gold); transition: background .25s var(--ease), transform .25s var(--ease); }
.footer__socials a:hover { background: rgba(232,160,76,.12); transform: translateY(-3px); }
.footer__socials .ic { width: 20px; height: 20px; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--hairline); font-size: 13px; color: var(--text-dim); }
.footer__bottom a:hover { color: var(--gold); }

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
[data-stagger] > * { transition-delay: var(--d, 0ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s6); }
  .hero__visual { order: -1; max-width: 560px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
  .card__icon { width: 60px; height: 60px; }
  .card__title { font-size: 17px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .comp__tabs { flex-direction: row; flex-wrap: wrap; }
  .comp__tab { flex: 1 1 auto; }
  .comp__tab::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* шапка → бургер уже с планшета 900px */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }
  .nav { background: rgba(10, 8, 6, .72); backdrop-filter: blur(14px); border-bottom-color: var(--hairline); }
}

@media (max-width: 760px) {
  .section__head { margin-bottom: var(--s5); }
  .cards-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .scales { grid-template-columns: 1fr; }
  .scales__vs { transform: rotate(0); justify-self: center; }
  .flavor-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .flavor-grid:hover .flavor:not(:hover) { opacity: 1; }
  .footer__inner { grid-template-columns: 1fr; gap: var(--s5); }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* меньше слоёв на мобайле для перформанса */
@media (max-width: 760px) {
  .eclipse-noise { display: none; }
  .eclipse-corona { width: 130vmax; height: 130vmax; right: -40%; }
  .orbits__extra { display: none; }
}

/* ============================================================
   PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, #benefits .reveal { opacity: 1; transform: none; }
  .scroll-hint .ic { animation: none; }
  .eclipse-corona { transition: none; }
  .orb--sway1, .orb--sway2, .orb--sway3 { animation: none; }
  .orbits { transform: none; }
}
