:root {
  --bg: #ffffff;
  --ink: #141414;
  --ink-soft: rgba(20, 20, 20, 0.72);
  --line: rgba(20, 20, 20, 0.28);
  --gold: #b49a72;
  --gold-soft: #e9dfcf;
  --blue: #c2e3f9;
  --display: 'Masvol', 'Times New Roman', serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

html, body { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- Навигация первого экрана ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.6vw 8vw 0;
  font-size: max(14px, 3.1vw);
}
.nav a { transition: opacity .2s; }
.nav a:hover { opacity: .55; }

/* ---------- Меню: плавающая плашка вверху по центру (по референсу автора — kseniastern.com).
   Появляется со второго блока (script.js добавляет .is-shown), на первом экране её нет ---------- */
.menu {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 50%;
  width: min(520px, calc(100vw - 24px));
  transform: translateX(-50%);
  /* без рамки — лёгкая мягкая тень (по просьбе автора) */
  box-shadow: 0 6px 28px rgba(20, 20, 20, .08), 0 1px 3px rgba(20, 20, 20, .06);
  background: rgba(255, 255, 255, .38); /* прозрачнее на 2 × 20% от исходных .78 — по просьбе автора; размытие под ним сохраняет читаемость */
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
          backdrop-filter: blur(16px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  translate: 0 -14px;
  transition: opacity .5s, translate .5s cubic-bezier(.2, .7, .2, 1), visibility 0s .5s;
}
.menu.is-shown { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .5s, translate .5s cubic-bezier(.2, .7, .2, 1); }
.menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 8px 0 12px;
}
.menu__logo img { display: block; width: 32px; height: 32px; }
.menu__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Раскрытие: плашка вытягивается вниз, пункты проявляются из размытия */
.menu__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 0;
  overflow: hidden;
  transition: max-height .7s cubic-bezier(.77, 0, .175, 1);
}
.menu.is-open .menu__panel { max-height: 460px; }
.menu__panel a {
  padding: 9px 0;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(6px);
  transition: opacity .4s, filter .4s, transform .4s;
}
.menu__panel a:first-child { margin-top: 18px; }
.menu.is-open .menu__panel a { opacity: 1; filter: none; transform: none; }
.menu.is-open .menu__panel a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__panel a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__panel a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__panel a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__panel a:nth-child(6) { transition-delay: .25s; }
.menu__panel a:hover { color: var(--gold); }
.menu__panel .menu__cta {
  margin: 18px 0 24px;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .1em;
}
.menu__panel .menu__cta:hover { background: var(--ink); color: #fff; }
.menu__overlay {
  position: fixed;
  z-index: 49;
  inset: 0;
  background: rgba(20, 20, 20, .25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s;
}
.menu__overlay.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Первый экран (мобильный — как в макете) ---------- */
.hero {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-text {
  position: relative;
  z-index: 2;
  padding: 4.2vw 7vw 0;
}

.hero-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 12.2vw;
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero-name span { display: block; }
.hero-name__last { padding-left: 29vw; margin-top: 0; }

/* На телефоне подпись справа от «Екатерина», как в макете, в 2 строки: «Многомерный / целитель» (остальное — только на десктопе, по просьбе автора) */
.hero-role {
  position: absolute;
  top: 4.6vw;
  right: 7.5vw;
  margin: 0;
  font-style: italic;
  font-size: 3.4vw;
  line-height: 1.35;
  text-align: right;
}
.hero-role span { display: block; }
.hero-role .hero-role__desk { display: none; }

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 4vw 0 0;
}
.hero-sun {
  position: absolute;
  z-index: 2;
  width: 44vw;
  left: -20vw;
  top: -18vw;
  pointer-events: none;
  animation: sun-spin 60s linear infinite;
}
@keyframes sun-spin { to { transform: rotate(360deg); } }
@keyframes hscroll-move { from { transform: translateX(0); } to { transform: translateX(-100vw); } }
@keyframes hscroll-sun { from { translate: 0 0; } to { translate: 18vw 0; } }
@keyframes hscroll-art { from { translate: 12vw 0; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero-sun { animation: none; } }


/* Кнопка первого экрана «Записаться на сеанс» — прямоугольная, с чёрной обводкой и золотым глазом */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 84%;
  margin: 7.5vw auto 10vw;
}
.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 11vw;
  padding: 0 20px;
  font-size: 3.8vw;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
/* Тонкая тёмная обводка, при наведении заливается чёрным */
.hero-btn--main { position: relative; border: 1px solid var(--ink); color: var(--ink); }
/* Золотой глаз — на правом краю «Записаться», наполовину снаружи (как в утверждённом мобильном макете) */
.hero-btn__eye {
  position: absolute;
  right: 0;
  top: 50%;
  width: 12vw;
  max-width: 64px;
  transform: translate(50%, -50%);
  pointer-events: none;
}
.hero-btn--main:is(:hover, :focus-visible) { background: var(--ink); color: #fff; }

/* ---------- Обо мне ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-intro {
  padding: 56px 0 0;
  border-top: 1px solid var(--line);
}
/* ---------- Обо мне: знакомство ---------- */
.meet { position: relative; padding-bottom: 96px; }
.meet__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.meet__photo {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 82%;
  width: auto;
  max-width: none;
  transform: translateX(-46%);
  /* верх (тень от стены) и низ фото (обрезан по ногам) растворяются в белом */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 72%, transparent 100%);
}
.meet__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 9vh 7vw 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 15vw;
  line-height: .88;
  text-transform: uppercase;
}
.meet__line { display: block; }
.meet__line--soft { color: #a8a09a; padding-left: 22vw; }
.meet__line--far { padding-left: 6vw; }
.meet__cards {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  margin-top: -18vh;
  padding: 0 7vw;
}

/* Золотая сакральная геометрия во втором блоке («Помогаю раскрыть…»): рисунок из золотых точек на белом.
   Холст — на весь блок (точки слетаются со всего блока), .panel__art — только место, где собирается рисунок (script.js) */
.about-intro { position: relative; display: flex; flex-direction: column; }
.panel__dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.about-intro .about-head { position: relative; z-index: 1; }
/* На телефоне заголовок — «лесенкой»: каждая строка чуть длиннее предыдущей */
.about-title__line, .about-title__b { display: block; }
.panel__art {
  display: block;
  order: 2;
  width: 78vw;
  margin: 12px auto 9vw; /* снизу — место под нижнюю дугу спирали, она выходит за рамку картинки */
  aspect-ratio: 851 / 1280; /* пропорции картинки клиента */
}

.about-head {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 7vw;
}

.about-title {
  margin: 0;
  max-width: 900px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 7.4vw, 60px);
  line-height: 1.05;
  text-transform: uppercase;
}

.slide {
  position: relative;
  padding: 30px 24px 32px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}


.slide__title {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.05;
  text-transform: uppercase;
}

.slide p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.slide p:last-child { margin-bottom: 0; }


/* ---------- Общие секции ---------- */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.section--tint { background: #fbf8f3; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 7vw; }

.section-title {
  margin: 0 0 36px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 8vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--ink); }

/* Услуги — каждой свой экран: фото | название, описание, формат, длительность, цена и кнопка записи */
.services { border-top: 1px solid var(--line); }
.services__intro { padding: 72px 7vw 8px; }
.services__intro .section-title { margin: 0; }
.svc { display: grid; background: var(--bg); }
.svc__visual { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.svc__visual img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { padding: 40px 7vw 72px; }
.svc__count { margin: 0 0 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.svc__name {
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 11vw;
  line-height: .95;
  text-transform: uppercase;
}
.svc__text { max-width: 34em; margin: 0 0 28px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.svc__meta { max-width: 460px; margin: 0 0 36px; font-size: 15px; }
.svc__meta div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.svc__meta div:last-child { border-bottom: 1px solid var(--line); }
.svc__meta dt { color: var(--ink-soft); }
.svc__meta dd { margin: 0; }
.svc__btn { width: calc(100% - 6vw); max-width: 420px; }
/* На телефоне — тоже стопкой, как на компьютере: каждая услуга на весь экран (фото сверху, текст снизу),
   следующая наплывает поверх предыдущей */
@media (max-width: 899px) {
  .svc {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 1px solid var(--line);
    box-shadow: 0 -14px 30px rgba(20, 20, 20, .06);
  }
  .svc__visual { flex: 0 0 38%; aspect-ratio: auto; }
  .svc__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 20px 7vw 26px; }
  .svc__count { margin-bottom: 10px; font-size: 11px; }
  .svc__name { margin-bottom: 12px; font-size: min(10vw, 5.2svh); }
  .svc__text { margin-bottom: 14px; font-size: 14px; line-height: 1.5; }
  .svc__meta { margin-bottom: 20px; font-size: 13px; }
  .svc__meta div { padding: 7px 0; }
  .svc__btn { height: min(11vw, 6svh); }
}
/* Появление текста услуги (script.js ставит .is-in) */
.svc__body > * { opacity: 0; translate: 0 22px; transition: opacity .9s ease, translate .9s cubic-bezier(.2, .7, .2, 1); }
.svc.is-in .svc__body > * { opacity: 1; translate: 0 0; }
.svc.is-in .svc__body > :nth-child(2) { transition-delay: .08s; }
.svc.is-in .svc__body > :nth-child(3) { transition-delay: .16s; }
.svc.is-in .svc__body > :nth-child(4) { transition-delay: .24s; }
.svc.is-in .svc__body > :nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .svc__body > * { opacity: 1; translate: none; transition: none; } }

/* Этапы работы — минимализм: заголовок и тонкая линия с остановками (на телефоне — вертикальная).
   Наведение (или нажатие) увеличивает пункт и показывает подробность */
.path { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.path__inner { max-width: 1240px; margin: 0 auto; padding: 0 7vw; }
.path__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 8vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}
.path__line { position: relative; margin: 48px 0 0; padding: 0; list-style: none; }
/* Вертикальная линия на телефоне — с разрывами у остановок (у каждой остановки белый фон) */
.path__line::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 1.1em;
  width: 1px;
  background: var(--ink);
}
.path__step {
  position: relative;
  display: grid;
  grid-template-columns: 2.2em 1fr;
  column-gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  margin: 0 0 56px;
  background: var(--bg);
  cursor: pointer;
  outline: none;
}
.path__step:last-child { margin-bottom: 0; }
.path__num { font-size: 14px; text-align: center; }
.path__name {
  font-size: 17px;
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), color .3s;
}
.path__info {
  grid-column: 2;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  transition: max-height .5s ease, opacity .4s ease, margin .4s ease;
}
/* Солнце-спираль: при наведении (или нажатии) проявляется у пункта и вращается.
   Фон картинки белый — multiply делает его невидимым на белой странице */
.path__sun {
  position: absolute;
  top: 2px;
  right: 0;
  width: 44px;
  height: 44px;
  mix-blend-mode: multiply;
  opacity: 0;
  scale: .6;
  pointer-events: none;
  transition: opacity .5s ease, scale .6s cubic-bezier(.2, .7, .2, 1);
  animation: sun-spin 14s linear infinite;
  animation-play-state: paused;
}
.path__step:is(:hover, :focus-visible, .is-open) .path__sun { opacity: 1; scale: 1; animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .path__sun { animation: none; } }
.path__step:is(:hover, :focus-visible, .is-open) .path__name { transform: scale(1.3); }
.path__step:is(:hover, :focus-visible, .is-open) .path__info { max-height: 8em; margin-top: 12px; opacity: 1; }

/* Отзывы */
.reviews { display: grid; gap: 16px; }
.review {
  margin: 0;
  padding: 32px 24px;
  border: 1px solid var(--ink);
}
.review blockquote {
  margin: 0 0 20px;
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4;
}
.review figcaption { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.review--empty { border-style: dashed; color: var(--ink-soft); }

/* Контакты */
.contacts { text-align: center; padding: 96px 0; }
.contacts__title {
  margin: 0 0 16px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 8vw, 56px); line-height: 1;
  text-transform: uppercase;
}
.contacts__lead { margin: 0 0 36px; font-size: 16px; color: var(--ink-soft); }
.contacts__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contacts__links .btn { min-width: 160px; }

.footer {
  display: flex; justify-content: space-between;
  max-width: 1240px; margin: 0 auto;
  padding: 28px 7vw 36px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft);
}

/* ---------- Десктоп ---------- */
@media (min-width: 900px) {

  .nav {
    position: absolute;
    z-index: 10;
    top: 0; left: 0; right: 0;
    max-width: none;
    justify-content: flex-start;
    gap: 40px;
    padding: 36px 0 0 6vw;
    font-size: 15px;
  }

  /* Горизонтальная сцена (по референсу автора): вертикальная прокрутка двигает экраны вбок */
  .hscroll { height: 200vh; }
  .hscroll__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
  }
  .hscroll__track {
    display: flex;
    width: 200vw;
    height: 100%;
    will-change: transform;
  }
  .panel {
    position: relative;
    flex: 0 0 100vw;
    height: 100%;
    max-width: none;
    margin: 0;
  }

  /* Где есть анимация по прокрутке (Chrome) — сдвиг и параллакс делает браузер, без JS */
  @supports (animation-timeline: view()) {
    .hscroll { view-timeline: --hscroll block; }
    .hscroll__track {
      animation: hscroll-move linear both;
      animation-timeline: --hscroll;
      animation-range: contain 0% contain 100%;
    }
    .hero-sun {
      animation: sun-spin 60s linear infinite, hscroll-sun linear both;
      animation-timeline: auto, --hscroll;
      animation-range: normal, contain 0% contain 100%;
    }
    .panel__art {
      animation: hscroll-art linear both;
      animation-timeline: --hscroll;
      animation-range: contain 0% contain 100%;
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-sun { animation: hscroll-sun linear both; animation-timeline: --hscroll; animation-range: contain 0% contain 100%; }
    }
  }

  /* Первый экран (по макету автора из Figma): текст слева по одной линии, фото справа до края, солнце на углу фото */
  .hero {
    display: grid;
    grid-template-columns: 42vw 1fr;
    grid-template-rows: 0.55fr auto auto 1fr;
    padding: 0;
  }
  .hero-visual {
    grid-column: 2; grid-row: 1 / -1;
    position: relative;
    height: 100%;
    margin: 0;
  }
  .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 30%;
  }
  .hero-sun { width: min(18vw, 32vh); left: max(-9vw, -16vh); right: auto; top: 5vh; }

  .hero-text {
    grid-column: 1; grid-row: 2;
    padding: 0 0 0 6vw;
  }
  .hero-name { font-size: min(6.4vw, 12vh); line-height: .92; }
  .hero-name__last { padding-left: 0; margin-top: 0; }
  .hero-role span, .hero-role .hero-role__desk { display: inline; }
  .hero-role {
    position: static;
    line-height: 1.35;
    margin: min(2.4vw, 4vh) 0 0;
    font-size: 17px;
    text-align: left;
  }

  .hero-actions {
    grid-column: 1; grid-row: 4;
    align-self: end;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 48px;
    width: auto;
    margin: 0 2vw min(7vh, 64px) 6vw;
  }
  .hero-btn__eye { width: 62px; }
  .hero-btn {
    flex: none;
    width: min(340px, 28vw);
    height: 58px;
    padding: 0 14px;
    font-size: 14px;
  }

  /* «Обо мне» — второй экран сцены: в центре светящийся Куб Метатрона, заголовок разведён по углам вокруг него */
  .about-intro {
    display: block;
    padding: 0;
    border: 0;
  }
  .about-intro .about-head {
    position: absolute;
    inset: 0;
    z-index: 1;
    max-width: none;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }
  .about-intro .eyebrow { position: absolute; left: 7vw; top: calc(13vh - 36px); margin: 0; }
  .about-intro .about-title {
    font-size: min(4.2vw, 8vh);
    text-shadow: 0 0 14px #fff, 0 0 4px #fff;
  }
  .about-title__a, .about-title__b { position: absolute; }
  .about-title__line { display: inline; }
  .about-title__a { left: 7vw; top: 13vh; max-width: 38vw; }
  .about-title__b { right: 7vw; bottom: 13vh; max-width: 32vw; text-align: right; }
  .panel__art {
    position: absolute;
    left: 50%;
    top: calc(50% - 3vh); /* чуть выше центра: нижняя дуга спирали выходит за рамку картинки и не должна обрезаться краем блока */
    height: 80vh;
    width: auto;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  /* Знакомство: фото слева от центра, заголовок «лесенкой» справа, карточки наплывают справа */
  .meet { padding-bottom: 140px; }
  .meet__photo { left: 8vw; height: 94%; transform: none; }
  .meet__title {
    position: absolute;
    top: 14vh;
    right: 6vw;
    padding: 0;
    font-size: min(9vw, 17vh);
    text-align: left;
  }
  .meet__line--soft { padding-left: 14vw; }
  .meet__line { padding-left: 0; }
  .meet__line--far { padding-left: 8vw; }
  .meet__cards {
    width: min(560px, 44vw);
    margin: -38vh 7vw 0 auto;
    padding: 0;
    gap: 24px;
  }
  .slide { padding: 40px 36px 40px; }
  .slide__title { font-size: 32px; }

  .section { padding: 112px 0; }
  .wrap, .footer { padding-left: 56px; padding-right: 56px; }
  /* Заголовки всех блоков — одного размера */
  .section-title, .contacts__title, .path__title { font-size: min(5.4vw, 76px); }
  .section-title { margin-bottom: 56px; }
  .reviews { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .review { padding: 40px 36px; }
  /* Экраны услуг ложатся стопкой: каждый прилипает к верху, следующий наплывает поверх */
  .services__intro { padding: 120px 56px 72px; }
  .svc {
    position: sticky;
    top: 0;
    height: 100vh;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    box-shadow: 0 -18px 40px rgba(20, 20, 20, .05);
  }
  .svc__visual { aspect-ratio: auto; height: 100vh; }
  .svc:nth-of-type(even) .svc__visual { order: 2; }
  .svc__body { display: flex; flex-direction: column; justify-content: center; padding: 8vh 7vw; }
  /* Текст слева — по общей левой линии блоков (контент 1240px + поля 56px), справа — по общей правой */
  .svc:nth-of-type(even) .svc__body { padding-left: max(56px, calc((100vw - 1240px) / 2 + 56px)); }
  .svc:nth-of-type(odd) .svc__body { padding-right: max(56px, calc((100vw - 1240px) / 2 + 56px)); }
  .svc__name { font-size: min(5.6vw, 11vh); }
  .svc__text { font-size: 17px; }
  .svc__btn { width: 100%; height: 60px; font-size: 15px; }
  /* Этапы: заголовок слева сверху, под ним — горизонтальная линия с остановками на всю ширину */
  .path { padding: 120px 0 100px; }
  .path__inner { padding: 0 56px; }
  .path__line {
    display: flex;
    justify-content: space-between;
    margin: 150px 0 0; /* сверху — место для солнца над номером */
    padding-bottom: 8em; /* место для подробности под пунктом */
  }
  .path__line::before { top: 37px; bottom: auto; left: 0; right: 0; width: auto; height: 1px; } /* между номером и названием */
  .path__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    padding: 0 22px;
    margin: 0;
    text-align: center;
  }
  .path__step:first-child { padding-left: 0; align-items: flex-start; text-align: left; }
  .path__step:last-child { padding-right: 0; align-items: flex-end; text-align: right; }
  .path__num { font-size: 16px; }
  .path__name { font-size: 22px; transform-origin: top center; }
  .path__step:first-child .path__name { transform-origin: top left; }
  .path__step:last-child .path__name { transform-origin: top right; }
  .path__info {
    position: absolute;
    top: 100%;
    width: 250px;
    margin: 0 !important;
    padding-top: 22px;
    font-size: 15px;
    /* на компьютере описания видны всегда, у активного пункта — ярче */
    max-height: none;
    opacity: .5;
    transition: opacity .5s ease, color .5s ease;
  }
  .path__step:is(:hover, :focus-visible, .is-open) .path__info { max-height: none; opacity: 1; color: var(--ink); }
  .path__step:not(:first-child):not(:last-child) .path__info { left: 50%; translate: -50% 0; }
  .path__step:first-child .path__info { left: 0; }
  .path__step:last-child .path__info { right: 0; }
  .path__step:is(:hover, :focus-visible, .is-open) .path__name { transform: scale(1.45); }
  /* На десктопе солнце появляется над номером остановки */
  .path__sun { top: auto; bottom: calc(100% + 18px); right: auto; left: 50%; width: 76px; height: 76px; translate: -50% 0; }
  .path__step:first-child .path__sun { left: 0; translate: 0 0; }
  .path__step:last-child .path__sun { left: auto; right: 0; translate: 0 0; }
  .contacts { padding: 140px 0; }
}

/* Загрузчик со спиралью (script.js прячет его после загрузки) */
.loader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .7s ease, visibility 0s .7s;
}
.loader img { width: 96px; height: 96px; mix-blend-mode: multiply; animation: sun-spin 3s linear infinite; }
.loader.is-done { opacity: 0; visibility: hidden; }
