/* ============================================================================
   ФИРУЛИН 10000 — MAIN STYLESHEET
   ----------------------------------------------------------------------------
   Дизайн: editorial / sunset-gradient (Raleway + Open Sans).
   Структура файла:
     1.  DESIGN TOKENS (:root)
     2.  BASE / RESET
     3.  LAYOUT HELPERS (.wrap, .container)
     4.  BUTTONS
     5.  SECTION PRIMITIVES (теги, заголовки)
     6.  REVEAL / АНИМАЦИИ
     7.  NAV
     8.  HERO
     9.  MARQUEE
     10. ENZYMES (О ферментах)
     11. COMPARISON (Не все препараты одинаковы)
     12. ABOUT (О препарате + ферменты капсулы)
     13. INSTRUCTIONS (аккордеон)
     14. WHERE TO BUY (партнёры)
     15. FOOTER
     16. FIXED CTA
     17. RESPONSIVE
============================================================================ */


/* ============================================================
   1. DESIGN TOKENS
============================================================ */
:root{
  /* Чернила / текст */
  --ink: #4c1c62;
  --ink-soft: #4c1c62;
  --muted: #4c1c62;
  --line: rgba(26,15,31,.12);

  /* Тёмные поверхности (кнопки, футер, тёмные бейджи) — НЕ текст */
  --dark: #1a0f1f;

  /* Фоны */
  --cream: #f7f1e8;
  --cream-2: #efe6d7;
  --paper: #fbf6ee;

  /* Бренд — sunset / plum */
  --plum-950:#1b0a2a;
  --plum-900:#2a0f3d;
  --plum-800:#3a1557;
  --plum-700:#5b1e82;
  --magenta:#c8298a;
  --pink:#ff5aa0;
  --coral:#ff7a4d;
  --amber:#ffb23a;
  --yellow:#ffd15c;
  --cyan:#5ec8ff;
  --violet:#8a5cff;

  /* Радиусы */
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;

  /* Шрифты */
  --display: 'Raleway', system-ui, -apple-system, sans-serif;
  --sans: 'Open Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Переходы */
  --transition: 200ms ease;
}


/* ============================================================
   2. BASE / RESET
============================================================ */
*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font: inherit; cursor:pointer; border: none; background:none; color:inherit; }


/* ============================================================
   3. LAYOUT HELPERS
============================================================ */
.wrap{ max-width: 1280px; margin: 0 auto; padding: 0 32px; }


/* ============================================================
   4. BUTTONS
============================================================ */
.btn-primary{
  display:inline-flex; align-items:center; gap:10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--paper);
  font-weight: 600;
  font-size: 16px;
  transition: transform var(--transition), background var(--transition);
}
.btn-primary:hover{ background: var(--plum-800); transform: translateY(-1px); }
.btn-primary .arrow{ transition: transform var(--transition); }
.btn-primary:hover .arrow{ transform: translateX(4px); }

.btn-ghost{
  display:inline-flex; align-items:center; gap:10px;
  padding: 16px 22px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  border: 1px solid var(--line);
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost:hover{ background: rgba(255,255,255,.7); border-color: var(--dark); }


/* ============================================================
   5. SECTION PRIMITIVES
============================================================ */
.section{ padding: 60px 0; position: relative; }

.section-head{
  /* display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 14px;
  align-items: end; */
}
.section-tag{
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--magenta);
  display:flex; align-items:center; gap: 10px;
}
.section-tag::before{
  content:''; width: 28px; height: 1px; background: currentColor;
}
h2.section-title{
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 0;
}
h2.section-title em{
  font-style: normal; font-weight: 800;
  background: linear-gradient(100deg, var(--coral) 0%, var(--magenta) 45%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub{
  font-size: 19px;
  color: var(--ink-soft);
  /* max-width: 540px; */
  text-align: center;
  line-height: 1.5;
  margin-bottom: 48px;
}


/* ============================================================
   6. REVEAL / АНИМАЦИИ
   Класс .reveal + IntersectionObserver (см. main.js)
============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{ opacity: 1; transform: none; }
.reveal-delay-1{ transition-delay: .08s; }
.reveal-delay-2{ transition-delay: .16s; }
.reveal-delay-3{ transition-delay: .24s; }
.reveal-delay-4{ transition-delay: .32s; }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; }
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior: auto; }
}


/* ============================================================
   7. NAV
============================================================ */
.nav{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(251,246,238,.72);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.nav.scrolled{ box-shadow: 0 8px 30px -18px rgba(27,10,42,.4); }
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 68px;
}
.brand{
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  display:flex; align-items:center; gap:10px;
}
.brand-mark{
  width: 28px; height: 28px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--yellow) 0%, var(--coral) 35%, var(--magenta) 70%, var(--plum-700) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand sup{ font-size:.55em; font-family: var(--sans); font-weight:500; color: var(--muted); }
.brand-logo{ height: 38px; width: auto; display: block; }
.nav-links{ display:flex; gap: 32px; font-size: 15px; color: var(--ink-soft); font-weight:500; }
.nav-links a{ transition: color var(--transition); }
.nav-links a:hover{ color: var(--magenta); }
.nav-links a.accent{ color: var(--magenta); }
.nav-actions{ display:flex; align-items:center; gap: 14px; }
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--dark); color: var(--paper);
  font-size: 15px; font-weight:600;
  transition: transform var(--transition), background var(--transition);
}
.nav-cta:hover{ background: var(--plum-800); transform: translateY(-1px); }
.nav-cta .dot{ width:6px; height:6px; border-radius:50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }

/* Переключатель языков */
.lang-switch{
  display:inline-flex; align-items:center;
  border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; font-family: var(--sans);
}
.lang-switch a{
  padding: 7px 12px; font-size: 13px; font-weight:600;
  color: var(--ink-soft); line-height: 1;
  transition: background var(--transition), color var(--transition);
}
.lang-switch a.active{ background: var(--magenta); color: #fff; }
.lang-switch a:not(.active):hover{ color: var(--magenta); }

/* Бургер (мобайл) */
.burger{
  display:none;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
}
.burger span{
  position:absolute; left: 11px; width: 20px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger span:nth-child(1){ top: 15px; }
.burger span:nth-child(2){ top: 20px; }
.burger span:nth-child(3){ top: 25px; }
.burger.open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }


/* ============================================================
   8. HERO
============================================================ */
.hero{
  position: relative;
  padding: 72px 0 120px;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;   /* поверх анимированной волны */
  z-index: 1;
}

/* Анимированная разноцветная волна (canvas) — слой ниже контента */
.hero-flow{
  position: absolute;
  /* Шире hero: сужающиеся концы ленты уходят за видимую область (hero — overflow:hidden) */
  left: -14%;
  right: auto;
  bottom: -40px;
  width: 128%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
  /* Постоянное размытие + «дыхание» только по прозрачности */
  filter: blur(6px);
  animation: hero-flow-breathe 9s ease-in-out infinite;
  will-change: opacity;
}
@keyframes hero-flow-breathe{
  0%,  100%{ opacity: .55; }
  50%{       opacity: .95; }
}
@media (prefers-reduced-motion: reduce){
  .hero-flow{ animation: none; opacity: .85; }
}
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255,255,255,.5);
}
.eyebrow .pulse{
  width:8px; height:8px; border-radius:50%;
  background: var(--coral);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(255,122,77,.55); }
  50%{ box-shadow: 0 0 0 8px rgba(255,122,77,0); }
}
h1.display{
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 3.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 24px 0 24px;
  color: var(--ink);
}
h1.display em{
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(100deg, var(--coral) 0%, var(--magenta) 45%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede{
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.5;
}
.hero-ctas{
  display:flex; gap: 14px; margin-top: 36px; align-items: center; flex-wrap:wrap;
}
.play-icon{
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--magenta));
  display:grid; place-items:center; color:white; font-size:9px;
}

/* Статистика под hero */
.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-num{
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num .unit{ font-size: 20px; color: var(--muted); margin-left: 2px; }
.stat-lbl{ font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.35; max-width: 160px; }

.hero-stat .stat-icon{ width: 44px; height: 44px; object-fit: contain; display: block; }
.stat-title{ font-size: 15px; font-weight: 700; color: var(--text); margin-top: 12px; line-height: 1.3; }
.hero-stat .stat-lbl{ margin-top: 4px; }

/* Hero визуал */
.hero-visual{
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.hero-disc{
  position:absolute; inset: 4% 4% 0 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 35%, #ffd861 0%, #ff9a3a 32%, #ff5e8a 60%, #9a2fb8 88%, #3a1557 100%);
  filter: saturate(1.05);
  box-shadow: 0 40px 80px -30px rgba(200,41,138,.55), 0 20px 50px -20px rgba(138,92,255,.35);
}
.hero-disc::after{
  content:'';
  position:absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 70%, rgba(255,255,255,0) 55%, rgba(27,10,42,.35) 100%);
}
.hero-img{
  position:absolute; inset: 0;
  width:100%; height:100%;
  object-fit: contain;
  object-position: center 58%;
  z-index: 2;
  filter: drop-shadow(0 40px 40px rgba(27,10,42,.25));
}
.hero-wave{
  position:absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .9;
}
.hero-badge{
  position:absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px -20px rgba(27,10,42,.3);
  display:flex; gap:12px; align-items:center;
  z-index: 5;
  font-size: 14px;
}
.badge-top{ top: 6%; right: -4%; }
.badge-bot{ bottom: 8%; left: -8%; }
.badge-icon{
  width: 36px; height: 36px; border-radius: 10px;
  display:grid; place-items:center;
  font-family: var(--display); font-size: 18px; font-weight:600; color:white;
}
.badge-top .badge-icon{ background: linear-gradient(135deg, var(--coral), var(--magenta)); }
.badge-bot .badge-icon{ background: linear-gradient(135deg, var(--violet), var(--plum-700)); }
.badge strong{ display:block; font-weight:600; font-size: 15px; }
.badge span{ color: var(--muted); font-size: 13px; }

/* Упаковка поверх девушки */
.hero-pack{
  position:absolute;
  bottom: -2%;
  left: 50%;
  width: 58%;
  transform: translateX(-50%);
  z-index: 4;
  filter: drop-shadow(0 35px 45px rgba(27,10,42,.35));
  animation: floaty 7s ease-in-out infinite;
}

/* Плавающие капсулы */
.float-pill{
  position:absolute;
  width: 120px;
  filter: drop-shadow(0 30px 30px rgba(27,10,42,.25));
  z-index: 4;
  animation: floaty 6s ease-in-out infinite;
}
.float-pill.fp1{ top: 10%; left: -6%; rotate: -18deg; animation-delay: 0s; }
.float-pill.fp2{ bottom: 4%; right: -4%; rotate: 22deg; animation-delay: 1.2s; }
@keyframes floaty{
  0%,100%{ translate: 0 0; }
  50%{ translate: 0 -14px; }
}

/* Декоративные волны фона */
.deco-wave{ position:absolute; pointer-events:none; opacity: .55; }


/* ============================================================
   9. MARQUEE — бегущая строка симптомов
============================================================ */
.marquee{
  border-block: 1px solid var(--line);
  background: var(--cream);
  overflow:hidden;
  padding: 22px 0;
}
.marquee-track{
  display:flex; gap: 72px;
  white-space:nowrap;
  animation: scroll 42s linear infinite;
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}
.marquee-track span{ display:inline-flex; align-items:center; gap: 72px; }
.marquee-dot{ color: var(--magenta); }
@keyframes scroll{ to{ transform: translateX(-50%); } }


/* ============================================================
   10. ENZYMES — О ферментах (3 карточки)
============================================================ */
.enzymes-grid{
  display:flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}
.enzyme-card{
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display:flex; align-items:center;
  gap: 48px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.enzyme-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(27,10,42,.35);
}
.enzyme-card__body{
  flex: 1 1 58%;
  display:flex; flex-direction:column;
}
.enzyme-card__media{
  flex: 1 1 32%;
  max-width: 280px;
  aspect-ratio: 0.9 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.enzyme-card__media img{
  width: 100%; height: 100%;
  object-fit: cover;
}
.enzyme-card__num{
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .12em;
  color: var(--muted); margin-bottom: 18px;
}
.enzyme-card__title{
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 14px;
}
.enzyme-card__text{
  font-size: 16px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.55;
}
.enzyme-card__note{
  font-size: 15px; color: var(--muted); margin: auto 0 0;
  padding-top: 16px; border-top: 1px solid var(--line); line-height: 1.5;
}
.enzyme-card__list{
  margin: 0; padding: 0; list-style: none;
  display:flex; flex-direction:column; gap: 10px;
}
.enzyme-card__list li{
  position: relative; padding-left: 26px;
  font-size: 16px; color: var(--ink-soft); line-height: 1.45;
}
.enzyme-card__list li::before{
  content:''; position:absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--magenta));
}


/* ============================================================
   11. COMPARISON — Не все препараты одинаковы (VS)
============================================================ */
.comparison{
  background: var(--cream);
}
.comparison .section-head{ margin-bottom: 56px; }
.vs{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.vs-side{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
.vs-side--good{ border-color: rgba(200,41,138,.4); box-shadow: 0 30px 60px -34px rgba(200,41,138,.45); }
.vs-side__head{
  display:flex; align-items:center; gap: 12px; margin-bottom: 24px;
}
.vs-badge{
  width: 36px; height: 36px; border-radius: 50%;
  display:grid; place-items:center; color:white; flex-shrink:0;
}
.vs-badge--bad{ background: var(--dark); }
.vs-badge--good{ background: linear-gradient(135deg, var(--coral), var(--magenta)); }
.vs-side__head h3{
  font-family: var(--display); font-weight: 500; font-size: 22px;
  letter-spacing: -0.015em; margin: 0; line-height: 1.15; text-align:left;
}
.vs-pill{
  position: relative;
  display:grid; place-items:center;
  margin: 8px 0 24px; min-height: 120px;
}
.vs-pill img{ width: 130px; object-fit: contain; }
.vs-pill .pill-size{
  position:absolute; bottom: -4px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.vs-text{ font-size: 16px; color: var(--ink-soft); line-height: 1.55; margin: 0; }
.vs-text sup{ color: var(--magenta); }

.vs-divider{
  display:grid; place-items:center; padding: 0 24px;
}
.vs-divider__badge{
  width: 56px; height: 56px; border-radius: 50%;
  display:grid; place-items:center;
  background: var(--dark); color: var(--paper);
  font-family: var(--display); font-weight: 600; font-size: 18px; font-style: italic;
}
.comparison-cta{ margin-top: 48px; text-align:center; }


/* ============================================================
   12. ABOUT — О препарате + ферменты (тёмная секция)
============================================================ */
.about{
  background: linear-gradient(180deg, var(--plum-900) 0%, var(--plum-800) 40%, var(--plum-700) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.about::before{
  content:'';
  position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(255,178,58,.22), transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(200,41,138,.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 75% 15%, rgba(138,92,255,.3), transparent 60%);
}
.about .wrap{ position:relative; z-index:1; }
.about .section-tag{ color: var(--yellow); }
.about h2.section-title em{
  font-style: normal; font-weight: 800;
  background: linear-gradient(100deg, var(--coral) 0%, var(--magenta) 45%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about .section-sub{ color: rgba(251,246,238,.78); }

.about-grid{
  display:grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}

/* Капсула-визуал */
.capsule-stage{
  position:relative;
  aspect-ratio: 1.1 / 1;
  display:grid; place-items:center;
}
.capsule-glow{
  position:absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.10), transparent 60%);
}
.capsule{
  position: relative;
  width: 70%;
  filter: drop-shadow(0 50px 50px rgba(0,0,0,.5));
  animation: tilt 8s ease-in-out infinite;
}
@keyframes tilt{
  0%,100%{ transform: translateY(0) rotate(-2deg); }
  50%{ transform: translateY(-16px) rotate(2deg); }
}
.orbit{
  position:absolute; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.18);
}
.orbit.o1{ inset: 6%; }
.orbit.o2{ inset: 16%; }

/* Ферменты-список */
.enzymes-list{ display:flex; flex-direction:column; gap: 0; }
.enzyme-row{
  display:grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items:start;
  padding: 26px 0;
  border-top: 1px solid rgba(251,246,238,.12);
}
.enzyme-row:first-child{ border-top: none; padding-top: 0; }
.enzyme-row__value{
  font-family: var(--display);
  font-weight: 300;
  font-size: 40px;
  line-height: 0.95;
  background: linear-gradient(135deg, var(--yellow), var(--coral), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.enzyme-row__name{
  font-family: var(--display);
  font-weight: 500; font-size: 22px; letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.enzyme-row__desc{
  margin: 0; color: rgba(251,246,238,.7); font-size: 16px; line-height: 1.55;
}


/* ============================================================
   12b. HOW IT WORKS — Как работает (3 карточки-шага)
============================================================ */
.how-steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.step{
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  position:relative;
  overflow:hidden;
  min-height: 340px;
  display:flex; flex-direction:column; justify-content: space-between;
  transition: transform .3s ease;
}
.step:hover{ transform: translateY(-6px); }
.step:nth-child(1){ background: linear-gradient(160deg, #fff0df 0%, #ffe0b8 100%); }
.step:nth-child(2){ background: linear-gradient(160deg, #ffe0eb 0%, #ffbcd9 100%); }
.step:nth-child(3){ background: linear-gradient(160deg, #e9dcff 0%, #c7b0ff 100%); }
.step-num{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-soft);
}
.step-icon{
  font-family: var(--display);
  font-size: 88px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.04em;
  opacity: .92;
}
.step h3{
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.1;
}
.step p{
  font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55;
}

/* Вариант «в один ряд» — текст слева, изображение справа (главная страница) */
.how-steps--split{
  display:flex;
  align-items: stretch;
  gap: 56px;
}
.how-steps__list{
  flex: 1 1 55%;
  display:flex; flex-direction:column;
}
.step.step--flat{
  padding: 28px 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  min-height: 0;
  background: none;
  display:block;
  text-align: left;
}
.step.step--flat:last-child{ border-bottom: 1px solid var(--line); }
.step.step--flat:hover{ transform: none; }
.step--flat .step-num{ margin-bottom: 10px; }
.step--flat h3{ margin: 0 0 8px; font-size: 22px; }
.how-steps__media{
  flex: 1 1 38%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.how-steps__media img{
  width: 100%; height: 100%; object-fit: cover;
}


/* ============================================================
   13. INSTRUCTIONS — Инструкция (аккордеон)
============================================================ */
.instructions .section-head{ grid-template-columns: 1fr; gap: 16px; }
.instr-list{ max-width: 920px; margin: 48px auto 0; }
details.qa{
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
details.qa:last-of-type{ border-bottom: 1px solid var(--line); }
details.qa summary{
  list-style:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between;
  gap: 40px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
details.qa summary::-webkit-details-marker{ display:none; }
.qa-toggle{
  flex-shrink:0;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  display:grid; place-items:center;
  font-size: 20px; font-weight: 300;
  transition: background var(--transition), color var(--transition), transform .3s;
}
details.qa[open] .qa-toggle{
  background: var(--dark); color: var(--paper); transform: rotate(45deg);
}
details.qa .answer{
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 760px;
}
details.qa .answer p{ margin: 0 0 12px; text-align:justify; }
details.qa .answer ul{ margin: 0; padding-left: 20px; }
details.qa .answer li{ margin-bottom: 8px; text-align:justify; }
details.qa .answer strong{ color: var(--ink); }

/* Ссылка «Скачать инструкцию» */
.instr-download{
  display:flex; align-items:center; justify-content:center; gap: 10px;
  width: fit-content;
  margin: 36px auto 0;
}


/* ============================================================
   14. WHERE TO BUY — Где купить (партнёры)
============================================================ */
.buy{ background: var(--cream); }
.buy .section-head{ grid-template-columns: 1fr; gap: 16px; text-align:center; justify-items:center; }
.buy .section-tag{ justify-content:center; }
.buy .section-sub{ max-width: 620px; }

.partners-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.partner{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display:flex; flex-direction:column; align-items:center; gap: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.partner:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(27,10,42,.4);
}
.partner__logo{ width: 120px; }
.partner__name{ font-weight: 600; font-size: 16px; color: var(--ink-soft); }
.buy__note{
  margin-top: 48px; text-align:center;
  font-size: 16px; color: var(--muted);
}


/* ============================================================
   15. FOOTER
============================================================ */
footer{
  background: var(--dark);
  color: rgba(251,246,238,.7);
  padding: 80px 0 32px;
}
.foot-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(251,246,238,.15);
}
.foot-grid h5{
  font-family: var(--mono); font-size: 12px; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(251,246,238,.45);
  margin: 0 0 20px;
}
.foot-grid ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.foot-grid a{ transition: color var(--transition); }
.foot-grid a:hover{ color: var(--paper); }
.foot-brand{
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin-bottom: 16px;
  display:flex; align-items:center; gap: 12px;
}
.foot-brand .brand-mark{ width: 34px; height: 34px; }
.foot-logo{ height: 46px; width: auto; display: block; }
.foot-brand sup{ font-size: .35em; color: rgba(251,246,238,.5); font-family: var(--sans); font-weight: 500; }
.foot-bottom{
  display:flex; justify-content:space-between; padding-top: 32px;
  font-size: 13px; color: rgba(251,246,238,.5);
  flex-wrap: wrap; gap: 16px;
}
.disclaimer{
  max-width: 900px; margin-top: 24px;
  font-size: 13px; line-height: 1.55;
  color: rgba(251,246,238,.5);
}


/* ============================================================
   16. FIXED CTA — плавающая кнопка
============================================================ */
.cta-fixed{
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display:inline-flex; align-items:center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: linear-gradient(130deg, var(--magenta), var(--coral));
  color: white; font-weight: 600; font-size: 16px;
  box-shadow: 0 18px 40px -16px rgba(200,41,138,.7);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.cta-fixed.show{ opacity: 1; transform: none; pointer-events: auto; }


/* ============================================================
   17b. SPECIALIST PAGE — Для специалистов здравоохранения
============================================================ */
/* Хедер-разделитель «для специалистов» */
.spec-banner{
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.spec-banner .wrap{
  display:flex; align-items:center; justify-content:center; gap: 18px;
  padding: 16px 32px;
}
.spec-banner__line{ flex: 1; height: 1px; background: var(--line); max-width: 220px; }
.spec-banner__badge{
  display:inline-flex; align-items:center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--magenta);
  white-space: nowrap;
}

/* Hero специалиста */
.spec-hero{ padding: 96px 0 0; }
.spec-hero .eyebrow{ margin-bottom: 24px; }
.spec-hero h1{
  font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.0; letter-spacing: -0.035em;
  margin: 0 0 24px; color: var(--ink);
}
.spec-hero h1 em{
  font-style: normal; font-weight: 800;
  background: linear-gradient(100deg, var(--coral) 0%, var(--magenta) 45%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spec-hero p{ font-size: 20px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* Блок-обёртка специалиста */
.spec-block{ margin-top: 96px; }
.spec-block > .section-tag{ margin-bottom: 14px; }
.spec-block > h2{
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08; letter-spacing: -0.03em;
  margin: 0 0 12px; max-width: 1000px;
}
.spec-block > h2 em{
  font-style: normal; font-weight: 800;
  background: linear-gradient(100deg, var(--coral) 0%, var(--magenta) 45%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spec-block > p.spec-sub{ font-size: 19px; color: var(--ink-soft); max-width: 640px; margin: 0 0 8px; line-height: 1.5; }

/* ЗФТ при ВНПЖ — поток с иллюстрацией */
.eft-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px; align-items:center; margin-top: 48px;
}
.eft-col{ display:flex; flex-direction:column; gap: 20px; }
.eft-item{
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px 22px;
  display:flex; gap: 16px; align-items:flex-start;
}
.eft-item__num{
  flex-shrink:0; width: 36px; height: 36px; border-radius: 50%;
  display:grid; place-items:center; color:white; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--coral), var(--magenta));
}
.eft-item__text{ margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.55; }
.eft-image{ display:grid; place-items:center; }
.eft-image img{ width: 100%; max-width: 320px; object-fit: contain; }

/* Современные требования — карточки с логотипами */
.guides-grid{
  display:grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 48px;
}
.guide-card{
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 32px;
  display:flex; flex-direction:column; gap: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.guide-card:hover{ transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(27,10,42,.35); }
.guide-card__logo{ height: 44px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; }
.guide-card__text{ margin: 0; font-size: 17px; color: var(--ink-soft); line-height: 1.6; font-style: italic; }

/* AGA 2023 — рекомендации */
.aga-grid{
  display:grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 48px;
}
.aga-card{
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 28px 26px;
  display:flex; gap: 16px; align-items:flex-start;
}
.aga-card__icon{
  flex-shrink:0; width: 40px; height: 40px; border-radius: 12px;
  display:grid; place-items:center; color:white;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
}
.aga-card p{ margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
.aga-card strong{ color: var(--ink); font-weight: 700; }

/* Источники */
.spec-refs{ margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--line); }
.spec-refs h4{
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 24px;
}
.spec-refs ol{ margin: 0; padding-left: 22px; display:flex; flex-direction:column; gap: 10px; }
.spec-refs li{ font-size: 14px; color: var(--muted); line-height: 1.5; }
.spec-refs li em{ font-style: italic; }
.spec-refs__disclaimer{
  margin-top: 28px; font-size: 14px; color: var(--ink-soft);
  line-height: 1.55; max-width: 900px;
}


/* ============================================================
   17. RESPONSIVE
============================================================ */
@media (max-width: 1024px){
  .section{ padding: 96px 0; }
  .section-head{ grid-template-columns: 1fr; gap: 16px; }
  .eft-grid{ grid-template-columns: 1fr; }
  .eft-image{ order: -1; }
  .guides-grid, .aga-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 960px){
  /* Волна шире вьюпорта и невысокая → тонкая лента, а не огромная клякса.
     Высоту НЕ привязываем к высокому hero (иначе волна гигантская/сжатая). */
  .hero-flow{ width: 200%; left: -50%; height: 42vh; bottom: 8%; }

  .hero-grid, .about-grid{ grid-template-columns: 1fr; gap: 48px; }
  .hero-stats{ grid-template-columns: 1fr; gap: 24px; }
  .vs{ grid-template-columns: 1fr; gap: 20px; }
  .how-steps{ grid-template-columns: 1fr; }
  .how-steps--split{ flex-direction: column-reverse; gap: 32px; }
  .how-steps__media{ width: 100%; aspect-ratio: 16 / 9; }
  .enzyme-card{ flex-direction: column; align-items: stretch; gap: 24px; }
  .enzyme-card__media{ max-width: 100%; aspect-ratio: 16 / 9; }
  .vs-divider{ padding: 8px 0; }
  .partners-grid{ grid-template-columns: repeat(2, 1fr); }
  .foot-grid{ grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Навигация → бургер */
  .nav-links{
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 24px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    z-index: 49;
  }
  .nav-links.open{ transform: none; }
  .nav-links a{ padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .burger{ display:block; }
  .nav-actions .nav-cta{ display:none; }
}

@media (max-width: 560px){
  /* Ещё шире и ещё тоньше на самых узких экранах */
  .hero-flow{ width: 320%; left: -110%; height: 34vh; bottom: 6%; }

  .wrap{ padding: 0 20px; }
  .section{ padding: 72px 0; }
  .partners-grid{ grid-template-columns: 1fr; }
  .foot-grid{ grid-template-columns: 1fr; }
  .hero{ padding: 48px 0 80px; }
  .badge-top{ right: 0; }
  .badge-bot{ left: 0; }
  .cta-fixed span{ display:none; }
}
