/* ==========================================================================
   ELITE LOOK — дизайн-система
   Палитра: глубокий чёрный + прозрачные слои + сирень (LED) + розовый (логотип)
   Шрифты: Cormorant (заголовки) + Manrope (текст) — как на референсе magiclashes
   Mobile-first: база 390px, далее 768px и 1200px
   ========================================================================== */

:root {
  /* --- основа: чёрный, но не плоский --- */
  --ink:        #0b0910;
  --ink-2:      #110d18;
  --ink-3:      #17121f;

  /* --- «чёрный с прозрачностью»: слои поверх фото и фона --- */
  --veil:       rgba(255, 255, 255, 0.045);
  --veil-2:     rgba(255, 255, 255, 0.08);
  --veil-line:  rgba(255, 255, 255, 0.10);
  --glass:      rgba(14, 11, 20, 0.55);
  --glass-2:    rgba(14, 11, 20, 0.78);

  /* --- акценты --- */
  --lilac:      #b79cff;
  --lilac-deep: #8f6be2;
  --lilac-soft: #d9ccff;
  --pink:       #ff5fa8;
  --pink-soft:  #ffa8cf;

  /* --- текст --- */
  --text:       #f4f0f8;
  --text-2:     #cfc6dc;
  --muted:      #9c93ab;

  /* --- светлая секция (галерея) --- */
  --light-bg:   #f6f3f8;
  --light-ink:  #16101d;
  --light-muted:#6b6277;

  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s7: 32px; --s8: 40px; --s9: 56px; --s10: 72px; --s11: 96px;

  --pad: 20px;
  --serif: "Cormorant", "Georgia", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }

/* ==========================================================================
   ФОНОВОЕ СИЯНИЕ — «эффект теней» вместо плоской заливки.
   Два медленно дышащих пятна: сиреневое и розовое, очень слабые.
   ========================================================================== */
.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow::before,
.glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.glow::before {
  width: 60vmax; height: 60vmax;
  top: -18vmax; left: -14vmax;
  background: radial-gradient(circle, rgba(143, 107, 226, 0.3), transparent 68%);
  animation: drift-a 26s var(--ease) infinite alternate;
}
.glow::after {
  width: 52vmax; height: 52vmax;
  bottom: -16vmax; right: -12vmax;
  background: radial-gradient(circle, rgba(255, 95, 168, 0.24), transparent 68%);
  animation: drift-b 32s var(--ease) infinite alternate;
}
/* на узких экранах пятна попадают в кадр реже — заметно ярче, чтобы
   переливание было видно, но без флуоресцентного эффекта */
@media (max-width: 767px) {
  .glow::before { background: radial-gradient(circle, rgba(143, 107, 226, 0.4), transparent 68%); }
  .glow::after  { background: radial-gradient(circle, rgba(255, 95, 168, 0.32), transparent 68%); }
}
@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8vmax, 6vmax, 0) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(-7vmax, -5vmax, 0) scale(1); }
}
/* поднимаем контент над сиянием адресно: широкий селектор body > * перебивал
   position:fixed у мобильного меню и лайтбокса (специфичность выше) */
.header, main, .footer { position: relative; z-index: 1; }

/* ==========================================================================
   ТИПОГРАФИКА
   ========================================================================== */
.kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lilac);
  margin: 0 0 var(--s4);
}
.kicker--dark { color: var(--lilac-deep); }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.section__title {
  font-size: clamp(30px, 8vw, 38px);
  line-height: 1.12;
  margin: 0 0 var(--s5);
}
.section__title em {
  font-style: italic;
  color: var(--lilac-soft);
}
.section__title--dark { color: var(--light-ink); }
.section__title--dark em { color: var(--lilac-deep); }

.section__text {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 var(--s7);
  max-width: 60ch;
}
.section__text--dark { color: var(--light-muted); }

.lead {
  font-family: var(--serif);
  font-size: clamp(19px, 5vw, 23px);
  font-style: italic;
  line-height: 1.45;
  color: var(--lilac-soft);
}

/* ==========================================================================
   КНОПКИ
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 17px 32px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .25s var(--ease), border-color .25s var(--ease),
              transform .2s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* заливка градиентом сирень→розовый, при наведении светится */
.btn--primary {
  color: #150f1c;
  background: linear-gradient(100deg, var(--lilac) 0%, var(--pink-soft) 100%);
  box-shadow: 0 6px 26px -10px rgba(183, 156, 255, 0.55);
}
.btn--primary:hover {
  box-shadow: 0 10px 34px -8px rgba(255, 95, 168, 0.5);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--veil-line);
  background: var(--veil);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--lilac);
  color: var(--lilac-soft);
}

.btn--block { width: 100%; }

/* ==========================================================================
   ШАПКА
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 9, 16, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--veil-line);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: 12px var(--pad);
}
.logo { display: flex; align-items: center; }
.logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(255, 95, 168, 0.35));
}
.logo--footer img { height: 54px; }

.header-nav { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.header__phone {
  flex: none;
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--veil-line);
  border-radius: 2px;
  color: var(--lilac-soft);
  background: var(--veil);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.header__phone:hover {
  border-color: var(--pink);
  color: var(--pink-soft);
  background: rgba(255, 95, 168, 0.08);
}
.header__phone svg { width: 18px; height: 18px; }
.header__cta { padding: 12px 18px; font-size: 13.5px; white-space: nowrap; }

.burger {
  width: 42px; height: 42px;
  background: var(--veil);
  border: 1px solid var(--veil-line);
  border-radius: 2px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; padding: 0;
}
.burger span {
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; right: 0;
  height: 100%; width: min(82vw, 340px);
  background: rgba(17, 13, 24, 0.96);
  backdrop-filter: blur(18px);
  border-left: 1px solid var(--veil-line);
  z-index: 200;
  display: flex; flex-direction: column;
  padding: 92px var(--s6) var(--s6);
  transform: translateX(100%);
  transition: transform .38s var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__link {
  padding: var(--s4) 0;
  font-family: var(--serif);
  font-size: 21px;
  border-bottom: 1px solid var(--veil-line);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.mobile-nav__link:hover { color: var(--lilac-soft); padding-left: 6px; }
.mobile-nav__link--cta {
  margin-top: var(--s6);
  border: 1px solid var(--lilac);
  border-radius: 2px;
  color: var(--lilac-soft);
  text-align: center;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
}
.mobile-nav__backdrop {
  position: fixed; inset: 0;
  background: rgba(4, 3, 7, 0.6);
  backdrop-filter: blur(2px);
  z-index: 150; opacity: 0; pointer-events: none;
  transition: opacity .38s var(--ease);
}
.mobile-nav__backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   ГЕРОЙ
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__photo {
  position: relative;
  min-height: min(360px, 44svh);
  flex: 1 1 auto;
  animation: photo-in 1.3s var(--ease) both;
}
.hero__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
/* прозрачный чёрный слой + тёплое золотое свечение поверх фото */
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 55% at 72% 26%, rgba(241, 198, 154, 0.24), transparent 70%),
    radial-gradient(62% 52% at 20% 84%, rgba(208, 160, 108, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(11, 9, 16, 0.42) 0%, rgba(11, 9, 16, 0.22) 45%, var(--ink) 100%);
}
.hero__content { padding: var(--s6) var(--pad) var(--s9); }
.hero__text { display: flex; flex-direction: column; gap: var(--s5); }
.hero__title {
  font-size: clamp(34px, 10vw, 46px);
  line-height: 1.06;
  margin: 0;
}
.hero__title em { font-style: italic; color: var(--lilac-soft); }
.hero__subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  max-width: 44ch;
}
.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: var(--s3);
  margin-top: var(--s7);
}

.hero__title, .hero__subtitle, .hero .kicker, .hero__cta-row {
  animation: rise 0.9s var(--ease) both;
}
.hero .kicker      { animation-delay: .10s; }
.hero__title       { animation-delay: .20s; }
.hero__subtitle    { animation-delay: .32s; }
.hero__cta-row     { animation-delay: .44s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes photo-in {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: none; }
}

/* полоса фактов под героем */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--veil-line);
  border-top: 1px solid var(--veil-line);
  border-bottom: 1px solid var(--veil-line);
}
.fact {
  background: var(--ink);
  padding: var(--s6) var(--pad);
}
.fact__num {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
  color: var(--lilac-soft);
  display: block;
  margin-bottom: var(--s2);
}
.fact__label {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================================================================
   СЕКЦИИ
   ========================================================================== */
.section { padding: var(--s10) var(--pad); }
.section--tight { padding-top: var(--s9); padding-bottom: var(--s9); }
.divider { border: none; border-top: 1px solid var(--veil-line); margin: 0; }

/* --- боли --- */
.pains__text p {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 var(--s5);
}
.pains__text p:last-child { margin-bottom: 0; }
.pains__highlight {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 5vw, 22px);
  line-height: 1.45;
  color: var(--lilac-soft) !important;
  padding-left: var(--s5);
  border-left: 1px solid var(--lilac);
}

/* --- эффекты (карточки услуг) --- */
.effects {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
.effect {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--veil-line);
  border-radius: 3px;
  background: var(--ink-2);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.effect:hover { border-color: rgba(183, 156, 255, 0.45); transform: translateY(-3px); }
.effect__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.effect__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  transition: transform .7s var(--ease);
}
.effect:hover .effect__photo img { transform: scale(1.05); }
.effect__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,9,16,0.1) 0%, rgba(11,9,16,0.75) 100%);
}
.effect__body {
  padding: var(--s5) var(--s5) var(--s6);
  display: flex; flex-direction: column; gap: var(--s2);
}
.effect__name {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.1;
  margin: 0;
}
.effect__price {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pink-soft);
  text-transform: uppercase;
}
.effect__desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 var(--s3);
}
.btn--sm { padding: 12px 22px; font-size: 14px; }
.effect__cta { align-self: flex-start; margin-top: auto; }

/* --- шаги приёма: таймлайн-инфографика --- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
}
/* линия таймлайна: вертикальная на телефоне */
.steps::before {
  content: "";
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--lilac), var(--pink) 70%, transparent);
  opacity: 0.45;
}
.step {
  position: relative;
  display: flex;
  gap: var(--s5);
  align-items: flex-start;
}
.step__marker {
  position: relative;
  z-index: 1;
  flex: none;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(183, 156, 255, 0.45);
  box-shadow: 0 0 0 6px var(--ink), 0 0 24px -6px rgba(183, 156, 255, 0.5);
}
.step__n {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--lilac-soft);
}
.step__body { padding-top: var(--s2); }
.step__title {
  font-family: var(--serif);
  font-size: 23px;
  margin: 0 0 var(--s2);
}
.step__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* --- теги --- */
.tags { display: flex; flex-wrap: wrap; gap: var(--s3); }
.tag {
  border: 1px solid var(--veil-line);
  border-radius: 2px;
  background: var(--veil);
  color: var(--lilac-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.tag:hover { border-color: var(--lilac); background: rgba(183,156,255,.08); }

/* --- цены --- */
.price-group__title {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s4);
}
.price-group__title--spaced { margin-top: var(--s9); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-item {
  border-bottom: 1px solid var(--veil-line);
}
.price-item:first-child { border-top: 1px solid var(--veil-line); }

/* строка-заголовок: кликабельна целиком, раскрывает описание + кнопку записи */
.price-item__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s4);
  width: 100%;
  padding: 18px 0;
  background: none; border: none;
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: padding-left .25s var(--ease);
}
.price-item__row:hover,
.price-item.is-open .price-item__row { padding-left: 8px; }
.price-item__name { font-size: 16px; color: var(--text); }
.price-item__value {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--lilac-soft);
  white-space: nowrap;
  margin-left: auto;
}
.price-item__arrow {
  flex: none;
  width: 9px; height: 9px;
  margin-left: var(--s3);
  border-right: 1.5px solid var(--lilac);
  border-bottom: 1.5px solid var(--lilac);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.price-item.is-open .price-item__arrow { transform: rotate(-135deg); }

/* панель раскрытия: содержимое короткое и предсказуемое (описание + кнопка),
   поэтому анимируем max-height — надёжнее grid-rows при двух дочерних элементах */
.price-item__panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), opacity .25s var(--ease);
}
.price-item.is-open .price-item__panel {
  max-height: 320px;   /* с запасом: кнопка не должна упираться в нижнюю границу */
  opacity: 1;
  padding-bottom: var(--s5);
}
.price-item__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 var(--s5);
  padding-top: var(--s3);
  max-width: 52ch;
}
.price-note { font-size: 13.5px; color: var(--muted); margin: var(--s4) 0 0; }

/* --- мастер --- */
.master__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  margin-bottom: var(--s7);
}
.master__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
}
.master__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11,9,16,.6) 100%);
}
.master__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--lilac-soft);
  margin: 0 0 var(--s4);
}

/* --- сертификаты --- */
.certs-track { display: flex; gap: var(--s4); width: max-content; }
/* без рамки/подложки — каждый сертификат «плавает» своей естественной
   пропорцией (высота фиксирована, ширина у всех разная) */
.cert {
  flex: none;
  height: 240px;
  padding: 0;
  border: none;
  background: none;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.cert:hover { transform: translateY(-4px) scale(1.02); filter: drop-shadow(0 16px 30px rgba(183,156,255,.3)); }
/* волосяная рамка: невидима на светлых сертификатах, даёт край тёмным */
.cert img { height: 100%; width: auto; display: block; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--veil-line); }

/* лайтбокс сертификатов */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5, 4, 8, 0.92);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s6);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%; max-height: 86vh;
  border: 1px solid var(--veil-line);
  border-radius: 3px;
}
.lightbox__close {
  position: absolute; top: var(--s5); right: var(--s5);
  width: 44px; height: 44px;
  background: var(--veil); border: 1px solid var(--veil-line);
  border-radius: 2px; color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { border-color: var(--pink); color: var(--pink-soft); }

/* --- галерея работ: та же тёмная тема, что и весь сайт (была отдельным
   светлым блоком — «выделялась» из общего градиента) --- */
.section--gallery {
  background: transparent;
  color: var(--text);
}
/* сетка простая, все плитки квадратные 1:1 — как и исходные фото
   (переменные пропорции только путали: одинаковые по стилю фото,
   но по-разному обрезанные, читались как повторы) */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.bento__item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-2);
  border: 1px solid var(--veil-line);
  aspect-ratio: 1 / 1;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
  padding: 0;
  margin: 0;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.bento__item:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 2px;
}
.bento__item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  transition: transform .7s var(--ease);
}
.bento__item:hover img { transform: scale(1.12); }
.bento__item:hover {
  border-color: rgba(183, 156, 255, 0.45);
  box-shadow: 0 18px 42px -8px rgba(183, 156, 255, 0.3);
}

/* --- ленты, которые едут: отзывы и сертификаты ---
   Маска-градиент («растворение» по краям) стоит на НЕ-скроллящейся обёртке
   .edge-fade, а не на самом overflow-x:auto контейнере — mask-image на
   скроллящемся элементе блокирует тач-скролл в iOS Safari (известный баг),
   именно из-за этого ленты не листались пальцем на телефоне. */
.edge-fade {
  position: relative;
  overflow: hidden;
  margin: 0 calc(var(--pad) * -1);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0, #000 calc(var(--pad) + 12px),
    #000 calc(100% - var(--pad) - 12px), transparent 100%);
  mask-image: linear-gradient(90deg,
    transparent 0, #000 calc(var(--pad) + 12px),
    #000 calc(100% - var(--pad) - 12px), transparent 100%);
}
.reviews-scroll,
.certs-scroll {
  overflow-x: auto;
  padding: 0 var(--pad) var(--s4);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-scroll::-webkit-scrollbar,
.certs-scroll::-webkit-scrollbar { display: none; }
.reviews-track { display: flex; gap: var(--s4); width: max-content; }
.review-card {
  flex: none;
  width: 290px;
  background: var(--veil);
  backdrop-filter: blur(8px);
  border: 1px solid var(--veil-line);
  border-radius: 3px;
  padding: var(--s6);
  display: flex; flex-direction: column; gap: var(--s3);
}
.review-card__stars { color: var(--pink); font-size: 12px; letter-spacing: 3px; }
.review-card__text {
  font-size: 15.5px; line-height: 1.6;
  color: var(--text-2); margin: 0;
}
.review-card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  margin-top: auto; padding-top: var(--s3);
}
.review-card__meta { font-size: 12px; color: var(--muted); }
.review-card__link {
  flex: none;
  font-size: 11.5px; font-weight: 600;
  color: var(--lilac-soft);
  border: 1px solid var(--veil-line);
  border-radius: 2px;
  padding: 6px 10px;
  white-space: nowrap;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.review-card__link:hover { border-color: var(--lilac); background: rgba(183,156,255,.08); color: var(--lilac); }

/* --- FAQ --- */
.faq { border-top: 1px solid var(--veil-line); }
.faq__item { border-bottom: 1px solid var(--veil-line); }
.faq__item summary {
  padding: var(--s6) 0;
  font-family: var(--serif);
  font-size: 20px;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s4);
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  color: var(--lilac);
  flex: none;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary { color: var(--lilac-soft); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer {
  font-size: 16px; line-height: 1.65;
  color: var(--muted);
  margin: 0 0 var(--s6);
  max-width: 62ch;
  animation: rise .45s var(--ease) both;
}

/* --- студия / карта --- */
.location__address {
  font-family: var(--serif);
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 var(--s3);
}
.location__note { font-size: 14.5px; color: var(--muted); margin: 0; }
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-top: 1px solid var(--veil-line);
  border-bottom: 1px solid var(--veil-line);
  background: var(--ink-2);
}
.map-frame iframe {
  width: 100%; height: 100%; border: 0;
  filter: invert(0.92) hue-rotate(190deg) saturate(0.75) contrast(0.9) brightness(0.95);
}
.map-caption {
  font-size: 14.5px; font-weight: 500;
  color: var(--muted);
  margin: var(--s5) 0 0;
  padding: 0 var(--pad) var(--s9);
}

/* --- фото студии и мастера за работой --- */
.shot {
  position: relative;
  margin: var(--s7) 0 0;   /* мобильный отступ от текста/тегов сверху */
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--veil-line);
  background: var(--ink-2);
}
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.shot--tall img { aspect-ratio: 4 / 5; }
.shot:hover img { transform: scale(1.03); }
/* тёплый золотой отблеск поверх кадра — связывает фото с первым экраном */
.shot::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 70% 35%, rgba(232, 189, 122, 0.15), transparent 70%),
    linear-gradient(180deg, transparent 40%, rgba(6, 5, 9, 0.92) 100%);
}
.shot__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: var(--s7) var(--s5) var(--s5);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}

.interior {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
  align-items: center;
}
.interior__title {
  font-family: var(--serif);
  font-size: clamp(24px, 6vw, 30px);
  margin: 0 0 var(--s4);
}
.interior__desc {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 var(--s6);
  max-width: 46ch;
}

/* ==========================================================================
   ФОРМА ЗАПИСИ
   ========================================================================== */
.booking-form {
  display: flex; flex-direction: column; gap: var(--s5);
  background: var(--veil);
  backdrop-filter: blur(10px);
  border: 1px solid var(--veil-line);
  border-radius: 3px;
  padding: var(--s7) var(--s6);
}
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field label {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.input {
  background: rgba(8, 6, 12, 0.6);
  border: 1px solid var(--veil-line);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  padding: 15px;
  width: 100%;
  appearance: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.input::placeholder { color: rgba(156, 147, 171, 0.7); }
.input:focus { outline: none; border-color: var(--lilac); background: rgba(8, 6, 12, 0.85); }

/* кастомный список услуг */
.select { position: relative; }
.select__button {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3);
  background: rgba(8, 6, 12, 0.6);
  border: 1px solid var(--veil-line);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--sans); font-size: 16px;
  padding: 15px; width: 100%; text-align: left; cursor: pointer;
  transition: border-color .2s var(--ease);
}
.select__button:focus, .select__button.is-open { outline: none; border-color: var(--lilac); }
.select__button.has-error { border-color: #ef8a8a; }
.select__button-value--placeholder { color: rgba(156, 147, 171, 0.8); }
.select__arrow {
  flex: none; width: 9px; height: 9px;
  border-right: 1.5px solid var(--lilac);
  border-bottom: 1.5px solid var(--lilac);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.select__button.is-open .select__arrow { transform: rotate(-135deg); }
.select__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  z-index: 40;
  background: rgba(20, 15, 28, 0.97);
  backdrop-filter: blur(14px);
  border: 1px solid var(--veil-line);
  border-top: 1px solid var(--lilac);
  border-radius: 2px;
  max-height: 290px; overflow-y: auto;
  padding: var(--s2) 0;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.select__panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.select__group-label {
  padding: 12px 16px 6px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.select__option {
  padding: 13px 16px; font-size: 15px;
  cursor: pointer; color: var(--text);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.select__option:hover, .select__option.is-focused {
  background: rgba(183, 156, 255, 0.14);
  color: var(--lilac-soft);
}
.select__option.is-selected { color: var(--pink-soft); }

/* согласие */
.consent {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--muted); cursor: pointer;
}
.consent input[type="checkbox"] {
  appearance: none; flex: none;
  width: 20px; height: 20px; margin-top: 1px;
  border: 1px solid var(--veil-line);
  border-radius: 2px;
  background: rgba(8, 6, 12, 0.6);
  position: relative; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.consent input[type="checkbox"]:checked {
  border-color: var(--lilac);
  background: linear-gradient(135deg, var(--lilac), var(--pink-soft));
}
.consent input[type="checkbox"]:checked::after {
  content: ""; position: absolute;
  left: 6px; top: 2px; width: 5px; height: 10px;
  border-right: 2px solid #150f1c; border-bottom: 2px solid #150f1c;
  transform: rotate(40deg);
}
.consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }
.consent a { color: var(--lilac-soft); text-decoration: underline; }
.consent.has-error { color: #ef8a8a; }
.consent.has-error input[type="checkbox"] { border-color: #ef8a8a; }

.booking-form__divider {
  display: flex; align-items: center; gap: var(--s4);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.booking-form__divider::before,
.booking-form__divider::after {
  content: ""; flex: 1; height: 1px; background: var(--veil-line);
}
.booking-form__contacts { display: flex; flex-direction: column; gap: var(--s3); }

.booking-success {
  background: var(--veil);
  backdrop-filter: blur(10px);
  border: 1px solid var(--lilac);
  border-radius: 3px;
  padding: var(--s9) var(--s6);
  text-align: center;
  animation: rise .5s var(--ease) both;
}
.booking-success h3 {
  font-family: var(--serif); font-size: 26px; margin: 0 0 var(--s3);
  color: var(--lilac-soft);
}
.booking-success p { margin: 0; color: var(--muted); font-size: 15px; }

/* ==========================================================================
   ПОДВАЛ
   ========================================================================== */
.footer {
  padding: var(--s10) var(--pad) var(--s9);
  text-align: center;
  border-top: 1px solid var(--veil-line);
  display: flex; flex-direction: column; align-items: center; gap: var(--s4);
}
.footer__hours { font-size: 14.5px; color: var(--text-2); margin: 0; }
.footer__address { font-size: 14.5px; color: var(--muted); margin: 0; }
.footer__phone {
  font-family: var(--serif); font-size: 24px;
  color: var(--lilac-soft); margin: var(--s2) 0;
  transition: color .2s var(--ease);
}
.footer__phone:hover { color: var(--pink-soft); }
.footer__links { display: flex; gap: var(--s5); flex-wrap: wrap; justify-content: center; }
.footer__links a {
  font-size: 13.5px; color: var(--muted);
  transition: color .2s var(--ease);
}
.footer__links a:hover { color: var(--lilac-soft); }
.footer__copyright { font-size: 12px; color: rgba(156,147,171,.6); margin: var(--s5) 0 0; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--lilac); color: #150f1c;
  padding: var(--s3) var(--s4); z-index: 999;
}
.skip-link:focus { left: var(--s3); top: var(--s3); }

/* ==========================================================================
   ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ (атрибут ставит JS)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal].is-visible { opacity: 1; transform: none; transition: none; }
  .glow::before, .glow::after { animation: none; }
  .hero__photo, .hero__title, .hero__subtitle, .hero .kicker, .hero__cta-row,
  .booking-success, .faq__answer { animation: none !important; }
}

/* ==========================================================================
   ПЛАНШЕТ 768+
   ========================================================================== */
@media (min-width: 768px) {
  :root { --pad: 40px; }

  .section { padding: var(--s11) var(--pad); }
  .section__title { font-size: clamp(38px, 5vw, 48px); }

  /* герой: фото и текст рядом */
  .hero {
    flex-direction: row;
    align-items: stretch;
    min-height: 620px;
    padding: var(--s9) var(--pad);
    gap: var(--s9);
  }
  .hero__photo {
    flex: 0 1 44%;
    min-height: 100%;
    border-radius: 4px;
    overflow: hidden;
  }
  .hero__veil {
    background:
      radial-gradient(70% 60% at 70% 24%, rgba(241, 198, 154, 0.26), transparent 70%),
      radial-gradient(62% 52% at 24% 86%, rgba(208, 160, 108, 0.18), transparent 72%),
      linear-gradient(95deg, rgba(11,9,16,.25) 0%, rgba(11,9,16,.18) 55%, var(--ink) 100%);
  }
  .hero__content {
    flex: 1 1 56%;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0;
  }
  .hero__title { font-size: clamp(44px, 5.6vw, 60px); }
  .hero__subtitle { font-size: 18px; max-width: 40ch; }

  /* полоса фактов — внутри контентного блока, а не во всю ширину экрана */
  .facts {
    grid-template-columns: repeat(4, 1fr);
    margin: 0 var(--pad);
    border: 1px solid var(--veil-line);
    border-radius: 3px;
    overflow: hidden;
  }
  .fact { padding: var(--s7) var(--s6); background: var(--ink-2); }
  .fact__num { font-size: 34px; }
  .fact__label { font-size: 14px; }

  .section__text { font-size: 18px; }
  .pains__text { max-width: 68ch; }
  .pains__text p { font-size: 18px; }

  .effects { grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
  .effect__photo { aspect-ratio: 4 / 3; }
  .effect__body { padding: var(--s6) var(--s6) var(--s7); }
  .effect__name { font-size: 28px; }
  .effect__desc { font-size: 16px; }
  .effect__price { font-size: 14px; }

  /* таймлайн разворачивается по горизонтали */
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
  .steps::before {
    left: 28px; right: 28px; top: 28px; bottom: auto;
    width: auto; height: 1px;
    background: linear-gradient(90deg, var(--lilac), var(--pink) 75%, transparent);
  }
  .step { flex-direction: column; gap: var(--s5); }
  .step__body { padding-top: 0; }

  .price-item { padding: 21px 0; }
  .price-item__name { font-size: 19px; }
  .price-item__value { font-size: 30px; }
  .price-note { font-size: 15px; }
  .price-group__title { font-size: 16px; }

  .section--master {
    display: grid; grid-template-columns: 0.85fr 1.15fr;
    gap: var(--s9); align-items: center;
  }
  .master__photo { margin-bottom: 0; max-width: 380px; }
  .master__text { display: flex; flex-direction: column; }
  .master__name { font-size: 24px; }

  .interior { grid-template-columns: 0.9fr 1.1fr; gap: var(--s9); }
  .interior .shot { margin-top: 0; }
  .interior__desc { font-size: 18px; }
  .shot__caption { font-size: 15px; padding: var(--s6); }
  .cert { height: 300px; }
  .bento { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .review-card { width: 350px; }
  .review-card__text { font-size: 16px; }
  .master__name { font-size: 24px; }
  .faq__answer { font-size: 17px; }

  .map-frame {
    width: auto;
    aspect-ratio: unset;
    height: 420px;
    margin: var(--s7) var(--pad) 0;
    border: 1px solid var(--veil-line);
    border-radius: 4px;
  }
  .map-caption { font-size: 16px; }

  .section--booking { text-align: center; }
  .section--booking .section__text { margin-left: auto; margin-right: auto; }
  .booking-form, .booking-success {
    max-width: 520px; margin-left: auto; margin-right: auto; text-align: left;
  }
  .booking-success { text-align: center; }

  .faq__item summary { font-size: 22px; }
}

/* ==========================================================================
   ДЕСКТОП 1200+
   ========================================================================== */
@media (min-width: 1200px) {
  :root { --pad: max(40px, calc((100vw - 1200px) / 2)); }

  /* горизонтальное меню вместо бургера */
  .header-nav {
    display: flex; align-items: center; gap: 26px;
    margin-left: auto; margin-right: var(--s7);
  }
  .header-nav__link {
    font-size: 14px; font-weight: 500;
    color: var(--text-2);
    position: relative;
    padding: 4px 0;
    transition: color .25s var(--ease);
  }
  .header-nav__link::after {
    content: "";
    position: absolute; left: 0; right: 100%; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--lilac), var(--pink));
    transition: right .35s var(--ease);
  }
  .header-nav__link:hover { color: var(--text); }
  .header-nav__link:hover::after { right: 0; }
  .burger { display: none; }
  /* на десктопе кнопка «Записаться» всегда видна в шапке, слева от иконки телефона
     (в дополнение к пункту «Запись» в навигации) */
  .header__cta { display: inline-flex; order: -1; }
  .header__phone { order: 0; }

  .logo img { height: 48px; }
  .hero { min-height: 720px; gap: var(--s10); }
  .hero__title { font-size: clamp(52px, 4.2vw, 68px); }

  .section__title { font-size: 52px; }

  .effects { grid-template-columns: repeat(3, 1fr); }
  .effect__name { font-size: 30px; }
  .effect__desc { font-size: 16.5px; }

  .section--technique {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: var(--s10); align-items: center;
  }
  .section--technique .shot { margin-top: 0; }

  .master__photo { max-width: 460px; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .cert { height: 320px; }
  .map-frame { height: 460px; }

  /* FAQ в одну колонку: заголовок сверху, вопросы во всю ширину —
     двухколоночная раскладка клиентке не понравилась */
  .faq { max-width: 900px; }
  .faq__item summary { font-size: 24px; padding: var(--s7) 0; }
  .faq__answer { font-size: 17.5px; }

  .section__text { font-size: 19px; }
  .pains__text p { font-size: 19px; }
  .pains__highlight { font-size: 26px; }
  .step__title { font-size: 25px; }
  .step__text { font-size: 16.5px; }
  .location__note { font-size: 16px; }
}
