/* FUTURIONE Emotions СПб — «Вдвоём»
   Стили изолированы внутри .pair-page.
   JavaScript не требуется.
*/

.pair-page {
  --pair-bg: #07030d;
  --pair-text: #fbf8ff;
  --pair-muted: #b8aec1;
  --pair-line: rgba(255,255,255,.12);
  --pair-pink: #ff4fd8;
  --pair-violet: #8f5bff;
  --pair-max: 1380px;

  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 6%, rgba(206,52,255,.18), transparent 24%),
    radial-gradient(circle at 18% 32%, rgba(255,79,216,.08), transparent 22%),
    var(--pair-bg);
  color: var(--pair-text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pair-page,
.pair-page * { box-sizing: border-box; }

.pair-page a { color: inherit; text-decoration: none; }

.pair-page img { max-width: 100%; }

.pair-wrap {
  max-width: var(--pair-max);
  margin: auto;
  padding: 0 30px;
}

.pair-glass {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--pair-line);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  box-shadow: inset 0 1px rgba(255,255,255,.10), 0 20px 60px rgba(0,0,0,.24);
}

.pair-hero {
  min-height: calc(100svh - 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--pair-line);
}

.pair-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 54px 64px max(48px, calc((100vw - var(--pair-max))/2));
}

.pair-eyebrow,
.pair-label {
  color: #ef6fde;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.pair-eyebrow {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pair-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--pair-pink), var(--pair-violet));
}

.pair-hero h1 {
  margin: 0;
  max-width: 830px;
  color: var(--pair-text);
  font-size: clamp(58px, 6vw, 108px);
  line-height: .89;
  letter-spacing: -.065em;
  font-weight: 500;
}

.pair-hero h1 span,
.pair-section h2 em,
.pair-final h2 span {
  display: block;
  font-style: normal;
  background: linear-gradient(90deg, #ff76df, #c574ff 55%, #a789ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pair-hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: #d6ccd9;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.55;
}

.pair-offer-row,
.pair-meta-row,
.pair-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pair-offer-row { margin-top: 24px; }

.pair-offer {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,91,218,.32);
  background: rgba(203,64,255,.10);
  font-size: 14px;
  font-weight: 800;
}

.pair-rating-mini {
  color: #a99faf;
  font-size: 12px;
}

.pair-meta-row { margin-top: 20px; }

.pair-meta-row span,
.pair-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--pair-line);
  background: rgba(255,255,255,.035);
  color: #cec4d1;
  font-size: 12px;
}

.pair-actions { margin-top: 28px; }

.pair-btn {
  min-height: 56px;
  border-radius: 16px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: .2s;
}

.pair-btn-primary,
.pair-mobile-buy {
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, #40115e, #72188b 48%, #9a247f);
  color: #fff !important;
  box-shadow: 0 16px 44px rgba(180,40,190,.22);
}

.pair-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.pair-btn-secondary {
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.045);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff !important;
}

.pair-btn-secondary:hover { background: rgba(255,255,255,.08); }

.pair-hero-media {
  position: relative;
  min-height: calc(100svh - 80px);
  overflow: hidden;
  border-left: 1px solid var(--pair-line);
  background: #110719;
}

.pair-hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.pair-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,3,13,.35), transparent 40%),
    linear-gradient(0deg, rgba(7,3,13,.74), transparent 45%);
}

.pair-hero-card {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 28px;
  border-radius: 28px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1fr minmax(180px,280px);
  gap: 24px;
  align-items: end;
}

.pair-hero-card small {
  grid-column: 1 / -1;
  color: #baaec2;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pair-hero-card strong {
  font-size: 32px;
  font-weight: 500;
}

.pair-hero-card strong span { color: #ff70de; }

.pair-hero-card p {
  margin: 0;
  color: #bdb2c3;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.pair-section {
  padding: 110px 0;
  border-top: 1px solid var(--pair-line);
}

.pair-section-dark { background: rgba(8,4,12,.76); }

.pair-section h2 {
  margin: 18px 0 0;
  max-width: 1050px;
  color: var(--pair-text);
  font-size: clamp(44px, 4.7vw, 78px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 500;
}

.pair-section h2 em { display: inline; }

.pair-intro {
  max-width: 830px;
  margin: 24px 0 0;
  color: var(--pair-muted);
  font-size: 18px;
  line-height: 1.62;
}

.pair-about-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pair-about-copy,
.pair-photo {
  min-height: 460px;
  border-radius: 28px;
}

.pair-about-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pair-about-big {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.13;
  letter-spacing: -.04em;
}

.pair-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pair-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--pair-line);
  background: #120817;
}

.pair-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pair-benefits {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pair-benefit {
  min-height: 180px;
  border-radius: 24px;
  padding: 25px;
}

.pair-benefit span {
  color: #e165dc;
  font-size: 10px;
  letter-spacing: .16em;
}

.pair-benefit h3 {
  margin: 18px 0 8px;
  color: var(--pair-text);
  font-size: 23px;
}

.pair-benefit p {
  margin: 0;
  color: #a99eae;
  font-size: 14px;
  line-height: 1.5;
}

.pair-spaces {
  background:
    radial-gradient(circle at 75% 34%, rgba(210,63,255,.14), transparent 27%),
    var(--pair-bg);
}

.pair-spaces-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.pair-spaces-head > .pair-btn { flex: 0 0 auto; }

.pair-fan {
  max-width: 1500px;
  height: 700px;
  margin: 70px auto 0;
  position: relative;
}

.pair-space-card {
  --x: calc((var(--i) - 3) * 9%);
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(27vw,360px);
  height: 520px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
  transform:
    translate(calc(-50% + var(--x)),-50%)
    rotate(calc((var(--i) - 3) * 3.6deg));
  transform-origin: 50% 90%;
  transition: .35s;
  z-index: calc(10 + var(--i));
  background: #13081a;
}

.pair-space-card:hover {
  transform: translate(calc(-50% + var(--x)),-54%) rotate(0);
  z-index: 30;
}

.pair-space-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pair-space-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,2,11,.88), transparent 48%);
}

.pair-space-card span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .13em;
}

.pair-reviews-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 18px;
}

.pair-rating {
  min-height: 370px;
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pair-score {
  font-size: 100px;
  line-height: .86;
  letter-spacing: -.07em;
}

.pair-score span {
  font-size: 23px;
  color: #8f8397;
}

.pair-stars {
  color: #e067da;
  letter-spacing: .13em;
}

.pair-rating p,
.pair-review small { color: #9f94a5; }

.pair-review-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pair-review {
  min-height: 176px;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pair-review:nth-child(3) { grid-column: 1 / -1; }

.pair-review p {
  font-size: 16px;
  line-height: 1.5;
  color: #f2edf4;
  margin: 16px 0;
}

.pair-offer-section {
  background:
    radial-gradient(circle at 22% 38%, rgba(255,55,200,.13), transparent 22%),
    var(--pair-bg);
}

.pair-offer-panel {
  padding: 40px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}

.pair-discount {
  margin: 20px 0 16px;
  font-size: clamp(88px, 10vw, 158px);
  line-height: .8;
  letter-spacing: -.075em;
  font-weight: 900;
  background: linear-gradient(90deg,#ff64dd,#d750ff 52%,#9e82ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pair-offer-panel h2 { font-size: clamp(36px, 3.6vw, 60px); }

.pair-offer-panel p {
  max-width: 610px;
  color: #b4a9b9;
  font-size: 16px;
  line-height: 1.6;
}

.pair-offer-actions {
  display: grid;
  gap: 12px;
}

.pair-step {
  min-height: 68px;
  padding: 14px 16px;
  border-radius: 17px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--pair-line);
}

.pair-step b {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#8c235f,#762b97);
  font-size: 12px;
}

.pair-step span {
  color: #d7cfd9;
  font-size: 14px;
}

.pair-faq-wrap {
  display: grid;
  grid-template-columns: .66fr 1.34fr;
  gap: 70px;
}

.pair-faq { border-top: 1px solid var(--pair-line); }

.pair-faq details { border-bottom: 1px solid var(--pair-line); }

.pair-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 18px;
  font-weight: 800;
}

.pair-faq summary::-webkit-details-marker { display: none; }

.pair-faq summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 300;
  color: #e168dc;
}

.pair-faq details[open] summary::after { content: "–"; }

.pair-faq p {
  margin: 0 0 26px;
  max-width: 800px;
  color: #a99ead;
  line-height: 1.62;
}

.pair-final {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(208,54,255,.20), transparent 30%),
    var(--pair-bg);
}

.pair-final-inner {
  max-width: 1100px;
  padding: 90px 24px;
}

.pair-final h2 {
  margin: 18px 0 0;
  color: var(--pair-text);
  font-size: clamp(54px, 7vw, 104px);
  line-height: .88;
  letter-spacing: -.06em;
  font-weight: 500;
}

.pair-final p {
  max-width: 700px;
  margin: 24px auto 0;
  color: #aaa0af;
  font-size: 17px;
}

.pair-actions-center { justify-content: center; }

.pair-mobile-buy {
  display: none;
  position: fixed;
  z-index: 100;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 56px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

@media (max-width: 980px) {
  .pair-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pair-hero-copy {
    min-height: auto;
    padding: 80px 24px 56px;
  }

  .pair-hero-media {
    min-height: 620px;
    border-left: 0;
    border-top: 1px solid var(--pair-line);
  }

  .pair-about-grid,
  .pair-reviews-grid,
  .pair-offer-panel,
  .pair-faq-wrap {
    grid-template-columns: 1fr;
  }

  .pair-benefits { grid-template-columns: 1fr; }

  .pair-spaces-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pair-fan {
    height: auto;
    margin: 46px 0 0;
    padding: 0 24px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pair-space-card {
    position: relative;
    left: auto;
    top: auto;
    min-width: 78vw;
    width: 78vw;
    height: 500px;
    transform: none !important;
    scroll-snap-align: center;
  }

  .pair-review-list { grid-template-columns: 1fr; }

  .pair-review:nth-child(3) { grid-column: auto; }

  .pair-mobile-buy { display: flex; }
}

@media (max-width: 640px) {
  .pair-wrap { padding: 0 18px; }

  .pair-hero-copy { padding: 64px 18px 46px; }

  .pair-hero h1 { font-size: 54px; }

  .pair-hero-lead { font-size: 17px; }

  .pair-hero-media { min-height: 540px; }

  .pair-hero-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
  }

  .pair-hero-card p { text-align: left; }

  .pair-section { padding: 78px 0; }

  .pair-section h2 { font-size: 44px; }

  .pair-intro { font-size: 16px; }

  .pair-about-copy,
  .pair-photo {
    min-height: 360px;
    border-radius: 22px;
  }

  .pair-about-copy { padding: 24px; }

  .pair-fan { padding-left: 18px; }

  .pair-space-card {
    min-width: 84vw;
    width: 84vw;
    height: 440px;
  }

  .pair-offer-panel { padding: 24px; }

  .pair-score { font-size: 82px; }

  .pair-final h2 { font-size: 58px; }

  .pair-final { padding-bottom: 70px; }
}


.pair-extra-hall {
  margin-top: 34px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 22px;
  padding: 18px;
}

.pair-extra-hall-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  background: #110719;
}

.pair-extra-hall-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pair-extra-hall-copy {
  padding: 12px 10px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pair-extra-hall-copy h3 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: .98;
  letter-spacing: -.04em;
}

.pair-extra-hall-copy p {
  margin: 0;
  max-width: 700px;
  color: #b7aebe;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .pair-extra-hall {
    grid-template-columns: 1fr;
  }

  .pair-extra-hall-photo {
    min-height: 420px;
  }

  .pair-extra-hall-copy {
    padding: 4px 6px 10px;
  }
}

@media (max-width: 640px) {
  .pair-extra-hall-photo {
    min-height: 300px;
  }
}


/* ===== V3: same-page anchors, rating/proof, video review, interactive fan ===== */

.pair-fan {
  height: 720px;
  overflow: visible;
}

.pair-space-card {
  --offset: var(--i);
  left: 42%;
  width: min(29vw, 390px);
  height: 560px;
  cursor: pointer;
  z-index: 10;
  transform:
    translate(calc(-50% + (var(--offset) * 9.5%)), -50%)
    rotate(calc(var(--offset) * 2.8deg));
  transition: transform .4s ease, filter .3s ease, opacity .3s ease, box-shadow .3s ease;
}

.pair-space-card:not(.is-active) {
  filter: brightness(.68) saturate(.9);
}

.pair-space-card.is-active {
  z-index: 100 !important;
  transform: translate(-50%, -54%) rotate(0deg) scale(1.035);
  filter: none;
  box-shadow: 0 40px 110px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,.18);
}

.pair-space-card:focus-visible {
  outline: 2px solid #ff76df;
  outline-offset: 4px;
}

.pair-space-card::after {
  background: linear-gradient(0deg, rgba(7,2,10,.96) 0%, rgba(7,2,10,.62) 31%, transparent 66%);
}

.pair-space-copy {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
}

.pair-space-number {
  color: #f07de4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.pair-space-copy h3 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.03em;
}

.pair-space-copy p {
  margin: 12px 0 0;
  color: #d6ccd9;
  font-size: 13px;
  line-height: 1.48;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .25s ease, max-height .35s ease;
}

.pair-space-card.is-active .pair-space-copy p {
  opacity: 1;
  max-height: 120px;
}

.pair-space-card > span {
  display: none;
}

.pair-fan-hint {
  margin: -34px 0 30px;
  color: #8f8495;
  font-size: 13px;
  text-align: center;
}

.pair-proof-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  margin-top: 10px;
}

.pair-top10,
.pair-rating {
  min-height: 330px;
  border-radius: 28px;
  padding: 34px;
}

.pair-top10 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 85% 20%, rgba(219,70,255,.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}

.pair-top10-kicker,
.pair-rating-source {
  color: #ed75df;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pair-top10-title {
  margin-top: 22px;
  font-size: clamp(56px, 7vw, 104px);
  line-height: .82;
  letter-spacing: -.07em;
  font-weight: 900;
  background: linear-gradient(90deg, #fff 0%, #ff7bdd 52%, #bb86ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pair-top10 p {
  margin: 28px 0 0;
  max-width: 570px;
  color: #b9afbe;
  font-size: 15px;
  line-height: 1.55;
}

.pair-rating {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pair-rating .pair-score {
  margin-top: 18px;
  font-size: clamp(92px, 9vw, 138px);
  line-height: .78;
  letter-spacing: -.08em;
  color: #fff;
}

.pair-rating p {
  margin: 0;
  color: #a89dab;
  font-size: 16px;
}

.pair-stars,
.pair-score span {
  display: none !important;
}

.pair-video-review {
  margin-top: 18px;
  border-radius: 30px;
  padding: 18px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 28px;
  align-items: center;
}

.pair-video-copy {
  padding: 26px 18px 26px 24px;
}

.pair-video-copy h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4vw, 62px);
}

.pair-video-copy p {
  margin: 20px 0 0;
  color: #b7acbb;
  font-size: 16px;
  line-height: 1.6;
}

.pair-video-frame {
  max-width: 520px;
  width: 100%;
  justify-self: end;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
}

.pair-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px) {
  .pair-fan {
    height: auto;
    overflow-x: auto;
  }

  .pair-space-card,
  .pair-space-card.is-active,
  .pair-space-card:not(.is-active) {
    left: auto;
    transform: none !important;
    filter: none;
  }

  .pair-space-card {
    min-width: 82vw;
    width: 82vw;
    height: 560px;
  }

  .pair-space-copy p {
    opacity: 1;
    max-height: 150px;
  }

  .pair-fan-hint {
    display: none;
  }

  .pair-proof-grid,
  .pair-video-review {
    grid-template-columns: 1fr;
  }

  .pair-video-frame {
    justify-self: center;
    max-width: 460px;
  }
}

@media (max-width: 640px) {
  .pair-space-card {
    min-width: 86vw;
    width: 86vw;
    height: 500px;
  }

  .pair-top10,
  .pair-rating {
    min-height: 260px;
    padding: 26px;
  }

  .pair-top10-title {
    font-size: 58px;
  }

  .pair-rating .pair-score {
    font-size: 104px;
  }

  .pair-video-review {
    padding: 12px;
  }

  .pair-video-copy {
    padding: 18px 10px 10px;
  }
}

/* ===== V5: compact proof section + all halls slider + improved video ===== */

.pair-fan {
  height: 760px;
}

.pair-space-card {
  left: 40%;
  width: min(27vw, 360px);
  height: 560px;
  transform:
    translate(calc(-50% + (var(--offset) * 8.6%)), -50%)
    rotate(calc(var(--offset) * 2.5deg));
}

.pair-space-card.is-active {
  transform: translate(-50%, -54%) rotate(0deg) scale(1.025);
}

.pair-space-card-extra .pair-space-copy p {
  max-width: 240px;
}

.pair-space-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #f0b9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pair-proof-grid-compact {
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-top: 10px;
}

.pair-proof-grid-compact .pair-top10,
.pair-proof-grid-compact .pair-rating {
  min-height: 220px;
  padding: 28px;
}

.pair-proof-grid-compact .pair-top10-title {
  margin-top: 14px;
  font-size: clamp(38px, 4.7vw, 72px);
  line-height: .92;
}

.pair-proof-grid-compact .pair-top10 p {
  margin-top: 16px;
  font-size: 14px;
}

.pair-proof-grid-compact .pair-rating .pair-score {
  margin-top: 8px;
  font-size: clamp(76px, 8vw, 116px);
}

.pair-proof-bottom {
  margin-top: 18px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
  align-items: stretch;
}

.pair-proof-bottom .pair-review-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pair-proof-bottom .pair-review {
  min-height: 0;
  padding: 20px 22px;
  border-radius: 24px;
}

.pair-proof-bottom .pair-review:nth-child(3) {
  grid-column: auto;
}

.pair-proof-bottom .pair-review p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.pair-video-review {
  margin-top: 0;
  padding: 14px;
  border-radius: 28px;
  grid-template-columns: .84fr .66fr;
  gap: 18px;
}

.pair-video-copy {
  padding: 18px 16px 18px 18px;
}

.pair-video-copy h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: .98;
}

.pair-video-copy p {
  margin-top: 16px;
  font-size: 15px;
}

.pair-video-frame {
  max-width: 360px;
  border-radius: 22px;
  aspect-ratio: 9 / 16;
}

.pair-video-frame video {
  object-fit: cover;
}

@media (max-width: 1280px) {
  .pair-fan {
    height: 700px;
  }

  .pair-space-card {
    width: min(30vw, 340px);
    transform:
      translate(calc(-50% + (var(--offset) * 7.8%)), -50%)
      rotate(calc(var(--offset) * 2.3deg));
  }
}

@media (max-width: 980px) {
  .pair-proof-grid-compact,
  .pair-proof-bottom,
  .pair-video-review {
    grid-template-columns: 1fr;
  }

  .pair-proof-bottom .pair-review-list {
    grid-template-columns: 1fr;
  }

  .pair-video-frame {
    max-width: 420px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .pair-fan {
    height: auto;
  }

  .pair-proof-grid-compact .pair-top10,
  .pair-proof-grid-compact .pair-rating {
    min-height: 0;
    padding: 24px;
  }

  .pair-proof-grid-compact .pair-top10-title {
    font-size: 42px;
  }

  .pair-video-review {
    padding: 12px;
  }

  .pair-video-copy {
    padding: 16px 10px 6px;
  }
}


/* ===== V5.1: compact Yandex proof strip ===== */

.pair-proof-strip {
  margin-top: 12px;
  border-radius: 24px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1.45fr 1px .55fr;
  gap: 26px;
  align-items: center;
  background:
    radial-gradient(circle at 22% 0%, rgba(214,64,255,.14), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.035));
}

.pair-proof-cell {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pair-proof-source {
  color: #ec73df;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pair-proof-main {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(56px, 5.8vw, 88px);
  line-height: .88;
  letter-spacing: -.06em;
  font-weight: 800;
}

.pair-proof-cell-afisha .pair-proof-main {
  background: linear-gradient(90deg, #fff 0%, #ff8ee2 54%, #bf90ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pair-proof-note {
  margin-top: 10px;
  color: #aaa0af;
  font-size: 14px;
  line-height: 1.35;
}

.pair-proof-divider {
  width: 1px;
  height: 100px;
  justify-self: center;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
}

.pair-proof-bottom {
  margin-top: 16px;
}

@media (max-width: 980px) {
  .pair-proof-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pair-proof-divider {
    width: 100%;
    height: 1px;
  }

  .pair-proof-cell {
    min-height: 110px;
  }
}

@media (max-width: 640px) {
  .pair-proof-strip {
    padding: 20px;
    border-radius: 20px;
  }

  .pair-proof-main {
    font-size: 58px;
  }

  .pair-proof-note {
    font-size: 13px;
  }
}


/* ===== V6: stable carousel, replaces fan interaction ===== */

.pair-carousel {
  position: relative;
  margin-top: 54px;
  padding: 0 76px 54px;
}

.pair-carousel-viewport {
  overflow: hidden;
  border-radius: 32px;
}

.pair-carousel-track {
  display: flex;
  width: 100%;
  transition: transform .48s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.pair-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 560px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.pair-carousel-media {
  position: relative;
  min-height: 560px;
  background: #110719;
  overflow: hidden;
}

.pair-carousel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 56%, rgba(7,3,13,.30));
}

.pair-carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pair-carousel-copy {
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(213,65,255,.14), transparent 38%),
    rgba(8,4,12,.78);
}

.pair-carousel-copy h3 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 4.2vw, 66px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 500;
  color: #fff;
}

.pair-carousel-copy p {
  margin: 0;
  max-width: 560px;
  color: #c2b7c8;
  font-size: 17px;
  line-height: 1.62;
}

.pair-carousel-badge {
  position: absolute;
  z-index: 3;
  left: 22px;
  top: 22px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(15,7,21,.76);
  border: 1px solid rgba(255,255,255,.20);
  color: #f0b9ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.pair-carousel-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: rgba(17,9,23,.82);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
  backdrop-filter: blur(14px);
}

.pair-carousel-arrow:hover {
  background: rgba(116,31,135,.78);
  transform: translateY(-50%) scale(1.04);
}

.pair-carousel-prev { left: 6px; }
.pair-carousel-next { right: 6px; }

.pair-carousel-arrow:disabled {
  opacity: .28;
  cursor: default;
}

.pair-carousel-arrow:disabled:hover {
  transform: translateY(-50%);
  background: rgba(17,9,23,.82);
}

.pair-carousel-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pair-carousel-counter {
  color: #f5eff7;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
}

.pair-carousel-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pair-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: width .2s ease, border-radius .2s ease, background .2s ease;
}

.pair-carousel-dot.is-active {
  width: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg,#ff70dd,#a677ff);
}

/* Disable old fan presentation if residual selectors remain in CSS */
.pair-fan,
.pair-space-card,
.pair-fan-hint,
.pair-extra-hall {
  /* classes no longer used by V6 HTML */
}

@media (max-width: 980px) {
  .pair-carousel {
    margin-top: 40px;
    padding: 0 0 52px;
  }

  .pair-carousel-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pair-carousel-media {
    min-height: 500px;
  }

  .pair-carousel-copy {
    padding: 34px 28px 38px;
  }

  .pair-carousel-arrow {
    top: 470px;
    transform: none;
  }

  .pair-carousel-arrow:hover,
  .pair-carousel-arrow:disabled:hover {
    transform: none;
  }

  .pair-carousel-prev { left: 16px; }
  .pair-carousel-next { right: 16px; }
}

@media (max-width: 640px) {
  .pair-carousel-viewport {
    border-radius: 24px;
  }

  .pair-carousel-slide {
    border-radius: 24px;
  }

  .pair-carousel-media {
    min-height: 390px;
  }

  .pair-carousel-copy {
    padding: 28px 22px 32px;
  }

  .pair-carousel-copy h3 {
    font-size: 42px;
  }

  .pair-carousel-copy p {
    font-size: 15px;
  }

  .pair-carousel-arrow {
    top: 360px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .pair-carousel-footer {
    align-items: flex-start;
  }

  .pair-carousel-dots {
    max-width: 160px;
  }
}


/* ===== V6.1: carousel aligned to main grid ===== */

.pair-spaces-head {
  display: block;
}

.pair-spaces-head > div {
  max-width: 980px;
}

.pair-carousel {
  margin-top: 36px;
  padding: 0 0 52px;
}

.pair-carousel-viewport {
  width: 100%;
  border-radius: 30px;
}

.pair-carousel-slide {
  min-height: 520px;
  grid-template-columns: 54% 46%;
}

.pair-carousel-media {
  min-height: 520px;
}

.pair-carousel-copy {
  padding: 44px 40px;
}

.pair-carousel-arrow {
  top: calc(50% - 26px);
  width: 50px;
  height: 50px;
  background: rgba(12,7,18,.88);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}

.pair-carousel-prev {
  left: 18px;
}

.pair-carousel-next {
  right: 18px;
}

.pair-carousel-footer {
  padding: 0 4px;
}

@media (max-width: 980px) {
  .pair-carousel {
    margin-top: 30px;
    padding-bottom: 46px;
  }

  .pair-carousel-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pair-carousel-media {
    min-height: 460px;
  }

  .pair-carousel-arrow {
    top: 410px;
  }

  .pair-carousel-prev {
    left: 14px;
  }

  .pair-carousel-next {
    right: 14px;
  }
}

@media (max-width: 640px) {
  .pair-carousel-media {
    min-height: 360px;
  }

  .pair-carousel-arrow {
    top: 315px;
  }

  .pair-carousel-copy {
    padding: 26px 22px 30px;
  }
}

/* =========================================================
   MOSCOW OFFER THEMES
   Geometry/layout intentionally stays the same as the SPb landing.
   Only Moscow-specific color themes and optional blocks are added.
   Everything is scoped inside .pair-page.
   ========================================================= */

.pair-page button.pair-btn,
.pair-page button.pair-mobile-buy {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.pair-page .offer-code {
  font-weight: 900;
}

/* Single Yandex Maps rating: same proof-card language, without the Afisha column. */
.pair-page .pair-proof-strip.is-single {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.pair-page .pair-proof-strip.is-single .pair-proof-cell {
  min-height: 130px;
}

/* Quest block — extra content needed only on the children's page. */
.pair-page .pair-quest-card {
  margin-top: 18px;
  padding: 26px 30px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.pair-page .pair-quest-time {
  font-size: 38px;
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 900;
}

.pair-page .pair-quest-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 700;
}

.pair-page .pair-quest-card p {
  margin: 0;
  color: #bdb2c3;
  font-size: 15px;
  line-height: 1.55;
}

.pair-page .pair-quest-note {
  display: inline-block;
  margin-top: 8px;
  font-weight: 900;
}

/* Prepared for Ksenia Borodina's Moscow video review. */
.pair-page .pair-video-shell {
  margin-top: 18px;
  padding: 18px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: center;
}

.pair-page .pair-video-copy h3 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(28px, 2.7vw, 44px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 500;
}

.pair-page .pair-video-copy p {
  margin: 0;
  color: #bdb2c3;
  font-size: 15px;
  line-height: 1.55;
}

.pair-page .pair-video-media {
  overflow: hidden;
  border-radius: 20px;
  background: #050208;
  aspect-ratio: 16 / 9;
}

.pair-page .pair-video-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ---------- FAMILY ---------- */

.pair-page.theme-family {
  --pair-bg: #090603;
  --pair-text: #fffaf2;
  --pair-muted: #c9bfb3;
  --pair-line: rgba(255,255,255,.12);
  --pair-pink: #ff7900;
  --pair-violet: #ffd52a;

  background:
    radial-gradient(circle at 82% 6%, rgba(255,157,0,.14), transparent 24%),
    radial-gradient(circle at 18% 32%, rgba(255,121,0,.07), transparent 22%),
    var(--pair-bg);
}

.theme-family .pair-eyebrow,
.theme-family .pair-label,
.theme-family .pair-space-number,
.theme-family .pair-proof-source {
  color: #ffad18;
}

.theme-family .pair-eyebrow::before {
  background: linear-gradient(90deg,#ff7900,#ffd52a);
}

.theme-family .pair-hero h1 span,
.theme-family .pair-section h2 em,
.theme-family .pair-final h2 span,
.theme-family .pair-discount,
.theme-family .pair-quest-time {
  background: linear-gradient(90deg,#ff7900 0%,#ff9d00 52%,#ffd52a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-family .pair-offer {
  border-color: rgba(255,164,0,.34);
  background: rgba(255,135,0,.08);
}

.theme-family .pair-btn-primary,
.theme-family .pair-mobile-buy {
  background: linear-gradient(135deg,#ff7900,#ff9d00);
  box-shadow: 0 16px 44px rgba(255,132,0,.20);
}

.theme-family .pair-btn-primary:hover {
  filter: brightness(1.07);
}

.theme-family .pair-hero-card {
  background: linear-gradient(180deg,rgba(40,24,8,.84),rgba(25,17,8,.72));
  border-color: rgba(255,166,0,.22);
}

.theme-family .pair-hero-card small {
  color: #e3cda7;
}

.theme-family .pair-hero-card strong span,
.theme-family .offer-code,
.theme-family .pair-quest-note {
  color: #ffd52a;
}

.theme-family .pair-hero-card p {
  color: #d1c0a7;
}

.theme-family .pair-carousel-copy {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,157,0,.10), transparent 38%),
    rgba(9,6,3,.78);
}

.theme-family .pair-carousel-arrow:hover {
  background: rgba(255,121,0,.78);
}

.theme-family .pair-carousel-dot.is-active {
  background: linear-gradient(90deg,#ff7900,#ffd52a);
}

.theme-family .pair-carousel-badge {
  color: #fff1bd;
  border-color: rgba(255,213,42,.28);
  background: rgba(65,38,0,.76);
}

.theme-family .pair-step b {
  background: linear-gradient(135deg,#ff7900,#ffae00);
}

.theme-family .pair-faq summary::after {
  color: #ffad18;
}

.theme-family .pair-offer-section {
  background:
    radial-gradient(circle at 22% 38%,rgba(255,121,0,.11),transparent 22%),
    var(--pair-bg);
}

.theme-family .pair-final {
  background:
    radial-gradient(circle at 50% 46%,rgba(255,147,0,.14),transparent 30%),
    var(--pair-bg);
}

.theme-family .pair-quest-card {
  border: 1px solid rgba(255,174,0,.26);
  background: linear-gradient(135deg,rgba(255,121,0,.12),rgba(255,213,42,.035));
}


/* ---------- COUPLES −15% ---------- */
/* Base SPb pink/violet palette already fits this offer. */
.theme-couple .offer-code {
  color: #ff8ce5;
}


/* ---------- DATE −400 ₽ ---------- */

.pair-page.theme-date {
  --pair-bg: #08030b;
  --pair-pink: #ff4dc4;
  --pair-violet: #b04cff;

  background:
    radial-gradient(circle at 82% 8%,rgba(255,45,170,.15),transparent 25%),
    radial-gradient(circle at 18% 34%,rgba(128,44,255,.09),transparent 24%),
    var(--pair-bg);
}

.theme-date .pair-eyebrow,
.theme-date .pair-label,
.theme-date .pair-space-number,
.theme-date .pair-proof-source {
  color: #ff72d2;
}

.theme-date .pair-hero h1 span,
.theme-date .pair-section h2 em,
.theme-date .pair-final h2 span,
.theme-date .pair-discount {
  background: linear-gradient(90deg,#ff57ca,#ef5cf3 52%,#a875ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-date .offer-code {
  color: #ff8ddd;
}

@media (max-width: 980px) {
  .pair-page .pair-video-shell {
    grid-template-columns: 1fr;
  }

  .pair-page .pair-quest-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pair-page .pair-quest-card {
    padding: 22px;
  }

  .pair-page .pair-quest-time {
    font-size: 34px;
  }

  .pair-page .pair-proof-strip.is-single {
    max-width: none;
  }
}
