/* =========================================================
   Формула здоровья чемпиона — лендинг
   Бренд-токены см. brandbook.md. Структура — MODX-friendly.
   ========================================================= */

:root {
  /* Цвета */
  --color-bg:        #FFFFFF;
  --color-bg-soft:   #F7F4EF;
  --color-surface:   #EAE6DF;
  --color-mint:      #CBD8C4;
  --color-mint-tint: #E6EDE1;
  --color-olive:     #6E7C53;
  --color-olive-600: #5A6743;
  --color-graphite:  #2B2B2B;
  --color-muted:     #6B6B6B;

  /* Типографика */
  --font-sans:  'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant', Georgia, serif;

  /* Шкала шрифтов (Сбалансированная) */
  --fs-h1: 3rem;           /* 48 */
  --fs-h2: 2rem;           /* 32 */
  --fs-h3: 1.375rem;       /* 22 */
  --fs-lead: 1.25rem;      /* 20 */
  --fs-quote: 1.75rem;     /* 28 */
  --fs-body: 1.125rem;     /* 18 */
  --fs-small: 0.9375rem;   /* 15 */
  --fs-eyebrow: 0.8125rem; /* 13 */
  --fs-mini: 0.75rem;      /* 12 */

  /* Ритм */
  --space-section: clamp(48px, 7vw, 75px);
  --space-head: clamp(32px, 4vw, 48px);   /* единый отступ заголовок → контент */
  --container: 1120px;
  --container-narrow: 760px;
  --radius: 20px;
  --radius-sm: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Объём: мягкие тёплые тени + световой хайлайт */
  --shadow-sm: 0 1px 2px rgba(43,43,43,0.04), 0 3px 10px rgba(43,43,43,0.05);
  --shadow-md: 0 4px 12px rgba(43,43,43,0.06), 0 16px 34px rgba(43,43,43,0.08);
  --shadow-lg: 0 12px 26px rgba(43,43,43,0.09), 0 34px 64px rgba(43,43,43,0.12);
  --hi-top: inset 0 1px 0 rgba(255,255,255,0.75);
}

/* --------- База --------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-graphite);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: var(--container-narrow); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
/* Центрируем БЛОК по ширине содержимого, текст внутри слева (eyebrow над началом заголовка) */
.center-block { width: fit-content; max-width: 100%; margin-inline: auto; }

/* --------- Секции --------- */
.screen { padding: var(--space-section) 0; }
.soft { background: var(--color-bg-soft); }

.section-title {
  max-width: 20ch;
}
.center .section-title { margin-left: auto; margin-right: auto; }

.section-lead {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: var(--color-muted);
  max-width: 46ch;
}
.center .section-lead { margin-left: auto; margin-right: auto; }

.prose { margin-top: 20px; max-width: 58ch; color: #3a3a3a; }
.prose--accent { color: var(--color-olive); font-weight: 600; font-size: var(--fs-lead); }

.note {
  margin-top: var(--space-head);
  color: var(--color-muted);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: calc(var(--fs-lead) * 1.15);
}
.center .note, .container > .note { text-align: center; }

/* --------- Eyebrow (эмоция экрана) --------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-olive);
}
.eyebrow .dot {
  width: 15px; height: 15px;
  flex: none;
  background: var(--color-olive);
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M247.63,39.34a8,8,0,0,0-6.75-6.75c-24.72-3.83-91.68-8-136.43,36.71C70.89,102.86,66,153.75,80.7,192.94L57.14,216.5a8,8,0,0,0,11.32,11.32l23.56-23.56a108.8,108.8,0,0,0,38,7c22.94,0,49-8.63,73.94-33.54C271.67,131.02,251.46,64.06,247.63,39.34ZM192.19,169.35c-30.79,30.79-70,34.55-101.71,20l97.17-97.16a8,8,0,0,0-11.31-11.32L79.16,178.06C64.62,146.34,68.37,107.09,99.17,76.29c33.36-33.36,80.5-35.79,109.9-33.36C211.5,72.29,225.55,116,192.19,169.35Z"/%3E%3C/svg%3E') center / contain no-repeat;
  mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M247.63,39.34a8,8,0,0,0-6.75-6.75c-24.72-3.83-91.68-8-136.43,36.71C70.89,102.86,66,153.75,80.7,192.94L57.14,216.5a8,8,0,0,0,11.32,11.32l23.56-23.56a108.8,108.8,0,0,0,38,7c22.94,0,49-8.63,73.94-33.54C271.67,131.02,251.46,64.06,247.63,39.34ZM192.19,169.35c-30.79,30.79-70,34.55-101.71,20l97.17-97.16a8,8,0,0,0-11.31-11.32L79.16,178.06C64.62,146.34,68.37,107.09,99.17,76.29c33.36-33.36,80.5-35.79,109.9-33.36C211.5,72.29,225.55,116,192.19,169.35Z"/%3E%3C/svg%3E') center / contain no-repeat;
}

/* --------- Кнопки --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--sm { padding: 10px 20px; font-size: var(--fs-small); }
.btn--block { width: 100%; }

.btn--primary { background: var(--color-olive); color: #fff; }
.btn--primary:hover { background: var(--color-olive-600); }

.btn--outline { background: transparent; color: var(--color-olive); border-color: var(--color-mint); }
.btn--outline:hover { background: var(--color-mint-tint); border-color: var(--color-olive); }

.btn--ghost { background: transparent; color: var(--color-graphite); border-color: transparent; }
.btn--ghost:hover { background: var(--color-surface); }

.btn:focus-visible { outline: 3px solid var(--color-olive); outline-offset: 3px; }

/* --------- Шапка --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

/* Микро-меню в шапке */
.site-nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
}
.site-nav a {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-graphite);
  transition: color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--color-olive); }
.site-nav a:focus-visible { outline: 3px solid var(--color-olive); outline-offset: 4px; border-radius: 4px; }

/* Чтобы липкая шапка не перекрывала заголовки при переходе по якорю */
.screen { scroll-margin-top: 84px; }
.brand__leaf {
  width: 1.15em; height: 1.15em;
  flex: none;
  background: var(--color-olive);
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M247.63,39.34a8,8,0,0,0-6.75-6.75c-24.72-3.83-91.68-8-136.43,36.71C70.89,102.86,66,153.75,80.7,192.94L57.14,216.5a8,8,0,0,0,11.32,11.32l23.56-23.56a108.8,108.8,0,0,0,38,7c22.94,0,49-8.63,73.94-33.54C271.67,131.02,251.46,64.06,247.63,39.34ZM192.19,169.35c-30.79,30.79-70,34.55-101.71,20l97.17-97.16a8,8,0,0,0-11.31-11.32L79.16,178.06C64.62,146.34,68.37,107.09,99.17,76.29c33.36-33.36,80.5-35.79,109.9-33.36C211.5,72.29,225.55,116,192.19,169.35Z"/%3E%3C/svg%3E') center / contain no-repeat;
  mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M247.63,39.34a8,8,0,0,0-6.75-6.75c-24.72-3.83-91.68-8-136.43,36.71C70.89,102.86,66,153.75,80.7,192.94L57.14,216.5a8,8,0,0,0,11.32,11.32l23.56-23.56a108.8,108.8,0,0,0,38,7c22.94,0,49-8.63,73.94-33.54C271.67,131.02,251.46,64.06,247.63,39.34ZM192.19,169.35c-30.79,30.79-70,34.55-101.71,20l97.17-97.16a8,8,0,0,0-11.31-11.32L79.16,178.06C64.62,146.34,68.37,107.09,99.17,76.29c33.36-33.36,80.5-35.79,109.9-33.36C211.5,72.29,225.55,116,192.19,169.35Z"/%3E%3C/svg%3E') center / contain no-repeat;
}

/* --------- Нить роста (подпись бренда) --------- */
.thread {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}
.thread__node {
  position: relative;
  width: 2px;
  height: 56px;
  background: linear-gradient(var(--color-mint), var(--color-surface));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.8s var(--ease);
}
.thread__node.grown { transform: scaleY(1); }
.thread__node::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-mint);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.45s var(--ease) 0.5s;
}
.thread__node.grown::after { opacity: 1; }
.thread__node--leaf::after {
  width: 14px; height: 14px;
  background: var(--color-olive);
  border-radius: 0 60% 0 60%;
  transform: translateX(-50%) rotate(-8deg);
}

/* --------- Экран 1: Hero --------- */
.hero { padding-top: clamp(28px, 4vw, 60px); position: relative; overflow: hidden; }
.hero::before {                 /* мягкое тёплое пятно (Headspace) */
  content: "";
  position: absolute;
  z-index: -1;
  top: -25%; right: -12%;
  width: 62vw; height: 62vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203,216,196,0.5), rgba(203,216,196,0) 68%);
  filter: blur(8px);
  pointer-events: none;
}
.hero__head {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto var(--space-head);
}
.hero__title { max-width: 28ch; text-align: left; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__text { min-width: 0; }
.hero__photo,
.final__photo {
  margin: 0;
  display: flex;
  justify-content: center;
}
.hero__photo img,
.final__photo img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}
.hero__photo img,
.final__photo img,
.author__photo img {
  transition: transform 0.4s var(--ease);
  filter:
    drop-shadow(1px 0 0 rgba(190,183,170,0.95))
    drop-shadow(-1px 0 0 rgba(190,183,170,0.95))
    drop-shadow(0 1px 0 rgba(190,183,170,0.95))
    drop-shadow(0 -1px 0 rgba(190,183,170,0.95));
}
.hero__photo:hover img,
.final__photo:hover img,
.author__photo:hover img { transform: scale(1.04); }
.hero__lead {
  margin-top: 26px;
  font-size: var(--fs-lead);
  color: var(--color-muted);
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
}

/* Тихая текстовая ссылка (двойное действие, Apple) */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--color-olive);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.text-link span { transition: transform 0.25s var(--ease); }
.text-link:hover { border-color: var(--color-olive); }
.text-link:hover span { transform: translateX(4px); }
.text-link:focus-visible { outline: 3px solid var(--color-olive); outline-offset: 4px; border-radius: 4px; }

.hero__ticks { margin-top: 32px; }

/* Списки-галочки */
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  color: #3a3a3a;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--color-olive);
  border-bottom: 2.5px solid var(--color-olive);
  transform: rotate(-45deg);
}
.ticks--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
  margin: var(--space-head) auto 0;
  max-width: var(--container-narrow);
}

/* --------- Фото-плейсхолдеры --------- */
.photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--color-mint-tint), var(--color-bg-soft) 55%, var(--color-surface));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
}
.photo::after {
  content: attr(data-caption);
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  font-size: var(--fs-small);
  line-height: 1.4;
  color: var(--color-muted);
  background: linear-gradient(transparent, rgba(255,255,255,0.7));
}
.photo__tag {
  position: absolute;
  top: 16px; left: 16px;
  font-size: var(--fs-mini);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-olive);
  background: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border-radius: 999px;
}
.photo--hero {
  min-height: 0;
  aspect-ratio: 9 / 16;          /* пропорции экрана телефона */
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.photo--portrait { min-height: clamp(360px, 40vw, 480px); }
.photo--final { min-height: clamp(340px, 40vw, 480px); }

/* Реальное фото вместо плейсхолдера */
.photo--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.photo--img.photo--parallax { background-size: auto 130%; }  /* запас по высоте для параллакса без искажения */
.photo--img::after { content: none; }                        /* убрать подпись-плейсхолдер */
.photo--img .photo__tag { display: none; }

/* --------- Экран 2: Узнавание --------- */
.recognize {
  margin: var(--space-head) auto 0;
  display: grid;
  gap: 14px;
  max-width: var(--container-narrow);
}
.recognize li {
  padding: 22px 26px;
  background: var(--color-bg);
  border: 1px solid var(--color-surface);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
}

/* --------- Экран 4: Инфографика-поток --------- */
.flow {
  margin: var(--space-head) auto 0;
  max-width: 440px;
  display: grid;
  gap: 0;
}
.flow__item {
  position: relative;
  text-align: center;
  padding: 16px 22px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-surface);
  border-radius: 999px;
  font-weight: 600;
}
.flow__item + .flow__item { margin-top: 40px; }
.flow__item + .flow__item::before {
  content: "";
  position: absolute;
  top: -34px; left: 50%;
  width: 2px; height: 28px;
  background: var(--color-mint);
  transform: translateX(-50%);
}
.flow__item--goal {
  background: var(--color-olive);
  color: #fff;
  border-color: var(--color-olive);
  font-size: var(--fs-body);
  padding: 20px 34px;
}

/* Фото по бокам от цепочки */
.flow-scene {
  margin-top: var(--space-head);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: clamp(12px, 2vw, 28px);
}
.flow-scene .flow { margin: 0 auto; max-width: 360px; }
.flow-photos {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 24px;
}
.flow-photos figure { margin: 0; }
.flow-photos img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  transition: transform 0.4s var(--ease);
  filter:
    drop-shadow(1px 0 0 rgba(190,183,170,0.95))
    drop-shadow(-1px 0 0 rgba(190,183,170,0.95))
    drop-shadow(0 1px 0 rgba(190,183,170,0.95))
    drop-shadow(0 -1px 0 rgba(190,183,170,0.95));
}
.flow-photos figure:hover img { transform: scale(1.04); }

/* Точечное смещение боковых фото для «живой» композиции */
.flow-photos--left  { justify-content: flex-start; } /* левое фото — к верху */
.flow-photos--right { justify-content: flex-end; }   /* правое фото — к низу */
.flow-photos--left img  { transform: translate(-40px, 0); }
.flow-photos--right img { transform: translate(40px, 0); }
.flow-photos--left figure:hover img  { transform: translate(-40px, 0) scale(1.04); }
.flow-photos--right figure:hover img { transform: translate(40px, 0) scale(1.04); }

/* --------- Экран 5: Timeline --------- */
.timeline {
  margin-top: var(--space-head);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 34px; left: 8%; right: 8%;
  height: 2px;
  background: var(--color-mint);
  z-index: 0;
}
.timeline__step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.timeline__days {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-olive);
  color: var(--color-olive);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1;
}
.timeline__days small { font-size: var(--fs-mini); font-weight: 600; letter-spacing: 0.04em; margin-top: 3px; text-transform: uppercase; }
.timeline__label { font-weight: 600; }

/* --------- Экран 6: Поддержка + телефон --------- */
.support__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.cards { display: grid; gap: 16px; }
.support__grid,
.author__grid,
.final__grid { margin-top: var(--space-head); }
.card {
  padding: 24px 26px;
  background: var(--color-bg);
  border: 1px solid var(--color-surface);
  border-radius: var(--radius-sm);
}
.card__title { margin-bottom: 8px; }
.card__text { color: var(--color-muted); }

.phone { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone__img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(43,43,43,0.26));
}
.bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: var(--fs-small);
  line-height: 1.4;
}
.bubble--in { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.bubble--out { align-self: flex-end; background: var(--color-mint); border-bottom-right-radius: 6px; }
.phone__note { font-size: var(--fs-mini); color: var(--color-muted); }

/* --------- Экран 7: Однажды вы заметите --------- */
.notice {
  margin: var(--space-head) auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: var(--container-narrow);
}
.notice li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
}
.notice__ico {
  width: 26px; height: 26px;
  flex: none;
  background: var(--color-olive);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.ico-sun    { -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M248,160a8,8,0,0,1-8,8H16a8,8,0,0,1,0-16H56.45a73.54,73.54,0,0,1-.45-8,72,72,0,0,1,144,0,73.54,73.54,0,0,1-.45,8H240A8,8,0,0,1,248,160Zm-40,32H48a8,8,0,0,0,0,16H208a8,8,0,0,0,0-16ZM80.84,59.58a8,8,0,0,0,14.32-7.16l-8-16a8,8,0,0,0-14.32,7.16ZM20.42,103.16l16,8a8,8,0,1,0,7.16-14.31l-16-8a8,8,0,1,0-7.16,14.31ZM216,112a8,8,0,0,0,3.57-.84l16-8a8,8,0,1,0-7.16-14.31l-16,8A8,8,0,0,0,216,112ZM164.42,63.16a8,8,0,0,0,10.74-3.58l8-16a8,8,0,0,0-14.32-7.16l-8,16A8,8,0,0,0,164.42,63.16Z"/%3E%3C/svg%3E'); mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M248,160a8,8,0,0,1-8,8H16a8,8,0,0,1,0-16H56.45a73.54,73.54,0,0,1-.45-8,72,72,0,0,1,144,0,73.54,73.54,0,0,1-.45,8H240A8,8,0,0,1,248,160Zm-40,32H48a8,8,0,0,0,0,16H208a8,8,0,0,0,0-16ZM80.84,59.58a8,8,0,0,0,14.32-7.16l-8-16a8,8,0,0,0-14.32,7.16ZM20.42,103.16l16,8a8,8,0,1,0,7.16-14.31l-16-8a8,8,0,1,0-7.16,14.31ZM216,112a8,8,0,0,0,3.57-.84l16-8a8,8,0,1,0-7.16-14.31l-16,8A8,8,0,0,0,216,112ZM164.42,63.16a8,8,0,0,0,10.74-3.58l8-16a8,8,0,0,0-14.32-7.16l-8,16A8,8,0,0,0,164.42,63.16Z"/%3E%3C/svg%3E'); }
.ico-drop   { -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M174,47.75a254.19,254.19,0,0,0-41.45-38.3,8,8,0,0,0-9.18,0A254.19,254.19,0,0,0,82,47.75C54.51,79.32,40,112.6,40,144a88,88,0,0,0,176,0C216,112.6,201.49,79.32,174,47.75Zm9.85,105.59a57.6,57.6,0,0,1-46.56,46.55A8.75,8.75,0,0,1,136,200a8,8,0,0,1-1.32-15.89c16.57-2.79,30.63-16.85,33.44-33.45a8,8,0,0,1,15.78,2.68Z"/%3E%3C/svg%3E'); mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M174,47.75a254.19,254.19,0,0,0-41.45-38.3,8,8,0,0,0-9.18,0A254.19,254.19,0,0,0,82,47.75C54.51,79.32,40,112.6,40,144a88,88,0,0,0,176,0C216,112.6,201.49,79.32,174,47.75Zm9.85,105.59a57.6,57.6,0,0,1-46.56,46.55A8.75,8.75,0,0,1,136,200a8,8,0,0,1-1.32-15.89c16.57-2.79,30.63-16.85,33.44-33.45a8,8,0,0,1,15.78,2.68Z"/%3E%3C/svg%3E'); }
.ico-food   { -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M224,104h-8.37a88,88,0,0,0-175.26,0H32a8,8,0,0,0-8,8,104.35,104.35,0,0,0,56,92.28V208a16,16,0,0,0,16,16h64a16,16,0,0,0,16-16v-3.72A104.35,104.35,0,0,0,232,112,8,8,0,0,0,224,104ZM173.48,56.23q2.75,2.25,5.27,4.75a87.92,87.92,0,0,0-49.15,43H100.1A72.26,72.26,0,0,1,168,56C169.83,56,171.66,56.09,173.48,56.23ZM148.12,104a71.84,71.84,0,0,1,41.27-29.57A71.45,71.45,0,0,1,199.54,104ZM128,40a71.87,71.87,0,0,1,19,2.57A88.36,88.36,0,0,0,83.33,104H56.46A72.08,72.08,0,0,1,128,40Z"/%3E%3C/svg%3E'); mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M224,104h-8.37a88,88,0,0,0-175.26,0H32a8,8,0,0,0-8,8,104.35,104.35,0,0,0,56,92.28V208a16,16,0,0,0,16,16h64a16,16,0,0,0,16-16v-3.72A104.35,104.35,0,0,0,232,112,8,8,0,0,0,224,104ZM173.48,56.23q2.75,2.25,5.27,4.75a87.92,87.92,0,0,0-49.15,43H100.1A72.26,72.26,0,0,1,168,56C169.83,56,171.66,56.09,173.48,56.23ZM148.12,104a71.84,71.84,0,0,1,41.27-29.57A71.45,71.45,0,0,1,199.54,104ZM128,40a71.87,71.87,0,0,1,19,2.57A88.36,88.36,0,0,0,83.33,104H56.46A72.08,72.08,0,0,1,128,40Z"/%3E%3C/svg%3E'); }
.ico-energy { -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M213.85,125.46l-112,120a8,8,0,0,1-13.69-7l14.66-73.33L45.19,143.49a8,8,0,0,1-3-13l112-120a8,8,0,0,1,13.69,7L153.18,90.9l57.63,21.61a8,8,0,0,1,3,12.95Z"/%3E%3C/svg%3E'); mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M213.85,125.46l-112,120a8,8,0,0,1-13.69-7l14.66-73.33L45.19,143.49a8,8,0,0,1-3-13l112-120a8,8,0,0,1,13.69,7L153.18,90.9l57.63,21.61a8,8,0,0,1,3,12.95Z"/%3E%3C/svg%3E'); }
.ico-star   { -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z"/%3E%3C/svg%3E'); mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z"/%3E%3C/svg%3E'); }
.ico-heart  { -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z"/%3E%3C/svg%3E'); mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z"/%3E%3C/svg%3E'); }

/* --------- Крупные цитаты --------- */
.pullquote {
  margin: var(--space-head) auto 0;
  max-width: 24ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: calc(var(--fs-quote) * 1.15);
  line-height: 1.25;
  text-align: center;
  color: var(--color-olive);
}
.pullquote::before { content: "«"; }
.pullquote::after { content: "»"; }

/* --------- Экран 9: Автор --------- */
.author__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.author__photo {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author__photo img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}

.author__name {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: var(--fs-lead);
  color: var(--color-graphite);
}
.author__name span {
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--color-muted);
  letter-spacing: 0;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.badges li {
  padding: 10px 18px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-surface);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
}

/* --------- Экран 10: Отзывы (фото) --------- */
.reviews {
  margin-top: var(--space-head);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.review {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.review img { width: 100%; height: auto; display: block; }

/* --------- Экран 11: Тарифы --------- */
.plans {
  margin-top: var(--space-head);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, auto);   /* name · price · desc · ticks · button */
  column-gap: 22px;
  row-gap: 0;
  align-items: stretch;
}
.plan {
  position: relative;
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;           /* строки берутся из .plans → всё на одном уровне */
  padding: 34px 30px;
  background: var(--color-bg);
  border: 1px solid var(--color-surface);
  border-radius: var(--radius);
}
.plan--featured {
  border-color: var(--color-olive);
  box-shadow: 0 24px 50px rgba(110,124,83,0.14);
}
.plan__badge {
  position: absolute;
  top: -13px; left: 30px;
  background: var(--color-olive);
  color: #fff;
  font-size: var(--fs-mini);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan__price { margin-top: 10px; font-size: var(--fs-h2); font-weight: 700; color: var(--color-olive); }
.plan__for { margin-top: 14px; color: var(--color-muted); }
.plan .ticks { margin-top: 24px; margin-bottom: 28px; }
.plan .ticks li { font-size: var(--fs-body); }
.plan .btn {
  margin-top: auto;
  padding-left: 18px;
  padding-right: 18px;
  white-space: nowrap;
}

/* --------- Экран 12: Финал --------- */
.final__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.final__text .btn { margin-top: 20px; }

/* --------- Форма заявки --------- */
.zayavka { background: var(--color-olive); color: #fff; }
.zayavka .eyebrow { color: #fff; }
.zayavka .eyebrow .dot { background: #fff; }
.zayavka .section-title { color: #fff; }
.zayavka .section-lead { color: rgba(255,255,255,0.82); }

.form {
  margin: var(--space-head) auto 0;
  max-width: var(--container-narrow);
  padding: 34px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: var(--fs-small); font-weight: 600; color: rgba(255,255,255,0.9); }
.field__label em { font-style: normal; font-weight: 400; color: rgba(255,255,255,0.6); }
.field__input {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.96);
  color: var(--color-graphite);
}
.field__input::placeholder { color: #9a9a9a; }
.field__input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.zayavka .btn--primary { background: #fff; color: var(--color-olive); margin-top: 6px; }
.zayavka .btn--primary:hover { background: var(--color-bg-soft); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }

.form__hint { margin-top: 16px; font-size: var(--fs-mini); color: rgba(255,255,255,0.65); text-align: center; }
.form__success { margin-top: 18px; text-align: center; font-weight: 600; }

/* --------- Подвал --------- */
.footer { padding: 56px 0; background: var(--color-graphite); color: #fff; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.brand--footer { color: #fff; }
.footer__tagline { color: rgba(255,255,255,0.7); }
.footer__phone {
  font-weight: 700;
  font-size: var(--fs-lead);
  color: #fff;
  margin-top: 4px;
}
.footer__phone:hover { color: var(--color-mint); }
.footer__legal { color: rgba(255,255,255,0.4); font-size: var(--fs-small); margin-top: 4px; }

/* --------- FAQ --------- */
.faq__list {
  margin: var(--space-head) auto 0;
  border-top: 1px solid var(--color-surface);
  max-width: var(--container-narrow);
}
.faq__item {
  border-bottom: 1px solid var(--color-surface);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-weight: 600;
  font-size: var(--fs-lead);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-right: 2.5px solid var(--color-olive);
  border-bottom: 2.5px solid var(--color-olive);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__answer {
  padding: 0 4px 26px;
  color: var(--color-muted);
  max-width: 60ch;
}
.faq__item summary:focus-visible { outline: 3px solid var(--color-olive); outline-offset: 3px; border-radius: 6px; }

/* --------- Липкая CTA (мобильные) --------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid rgba(0,0,0,0.06);
  transform: translateY(120%);
  transition: transform 0.35s var(--ease);
}
.mobile-cta.is-shown { transform: none; }

/* --------- Анимация появления --------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Направленные варианты (начальное положение; сброс делает .is-visible выше) */
.reveal-left  { transform: translateX(-52px); }
.reveal-right { transform: translateX(52px); }
.reveal-scale { transform: scale(0.88); }
.reveal-up-lg { transform: translateY(60px); }

/* Каскадное появление детей контейнера */
.stagger > .reveal:nth-child(1) { transition-delay: 40ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 120ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 200ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 280ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 360ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 440ms; }
.stagger > .reveal:nth-child(7) { transition-delay: 520ms; }
.stagger > .reveal:nth-child(8) { transition-delay: 600ms; }

/* --------- Адаптив --------- */
@media (max-width: 900px) {
  .hero__grid,
  .support__grid,
  .author__grid,
  .final__grid { grid-template-columns: 1fr; }
  .author__grid .photo--portrait { order: -1; }
  .plans { grid-template-columns: 1fr; grid-template-rows: none; max-width: 480px; margin-left: auto; margin-right: auto; }
  .plan { grid-row: auto; display: flex; flex-direction: column; }
  .plan--featured { order: -1; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .flow-scene { grid-template-columns: 1fr; }
  .flow-photos { display: none; }
  .site-nav { display: none; }
}

@media (max-width: 640px) {
  :root {
    --fs-h1: 2.125rem;   /* 34 */
    --fs-h2: 1.625rem;   /* 26 */
    --fs-lead: 1.125rem; /* 18 */
    --fs-quote: 1.5rem;  /* 24 */
  }
  .ticks--grid,
  .notice { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { display: none; }
  .timeline__step { flex-direction: row; justify-content: flex-start; gap: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .site-header .btn { display: none; }
  .mobile-cta { display: block; }
}

/* =========================================================
   Объём и блики (глубина + мягкий свет)
   ========================================================= */

/* --- Кнопки: градиент, верхний свет, тень, блик-проблеск --- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {           /* световой проблеск на hover */
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn--outline { box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.6); }
.zayavka .btn--primary {
  background: #fff;
  box-shadow: none;
}

/* --- Карточки и поверхности: подложка-тень + верхний свет --- */
.card,
.recognize li,
.notice li,
.story,
.plan,
.badges li,
.flow__item {
  background-image: linear-gradient(180deg, #ffffff, #fbfaf7);
  box-shadow: var(--shadow-sm), var(--hi-top);
}
.plan {
  background-image: linear-gradient(180deg, #ffffff, #faf8f4);
  box-shadow: var(--shadow-md), var(--hi-top);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--hi-top); }
.plan--featured {
  box-shadow: var(--shadow-lg), var(--hi-top), 0 0 0 1px var(--color-olive);
}
.card { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md), var(--hi-top); }

.flow__item--goal {
  background-image: linear-gradient(180deg, #7f8d61, var(--color-olive) 60%, #5c6a45);
  box-shadow: var(--hi-top), inset 0 -2px 4px rgba(0,0,0,0.14), 0 8px 20px rgba(110,124,83,0.30);
}

/* --- Timeline: объёмные «бусины» с бликом --- */
.timeline__days {
  background: radial-gradient(circle at 34% 28%, #ffffff, #f4f1ea 78%);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    inset 0 -3px 6px rgba(110,124,83,0.12),
    0 8px 18px rgba(110,124,83,0.20);
}

/* --- Фото-плейсхолдеры: диагональный глянец --- */
.photo { box-shadow: var(--shadow-md); }
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,0.5), rgba(255,255,255,0) 42%);
  pointer-events: none;
  z-index: 1;
}

/* --- Мягкие световые пятна в секциях (глубина фона) --- */
.soft {
  background-image:
    radial-gradient(60% 45% at 15% 0%, rgba(203,216,196,0.35), transparent 70%),
    linear-gradient(180deg, #faf7f2, #f4f0e8);
}
.zayavka {
  background-image:
    radial-gradient(50% 40% at 12% 0%, rgba(255,255,255,0.16), transparent 70%),
    linear-gradient(160deg, #76855a, var(--color-olive) 60%, #5c6a45);
}

/* --- Телефон и форма: чуть глубже --- */
/* тень телефона — на .phone__frame-img (filter: drop-shadow) */
.form { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.14); }

/* --- Точки-акценты: маленький блик --- */
.thread__node::after {
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 1px 2px rgba(43,43,43,0.15);
}

/* =========================================================
   Full-bleed, параллакс и зум фото (Apple / Airbnb)
   ========================================================= */
body { overflow-x: clip; }

/* Параллакс: фон крупнее рамки, позицию двигает JS */
.photo--parallax,
.fullbleed__photo {
  background-size: 100% 130%;
  background-repeat: no-repeat;
}

/* Зум фото при наведении (Airbnb) */
.photo--zoom { transition: transform 0.6s var(--ease), opacity 0.7s var(--ease); }
.photo--zoom:hover { transform: scale(1.045); }

/* Full-bleed фото-полоса на всю ширину (Apple) */
.fullbleed { padding: 0; }
.fullbleed__photo {
  position: relative;
  margin: 0;
  min-height: clamp(320px, 58vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: linear-gradient(135deg, #cdd9c6, #efe9e0 52%, #d9d1c6);
  box-shadow: inset 0 8px 24px rgba(43,43,43,0.06), inset 0 -8px 24px rgba(43,43,43,0.06);
}
.fullbleed__quote {
  position: relative;
  z-index: 2;
  max-width: 18ch;
  padding: 0 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: calc(var(--fs-quote) * 1.2);
  line-height: 1.2;
  text-align: center;
  color: #33372c;
  text-shadow: 0 2px 24px rgba(255,255,255,0.6);
}

/* --------- Уважение к reduced motion --------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .thread__node { transform: none; transition: none; }
  .thread__node::after { opacity: 1; transition: none; }
  .mobile-cta { transition: none; }
  .btn::after { display: none; }
  .plan, .card { transition: none; }
  .plan:hover, .card:hover { transform: none; }
  .photo--zoom { transition: none; }
  .photo--zoom:hover { transform: none; }
  .hero__photo img, .final__photo img, .author__photo img { transition: none; }
  .hero__photo:hover img, .final__photo:hover img, .author__photo:hover img { transform: none; }
  .flow-photos img { transition: none; }
  .flow-photos figure:hover img { transform: none; }
}
