/* Gym Champions — главная страница. */

/* ---------- Интро ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  background: #000;
  transition: background-color 0.9s var(--ease-in-out);
}
.intro-play .intro {
  display: grid;
}
.intro__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1100px, 150vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(240, 222, 176, 0.16), rgba(240, 222, 176, 0.05) 45%, transparent 70%);
  opacity: 0;
  animation: intro-fade 1.6s var(--ease) 0.1s forwards;
  pointer-events: none;
}
.intro__stage {
  position: relative;
  width: min(760px, 86vw);
  transform-origin: 0 0;
}
.intro__stage .emblem {
  width: 100%;
  height: auto;
  color: var(--gold);
  overflow: visible;
}
.intro__stage .emblem-gold {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: intro-fade 0.8s var(--ease) 1.9s forwards;
}
.intro__sweep {
  position: absolute;
  inset: 0;
  -webkit-mask: url('../img/emblem.svg') center / contain no-repeat;
  mask: url('../img/emblem.svg') center / contain no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.9) 50%, transparent 65%);
  background-size: 300% 100%;
  background-position: 110% 0;
  mix-blend-mode: overlay;
  animation: intro-sweep 1s var(--ease-in-out) 1.85s forwards;
}
.intro__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(48px, 8vh);
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: intro-rise 0.9s var(--ease-out) 1.5s forwards;
}
.intro__skip {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-3);
  font-size: 13px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.intro__skip:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.intro--leaving {
  background-color: transparent;
  pointer-events: none;
}
.intro--leaving .intro__glow,
.intro--leaving .intro__caption,
.intro--leaving .intro__skip {
  opacity: 0 !important;
  transition: opacity 0.4s var(--ease);
  animation: none;
}

/* Сборка эмблемы по частям */
.intro-play .intro .bb-bar {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.7s var(--ease-in-out) 0.15s forwards;
}
.intro-play .intro .bb-slide rect {
  transform-box: fill-box;
  opacity: 0;
  transform: translateX(-70px);
  animation: plate-in 0.7s var(--ease-out) forwards;
  animation-delay: calc(0.45s + (5 - var(--i)) * 0.05s);
}
.intro-play .intro .gym-l {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: letter-up 0.8s var(--ease-out) forwards;
  animation-delay: calc(0.8s + var(--i) * 0.08s);
}
.intro-play .intro .wing {
  opacity: 0;
  transform-box: fill-box;
  animation: wing-open 0.9s var(--ease-out) 1.05s forwards;
}
.intro-play .intro .wing-l {
  transform-origin: 100% 60%;
  transform: scaleX(0.1) rotate(14deg);
}
.intro-play .intro .wing-r {
  transform-origin: 0% 60%;
  transform: scaleX(0.1) rotate(-14deg);
}
.intro-play .intro .champ-l {
  opacity: 0;
  filter: blur(6px);
  animation: champ-in 0.7s var(--ease-out) forwards;
  animation-delay: calc(1.25s + var(--i) * 0.04s);
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes plate-in {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes letter-up {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes wing-open {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes champ-in {
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes intro-fade {
  to {
    opacity: 1;
  }
}
@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes intro-sweep {
  from {
    background-position: 110% 0;
  }
  to {
    background-position: -10% 0;
  }
}

/* Пока идёт интро, содержимое первого экрана спрятано и появляется после */
.intro-play:not(.intro-out) .hero [data-hero] {
  opacity: 0;
  transform: translateY(24px);
}
.intro-play:not(.intro-out) body {
  overflow: hidden;
}
.hero [data-hero] {
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.intro-play .hero__emblem {
  visibility: hidden;
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(28px, 5vh, 56px)) 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 45% at 50% 0%, rgba(240, 222, 176, 0.13), transparent 70%),
    radial-gradient(40% 30% at 50% 78%, rgba(226, 194, 125, 0.12), transparent 70%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero__spot {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(240, 222, 176, 0.08), transparent 60%);
  pointer-events: none;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(18px, 3vh, 28px);
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.live-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--line-2);
}
.live-pill b {
  color: var(--text);
  font-weight: 600;
}
.hero__title {
  font-size: clamp(50px, 8.2vw, 100px);
  text-wrap: balance;
}
.hero .lead {
  margin: 18px auto 0;
  max-width: 600px;
  font-size: clamp(19px, 1.8vw, 22px);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(24px, 4vh, 36px);
}
.hero__visual {
  position: relative;
  width: min(680px, 88vw, calc((100svh - 470px) * 2.07));
  min-width: min(300px, 88vw);
  margin-top: clamp(28px, 5vh, 64px);
  will-change: transform, opacity;
}
.hero__emblem {
  position: relative;
  width: 100%;
}
.hero__floor {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -16%;
  height: 30%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(240, 222, 176, 0.16), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 22px;
  height: 34px;
  margin-left: -11px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
}
.hero__scroll::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text-2);
  animation: scroll-hint 1.8s var(--ease) infinite;
}
@keyframes scroll-hint {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80%,
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* ---------- Секции ---------- */
.section {
  position: relative;
  padding: clamp(96px, 14vw, 160px) 0;
}
.section__head {
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section__head--center {
  text-align: center;
}
.section__head--center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Манифест (слова подсвечиваются при прокрутке) ---------- */
.manifesto {
  padding: clamp(80px, 12vw, 150px) 0;
}
.manifesto__text {
  margin: 0;
  max-width: 980px;
  font-size: clamp(30px, 4.6vw, 60px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.manifesto__text .w {
  color: color-mix(in srgb, var(--text) calc(var(--o, 0) * 100%), #3a3a3c);
  transition: color 0.15s linear;
}
.no-js .manifesto__text .w {
  color: var(--text);
}
.manifesto__text .w--gold {
  color: color-mix(in srgb, var(--gold) calc(var(--o, 0) * 100%), #3a3a3c);
}

/* ---------- Бенто ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.tile {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
}
.tile--wide {
  grid-column: span 4;
}
.tile--half {
  grid-column: span 3;
}
.tile__icon {
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  color: var(--gold);
}
.tile__title {
  margin: 28px 0 8px;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.tile__text {
  margin: 0;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.45;
}
.tile__text b {
  color: var(--text);
  font-weight: 600;
}
.tile .link {
  margin-top: 18px;
}

.tile--price {
  justify-content: flex-end;
  min-height: 420px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(240, 222, 176, 0.16), transparent 55%), var(--surface);
}
.tile--price .tile__deco {
  position: absolute;
  top: 28px;
  right: -36px;
  width: 50%;
  opacity: 0.1;
  transform: rotate(-8deg);
  z-index: -1;
}
.tile__kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 19px;
  font-weight: 600;
}
.tile__big {
  margin: 0;
  font-size: clamp(64px, 9vw, 112px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.tile__big small {
  font-size: 0.42em;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.tile--live .tile__live-num {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: auto 0 0;
  font-size: 92px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.tile--live .tile__live-num .dot {
  width: 12px;
  height: 12px;
  transform: translateY(-12px);
}
.tile__live-label {
  margin: 6px 0 0;
  color: var(--text-2);
}
.spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 56px;
  margin-top: 20px;
}
.spark i {
  flex: 1;
  min-height: 3px;
  border-radius: 3px;
  background: var(--surface-3);
  transition: height 0.8s var(--ease-out), background-color 0.3s var(--ease);
}
.spark i.is-now {
  background: var(--gold);
}

.tile--place {
  justify-content: flex-end;
  min-height: 360px;
}
.tile--place img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(0.9) brightness(0.8);
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}
.tile--place:hover img {
  transform: scale(1.08);
}
.tile--place::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.tile--qr .qr-art {
  position: absolute;
  right: 30px;
  top: 30px;
  width: 132px;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  transform: rotate(6deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.tile--qr .qr-art svg {
  width: 100%;
  height: auto;
}

/* ---------- Загрузка зала ---------- */
.live-card {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 20px;
}
.gauge-card,
.forecast {
  border-radius: var(--radius);
  background: var(--surface);
  padding: 36px;
}
.gauge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.gauge {
  position: relative;
  width: min(260px, 100%);
  aspect-ratio: 1;
}
.gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.gauge__track {
  fill: none;
  stroke: var(--surface-3);
  stroke-width: 18;
}
.gauge__bar {
  fill: none;
  stroke: var(--level-color, var(--green));
  stroke-width: 18;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease-out), stroke 0.6s var(--ease);
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--level-color, var(--green)) 45%, transparent));
}
.gauge__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gauge__num {
  font-size: 84px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.gauge__unit {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 15px;
}
.gauge__cap {
  color: var(--text-3);
  font-size: 13px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 17px;
  font-weight: 600;
}
.gauge-card__meta {
  margin: 14px 0 0;
  color: var(--text-3);
  font-size: 14px;
}

.forecast {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.forecast__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.forecast__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.segmented {
  display: inline-flex;
  padding: 3px;
  border-radius: 12px;
  background: var(--surface-2);
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.segmented::-webkit-scrollbar {
  display: none;
}
.segmented button {
  flex: none;
  min-width: 38px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.segmented button[aria-selected='true'] {
  background: #636366;
  color: #fff;
}
.segmented button:disabled {
  opacity: 0.35;
  cursor: default;
}

.chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 230px;
  margin-top: 34px;
  padding-top: 26px;
}
.chart__bar {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  outline: none;
}
.chart__fill {
  width: 100%;
  min-height: 4px;
  border-radius: 7px 7px 4px 4px;
  background: var(--c, var(--green));
  opacity: 0.9;
  transform-origin: bottom;
  transition: height 0.9s var(--ease-out), opacity 0.3s var(--ease), background-color 0.3s var(--ease);
}
.chart__bar[data-level='low'] {
  --c: var(--green);
}
.chart__bar[data-level='medium'] {
  --c: var(--yellow);
}
.chart__bar[data-level='high'] {
  --c: var(--orange);
}
.chart__bar[data-level='full'] {
  --c: var(--red);
}
.chart__bar.is-women .chart__fill {
  background: repeating-linear-gradient(135deg, var(--pink) 0 6px, color-mix(in srgb, var(--pink) 70%, #000) 6px 10px);
}
.chart__bar.is-past .chart__fill {
  opacity: 0.28;
}
.chart__bar.is-now .chart__fill {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text);
}
.chart__now {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--text);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.chart__tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 2;
  transform: translate(-50%, 6px);
  padding: 8px 12px;
  border-radius: 12px;
  background: #3a3a3c;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.chart__bar:hover .chart__tip,
.chart__bar:focus-visible .chart__tip {
  opacity: 1;
  transform: translate(-50%, 0);
}
.chart__bar.tip-start .chart__tip {
  left: 0;
  transform: translate(0, 6px);
}
.chart__bar.tip-end .chart__tip {
  left: auto;
  right: 0;
  transform: translate(0, 6px);
}
.chart__bar.tip-start:hover .chart__tip,
.chart__bar.tip-end:hover .chart__tip,
.chart__bar.tip-start:focus-visible .chart__tip,
.chart__bar.tip-end:focus-visible .chart__tip {
  transform: none;
}
.chart__axis {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  color: var(--text-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.chart__axis span {
  flex: 1;
  text-align: center;
}
.chart__closed {
  display: grid;
  place-items: center;
  height: 230px;
  margin-top: 34px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-2);
}
.forecast__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 26px;
}
.forecast__best {
  margin: 0;
  font-size: 17px;
  color: var(--text-2);
}
.forecast__best b {
  color: var(--text);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-3);
  font-size: 13px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c);
}
.live__note {
  margin: 22px 0 0;
  color: var(--text-3);
  font-size: 14px;
  text-align: center;
}

/* ---------- Абонементы ---------- */
.plans__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease-out), border-color 0.3s var(--ease);
}
.plan:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
}
.plan--featured {
  background: radial-gradient(120% 70% at 50% 0%, rgba(240, 222, 176, 0.14), transparent 60%), var(--surface);
  border-color: rgba(240, 222, 176, 0.45);
}
.plan--featured:hover {
  border-color: rgba(240, 222, 176, 0.7);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #16140f;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.plan__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.plan__subtitle {
  margin: 4px 0 0;
  color: var(--text-2);
}
.plan__price {
  margin: 28px 0 0;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.plan__note {
  margin: 8px 0 0;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
}
.plan__features {
  flex: 1;
  margin: 24px 0 28px;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
}
.plan__features li {
  display: flex;
  gap: 10px;
  padding: 5px 0;
}
.plan__features svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold);
}
.plans__extra {
  margin: 36px 0 0;
  text-align: center;
  color: var(--text-2);
}
.plans__extra a {
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- Личный кабинет (промо + iPhone) ---------- */
.app {
  overflow: hidden;
}
.app__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.feature-list {
  display: grid;
  gap: 22px;
  margin: 40px 0 36px;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.feature-list svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--gold);
}
.feature-list b {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.feature-list span {
  color: var(--text-2);
}

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.phone-wrap::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(closest-side, rgba(240, 222, 176, 0.2), transparent);
  filter: blur(30px);
  z-index: -1;
}
.phone {
  position: relative;
  width: 310px;
  height: 640px;
  padding: 12px;
  border-radius: 56px;
  background: linear-gradient(145deg, #3a3a3c, #1c1c1e 40%, #2c2c2e);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 50px 100px rgba(0, 0, 0, 0.6);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
  transition: transform 0.2s linear;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 45px;
  background: #000;
  overflow: hidden;
  padding: 52px 16px 16px;
  font-size: 12px;
}
.phone__island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 0 0 1px #111;
  z-index: 2;
}
.phone__status {
  position: absolute;
  top: 15px;
  left: 30px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}
.phone__hello {
  margin: 4px 4px 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.pass {
  position: relative;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7e9c3 0%, #e4c98d 45%, #c9a15a 100%);
  color: #1a160e;
  overflow: hidden;
}
.pass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 45%, transparent 60%);
  transform: translateX(-100%);
  animation: pass-shine 5s var(--ease-in-out) 1s infinite;
}
@keyframes pass-shine {
  0%,
  60% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.pass__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.pass__emblem {
  width: 84px;
  aspect-ratio: 600 / 290;
  background: #1a160e;
  -webkit-mask: url('../img/emblem.svg') center / contain no-repeat;
  mask: url('../img/emblem.svg') center / contain no-repeat;
}
.pass__type {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
  text-align: right;
}
.pass__type b {
  display: block;
  font-size: 15px;
  opacity: 1;
}
.pass__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.pass__name {
  font-size: 16px;
  font-weight: 700;
}
.pass__meta {
  opacity: 0.7;
  font-size: 11px;
}
.pass__qr {
  width: 78px;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
}
.pass__qr svg {
  width: 100%;
  height: auto;
}
.phone-rings {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
  background: var(--surface-2);
}
.phone-rings svg {
  width: 62px;
  height: 62px;
  transform: rotate(-90deg);
}
.phone-rings b {
  display: block;
  font-size: 15px;
}
.phone-rings span {
  color: var(--text-2);
}
.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
  background: var(--surface-2);
}
.phone-row b {
  font-size: 15px;
}
.phone-btn {
  margin-top: 12px;
  padding: 13px;
  border-radius: 14px;
  background: var(--gold);
  color: #16140f;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Отзывы ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 20px;
  align-items: start;
}
.sources {
  display: grid;
  gap: 20px;
}
.source {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
}
.source__name {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.source__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.source__value {
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}
.stars svg {
  width: 18px;
  height: 18px;
}
.stars .off {
  color: var(--surface-3);
}
.source__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}
.source__hint {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 15px;
}
.widget-frame {
  position: relative;
  min-height: 640px;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.widget-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.widget-frame iframe.is-loaded,
.map-frame iframe.is-loaded {
  opacity: 1;
}
.widget-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  color: var(--text-2);
}
.review-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 380px);
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.review {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
}
.review__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3a3c, #2c2c2e);
  color: var(--gold);
  font-weight: 700;
}
.review__author {
  font-weight: 600;
}
.review__meta {
  color: var(--text-3);
  font-size: 13px;
}
.review__text {
  margin: 0;
  color: var(--text-2);
}

/* ---------- Контакты ---------- */
.contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
}
.card__title {
  margin: 0 0 14px;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card__big {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.card__text {
  margin: 8px 0 0;
  color: var(--text-2);
}
.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}
.sign-photo {
  margin: 20px 0 0;
}
.sign-photo img {
  width: 100%;
  border-radius: var(--radius-xs);
}
.sign-photo figcaption {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 13px;
}
.hours {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hours li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.hours li:last-child {
  border-bottom: 0;
}
.hours .day {
  color: var(--text-2);
}
.hours li.is-today .day {
  color: var(--gold);
  font-weight: 600;
}
.hours .time {
  font-variant-numeric: tabular-nums;
}
.hours .slot {
  display: block;
}
.hours .slot + .slot {
  margin-top: 6px;
}
.hours .slot small {
  display: block;
  color: var(--text-3);
  font-size: 13px;
}
.hours .slot--women small {
  color: var(--pink);
}
.open-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 600;
}
.contact-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}
.contact-list li:last-child a {
  border-bottom: 0;
}
.contact-list a:hover {
  color: var(--gold);
}
.contact-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--gold);
}
.contact-list small {
  display: block;
  color: var(--text-3);
  font-size: 13px;
}
.map-frame {
  position: relative;
  margin-top: 20px;
  height: 440px;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

/* ---------- Финальный призыв ---------- */
.final {
  text-align: center;
  padding-bottom: clamp(110px, 14vw, 170px);
}
.final__emblem {
  width: min(360px, 70vw);
  margin: 0 auto 40px;
}
.final .hero__cta {
  margin-top: 32px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1068px) {
  .plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .live-card {
    grid-template-columns: 1fr;
  }
  .gauge-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    text-align: left;
    gap: 32px;
  }
  .gauge-card .status-chip {
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .tile,
  .tile--half {
    grid-column: span 1;
    min-height: 240px;
    padding: 26px;
  }
  .tile--wide,
  .tile--price,
  .tile--place,
  .tile--qr {
    grid-column: span 2;
  }
  .tile__title {
    font-size: 24px;
  }
  .app__grid,
  .reviews__grid,
  .contacts__grid {
    grid-template-columns: 1fr;
  }
  .phone-wrap {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  .hero {
    padding-top: calc(var(--nav-h) + 36px);
  }
  .hero__cta .btn {
    width: 100%;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile,
  .tile--half,
  .tile--wide,
  .tile--price,
  .tile--place,
  .tile--qr {
    grid-column: span 1;
  }
  .tile {
    min-height: 0;
  }
  .tile__title {
    margin-top: 22px;
  }
  .tile--price {
    min-height: 320px;
  }
  .tile--place {
    min-height: 300px;
  }
  .tile--qr {
    min-height: 260px;
  }
  .tile--qr .qr-art {
    width: 100px;
    right: 22px;
    top: 22px;
  }
  .plans__grid {
    grid-template-columns: 1fr;
  }
  .gauge-card,
  .forecast {
    padding: 26px 20px;
  }
  .gauge-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .gauge {
    width: 220px;
  }
  .chart {
    gap: 3px;
    height: 190px;
  }
  .chart__axis {
    gap: 3px;
    font-size: 10px;
  }
  .phone {
    width: 280px;
    height: 580px;
  }
  .widget-frame {
    min-height: 560px;
  }
  .map-frame {
    height: 360px;
  }
  .card,
  .source {
    padding: 26px;
  }
}

@media (pointer: coarse) {
  .hero__scroll {
    display: none;
  }
}
