/* ===== Токены ===== */
:root {
  --bg: #F8F0E5;
  --card: #FFFBF5;
  --olive-950: #2F3A1B;
  --olive-900: #3E4A26;
  --olive-800: #4E5E2C;
  --olive-700: #5C6D38;
  --olive-500: #6F8043;   /* акцентный курсив в тексте, контраст ≥ 3:1 на фоне */
  --olive-400: #8E9E62;   /* декоративный */
  --sage-400: #A7B57C;
  --sage-200: #CBD3A6;
  --sage-100: #E3E7CC;
  --line: #E4DACB;
  --muted: #66644F;
  --white: #FFFFFF;
  --todo: #F2C94C;

  --sans: "Manrope", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;

  --container: 1120px;
  --narrow: 820px;
  --wide: 1320px;
  --gutter: 16px;
  --section: 72px;
  --r-scene: 36px;
  --r-lg: 24px;
  --r-md: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 768px) { :root { --gutter: 40px; --section: 96px; --r-scene: 56px; } }
@media (min-width: 1200px) { :root { --section: 120px; --r-scene: 64px; } }

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--olive-900);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--olive-700); outline-offset: 3px; border-radius: 8px; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; }

.container { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding: var(--section) 0; }
.section--tight-top { padding-top: 0; }
.center { display: flex; justify-content: center; margin-top: 28px; }

/* ===== Кнопки и теги ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--olive-700);
  background: var(--olive-700); color: var(--white);
  font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--olive-800); border-color: var(--olive-800); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--olive-700); }
.btn--outline:hover { background: var(--olive-700); color: var(--white); }
.btn--glass { background: rgba(255, 251, 245, .7); color: var(--olive-800); border-color: rgba(92, 109, 56, .45); backdrop-filter: blur(8px); }
.btn--glass:hover { background: var(--white); color: var(--olive-800); }
.btn--light { background: var(--white); color: var(--olive-700); border-color: var(--white); }
.btn--light:hover { background: var(--bg); border-color: var(--bg); color: var(--olive-800); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
@media (min-width: 768px) { .btn { min-height: 48px; } }

.tag {
  display: inline-block; padding: 6px 14px;
  border-radius: 999px; background: var(--sage-200); color: var(--olive-900);
  font-size: 12px; line-height: 1.3; letter-spacing: .02em;
}
.tag--light { background: rgba(255, 251, 245, .85); backdrop-filter: blur(6px); }
.tag--onDark { background: rgba(255, 255, 255, .16); color: var(--white); }

.arrow {
  position: absolute; right: 16px; bottom: 16px;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--olive-900);
  transition: transform .35s var(--ease);
}
.arrow svg { width: 16px; height: 16px; }

/* ===== Заголовки секций ===== */
.h2 {
  max-width: 900px; margin: 0 auto 28px;
  text-align: center; font-weight: 500;
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -.015em;
  text-wrap: balance;
}
.h2 em { color: var(--olive-500); font-size: 1.12em; letter-spacing: 0; }
.h2--left { text-align: left; margin-left: 0; }
.h2-sub { margin: -14px 0 24px; text-align: center; color: var(--muted); font-size: 15px; }

/* ===== Шапка ===== */
.site-header {
  position: fixed; z-index: 50; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: min(calc(var(--wide) - 48px), calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-radius: 999px;
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(62, 74, 38, .1); }
.logo { font: 500 17px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; color: var(--olive-700); white-space: nowrap; }
.logo--light { color: var(--white); }
.nav { display: none; gap: 28px; }
.nav a { font-size: 14px; text-decoration: none; color: var(--olive-900); opacity: .8; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.header-actions { display: none; gap: 8px; }
.burger {
  display: grid; place-content: center; gap: 5px;
  width: 52px; height: 36px; border-radius: 999px; background: var(--olive-700);
}
.burger span { display: block; width: 18px; height: 1.6px; background: var(--white); border-radius: 2px; }
@media (min-width: 1024px) {
  .site-header { top: 16px; padding-left: 24px; }
  .nav, .header-actions { display: flex; }
  .burger { display: none; }
}

/* ===== Мобильное меню ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  padding: 20px var(--gutter) 28px;
  background: var(--olive-700); color: var(--white);
  opacity: 0; transition: opacity .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; padding-left: 8px; }
.mobile-menu__close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); }
.mobile-menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; }
.mobile-menu__nav a { font: italic 500 34px/1.15 var(--serif); text-decoration: none; }
.mobile-menu__bottom { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mobile-menu__bottom .btn { width: 100%; }
.socials { display: flex; gap: 10px; }
.socials a { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; font-size: 13px; text-decoration: none; }

/* ===== Сцены (общее) ===== */
.scene__layer { position: absolute; inset: -10% 0; z-index: -1; will-change: transform; pointer-events: none; }
.scene__layer > picture, .scene__layer > picture > img { display: block; width: 100%; height: 100%; }
.scene__layer > picture > img { object-fit: cover; }
.ph-label {
  position: absolute; right: 16px; bottom: 16px; z-index: 5;
  padding: 4px 10px; border-radius: 999px; background: var(--todo); color: #3a2f00; font-size: 11px;
}

/* ===== Первый экран ===== */
.hero { padding: 0 8px; }
@media (min-width: 768px) { .hero { padding: 0 24px; } }
.scene {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: var(--wide); margin: 8px auto 0;
  min-height: 100svh;
  border-radius: 20px 20px var(--r-scene) var(--r-scene);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 96px var(--gutter) 300px;
  background: #CFDCC5;
}
@media (min-width: 768px) { .scene { min-height: min(100svh, 980px); padding-top: 130px; padding-bottom: 56px; } }
@media (max-width: 767px) {
  .scene { min-height: 0; padding-bottom: 380px; }
  .scene__bg img { object-position: 60% 100%; }
}
.scene__bg img { object-position: 50% 60%; }
.scene__cloud { inset: -6% -8% auto; height: 70%; animation: drift 24s ease-in-out infinite alternate; }
.scene__cloud img { object-fit: contain; object-position: 50% 0; opacity: .95; }
@keyframes drift { from { translate: -3% 0; } to { translate: 3% 0; } }
.scene__fg { inset: auto 0 -6%; height: 70%; }
.plant { position: absolute; bottom: 0; height: 88%; width: auto; max-width: none; }
.plant--l { left: -7%; height: 76%; }
.plant--r { right: -3%; height: 100%; }
@media (max-width: 767px) {
  .scene__fg { inset: auto 0 4%; height: 30%; }
  .plant--l { left: -9%; }
  .plant--r { right: -8%; }
}
/* мягкая засветка под текстом, чтобы он читался на любой картинке */
.scene__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 52% at 50% 34%, rgba(248, 244, 232, .85), rgba(248, 244, 232, 0) 74%);
}

.hero__content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  margin: 14px 0 18px;
  font: 500 clamp(52px, 13vw, 132px)/.92 var(--serif);
  letter-spacing: -.02em; color: var(--olive-700);
}
.hero__role { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.hero__lead { max-width: 520px; margin-top: 10px; font-size: 15px; }
.hero__actions { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 360px; margin-top: 24px; }
.hero__note { max-width: 560px; margin-top: 18px; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--olive-950); }
.hero__note span { display: block; margin-top: 2px; color: var(--olive-800); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 19px; }
@media (min-width: 768px) { .hero__note { max-width: 760px; font-size: 16px; } .hero__note span { font-size: 20px; } }
@media (min-width: 768px) {
  .hero__lead { font-size: 16px; }
  .hero__actions { flex-direction: row; justify-content: center; width: auto; max-width: none; }
}

/* ===== Б2: первая встреча + выноска ===== */
.story { padding-bottom: 0; }
.story__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 56px; }
.story .tag { font-size: 14px; padding: 8px 18px; }
.stagger { font-size: 17px; line-height: 1.55; text-align: center; max-width: 560px; }
@media (min-width: 900px) {
  .story__inner { align-items: flex-start; padding-left: 12%; }
  .stagger { text-align: left; max-width: none; font-size: 19px; }
  .stagger span { display: block; }
  .stagger span:nth-child(2) { padding-left: 1.5em; }
  .stagger span:nth-child(3) { padding-left: 3em; }
  .stagger span:nth-child(4) { padding-left: 6em; }
  .stagger span:nth-child(5) { padding-left: 8em; }
  .stagger span:nth-child(6) { padding-left: 10em; }
}
.callout__text {
  max-width: 840px; margin: 0 auto; padding: 0 var(--gutter);
  text-align: center; font-size: clamp(26px, 4.2vw, 44px); line-height: 1.2; letter-spacing: -.015em;
  text-wrap: balance;
}
.callout__text em { color: var(--olive-500); font-size: 1.1em; }

/* ===== Б3: отметки ===== */
.checks { display: grid; gap: 10px; }
@media (min-width: 700px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.check {
  display: flex; gap: 14px; align-items: flex-start;
  width: 100%; height: 100%; min-height: 96px; padding: 18px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card);
  font-size: 15px; line-height: 1.45;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease);
}
.check:hover { border-color: var(--sage-400); transform: translateY(-2px); }
.check__box {
  flex: none; position: relative; width: 26px; height: 26px; margin-top: -1px;
  border-radius: 50%; border: 1.5px solid var(--olive-400);
  transition: background .25s, border-color .25s;
}
.check__box::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 7px; height: 12px;
  border: solid var(--olive-700); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  transition: transform .25s var(--ease);
}
.check[aria-pressed="true"] { background: var(--olive-700); border-color: var(--olive-700); color: var(--white); }
.check[aria-pressed="true"] .check__box { background: var(--white); border-color: var(--white); }
.check[aria-pressed="true"] .check__box::after { transform: rotate(45deg) scale(1); }
.checks-result { margin-top: 24px; text-align: center; min-height: 110px; }
.checks-result__count { color: var(--muted); font-size: 14px; }
.checks-result__done { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 8px; animation: pop .5s var(--ease); }
.checks-result__done[hidden] { display: none; }
.checks-result__text { font-size: clamp(26px, 3.4vw, 34px); color: var(--olive-700); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== Б4: быть живым ===== */
.alive { background: var(--sage-100); border-radius: var(--r-scene); margin: 0 8px; }
@media (min-width: 768px) { .alive { margin: 0 24px; } }
.alive .h2 { max-width: 760px; }
.alive__list { display: grid; gap: 0 48px; margin-top: 8px; }
@media (min-width: 768px) { .alive__list { grid-template-columns: repeat(2, 1fr); } }
.alive__list li {
  position: relative; padding: 16px 0 16px 34px;
  border-bottom: 1px solid rgba(92, 109, 56, .18);
  font-size: 17px; line-height: 1.45;
}
.alive__list li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #D4DAB6, var(--olive-700));
}

/* ===== К4: три карточки ===== */
.steps { display: grid; gap: 12px; }
.step {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 330px; padding: 20px;
  border-radius: var(--r-lg); text-decoration: none;
  transition: transform .35s var(--ease);
}
.step__body { position: relative; }
@media (min-width: 600px) and (max-width: 1023px) { .step { min-height: 260px; padding-right: 42%; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { min-height: 440px; } }
.step--dark { background: var(--olive-700); color: var(--white); }
.step--mid { background: var(--sage-400); color: var(--olive-950); }
.step--light { background: var(--sage-200); color: var(--olive-950); }
.step:hover { transform: translateY(-4px); }
.step:hover .arrow, .step.is-open .arrow { transform: rotate(45deg); }
.obj { animation: breathe 7s ease-in-out infinite; will-change: transform; }
.step .obj { position: absolute; top: 4px; right: 4px; width: 170px; height: auto; }
@media (min-width: 600px) and (max-width: 1023px) { .step .obj { top: 50%; right: 8%; width: 30%; margin-top: -15%; } }
@media (min-width: 1024px) { .step .obj { width: 54%; } }
.step:nth-child(2) .obj { animation-delay: -2.3s; }
.step:nth-child(3) .obj { animation-delay: -4.6s; }
@keyframes breathe { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(-2deg); } }
.step__title { font-size: 21px; font-weight: 500; line-height: 1.2; }
.step__text { margin-top: 8px; font-size: 13px; line-height: 1.45; opacity: .92; }
.step__link {
  display: inline-block; margin: 14px 56px 0 0;
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

.kits {
  position: absolute; inset: 8px; z-index: 3;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 16px; border-radius: 18px; background: var(--card);
}
.kits[hidden] { display: none; }
.kit {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; padding: 14px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 15px; color: var(--olive-900); text-align: left; cursor: default;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.kit__name { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.kit__name::after { content: " ↗"; }
.kit__soon {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 20px;
  opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
/* «Скоро» – только у кнопок аптечек, которых ещё нет; у ссылок текст остаётся на месте */
button.kit:hover, button.kit:focus-visible, .kit.is-soon { background: var(--sage-200); border-color: var(--sage-200); }
button.kit:hover .kit__name, button.kit:focus-visible .kit__name, .kit.is-soon .kit__name { opacity: 0; transform: translateY(-6px); }
button.kit:hover .kit__soon, button.kit:focus-visible .kit__soon, .kit.is-soon .kit__soon { opacity: 1; transform: none; }
.kit__name { display: block; width: 100%; }
.kit__name::after { float: right; }
.step.is-open .arrow { z-index: 4; }

/* ===== Б6: обо мне ===== */
.about { padding: var(--section) 0 0; }
.about__band { background: var(--olive-700); color: var(--white); }
.about__inner {
  max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 var(--gutter) 48px;
  display: grid; gap: 28px;
}
.about__photo { display: block; margin-top: -40px; border-radius: var(--r-lg); overflow: hidden; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.about__text { align-self: center; }
.about__name { margin: 14px 0 16px; font: 500 clamp(40px, 6vw, 72px)/1 var(--serif); }
.about__edu { font-size: 16px; opacity: .9; max-width: 560px; }
.about__story { margin-top: 24px; font-size: 16px; max-width: 560px; }
.about__story em { font-size: 1.15em; }
.stats { display: flex; gap: 12px; margin-top: 28px; }
.stat { flex: 1; max-width: 220px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .1); }
.stat__num { display: block; font: 500 clamp(36px, 4.4vw, 52px)/1 var(--serif); }
.stat__label { display: block; margin-top: 6px; font-size: 13px; opacity: .85; }
@media (min-width: 768px) {
  .about__inner { grid-template-columns: 5fr 7fr; gap: 56px; padding-bottom: 72px; }
  .about__photo { margin-top: -56px; }
}

/* ===== К5: строки ===== */
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); transition: background .35s var(--ease), color .35s var(--ease); }
.row__head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 16px;
  width: 100%; padding: 20px 4px;
}
.row__num { font: italic 500 20px/1 var(--serif); color: var(--olive-500); }
.row__title { font-size: 19px; font-weight: 500; }
.row__lead { grid-column: 2; grid-row: 2; font-size: 14px; color: var(--muted); }
.row__icon { grid-column: 3; grid-row: 1 / span 2; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); }
.row__icon::before, .row__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform .3s var(--ease);
}
.row__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.row__body { display: grid; grid-template-rows: 0fr; padding: 0 4px; transition: grid-template-rows .45s var(--ease); }
.row__inner { overflow: hidden; min-height: 0; }
.row__inner > :last-child { margin-bottom: 24px; }
.row.is-open .row__body { grid-template-rows: 1fr; }
.row__inner p + p, .row__inner .diary + p { margin-top: 12px; }
@media (min-width: 768px) {
  .row__head { grid-template-columns: 60px 260px 1fr auto; padding: 24px 8px; }
  .row__lead { grid-column: 3; grid-row: 1; font-size: 15px; }
  .row__icon { grid-column: 4; grid-row: 1; }
  .row__body { padding: 0 8px 0 336px; max-width: calc(336px + 640px); }
}
.row.is-open, .row:hover {
  background: var(--olive-700); color: var(--white);
  box-shadow: 0 0 0 100vmax var(--olive-700); clip-path: inset(0 -100vmax);
}
.row.is-open .row__num, .row:hover .row__num, .row.is-open .row__lead, .row:hover .row__lead { color: rgba(255, 255, 255, .8); }
.row.is-open .row__icon, .row:hover .row__icon { background: var(--white); color: var(--olive-900); border-color: var(--white); }
.row.is-open .row__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.diary {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 14px; max-width: 520px;
  border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .3);
  font-size: 12px;
}
.diary span { padding: 8px 10px; background: rgba(255, 255, 255, .16); }
.diary i { height: 34px; background: rgba(255, 255, 255, .06); }

/* ===== Б8: отзывы (скриншоты, карусель) ===== */
.rev-track {
  display: flex; align-items: flex-start; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline-offset: -2px; }
.rev {
  flex: 0 0 auto; width: min(360px, 84vw); scroll-snap-align: start;
  padding: 10px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(62, 74, 38, .07);
}
.rev img { width: 100%; height: auto; border-radius: 14px; }
.rev-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.rev-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--olive-700); color: var(--olive-700);
  transition: background .25s var(--ease), color .25s var(--ease), opacity .25s;
}
.rev-btn svg { width: 16px; height: 16px; }
.rev-btn:hover:not(:disabled) { background: var(--olive-700); color: var(--white); }
.rev-btn:disabled { opacity: .3; cursor: default; }
.rev-dots { display: flex; gap: 8px; }
.rev-dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--sage-200); transition: width .3s var(--ease), background .3s; }
.rev-dots button[aria-current="true"] { width: 24px; background: var(--olive-700); }

/* ===== Б9: цены ===== */
.price-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px 24px 24px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
}
.price__name { font-size: 18px; font-weight: 500; }
.price__sum { margin-top: 18px; font: 500 clamp(44px, 5vw, 56px)/1 var(--sans); letter-spacing: -.03em; }
.price__meta { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.price .btn { margin-top: auto; }
.price--dark { background: var(--olive-700); border-color: var(--olive-700); color: var(--white); }
.price--dark .price__meta { color: rgba(255, 255, 255, .8); }
.terms { display: grid; gap: 8px 32px; margin: 28px 0 0; }
@media (min-width: 768px) { .terms { grid-template-columns: repeat(2, 1fr); } }
.terms li { position: relative; padding-left: 22px; font-size: 15px; }
.terms li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1.5px; background: var(--olive-400); }
.referral {
  display: flex; align-items: center; gap: 16px;
  margin-top: 28px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--sage-200);
}
.referral .obj { flex: none; width: 96px; height: auto; }
.referral__title { font-size: 18px; font-weight: 500; line-height: 1.35; }
.referral__title em { font-size: 1.15em; color: var(--olive-700); }
.referral__text { margin-top: 6px; font-size: 14px; color: var(--olive-900); }
@media (max-width: 599px) { .referral { flex-direction: column; align-items: flex-start; } }

/* ===== Б10: не ко мне ===== */
.notfor { padding: 28px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
@media (min-width: 768px) { .notfor { padding: 44px 48px; } }
.notfor .h2 { margin-bottom: 12px; }
.notfor__list li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; }
.notfor__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.notfor__list li::before {
  content: ""; position: absolute; left: 0; top: 25px; width: 12px; height: 12px;
  background: linear-gradient(45deg, transparent 45%, var(--olive-400) 45%, var(--olive-400) 55%, transparent 55%),
              linear-gradient(-45deg, transparent 45%, var(--olive-400) 45%, var(--olive-400) 55%, transparent 55%);
}
.phones { display: grid; gap: 8px; margin-top: 14px; }
@media (min-width: 600px) { .phones { grid-template-columns: auto 1fr; } }
.phone {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-radius: var(--r-md); background: var(--olive-700); color: var(--white); text-decoration: none;
}
.phone__num { font-size: 22px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.phone__label { font-size: 12px; opacity: .85; }

/* ===== К7: сцена с круглым стеклом ===== */
.garden { padding: 0 8px; }
@media (min-width: 768px) { .garden { padding: 0 24px; } }
.garden__scene {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: var(--wide); margin: 0 auto;
  border-radius: var(--r-scene);
  padding: 72px var(--gutter) 24px;
  display: flex; flex-direction: column; align-items: center;
}
@media (min-width: 768px) { .garden__scene { padding: 110px 40px 40px; } }
.garden__bg img { object-position: 50% 70%; }
.garden__shadows { mix-blend-mode: multiply; opacity: .45; animation: sway 9s ease-in-out infinite alternate; transform-origin: 50% 0; }
.garden__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(248, 244, 232, .25), rgba(248, 244, 232, 0) 40%, rgba(47, 58, 27, .25)); pointer-events: none; }
@keyframes sway { from { rotate: -1.2deg; } to { rotate: 1.2deg; } }
.glass {
  width: min(460px, 100%); aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 40px; border-radius: 50%; text-align: center;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .92), rgba(255, 255, 255, .55) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 30px 60px rgba(47, 58, 27, .18);
  backdrop-filter: blur(14px);
  transition: scale .1s linear;
}
.glass__text { font-size: clamp(22px, 3vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
.glass__text em { color: var(--olive-500); font-size: 1.12em; }
.paths { display: grid; gap: 12px; width: 100%; max-width: 760px; margin-top: 48px; }
@media (min-width: 700px) { .paths { grid-template-columns: repeat(2, 1fr); margin-top: 72px; } }
.path {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 12px 22px; border-radius: var(--r-lg); background: var(--card); text-align: center;
}
.path__art { width: 100%; height: 130px; border-radius: 999px 999px 16px 16px; display: grid; place-items: center; margin-bottom: 8px; }
.path__art .obj { width: 130px; height: auto; }
.path__art--mid { background: var(--sage-400); }
.path__art--light { background: var(--sage-200); }
.path__title { font-size: 21px; font-weight: 500; }
.path__text { font-size: 14px; color: var(--muted); max-width: 300px; margin-bottom: 8px; }
.path .kits { inset: 6px; }

/* ===== Б11: вопросы ===== */
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 20px 0; font-size: 18px; font-weight: 500; }
.qa__q .row__icon { flex: none; }
.qa__a { display: grid; grid-template-rows: 0fr; padding-right: 52px; transition: grid-template-rows .45s var(--ease); }
.qa__inner { overflow: hidden; min-height: 0; }
.qa__inner > :last-child { margin-bottom: 22px; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .row__icon { background: var(--olive-700); color: var(--white); border-color: var(--olive-700); }
.qa.is-open .row__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

/* ===== Футер ===== */
.footer { margin: var(--section) 8px 8px; padding: 40px var(--gutter) 24px; border-radius: var(--r-scene); background: var(--olive-700); color: var(--white); }
@media (min-width: 768px) { .footer { margin: var(--section) 24px 24px; padding: 56px 48px 28px; } }
.footer__inner { max-width: var(--container); margin: 0 auto; display: grid; gap: 28px; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer__name { font: 500 34px/1 var(--serif); margin-bottom: 12px; }
.footer__about p:not(.footer__name) { font-size: 14px; opacity: .85; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; text-decoration: none; opacity: .9; }
.footer__col a:hover { opacity: 1; text-decoration: underline; }
.footer__legal { max-width: var(--container); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12px; opacity: .75; }

/* ===== Проявление при прокрутке ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .scene__layer { transform: none !important; }
}

/* ===== 404 ===== */
.notfound { min-height: 80svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 120px var(--gutter) 40px; text-align: center; }
.notfound__obj { width: 180px; height: auto; }
.notfound .h2 { margin: 0; }
.notfound__text { color: var(--muted); margin-bottom: 8px; }

/* ===== Анимации (финальный слой) ===== */
/* А1: вход первого экрана */
.scene__bg img { transform: scale(1.08); transition: transform 2.2s var(--ease); }
.scene__cloud img { opacity: 0; transform: translateY(24px); transition: opacity 1.8s var(--ease) .2s, transform 2.4s var(--ease) .2s; }
.plant { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease) .35s, transform 1.6s var(--ease) .35s; }
.is-loaded .scene__bg img { transform: none; }
.is-loaded .scene__cloud img { opacity: .95; transform: none; }
.is-loaded .plant { opacity: 1; transform: none; }
.no-js .scene__bg img, .no-js .scene__cloud img, .no-js .plant { opacity: 1; transform: none; }
/* лёгкое покачивание растений (rotate не мешает transform выше) */
.plant { transform-origin: 50% 100%; animation: plant-sway 7s ease-in-out infinite alternate; }
.plant--r { animation-duration: 9s; animation-delay: -3s; }
@keyframes plant-sway { from { rotate: -1.2deg; } to { rotate: 1.4deg; } }
/* слои сцены плавно догоняют мышь */
.scene__layer { transition: translate 1.2s var(--ease); }

/* заголовок первого экрана по словам */
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__title.is-in .word > span { transform: none; }
.hero__title.reveal { opacity: 1; transform: none; }

/* выноска: слова проявляются по мере прокрутки */
.callout__text .w { opacity: var(--o, .18); transition: opacity .25s linear; }

/* шапка прячется при прокрутке вниз */
.site-header { transition: box-shadow .3s var(--ease), translate .45s var(--ease); }
.site-header.is-hidden { translate: 0 calc(-100% - 24px); }

/* А3: объекты слегка поворачиваются при прокрутке */
.obj { rotate: var(--tilt, 0deg); transition: rotate .6s var(--ease); }

/* фото «Обо мне»: внутренний параллакс */
.about__photo img { object-position: 50% 0; }

/* ссылки в карточках: подчёркивание растягивается */
.step__link { border-bottom: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); }
.step:hover .step__link { background-size: 0 1px; background-position: 100% 100%; }

/* отметка: мягкий «щелчок» */
.check[aria-pressed="true"] .check__box { animation: tick .35s var(--ease); }
@keyframes tick { 40% { transform: scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
  .scene__bg img, .scene__cloud img, .plant, .hero__title .word > span { transform: none !important; opacity: 1 !important; }
  .callout__text .w { opacity: 1 !important; }
  .obj { rotate: none; }
  .about__photo img { translate: none; }
  .site-header.is-hidden { translate: none; }
}
@media (min-width: 900px) {
  .rev-track { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 80px), transparent); }
}

/* растения на первом экране: размер от ширины экрана, чтобы на планшетах не заходили на текст */
@media (min-width: 768px) {
  .plant { height: auto; }
  .plant--l { width: min(30vw, 440px); left: -3%; }
  .plant--r { width: min(28vw, 420px); right: -2%; height: auto; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .plant--l { width: 24vw; left: -5%; }
  .plant--r { width: 23vw; right: -4%; }
}

/* футер: аптечки «Скоро» */
.fsoon { position: relative; align-self: flex-start; font-size: 14px; opacity: .9; cursor: default; text-align: left; }
.fsoon__name { display: block; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.fsoon__label {
  position: absolute; left: 0; top: 50%; translate: 0 -50%;
  font-family: var(--serif); font-style: italic; font-size: 19px; white-space: nowrap;
  opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.fsoon:hover .fsoon__name, .fsoon:focus-visible .fsoon__name, .fsoon.is-soon .fsoon__name { opacity: 0; transform: translateY(-6px); }
.fsoon:hover .fsoon__label, .fsoon:focus-visible .fsoon__label, .fsoon.is-soon .fsoon__label { opacity: 1; transform: none; }
.fsoon:focus-visible { outline-color: var(--white); }

/* готовая аптечка в списке: обычная ссылка */
a.kit { text-decoration: none; cursor: pointer; }
a.kit:hover, a.kit:focus-visible { background: var(--olive-700); border-color: var(--olive-700); color: var(--white); }

.rev-nav[hidden] { display: none; }
