/* =========================================================
   ОБЩЕЕ: фото-рамки с раскрытием «занавесом»
   ========================================================= */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-3);
  isolation: isolate;
}
/* розовый «занавес», который уезжает вверх, затем тёмный */
.frame::before, .frame::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  transform-origin: top;
  transition: transform 1.1s var(--ease-in-out);
  pointer-events: none;
}
.frame::before { background: var(--pink); transition-delay: .15s; }
.frame::after { background: var(--ink-2); }
.frame.is-in::before, .frame.is-in::after { transform: scaleY(0); }
.frame img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: scale(1.25);
  transition: transform 1.8s var(--ease-out);
  will-change: transform;
}
.frame.is-in img { transform: scale(1); }
.frame figcaption {
  position: absolute;
  z-index: 3;
  left: 18px; bottom: 18px; right: 18px;
  font-size: 13px;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(18, 12, 16, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
  max-width: calc(100% - 36px);
}
.frame figcaption b { color: var(--pink); font-weight: 500; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 32px) 0 clamp(48px, 7vh, 88px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 70vw; height: 70vw;
  max-width: 1000px; max-height: 1000px;
  right: -14vw; top: -10vw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 111, 196, .3), rgba(243, 111, 196, .07) 55%, transparent 72%);
  pointer-events: none;
}
.hero__silk { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.silk { fill: none; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; }
.silk--1 { stroke: var(--pink); stroke-width: 1.4; }
.silk--2 { stroke: rgba(243, 111, 196, .35); stroke-width: 1; }
.silk--3 { stroke: rgba(255, 201, 230, .18); stroke-width: 1; }

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(20px, 3vw, 60px);
}
.hero__text { position: relative; z-index: 4; }
.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  transition: border-color .4s;
}
.hero__meta:hover { border-color: var(--pink); }
.hero__meta b { color: var(--text); font-weight: 600; }
.hero__stars { color: var(--pink); letter-spacing: 1px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 7.2vw, 128px);
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
  will-change: transform;
}
.hero__title em { font-weight: 500; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .line--indent { padding-left: .9em; }
.hero__title .word { display: inline-block; }

.hero__lead { margin-top: clamp(24px, 3vw, 40px); max-width: 480px; color: var(--muted); font-size: 18px; }
.hero__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-size: 14px;
  color: var(--muted);
}
.hero__facts li { display: grid; }
.hero__facts b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.hero__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.hero__arch {
  position: absolute;
  inset: 0 0 0 10%;
  border-radius: 999px 999px 32px 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(243, 111, 196, .45);
}
.hero__arch::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(18, 12, 16, .55));
}
.hero__arch-img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 35%; }
.hero__bubble {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  right: -6%;
  top: 6%;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--ink);
  opacity: 0;
  z-index: 2;
}
.hero__bubble img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  width: 30%;
  aspect-ratio: 1;
  right: -4%;
  bottom: 8%;
  z-index: 3;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: auto;
}
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { font-size: 15px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; fill: var(--ink); font-family: var(--font-body); }
.hero__badge-arrow { font-size: 34px; transition: transform .5s var(--ease-out); }
.hero__badge:hover .hero__badge-arrow { transform: rotate(45deg); }
.hero__dancer {
  position: absolute;
  width: 58%;
  left: -18%;
  bottom: -4%;
  z-index: 3;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6));
  opacity: 0;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll i {
  width: 1px; height: 40px;
  background: linear-gradient(var(--pink), transparent);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}

/* =========================================================
   ТИКЕР
   ========================================================= */
.ticker {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding: 24px 0;
  background: var(--pink);
  color: var(--ink);
  transform: rotate(-2deg);
  margin: 0 -20px;
}
.ticker__track { display: flex; align-items: center; gap: 40px; width: max-content; will-change: transform; }
.ticker span {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 600;
  font-family: var(--font-script); font-style: normal;
  line-height: 1;
  white-space: nowrap;
}
.ticker b { font-size: 22px; font-weight: 400; }

/* =========================================================
   О СТУДИИ
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.about__manifest {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 42px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -.01em;
}
.about__manifest .w { color: rgba(246, 238, 242, .15); transition: color .4s; }
.about__manifest .w.is-on { color: var(--text); }
.about__manifest .w.is-accent.is-on { color: var(--pink); }

.about__media {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}
.frame--big { aspect-ratio: 4 / 3.6; }
.about__side { display: grid; gap: 32px; padding-bottom: 6%; }
.frame--small { aspect-ratio: 3 / 4; width: 82%; }
.about__text { color: var(--muted); font-size: 17px; max-width: 40ch; }

.stats {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 28px 24px 0; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1;
  font-weight: 600;
  color: var(--pink);
  font-variant-numeric: tabular-nums lining-nums;
}
.stat__num sup { font-size: .26em; font-family: var(--font-script); font-style: normal; vertical-align: top; margin-left: 6px; color: var(--pink-soft); }
.stat__label { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* =========================================================
   УСЛУГИ — горизонтальный скролл
   ========================================================= */
.services { position: relative; background: var(--ink-2); }
.services__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 3vh, 36px);
  overflow: hidden;
  padding: calc(var(--header-h) + 12px) 0 20px; /* шапка фиксированная — контент под ней */
}
.services__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 40px; }
.services__head .h2 { font-size: clamp(28px, min(4vw, 6vh), 64px); }
.services__head .eyebrow { margin-bottom: 10px; }
.services__track { align-items: stretch; }
.services__head .eyebrow { width: 100%; }
.services__progress { flex: 1; min-width: 160px; height: 1px; background: var(--line); margin-bottom: 18px; position: relative; }
.services__progress i { position: absolute; inset: 0; background: var(--pink); transform-origin: left; transform: scaleX(0); }

.services__track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.svc {
  position: relative;
  flex: 0 0 auto;
  width: clamp(290px, 26vw, 380px);
  height: auto; /* высота по содержимому — ничего не обрезается */
  border-radius: var(--radius);
  background: var(--ink-3);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .5s, transform .7s var(--ease-out);
}
.svc:hover { border-color: rgba(243, 111, 196, .55); transform: translateY(-8px); }
.svc__media { position: relative; flex: none; height: clamp(140px, 30vh, 300px); overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc:hover .svc__media img { transform: scale(1.08); }
.svc__media--art { background: radial-gradient(circle at 50% 60%, rgba(243, 111, 196, .18), transparent 70%); display: grid; place-items: center; }
.svc__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc__num { font-size: 12px; color: var(--pink); letter-spacing: .12em; text-transform: uppercase; }
.svc__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
}
.svc__text { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.5; }

.svc--feature { width: clamp(320px, 32vw, 460px); background: var(--pink); color: var(--ink); border-color: var(--pink); }
.svc--feature .svc__num, .svc--feature .svc__text { color: rgba(18, 12, 16, .75); }

.svc--cta {
  background: transparent;
  border: 1px dashed rgba(243, 111, 196, .5);
  justify-content: center;
  gap: 22px;
  padding: 36px 32px;
}
.svc--cta .svc__title { font-size: clamp(44px, 4vw, 60px); }
.svc--cta .btn { align-self: flex-start; background: var(--pink); color: var(--ink); }
.svc--cta .btn::before { background: var(--blush); }
.svc__cta-kicker { color: var(--muted); font-size: 14px; }

.svc__art { position: relative; transition: transform 1s var(--ease-out); }
.svc:hover .svc__art { transform: scale(1.08) rotate(-6deg); }
.svc__art--rings { width: 170px; height: 170px; }
.svc__art--rings i { position: absolute; inset: 0; border: 1px solid rgba(243, 111, 196, .55); border-radius: 50%; animation: ripple 4s var(--ease-out) infinite; }
.svc__art--rings i:nth-child(2) { animation-delay: 1.3s; }
.svc__art--rings i:nth-child(3) { animation-delay: 2.6s; }
.svc__art--drop {
  width: 120px; height: 120px;
  background: radial-gradient(circle at 35% 30%, var(--pink-soft), var(--pink) 45%, #7a1d52);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
  box-shadow: 0 30px 60px -20px rgba(243, 111, 196, .6);
}
.svc:hover .svc__art--drop { transform: rotate(-30deg) scale(1.08); }
.svc__art--beam {
  width: 220px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--pink-soft));
  box-shadow: 0 0 24px 4px rgba(243, 111, 196, .5);
}

/* =========================================================
   РАБОТЫ + ЛАЙТБОКС
   ========================================================= */
.works { overflow: hidden; }
.works__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; margin-bottom: clamp(40px, 5vw, 72px); }
.works__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.works__note { max-width: 280px; color: var(--muted); font-size: 15px; }

.works__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 26px);
  padding: 0 var(--gutter);
  max-width: 1600px;
  margin: 0 auto;
}
.works__col { display: grid; gap: clamp(12px, 2vw, 26px); align-content: start; will-change: transform; }
.works__col--mid { margin-top: 80px; }
.shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-3);
  text-align: left;
  isolation: isolate;
}
.shot--tall { aspect-ratio: 4 / 5.6; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(18, 12, 16, .75));
  transition: opacity .5s;
}
.shot:hover img { transform: scale(1.07); }
.shot__label {
  position: absolute;
  z-index: 1;
  left: 20px; right: 20px; bottom: 18px;
  font-family: var(--font-display);
  font-family: var(--font-script); font-style: normal;
  font-size: 24px;
  line-height: 1.1;
  color: var(--text);
  transition: transform .6s var(--ease-out);
}
.shot:hover .shot__label { transform: translateY(-4px); color: var(--pink-soft); }
.works__more { margin-top: clamp(110px, 10vw, 140px); display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.lightbox {
  position: fixed; inset: 0;
  z-index: 150;
  background: rgba(10, 6, 9, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease-out), visibility .5s;
  padding: 70px 80px 110px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { display: grid; justify-items: center; gap: 16px; max-height: 100%; }
.lightbox__figure img {
  max-height: calc(100svh - 230px);
  max-width: min(90vw, 900px);
  width: auto;
  border-radius: 20px;
  object-fit: contain;
  transform: scale(.94);
  transition: transform .6s var(--ease-out), opacity .3s;
}
.lightbox.is-open .lightbox__figure img { transform: scale(1); }
.lightbox__figure figcaption { font-family: var(--font-display); font-family: var(--font-script); font-style: normal; font-size: 24px; color: var(--pink-soft); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 20px;
  background: rgba(18, 12, 16, .6);
  transition: background .3s, color .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--pink); color: var(--ink); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__cta { position: absolute; bottom: calc(28px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); }

/* =========================================================
   МАСТЕРА
   ========================================================= */
.masters__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.masters__media { position: relative; padding-bottom: 14%; }
.frame--portrait { aspect-ratio: 4 / 4.6; width: 78%; }
.frame--float {
  position: absolute;
  width: 58%;
  aspect-ratio: 4 / 3;
  right: 0; bottom: 0;
  border: 6px solid var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.masters__lead { color: var(--muted); max-width: 44ch; margin: 18px 0 28px; }
.masters__list { border-top: 1px solid var(--line); }
.master__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.master__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
  transition: transform .6s var(--ease-out);
}
.master__role { color: var(--muted); font-size: 15px; text-align: right; }

/* =========================================================
   ПОЧЕМУ МЫ
   ========================================================= */
.why { background: var(--ink-2); }
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); }
.why__sticky { position: sticky; top: 110px; align-self: start; }
.why__photos { position: relative; margin-top: 40px; }
.frame--wide { aspect-ratio: 4 / 3; }
.why__dancer {
  position: absolute;
  width: 34%;
  right: -6%;
  bottom: -16%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .7));
  will-change: transform;
}
.why__item { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 6px 20px; }
.why__check {
  grid-row: span 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--pink);
  display: grid;
  place-items: center;
  margin-top: 2px;
  box-shadow: 0 8px 20px -8px rgba(243, 111, 196, .8);
}
.why__check svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.why__item h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.25; letter-spacing: -.01em; }
.why__item p { color: var(--muted); max-width: 44ch; }

/* =========================================================
   ОТЗЫВЫ
   ========================================================= */
.reviews { overflow: hidden; }
.reviews__head { margin-bottom: clamp(28px, 3vw, 44px); }
.reviews__top {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 20px;
  margin-bottom: 20px;
}
.rsum {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--pink);
  color: var(--ink);
  transition: box-shadow .5s var(--ease-out);
}
.rsum:hover { box-shadow: 0 30px 70px -30px rgba(243, 111, 196, .8); }
.rsum__score { display: flex; align-items: flex-end; gap: 16px; }
.rsum__score b { font-family: var(--font-display); font-size: clamp(64px, 6vw, 100px); font-weight: 600; line-height: .9; letter-spacing: -.04em; }
.rsum__stars { font-size: 24px; letter-spacing: 3px; padding-bottom: 8px; }
.rsum__count { font-size: 15px; font-weight: 500; }
.rsum__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.rsum__bar i { height: 8px; border-radius: 10px; background: rgba(18, 12, 16, .15); overflow: hidden; }
.rsum__bar i b { display: block; height: 100%; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .2s; }
.rsum__bar i b.is-in { transform: scaleX(1); }
.rsum__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rsum__tags li { padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(18, 12, 16, .25); font-size: 13px; font-weight: 500; }
.rsum__link { margin-top: auto; font-weight: 600; font-size: 15px; }

.rfeat {
  position: relative;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius);
  background: var(--ink-3);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
}
.rfeat__mark {
  position: absolute;
  right: 24px; top: -40px;
  font-family: var(--font-display);
  font-size: 320px;
  line-height: 1;
  color: var(--pink);
  opacity: .14;
  pointer-events: none;
}
.rfeat__pick {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(243, 111, 196, .14);
  color: var(--pink-soft);
  font-size: 12.5px;
  font-weight: 500;
}
.rfeat blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.rfeat figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.rfeat figcaption b, .rcard__top b { display: block; font-weight: 600; }
.rfeat figcaption small, .rcard__top small { color: var(--muted); font-size: 13px; }

/* бегущие ряды */
.rmarquee { display: grid; gap: 20px; margin-top: 20px; }
.rmarquee__row {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rmarquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.rmarquee__row--rev .rmarquee__track { animation-direction: reverse; animation-duration: 70s; }
.rmarquee__row.is-interactive { cursor: grab; touch-action: pan-y pinch-zoom; }
.rmarquee__row.is-dragging { cursor: grabbing; user-select: none; }
.rmarquee__row.is-interacting .rmarquee__track { animation-play-state: paused; }
@media (hover: hover) {
  .rmarquee__row:hover:not(.was-scrolled) .rmarquee__track { animation-play-state: paused; }
}
.rmarquee__row:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; }
@keyframes marquee { to { transform: translateX(var(--review-distance, calc(-50% - 10px))); } }

.rcard {
  flex: 0 0 auto;
  width: clamp(290px, 30vw, 420px);
  padding: 28px;
  border-radius: 24px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .4s, background .4s;
}
.rcard:hover { border-color: rgba(243, 111, 196, .55); background: #2d1d25; }
.rcard__top { display: flex; align-items: center; gap: 12px; }
.rcard__avatar {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.rcard__avatar--lg { width: 58px; height: 58px; font-size: 18px; }
.rcard__stars { color: var(--pink); letter-spacing: 3px; font-size: 15px; }
.rcard blockquote { font-size: 15.5px; line-height: 1.6; color: var(--text); }
.rcard figcaption { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; }
.rcard__tag { padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line); color: var(--pink-soft); }
.rcard__verified { color: #8fd6a8; }

/* =========================================================
   ФИНАЛ
   ========================================================= */
.finale {
  position: relative;
  min-height: 80vh;
  padding: 80px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--ink);
}
.finale__circle {
  position: absolute;
  left: 50%; top: 50%;
  width: 150vmax; height: 150vmax;
  border-radius: 50%;
  background: var(--pink);
  transform: translate(-50%, -50%) scale(.08);
  will-change: transform;
}
.finale__floats { position: absolute; inset: 0; pointer-events: none; }
.float {
  position: absolute;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(18, 12, 16, .5);
  will-change: transform;
}
.float--1 { width: clamp(110px, 13vw, 210px); aspect-ratio: 1; left: 6%; top: 12%; border-radius: 50%; }
.float--2 { width: clamp(100px, 11vw, 180px); aspect-ratio: 3 / 4; right: 8%; top: 10%; }
.float--3 { width: clamp(100px, 12vw, 200px); aspect-ratio: 3 / 4; left: 10%; bottom: 8%; }
.float--4 { width: clamp(110px, 13vw, 210px); aspect-ratio: 1; right: 6%; bottom: 12%; border-radius: 50%; }
.finale__inner { position: relative; display: grid; justify-items: center; }
.finale__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.4vw, 124px);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 600;
}
.finale__title em { color: var(--ink); font-weight: 500; }

.finale__text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 36px;
  padding: 14px 26px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--pink-soft);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  box-shadow: 0 16px 36px -14px rgba(18, 12, 16, .7);
  animation: giftPulse 2.4s ease-in-out infinite;
}
@keyframes giftPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .finale__text { animation: none; }
}

.finale .eyebrow { color: var(--ink); }

/* =========================================================
   КОНТАКТЫ — компактно, в один экран
   ========================================================= */
.contacts { padding: clamp(48px, 6vw, 80px) 0; }
.contacts__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.contacts__info .h2 { font-size: clamp(28px, 3.2vw, 48px); }
.contacts__list { margin: 22px 0 18px; display: grid; }
.contacts__list div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contacts__list dt { color: var(--muted); font-size: 13.5px; }
.contacts__list dd { font-family: var(--font-display); font-size: clamp(15px, 1.3vw, 18px); font-weight: 500; line-height: 1.35; }
.contacts__list dd a[href^="mailto"] { white-space: nowrap; }
.contacts__list a { transition: color .3s; }
.contacts__list a:hover { color: var(--pink); }
.contacts__links { display: flex; flex-wrap: wrap; gap: 8px; }
.contacts__visual { display: flex; }
.contacts__map {
  position: relative;
  flex: 1;
  min-height: min(560px, 72vh);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
}
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.25) hue-rotate(280deg); }
.contacts__route {
  position: absolute; left: 14px; top: 14px; /* сверху — не перекрывает плашку Яндекса внизу карты */
  z-index: 2;
  padding: 14px 26px;
  border-radius: 100px;
  background: var(--pink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  transition: background .4s;
}
.contacts__route:hover { background: var(--blush); }

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.footer { padding-top: 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 150px); /* точный размер подгоняет скрипт под ширину */
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  padding: 0 var(--gutter);
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 111, 196, .5);
}
.footer__big em { -webkit-text-stroke: 0; color: var(--pink); }
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}
.footer__row a { transition: color .3s; }
.footer__row a:hover { color: var(--pink); }
.footer__credit b { color: var(--text); font-weight: 500; }

/* =========================================================
   ЦЕНЫ
   ========================================================= */
.prices { position: relative; overflow: hidden; }
.prices__bgword {
  position: absolute;
  top: clamp(40px, 6vw, 90px);
  left: 0;
  font-family: var(--font-display);
  font-family: var(--font-script); font-style: normal;
  font-weight: 700;
  font-size: clamp(110px, 20vw, 320px);
  line-height: .8;
  letter-spacing: -.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 111, 196, .14);
  pointer-events: none;
  will-change: transform;
}
.prices__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.prices__visual { position: sticky; top: 120px; }
.frame--price { aspect-ratio: 4 / 4.4; border-radius: 999px 999px var(--radius) var(--radius); }
.frame--price::before, .frame--price::after { border-radius: inherit; }
.prices__sticker {
  position: absolute;
  right: -6%;
  bottom: 8%;
  z-index: 3;
  width: clamp(120px, 11vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.1;
  rotate: -12deg;
  box-shadow: 0 20px 50px -16px rgba(243, 111, 196, .7);
  animation: stickerFloat 5s var(--ease-in-out) infinite;
}
.prices__sticker span { font-size: 13px; font-weight: 500; }
.prices__sticker b { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.02em; }
@keyframes stickerFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.price-tabs { display: flex; gap: 8px; margin: 24px 0 8px; flex-wrap: wrap; }
.price-tab {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.price-tab.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }

.price-list { border-top: 1px solid var(--line); }
.price-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 24px 20px;
  margin: 0 -20px;
  border-bottom: 1px solid var(--line);
  border-radius: 18px;
  isolation: isolate;
  transition: color .4s var(--ease-out);
}
.price-row::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(100deg, rgba(243, 111, 196, .16), rgba(243, 111, 196, .02));
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.price-row:hover::before { opacity: 1; }
.price-row__name h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.price-row__name p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.price-row__dots {
  height: 1px;
  margin-bottom: 14px;
  background-image: radial-gradient(circle, rgba(243, 111, 196, .6) 1px, transparent 1.5px);
  background-size: 8px 2px;
  background-repeat: repeat-x;
}
.price-row__price {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 44px);
  font-weight: 600;
  line-height: 1;
  color: var(--pink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
  transition: color .4s;
}
.price-row__price [data-price] { display: inline-block; text-align: right; }
/* после подсчёта цена вспыхивает розовым свечением */
.price-row.is-counted .price-row__price { animation: priceGlow 1.2s var(--ease-out); }
.price-row.is-counted::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(243, 111, 196, .22) 50%, transparent 70%) no-repeat;
  background-size: 250% 100%;
  animation: rowShine 1.2s var(--ease-out) forwards;
}
@keyframes priceGlow {
  0% { text-shadow: 0 0 0 rgba(243, 111, 196, 0); }
  35% { text-shadow: 0 0 28px rgba(243, 111, 196, .9); color: var(--pink-soft); }
  100% { text-shadow: 0 0 0 rgba(243, 111, 196, 0); }
}
@keyframes rowShine { from { background-position: 120% 0; } to { background-position: -120% 0; opacity: 0; } }
.price-row:hover .price-row__price { color: var(--pink-soft); }
.price-row__badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.price-row--hit { background: rgba(243, 111, 196, .07); border-color: rgba(243, 111, 196, .3); }

.prices__more {
  margin-top: 28px;
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px dashed rgba(243, 111, 196, .45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}
.prices__more b { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.prices__more p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Цена на карточке услуги */
.svc__price {
  margin-top: 16px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(243, 111, 196, .14);
  color: var(--pink-soft);
  font-size: 14px;
  font-weight: 600;
}
.svc--feature .svc__price { background: var(--ink); color: var(--pink); }

/* Вкладки прайса */
.price-tab { transition: background .35s var(--ease-out), color .35s, border-color .35s; }
.price-tab:hover:not(.is-active) { border-color: var(--pink); color: var(--text); }
.price-list.is-active { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.price-row__price small { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); margin-right: 4px; vertical-align: middle; }
[data-price-img] { transition: opacity .45s var(--ease-out), transform 1.8s var(--ease-out); }
[data-price-img].is-swapping { opacity: 0; }

/* =========================================================
   HERO: подпись студии и услуги
   ========================================================= */
.hero__kicker {
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero__kicker b { color: var(--text); font-weight: 600; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero__chips li {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid rgba(243, 111, 196, .4);
  color: var(--pink-soft);
  font-size: 14px;
  font-weight: 500;
}

/* =========================================================
   ПРАЙС-ТАБЛИЦА
   ========================================================= */
.prices__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.prices__lead { color: var(--muted); max-width: 340px; font-size: 15.5px; }
.ptable-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable thead th {
  padding: 16px 24px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--ink-3);
}
.ptable thead th:last-child, .ptable__price { text-align: right; }
.ptable__cat th {
  padding: 22px 24px 10px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  color: var(--pink);
  border-top: 1px solid var(--line);
}
.ptable tbody:first-of-type .ptable__cat th { border-top: 0; }
.ptable tbody tr:not(.ptable__cat) th,
.ptable tbody td { padding: 13px 24px; border-top: 1px dashed rgba(255, 214, 234, .08); vertical-align: baseline; }
.ptable tbody tr:not(.ptable__cat) th { text-align: left; font-weight: 500; color: var(--text); }
.ptable tbody tr:not(.ptable__cat):hover { background: rgba(243, 111, 196, .06); }
.ptable__time { color: var(--muted); white-space: nowrap; width: 1%; font-size: 14.5px; }
.ptable__price { white-space: nowrap; width: 1%; font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 17px; }
.prices__note { margin-top: 16px; }

/* заголовок «Почему к нам возвращаются» помещается в свою колонку */
.why__sticky .h2 { font-size: clamp(28px, 3.3vw, 52px); }
/* страховка: длинные слова в заголовках не вылезают за колонку */
.h2, .hero__title, .finale__title { overflow-wrap: break-word; }

.svc__img--brows { object-position: 55% 40%; }

.content-notice {
  font-size: .9rem;
  line-height: 1.45;
  margin: .5rem 0 1rem;
  padding-inline-start: .8rem;
  border-inline-start: 2px solid currentColor;
}
.content-notice[hidden], .rmarquee__row[hidden] { display: none; }

.about-main-photo { object-position: 50% 62%; }
