/* =========================================================
   Марафет — салон красоты
   Шрифты: Cormorant Garamond (заголовки), Unbounded (акценты), Manrope (текст)
   Палитра: пудровый беж · роза · шоколад
   ========================================================= */

:root {
  --bg: #F3EAE4;
  --cream: #FAF5F1;
  --white: #FFFFFF;
  --blush: #EED8D4;
  --rose: #D38F9A;
  --rose-deep: #A65D69;
  --choco: #231714;
  --choco-2: #36241F;
  --text: #231714;
  --muted: #806B66;
  --light: #F3E3DF;
  --line: rgba(35, 23, 20, .12);

  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-wide: "Unbounded", "Arial", sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 24px;
  --radius-lg: 34px;
  --arch: 999px 999px 26px 26px;
  --shadow: 0 30px 60px -30px rgba(74, 40, 34, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p { margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
::selection { background: var(--rose); color: #fff; }

section[id] { scroll-margin-top: 20px; }

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Зерно для «плёночной» фактуры (только на больших экранах) */
@media (min-width: 1024px) {
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* ---------- Типографика ---------- */
.kicker {
  display: inline-block;
  font-family: var(--f-wide);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.kicker--light { color: var(--rose); }

.h2 {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(48px, 12vw, 120px);
  line-height: .92;
  letter-spacing: -.025em;
  margin-top: 14px;
}
.h2 em { color: var(--rose-deep); font-weight: 300; }

.muted { color: var(--muted); }

/* разбивка текста на слова для анимации */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--f-wide);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--rose);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--lg { height: 58px; padding: 0 30px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--choco); color: var(--cream); }
.btn--dark:hover { color: #fff; }
.arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arrow, a:hover > .arrow { transform: translate(3px, -3px); }

.link-line {
  position: relative;
  font-family: var(--f-wide);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 0;
}
.link-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }

.round-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 18px;
  display: grid; place-items: center;
  transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease);
}
.round-btn:hover { background: var(--choco); color: var(--cream); border-color: var(--choco); }

/* ---------- Экран загрузки ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--choco);
  color: var(--light);
  display: grid;
  place-items: center;
  will-change: clip-path;
}
.no-js .preloader { display: none; }
.preloader__center { text-align: center; }
.preloader__logo {
  display: flex;
  overflow: hidden;
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(64px, 18vw, 200px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.preloader__logo span { display: inline-block; transform: translateY(110%); }
.preloader__sub {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(18px, 3vw, 28px);
  color: var(--rose);
  opacity: 0;
}
.preloader__bottom {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: 34px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--f-wide);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 227, 223, .6);
}
.preloader__count { font-size: clamp(32px, 6vw, 64px); letter-spacing: -.02em; color: var(--light); font-weight: 200; }
.preloader__count b { font-weight: 200; }
.preloader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .08); }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--rose); transform: scaleX(0); transform-origin: left; }

/* ---------- Курсор ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    display: grid;
    place-items: center;
    position: fixed;
    top: 0; left: 0;
    z-index: 250;
    width: 12px; height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--rose-deep);
    pointer-events: none;
    transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, opacity .3s;
  }
  .cursor__label {
    font-family: var(--f-wide);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transition: opacity .3s;
  }
  .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(211, 143, 154, .35); }
  .cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--choco); }
  .cursor.is-view .cursor__label { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 10px var(--gutter);
  transition: transform .7s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
.header__inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 6px 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .5s, border-color .5s, box-shadow .5s;
}
.header.is-scrolled .header__inner {
  background: rgba(250, 245, 241, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 30px -20px rgba(74, 40, 34, .4);
}

.logo { display: flex; flex-direction: column; line-height: 1; position: relative; z-index: 3; }
.logo__word { font-family: var(--f-serif); font-size: 28px; font-weight: 400; letter-spacing: -.01em; }
.logo__sub { font-family: var(--f-serif); font-style: italic; font-size: 13px; color: var(--rose-deep); margin-top: 1px; padding-left: 24px; }
.menu-open .logo { color: var(--light); }
.menu-open .logo__sub { color: var(--rose); }

.header__cta { display: none; height: 46px; }

.burger {
  position: relative; z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--choco);
  display: grid; place-items: center; align-content: center; gap: 6px;
  transition: background .4s;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease); }
.burger[aria-expanded="true"] { background: var(--rose); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Мобильное меню на весь экран */
@media (max-width: 1023px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 100px 28px 40px;
    background: var(--choco);
    color: var(--light);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .8s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav > a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--f-serif);
    font-size: clamp(42px, 12vw, 64px);
    font-weight: 300;
    line-height: 1.12;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s, transform .8s var(--ease), color .3s;
  }
  .nav sup { font-family: var(--f-wide); font-size: 10px; color: var(--rose); margin-top: 14px; }
  .nav.is-open > a { opacity: 1; transform: none; }
  .nav.is-open > a:nth-child(1) { transition-delay: .15s; }
  .nav.is-open > a:nth-child(2) { transition-delay: .2s; }
  .nav.is-open > a:nth-child(3) { transition-delay: .25s; }
  .nav.is-open > a:nth-child(4) { transition-delay: .3s; }
  .nav.is-open > a:nth-child(5) { transition-delay: .35s; }
  .nav.is-open > a:nth-child(6) { transition-delay: .4s; }
  .nav > a:active { color: var(--rose); }
  .nav__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    opacity: 0;
    transition: opacity .6s .45s;
  }
  .nav.is-open .nav__foot { opacity: 1; }
  .nav__foot .btn { background: var(--rose); color: #fff; height: 54px; }
  .nav__phone { font-family: var(--f-wide); font-size: 12px; letter-spacing: .06em; color: rgba(243, 227, 223, .7); }
  body.menu-open { overflow: hidden; }
}

/* ---------- Главный экран ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 10px) 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 10%; left: 50%;
  width: 120vw; height: 120vw;
  max-width: 1300px; max-height: 1300px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(211, 143, 154, .3), rgba(211, 143, 154, 0) 60%);
  pointer-events: none;
}
.hero__meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 var(--gutter);
  max-width: 1320px;
  margin: 0 auto;
  font-family: var(--f-wide);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta-item:nth-child(2) { display: none; }
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--rose);
  vertical-align: 1px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(211, 143, 154, .25); } }

.hero__word {
  position: relative;
  z-index: 0;
  margin-top: 4px;
  text-align: center;
  font-family: var(--f-wide);
  font-weight: 200;
  font-size: 15.4vw;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
  user-select: none;
}
.hero__word-inner {
  display: inline-block;
  background: linear-gradient(180deg, #B86F7B 0%, rgba(211, 143, 154, .55) 55%, rgba(211, 143, 154, .05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  will-change: transform;
}
.hero__word .ch { display: inline-block; will-change: transform; }

.hero__stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero__center { position: relative; order: -1; margin-top: -5.5vw; width: 78%; justify-self: center; }
.arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--blush);
  transform: translateZ(0);
}
#heroArch { aspect-ratio: 3 / 4.1; box-shadow: var(--shadow); }
#heroArch img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; will-change: transform; }

.badge-round {
  position: absolute;
  left: -38px; bottom: 16%;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--choco);
  display: grid; place-items: center;
}
.badge-round svg {
  position: absolute; inset: 0;
  animation: spin 16s linear infinite;
  font-family: var(--f-wide);
  font-size: 9px;
  font-weight: 300;
  text-transform: uppercase;
  fill: var(--light);
}
.badge-round__core { color: var(--rose); font-size: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__title {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(54px, 15vw, 104px);
  line-height: .9;
  letter-spacing: -.03em;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .intro-ln { display: inline-block; }
.hero__title em { color: var(--rose-deep); padding-left: .5em; }
.hero__swash { width: 200px; color: var(--rose); margin-top: 8px; }
.hero__lead { margin-top: 14px; max-width: 400px; color: var(--muted); font-size: 15px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 26px; }

.hero__right { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.hero__script { display: none; }
.glass-card {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 20px 40px -28px rgba(74, 40, 34, .45);
}
.glass-card__top { display: flex; gap: 8px; align-items: center; font-family: var(--f-wide); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.glass-card__star { color: var(--rose-deep); }
.glass-card__big { font-family: var(--f-serif); font-weight: 300; font-size: 64px; line-height: 1; margin-top: 10px; }
.glass-card__muted { font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 4px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero__facts li { border-top: 1px solid var(--line); padding-top: 10px; }
.hero__facts b { display: block; font-family: var(--f-wide); font-weight: 200; font-size: 26px; letter-spacing: -.03em; line-height: 1; }
.hero__facts span { font-size: 12px; color: var(--muted); }

.scroll-hint { display: none; }

/* ---------- Манифест ---------- */
.manifesto { padding: 100px 0 90px; }
.manifesto__text {
  margin-top: 22px;
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(34px, 8.4vw, 92px);
  line-height: 1.06;
  letter-spacing: -.02em;
}
.manifesto__text em { color: var(--rose-deep); }
.manifesto__text .mw { display: inline; }
.inline-img {
  display: inline-block;
  width: 1.8em;
  height: .82em;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: -.06em;
  margin: 0 .05em;
}
.inline-img--round { width: .82em; }
.inline-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Услуги ---------- */
.services { position: relative; padding: 30px 0 60px; }
.services__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.services__hint { display: none; }
.services__track {
  display: grid;
  gap: 18px;
  padding: 0 var(--gutter);
}
/* Мобильные: карточки «наслаиваются» друг на друга при прокрутке */
.svc {
  position: sticky;
  top: calc(84px + var(--i, 0) * 10px);
  display: grid;
  gap: 16px;
  padding: 12px 12px 22px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: 0 -10px 40px -20px rgba(74, 40, 34, .25);
  color: var(--text);
}
.svc__media { border-radius: 26px 26px 18px 18px; overflow: hidden; aspect-ratio: 4 / 3.3; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__info { padding: 0 10px; display: grid; gap: 8px; justify-items: start; }
.svc__num { font-family: var(--f-wide); font-size: 11px; letter-spacing: .14em; color: var(--rose-deep); }
.svc__title { font-family: var(--f-serif); font-weight: 300; font-size: 44px; line-height: .95; letter-spacing: -.02em; }
.svc__title em { color: var(--rose-deep); }
.svc__info p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.svc__price {
  margin-top: 4px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--f-wide);
  font-size: 11px;
  letter-spacing: .06em;
}
.svc--cta {
  background: var(--choco);
  color: var(--light);
  min-height: 300px;
  align-content: space-between;
  padding: 28px;
}
.svc--cta .svc__title { font-size: 52px; }
.svc--cta .svc__title em { color: var(--rose); }
.svc__cta-btn {
  justify-self: end;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: 28px;
  display: grid; place-items: center;
  transition: transform .6s var(--ease);
}
.svc--cta:hover .svc__cta-btn { transform: rotate(45deg) scale(1.08); }

/* ---------- Секции ---------- */
.section { position: relative; padding: 90px 0; }
.sec-head { margin-bottom: 40px; }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; }
.sec-head--center { text-align: center; }
.sec-head__note { color: var(--muted); max-width: 340px; margin-top: 16px; font-size: 15px; }

/* ---------- Прайс ---------- */
.prices-sec { background: var(--cream); border-radius: 40px 40px 0 0; }
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 10px;
  padding: 2px var(--gutter) 6px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--f-wide);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .4s, color .4s, border-color .4s;
}
.tab:hover { border-color: var(--choco); }
.tab.is-active { background: var(--choco); border-color: var(--choco); color: var(--cream); }

.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-item { position: relative; border-bottom: 1px solid var(--line); }
.price-item__btn {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  padding: 20px 2px;
  text-align: left;
  isolation: isolate;
  overflow: hidden;
}
.price-item__num { display: none; }
.price-item__name { font-family: var(--f-serif); font-weight: 400; font-size: 25px; line-height: 1.1; letter-spacing: -.01em; }
.price-item__cat { grid-column: 1; font-size: 12px; color: var(--muted); }
.price-item__price {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-family: var(--f-wide);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.price-item__go { display: none; }
.price-item.is-picked .price-item__name::after { content: " ✓"; color: var(--rose-deep); }

/* Превью фото у прайса (мышь) */
.price-preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  width: 240px; height: 300px;
  margin: -150px 0 0 -120px;
  border-radius: var(--arch);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: scale(.6);
  display: none;
}
.price-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- До / после ---------- */
.ba { display: grid; gap: 30px; }
.ba__text .muted { margin-top: 18px; max-width: 360px; }
.ba__nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.ba__counter { display: flex; align-items: center; gap: 10px; font-family: var(--f-wide); font-size: 12px; color: var(--muted); }
.ba__counter b { font-weight: 400; color: var(--text); }
.ba__counter i { width: 30px; height: 1px; background: var(--line); }
.ba__frame {
  position: relative;
  aspect-ratio: 4 / 4.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  --pos: 50%;
  touch-action: pan-y;
  user-select: none;
  box-shadow: var(--shadow);
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1s var(--ease); }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__frame.is-switching .ba__img { opacity: 0; transform: scale(1.05); }
.ba__tag {
  position: absolute; top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--f-wide);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--l { left: 18px; }
.ba__tag--r { right: 18px; background: var(--rose); color: #fff; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1.5px; background: #fff; transform: translateX(-.75px); pointer-events: none; }
.ba__handle span {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }

/* ---------- О салоне ---------- */
.about { background: var(--choco); color: var(--light); overflow: hidden; border-radius: 40px; margin: 0 8px; }
.about__marquee { overflow: hidden; margin-bottom: 60px; }
.about__marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.about__marquee span {
  font-family: var(--f-wide);
  font-weight: 200;
  font-size: clamp(54px, 11vw, 150px);
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 227, 223, .35);
}
.about__marquee i { font-style: normal; color: var(--rose); font-size: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.about__grid { display: grid; gap: 50px; }
.about__media { position: relative; padding-right: 22%; }
.about__media .arch { aspect-ratio: 3 / 4; }
.about__media .arch img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.about__media-2 {
  position: absolute;
  right: 0; bottom: -30px;
  width: 42%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--choco);
}
.about__media-2 img { width: 100%; height: 100%; object-fit: cover; }
.about .h2 em { color: var(--rose); }
.about__text > p { margin-top: 22px; color: rgba(243, 227, 223, .75); max-width: 520px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; }
.checks li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.checks span { font-family: var(--f-wide); font-size: 10px; color: var(--rose); letter-spacing: .1em; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.about__stats b { display: block; font-family: var(--f-wide); font-weight: 200; font-size: clamp(26px, 6.4vw, 46px); line-height: 1; letter-spacing: -.04em; color: var(--rose); white-space: nowrap; }
.about__stats span { display: block; font-size: 12px; line-height: 1.35; margin-top: 10px; color: rgba(243, 227, 223, .6); }

/* ---------- Мастера ---------- */
.masters {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 10px;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.masters::-webkit-scrollbar { display: none; }
.master { scroll-snap-align: start; }
.master__photo {
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .7), transparent 45%),
    linear-gradient(165deg, #F2D7D4, #D38F9A 70%, #A65D69);
  display: grid; place-items: center;
  transition: border-radius .8s var(--ease);
}
.master__photo--2 { background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .6), transparent 45%), linear-gradient(200deg, #ECDCD2, #C7A496 70%, #8E6A5F); }
.master__photo--3 { background: radial-gradient(circle at 40% 80%, rgba(255, 255, 255, .55), transparent 45%), linear-gradient(140deg, #F6E4DF, #E0A9AF 60%, #A65D69); }
.master:hover .master__photo { border-radius: 26px 26px 999px 999px; }
.master__mono { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 140px; color: rgba(255, 255, 255, .85); line-height: 1; }
.master__info { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-top: 16px; align-items: baseline; }
.master__info h3 { font-family: var(--f-serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.master__info p { grid-column: 1; color: var(--muted); font-size: 14px; }
.master__info span { grid-row: 1; grid-column: 2; font-family: var(--f-wide); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--blush); }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery__col { display: contents; }
.gallery__item { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; }
.gallery__item--sq { aspect-ratio: 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cta { text-align: center; margin-top: 40px; }

/* ---------- Отзывы ---------- */
.reviews-sec { background: var(--cream); }
.reviews__nav { display: flex; gap: 10px; }
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 var(--gutter) 10px;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 26px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}
.review__q { position: absolute; top: -20px; right: 18px; font-family: var(--f-serif); font-size: 180px; line-height: 1; color: var(--rose); opacity: .35; }
.review p { position: relative; font-family: var(--f-serif); font-size: 23px; line-height: 1.3; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--choco); color: var(--light); display: grid; place-items: center; font-family: var(--f-serif); font-size: 20px; }
.review footer b { display: block; font-size: 15px; }
.review footer small { color: var(--muted); font-size: 12px; }

/* ---------- Запись ---------- */
.booking__grid { display: grid; gap: 40px; }
.booking__intro .muted { margin-top: 18px; max-width: 420px; }
.quick { display: grid; gap: 12px; margin-top: 30px; }
.quick__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px 16px 16px;
  border-radius: 22px;
  background: var(--cream);
  border: 1px solid transparent;
  transition: border-color .4s, background .4s;
}
.quick__btn:hover { border-color: var(--rose); background: #fff; }
.quick__btn svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--blush); fill: var(--choco); flex: none; }
.quick__btn--tg svg { background: #2AABEE; fill: #fff; }
.quick__btn > span { flex: 1; }
.quick__btn b { display: block; font-size: 15px; }
.quick__btn small { color: var(--muted); font-size: 13px; }
.quick__btn .arrow { color: var(--rose-deep); font-size: 18px; }

.form {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  overflow: hidden;
}
.form__title { font-family: var(--f-serif); font-size: 34px; font-weight: 300; line-height: 1; margin-bottom: 6px; }
.form__row { display: grid; gap: 12px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* без зума на iOS */
  color: var(--text);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 26px 16px 10px;
  min-height: 60px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field > span {
  position: absolute;
  left: 17px; top: 19px;
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease), color .3s;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span,
.field--select > span { transform: translateY(-10px) scale(.74); color: var(--rose-deep); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23231714' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rose); background: #fff; box-shadow: 0 0 0 4px rgba(211, 143, 154, .14); }
.field.is-error input, .field.is-error select { border-color: #C9455A; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0; }
.agree input { accent-color: var(--choco); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }

.form__success {
  position: absolute; inset: 0;
  background: var(--choco);
  color: var(--light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 30px;
  clip-path: circle(0% at 50% 100%);
  transition: clip-path 1s var(--ease);
}
.form.is-sent .form__success { clip-path: circle(150% at 50% 100%); }
.form__success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: 30px;
  display: grid; place-items: center;
}
.form.is-sent .form__success-icon { animation: pop .9s .3s var(--ease) both; }
@keyframes pop { from { transform: scale(0) rotate(-90deg); } }
.form__success h3 { font-family: var(--f-serif); font-weight: 300; font-size: 44px; line-height: 1; }
.form__success h3 em { color: var(--rose); }
.form__success p { color: rgba(243, 227, 223, .7); max-width: 300px; }

/* ---------- Контакты ---------- */
.contacts { display: grid; gap: 36px; }
.contacts__list { margin: 30px 0 0; }
.contacts__list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contacts__list dt { font-family: var(--f-wide); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contacts__list dd { margin: 6px 0 0; font-family: var(--f-serif); font-size: 26px; line-height: 1.2; }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background .4s, border-color .4s;
}
.socials a:hover { background: var(--choco); border-color: var(--choco); }
.socials svg { width: 22px; height: 22px; fill: var(--choco); transition: fill .4s; }
.socials a:hover svg { fill: var(--light); }
.map {
  min-height: 340px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(135deg, #EEDCD5, #E2C3C0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  font-family: var(--f-serif);
  font-size: 26px;
  line-height: 1.2;
}
.map small { font-family: var(--f-body); font-size: 13px; color: var(--muted); }
.map__pin { width: 58px; height: 58px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--choco); display: grid; place-items: center; animation: bob 2.4s ease-in-out infinite; }
.map__pin span { transform: rotate(45deg); color: var(--rose); font-size: 20px; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------- Подвал ---------- */
.footer { background: var(--choco); color: rgba(243, 227, 223, .7); overflow: hidden; padding: 80px 0 100px; border-radius: 40px 40px 0 0; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.footer__cta { font-family: var(--f-serif); font-weight: 300; font-size: clamp(46px, 10vw, 110px); line-height: .95; letter-spacing: -.02em; color: var(--light); }
.footer__cta em { color: var(--rose); }
.footer__btn {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-wide);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .4s;
}
.footer__btn:hover { background: var(--light); color: var(--choco); }
.footer__big {
  margin-top: 50px;
  font-family: var(--f-wide);
  font-weight: 200;
  font-size: 16.5vw;
  line-height: .9;
  letter-spacing: -.05em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(211, 143, 154, .65), rgba(211, 143, 154, 0) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__big .ch { display: inline-block; }
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
}
.footer__links { display: flex; gap: 20px; }
.footer__row a:hover { color: #fff; }

/* ---------- Липкая кнопка (мобильные) ---------- */
.sticky-cta {
  position: fixed;
  left: 14px; right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 90;
  height: 58px;
  border-radius: 999px;
  background: rgba(35, 23, 20, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--f-wide);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 16px 34px -12px rgba(35, 23, 20, .6), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transform: translateY(160%);
  transition: transform .7s var(--ease);
}
.sticky-cta .arrow { color: var(--rose); }
.sticky-cta.is-visible { transform: none; }

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 260;
  background: rgba(35, 23, 20, .92);
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; border-radius: 24px; transform: scale(.9); transition: transform .7s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--light); color: var(--choco); font-size: 28px; line-height: 1; }

/* =========================================================
   Планшет
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero__meta-item:nth-child(2) { display: inline; }
  .hero__center { width: 54%; }
  .badge-round { width: 124px; height: 124px; left: -52px; }
  .badge-round svg { font-size: 8.6px; }
  .hero__right { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .masters { grid-auto-columns: 42%; }
  .reviews { grid-auto-columns: 48%; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .form { padding: 38px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .quick { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 14px 14px 14px 14px; }
  .svc__info { padding: 0 20px; }
  .svc__title { font-size: 56px; }
  .svc--cta { grid-template-columns: 1fr auto; align-items: end; }
}

/* =========================================================
   Компьютер
   ========================================================= */
@media (min-width: 1024px) {
  :root { --gutter: 44px; --header-h: 84px; }

  .header { padding: 14px var(--gutter); }
  .header__inner { padding: 0 6px 0 24px; height: 62px; }
  .burger { display: none; }
  .header__cta { display: inline-flex; }
  .nav { display: flex; align-items: center; gap: 4px; }
  .nav > a {
    position: relative;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--f-wide);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background .4s;
  }
  .nav > a:hover { background: rgba(211, 143, 154, .18); }
  .nav sup { display: none; }
  .nav__foot { display: none; }

  /* Главный экран */
  .hero { padding-bottom: 30px; display: flex; flex-direction: column; }
  .hero__word { font-size: 15.6vw; margin-top: 0; }
  .hero__stage {
    width: 100%;
    flex: 1;
    grid-template-columns: 1fr minmax(320px, .78fr) 1fr;
    align-items: end;
    gap: 40px;
    margin-top: -10.5vw;
  }
  .hero__center { order: 0; width: 100%; margin-top: 0; }
  #heroArch { aspect-ratio: 3 / 3.9; max-height: 74vh; margin: 0 auto; }
  .hero__left { padding-bottom: 10px; }
  .hero__title { font-size: clamp(64px, 6.6vw, 112px); }
  .hero__lead { font-size: 16px; }
  .badge-round { width: 140px; height: 140px; left: 50%; margin-left: -70px; top: -62px; bottom: auto; }
  .badge-round__core { font-size: 24px; }

  .hero__right { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; max-width: none; padding-bottom: 10px; }
  .hero__script {
    display: block;
    align-self: flex-end;
    text-align: right;
    font-family: var(--f-serif);
    font-weight: 300;
    font-size: clamp(44px, 4.4vw, 76px);
    line-height: .9;
    letter-spacing: -.02em;
    margin-bottom: auto;
  }
  .hero__script em { color: var(--rose-deep); }
  .glass-card { width: 230px; padding: 22px 24px; }
  .glass-card__big { font-size: 80px; }
  .hero__facts { grid-template-columns: 1fr 1fr; width: 230px; }

  .scroll-hint {
    position: absolute;
    left: 50%; bottom: 18px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--f-wide);
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--light);
  }
  .scroll-hint i { width: 1px; height: 40px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
  .scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: drip 1.8s var(--ease) infinite; }
  @keyframes drip { to { top: 100%; } }

  /* Манифест */
  .manifesto { padding: 180px 0 160px; }
  .manifesto .container { max-width: 1240px; }

  /* Услуги: горизонтальная лента с закреплением */
  .services { padding: 0; }
  .services__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .services__head { margin-bottom: 32px; padding-top: 40px; }
  .services__hint { display: block; font-family: var(--f-wide); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .services__hint span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
  @keyframes nudge { 50% { transform: translateX(6px); } }
  .services__track {
    display: flex;
    gap: 26px;
    width: max-content;
    padding: 0 var(--gutter) 0 max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter)));
    will-change: transform;
  }
  .svc {
    position: relative;
    top: auto;
    width: clamp(320px, 27vw, 420px);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .svc__media { aspect-ratio: auto; height: 42vh; border-radius: 999px 999px 26px 26px; transition: border-radius .9s var(--ease); }
  .svc:hover .svc__media { border-radius: 26px; }
  .svc__media img { transition: none; }
  .svc__info { padding: 22px 4px 0; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; }
  .svc__num { grid-row: 1; }
  .svc__title { font-size: 50px; }
  .svc__info p { grid-column: 1 / -1; font-size: 14px; max-width: 320px; }
  .svc__price { grid-column: 1 / -1; }
  .svc--cta { justify-content: space-between; height: calc(42vh + 170px); padding: 36px; border-radius: var(--radius-lg); background: var(--choco); }
  .svc--cta .svc__title { font-size: 60px; }
  .svc__cta-btn { width: 110px; height: 110px; font-size: 36px; align-self: flex-end; }

  /* Секции */
  .section { padding: 150px 0; }
  .sec-head { margin-bottom: 64px; }
  .sec-head--center .sec-head__note { margin-inline: auto; }

  /* Прайс */
  .prices-sec { border-radius: 60px 60px 0 0; }
  .prices-sec .sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
  .prices-sec .sec-head .kicker { grid-column: 1 / -1; }
  .tabs { flex-wrap: wrap; margin: 0 0 18px; padding: 0; }
  .price-item__btn { grid-template-columns: 70px 1fr auto 60px; padding: 28px 20px; gap: 0 20px; }
  .price-item__btn::before {
    content: "";
    position: absolute; inset: 0;
    z-index: -1;
    background: var(--choco);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .6s var(--ease);
  }
  .price-item__btn:hover::before { transform: scaleY(1); transform-origin: top; }
  .price-item__btn:hover { color: var(--light); }
  .price-item__num { display: block; grid-row: 1 / span 2; font-family: var(--f-wide); font-size: 11px; color: var(--rose-deep); letter-spacing: .1em; }
  .price-item__name { grid-column: 2; font-size: 38px; transition: transform .6s var(--ease); }
  .price-item__cat { grid-column: 2; font-size: 13px; transition: color .4s; }
  .price-item__btn:hover .price-item__cat { color: rgba(243, 227, 223, .6); }
  .price-item__btn:hover .price-item__name { transform: translateX(14px); }
  .price-item__price { grid-column: 3; font-size: 22px; }
  .price-item__go {
    display: grid; place-items: center;
    grid-column: 4; grid-row: 1 / span 2;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid currentColor;
    opacity: .3;
    transition: opacity .4s, background .4s, transform .6s var(--ease);
  }
  .price-item__btn:hover .price-item__go { opacity: 1; background: var(--rose); border-color: var(--rose); transform: rotate(45deg); }
  .price-preview { display: block; }

  /* До/после */
  .ba { grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: center; }
  .ba__frame { aspect-ratio: 16 / 11; }

  /* О салоне */
  .about { margin: 0 14px; border-radius: 60px; }
  .about__marquee { margin-bottom: 110px; }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
  .about__media-2 { bottom: -50px; }
  .about__stats b { font-size: clamp(30px, 3.3vw, 48px); }

  /* Мастера */
  .masters { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 28px; }
  .masters .master:nth-child(2) { margin-top: 70px; }

  /* Галерея — колонки с разной скоростью */
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
  .gallery__col { display: grid; gap: 22px; }
  .gallery__col--mid { margin-top: 120px; }
  .gallery__item { border-radius: 26px; }

  /* Отзывы */
  .reviews { grid-auto-columns: calc((100% - 32px) / 3); margin: 0; padding: 0 0 10px; }
  .review { padding: 40px 34px 30px; }
  .review p { font-size: 25px; }

  /* Запись */
  .booking__grid { grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
  .quick { grid-template-columns: 1fr; max-width: 420px; }
  .form { padding: 48px; }

  /* Контакты */
  .contacts { grid-template-columns: 1fr 1.25fr; gap: 90px; align-items: stretch; }
  .map { min-height: 520px; }

  /* Подвал */
  .footer { padding: 120px 0 34px; border-radius: 60px 60px 0 0; }
  .footer__btn { width: 170px; height: 170px; }
  .footer__big { font-size: 16.8vw; }

  .sticky-cta { display: none; }
}

@media (min-width: 1700px) {
  .hero__word { font-size: 262px; }
  .hero__stage { margin-top: -176px; }
  .footer__big { font-size: 290px; }
}

/* Уважение к настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .preloader { display: none; }
}

/* =========================================================
   Типографика v2: основной текст — Unbounded, акценты — Arbat Di
   ========================================================= */
@font-face {
  font-family: "Arbat Di";
  src: url("../fonts/ArbatDi.woff2") format("woff2");
  font-display: swap;
}
:root { --f-head: var(--f-wide); --f-accent: "Arbat Di", var(--f-serif); }

em { font-family: var(--f-accent); font-style: normal; font-weight: 400 !important; letter-spacing: 0; }

.h2, .hero__title, .manifesto__text, .svc__title, .price-item__name, .master__info h3,
.review p, .form__title, .form__success h3, .contacts__list dd, .footer__cta,
.hero__script, .glass-card__big, .map {
  font-family: var(--f-head);
  font-weight: 300;
  letter-spacing: -.045em;
}
.h2 { font-size: clamp(34px, 8.6vw, 84px); line-height: 1.04; }
.hero__title { font-size: clamp(40px, 11vw, 76px); line-height: 1.02; }
.hero__title em { padding-left: .3em; }
.manifesto__text { font-size: clamp(24px, 5.6vw, 58px); line-height: 1.18; }
.svc__title { font-size: 32px; line-height: 1.05; }
.svc--cta .svc__title { font-size: 38px; }
.price-item__name { font-size: 18px; letter-spacing: -.03em; }
.master__info h3 { font-size: 20px; }
.review p { font-size: 17px; line-height: 1.55; letter-spacing: -.02em; }
.form__title { font-size: 24px; }
.form__success h3 { font-size: 30px; }
.contacts__list dd { font-size: 19px; letter-spacing: -.03em; }
.footer__cta { font-size: clamp(34px, 7.4vw, 84px); line-height: 1.05; }
.glass-card__big { font-weight: 200; }
.map { font-size: 19px; }
/* Arbat Di визуально мельче — подтягиваем размер акцентов */
.h2 em, .hero__title em, .manifesto__text em, .svc__title em, .footer__cta em, .hero__script em, .form__success h3 em { font-size: 1.12em; line-height: .9; }

@media (min-width: 1024px) {
  .hero__title { font-size: clamp(46px, 4.8vw, 82px); }
  .hero__script { font-size: clamp(30px, 3vw, 52px); line-height: 1; }
  .svc__title { font-size: 34px; }
  .svc--cta .svc__title { font-size: 44px; }
  .price-item__name { font-size: 26px; }
  .review p { font-size: 18px; }
  .contacts__list dd { font-size: 22px; }
}

/* Фон из шёлка под блоком записи */
.booking { isolation: isolate; overflow: hidden; }
.booking::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/bg-silk.webp") center / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.booking .quick__btn { background: rgba(250, 245, 241, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* Чистка лица: смещаем кадр, чтобы тёмное пятно сверху справа уходило из видимой части */
.svc[data-cat="face"] .svc__media img { object-position: 30% 70%; }

/* Карточка «Выбрали? Записывайтесь» — текст помещается целиком */
.svc--cta .svc__title { font-size: clamp(30px, 8vw, 40px); line-height: 1.1; overflow-wrap: anywhere; }
.svc--cta .svc__title em { display: inline-block; font-size: 1.05em; margin-top: 6px; }
@media (min-width: 1024px) {
  .svc--cta { width: clamp(340px, 28vw, 440px); }
  .svc--cta .svc__title { font-size: clamp(28px, 2.5vw, 40px); }
}

/* =========================================================
   Выпадающие списки в форме (замена системных)
   ========================================================= */
.form { overflow: visible; }
.form__success { border-radius: inherit; }
.has-cs select {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
}
.cs__btn {
  position: relative;
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 48px 10px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: var(--cream);
  font-size: 16px;
  text-align: left;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.cs__value { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs__value.is-placeholder { color: var(--muted); }
.cs__arrow {
  position: absolute;
  right: 16px; top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: #fff;
  transition: transform .5s var(--ease), background .3s;
}
.cs__arrow::before {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--choco);
  border-bottom: 1.5px solid var(--choco);
  transform: translate(-50%, -50%) rotate(45deg);
}
.cs__btn:hover { border-color: rgba(211, 143, 154, .5); }
.cs-open .cs__btn, .cs__btn:focus-visible { border-color: var(--rose); background: #fff; box-shadow: 0 0 0 4px rgba(211, 143, 154, .14); outline: none; }
.cs-open .cs__arrow { transform: rotate(180deg); background: var(--blush); }
.field.is-error .cs__btn { border-color: #C9455A; animation: shake .4s; }

.cs__panel {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(35, 23, 20, .06);
  box-shadow: 0 30px 60px -24px rgba(74, 40, 34, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top center;
  transition: opacity .3s, transform .45s var(--ease), visibility .3s;
  scrollbar-width: thin;
  scrollbar-color: var(--blush) transparent;
}
.cs-up .cs__panel { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; transform: translateY(8px) scale(.98); }
.cs-open .cs__panel { opacity: 1; visibility: visible; transform: none; }
.cs-open { z-index: 30; }

.cs__group {
  padding: 14px 12px 6px;
  font-family: var(--f-wide);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.cs__group:first-child { padding-top: 8px; }
.cs__opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  text-align: left;
  font-size: 15px;
  line-height: 1.3;
  transition: background .25s, color .25s;
}
.cs__name { flex: 1; }
.cs__price { font-family: var(--f-wide); font-weight: 300; font-size: 12.5px; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; }
.cs__check {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal;
  font-size: 11px;
  color: #fff;
  background: var(--rose);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s, transform .4s var(--ease);
}
.cs__opt:hover, .cs__opt:focus-visible { background: var(--cream); outline: none; }
.cs__opt.is-selected { background: var(--blush); }
.cs__opt.is-selected .cs__check { opacity: 1; transform: none; }
.has-cs > span { z-index: 2; }

/* =========================================================
   Декор: предметы, плавающие по краям секций
   ========================================================= */
.manifesto, .prices-sec, .gallery-sec, .reviews-sec, .services__pin { position: relative; isolation: isolate; }
.decor {
  position: absolute;
  z-index: -1;
  width: var(--s, 150px);
  pointer-events: none;
  user-select: none;
}
.decor img { width: 100%; height: auto; animation: decorFloat var(--t, 9s) ease-in-out infinite alternate; }
@keyframes decorFloat {
  from { transform: translateY(-8px) rotate(calc(var(--r, 0deg) - 4deg)); }
  to { transform: translateY(10px) rotate(calc(var(--r, 0deg) + 4deg)); }
}
.decor--desk { display: none; }

/* Позиции (телефон) */
.decor--m-ribbon { --s: 170px; --r: -8deg; top: 10px; right: -50px; }
.decor--s-polish { --s: 90px; --r: 14deg; --t: 7s; top: -50px; right: -10px; }
.decor--p-serum { --s: 90px; --r: 18deg; --t: 8s; top: 40px; right: 10px; }
.decor--g-flower { --s: 130px; --r: -16deg; top: 30px; left: -40px; }
.decor--b-pearls { --s: 150px; --t: 10s; bottom: 20px; right: -40px; }

@media (min-width: 1024px) {
  .decor--desk { display: block; }
  .decor--m-ribbon { --s: 320px; top: -30px; right: -70px; }
  .decor--m-pearls { --s: 210px; bottom: -70px; left: -70px; }
  .decor--s-polish { --s: 200px; top: 6vh; right: 4vw; }
  .decor--p-serum { --s: 170px; top: 60px; right: 6vw; }
  .decor--g-flower { --s: 220px; top: 20px; left: -50px; }
  .decor--r-petals { --s: 200px; --r: 10deg; top: 10px; right: -30px; }
  .decor--b-pearls { --s: 240px; bottom: 30px; right: auto; left: 30%; }
}
@media (prefers-reduced-motion: reduce) { .decor img { animation: none; } }

/* =========================================================
   Подарочный сертификат
   ========================================================= */
.gift { display: grid; gap: 40px; align-items: center; }
.gift__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  container-type: inline-size;
}
.gift__media img { width: 100%; height: 100%; object-fit: cover; }
/* Надпись лежит на левой верхней четверти пустой карточки, не задевая ленту */
.gift__label {
  position: absolute;
  left: 31%; top: 36%;
  width: 16.5%;
  display: flex;
  flex-direction: column;
  gap: .4cqw;
  color: var(--choco);
  pointer-events: none;
  transform: rotate(-1.5deg);
}
.gift__label em { font-size: 3cqw; line-height: 1; color: var(--rose-deep); }
.gift__label small { font-family: var(--f-wide); font-size: 1.05cqw; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; opacity: .75; }
.gift__text .muted { margin-top: 18px; max-width: 460px; }
.gift__list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.gift__list li { display: flex; gap: 12px; align-items: baseline; }
.gift__list span { color: var(--rose-deep); }
@media (min-width: 1024px) {
  .gift { grid-template-columns: 1.15fr .85fr; gap: 90px; }
}

/* =========================================================
   Мобильная оптимизация
   ========================================================= */
@media (max-width: 1023px) {
  /* крупнее мелкие подписи и удобнее зоны нажатия */
  .tab { font-size: 11.5px; padding: 12px 18px; }
  .link-line { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; }
  .footer__links a, .to-top { display: inline-flex; align-items: center; min-height: 44px; }
  .contacts__list dd a { display: inline-block; padding: 8px 0; }
  .ba__tag, .master__info span { font-size: 10.5px; }
  /* тяжёлое размытие на слабых телефонах заменяем плотным фоном */
  .quick__btn, .booking .quick__btn { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(250, 245, 241, .94); }
  .glass-card { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .78); }
  /* без лишней подсветки при тапе */
  a, button { -webkit-tap-highlight-color: transparent; }
}
