@font-face { font-family: 'Inter Tight Variable'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('inter-tight-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Tight Variable'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('inter-tight-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Базовые правила, ранее входившие в Tailwind Preflight. */
*, *::before, *::after, ::backdrop { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; tab-size: 4; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul, ol, menu { list-style: none; }
button, input, select, textarea { font: inherit; background-color: transparent; color: inherit; }
button, select { text-transform: none; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }

@property --gx {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --gy {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 40%;
}

:root {
  --bg: #170103;
  --crimson: #7d0d14;
  --red: #e8261c;
  --red-hot: #ff3a2d;
  --ink: #3a0709;
  --ink-soft: #7a5558;
  --mute: #b5a8a9;
  --paper: #f1efef;
  --gap: 1.25rem;
  --radius: 1.7rem;
  --radius-sm: 1.15rem;
  --round-button-size: 2.75rem;
  --round-icon-size: 1.2rem;
  --control-height: var(--round-button-size);
  --control-radius: 999px;
  --control-font-size: max(14px, 1rem);
  --control-padding-inline: 1.2rem;
  --control-padding-block: 0.25rem;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --font: "Inter Tight Variable", "Inter Tight", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Весь сайт измеряется в rem, а корневой размер плавно зависит от ширины экрана —
   поэтому тексты, картинки и отступы масштабируются пропорционально. */
html {
  font-size: clamp(15px, 1.111vw, 24px);
  -webkit-text-size-adjust: 100%;
}
@media (max-width: 1199px) {
  html {
    font-size: clamp(14px, 1.5vw, 17px);
  }
  :root {
    --gap: 1rem;
  }
}
@media (max-width: 768px) {
  html {
    font-size: clamp(14px, 4.1vw, 19px);
  }
  :root {
    --gap: 0.65rem;
    --radius: 1.35rem;
    --radius-sm: 1rem;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: #fff;
  background-color: var(--bg);
  background-image: radial-gradient(90% 55% at 50% 108%, rgba(160, 16, 26, 0.6), transparent 70%),
    radial-gradient(70% 40% at 50% -8%, rgba(96, 8, 14, 0.55), transparent 70%);
  background-attachment: fixed;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--red);
  color: #fff;
}
img,
video {
  display: block;
}
button {
  cursor: pointer;
  font: inherit;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 0.15rem solid var(--red-hot);
  outline-offset: 0.2rem;
}

/* ───────── курсор ───────── */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor,
  html.has-cursor * {
    cursor: url("../img/cursors/arrow.svg") 4 3, default !important;
  }
  html.has-cursor :is(a[href], button:not(:disabled), select, summary, label, [role="button"], [role="tab"], [data-hover]),
  html.has-cursor :is(a[href], button:not(:disabled), select, summary, label, [role="button"], [role="tab"], [data-hover]) * {
    cursor: url("../img/cursors/pointer.svg") 15 4, pointer !important;
  }
  html.has-cursor :is(input, textarea, [contenteditable="true"]) {
    cursor: text !important;
  }
}

/* ───────── общие примитивы ───────── */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(2rem) scale(0.96);
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(2.4rem);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.sheet {
  position: relative;
  z-index: 3;
  margin: calc(var(--gap) * -1) var(--gap) 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
}
.section {
  position: relative;
  padding: 7rem 2.4rem;
}
.display {
  margin: 0;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.058em;
  line-height: 0.93;
  font-size: 4.7rem;
  color: var(--ink);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: none;
}
.display .mute {
  color: var(--mute);
}
.display.center {
  text-align: center;
}
.lead {
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 31rem;
  color: var(--ink);
}
.lead.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pill {
  display: inline-block;
  position: relative;
  width: 1.95em;
  height: 0.76em;
  margin: 0 0.04em;
  vertical-align: -0.06em;
  border-radius: 999px;
  overflow: hidden;
  background: #2b0508;
}
.pill img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.pill:hover img {
  transform: scale(1.5) rotate(-6deg);
}
.intro .pill img {
  object-position: 50% 78%;
  transform-origin: 55% 75%;
}

.ulink {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.22em;
  transition: color 0.5s var(--ease), text-underline-offset 0.5s var(--ease);
}
.ulink:hover {
  color: var(--red);
  text-underline-offset: 0.42em;
}

/* кнопки-капсулы */
.btn {
  --ic: calc(var(--control-height) - 2 * var(--pr));
  --pr: 0.25rem;
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-fill: var(--red);
  --btn-fg-hover: #fff;
  --ic-bg: var(--ink);
  --ic-fg: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  gap: 1.1rem;
  padding: var(--control-padding-block) var(--pr) var(--control-padding-block) var(--control-padding-inline);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--control-font-size);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.55s var(--ease), box-shadow 0.55s var(--ease), transform 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: var(--btn-fill);
  clip-path: circle(calc(var(--ic) / 2) at calc(100% - var(--pr) - var(--ic) / 2) 50%);
  transition: clip-path 0.95s var(--ease);
}
.btn:hover {
  color: var(--btn-fg-hover);
}
.btn:hover::before {
  clip-path: circle(150% at calc(100% - var(--pr) - var(--ic) / 2) 50%);
}
.btn-ic {
  position: relative;
  flex: none;
  margin-left: auto;
  width: var(--ic);
  height: var(--ic);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ic-bg);
  color: var(--ic-fg);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.7s var(--ease);
}
.btn-ic svg {
  width: 1.15rem;
  height: 1.15rem;
}
.btn:hover .btn-ic {
  background: #fff;
  color: var(--ink);
  transform: rotate(45deg);
}
.btn-red {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-fill: #fff;
  --btn-fg-hover: var(--ink);
  --ic-bg: #fff;
  --ic-fg: var(--red);
}
.btn-red:hover .btn-ic {
  background: var(--red);
  color: #fff;
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-fill: var(--ink);
  --btn-fg-hover: #fff;
  box-shadow: inset 0 0 0 0.13rem var(--ink);
}
.safe-col > .btn {
  width: fit-content;
  align-self: flex-start;
}
.btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.24), transparent 55%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.tilt:hover::after {
  opacity: 1;
}
.tcard-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.tcard-media img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
}
.tcard {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  border-radius: var(--radius-sm);
  background: #2b0508;
  color: #fff;
}
.tcard-link {
  display: block;
}
.tcard-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 3rem 1.1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.6rem;
  background: linear-gradient(transparent, rgba(23, 1, 3, 0.78));
  pointer-events: none;
}
.tcard-body h3 {
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}
.tcard-price {
  font-size: max(14px, 0.95rem);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* «прокрутка» букв */
.roll {
  display: inline-flex;
  overflow: hidden;
  padding-inline: 0.1em;
  margin-inline: -0.1em;
  vertical-align: bottom;
  height: 1.2em;
  line-height: 1.2;
}
.roll-ch {
  display: flex;
  flex-direction: column;
  transition: transform 0.75s var(--ease);
  transition-delay: calc(var(--i) * 16ms);
}
.roll-ch > span {
  display: block;
  height: 1.2em;
  line-height: 1.2;
}
.roll-ch > span:last-child {
  color: var(--roll-c, var(--red-hot));
}
.roll-host:hover .roll-ch,
.roll-host:focus-visible .roll-ch {
  transform: translateY(-1.2em);
}

/* ───────── шапка ───────── */
.site-header {
  position: fixed;
  z-index: 100;
  top: calc(var(--gap) + 0.5rem);
  left: calc(var(--gap) + 1rem);
  right: calc(var(--gap) + 1rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.55rem 0.6rem 0.55rem 1.6rem;
  border-radius: 999px;
  color: #fff;
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease), backdrop-filter 0.6s;
}
.site-header.is-solid {
  background: rgba(24, 2, 5, 0.7);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  font-weight: 500;
  line-height: 1;
}
.logo-star {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--red-hot);
  animation: spin 14s linear infinite;
}
.logo-sub {
  font-weight: 400;
  opacity: 0.6;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.nav-link {
  display: flex;
  align-items: center;
  line-height: 1.2;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.round-btn {
  width: var(--round-button-size);
  height: var(--round-button-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.45s var(--ease), color 0.45s;
}
.round-btn svg {
  width: var(--round-icon-size);
  height: var(--round-icon-size);
}
.round-btn:hover {
  background: var(--red);
}
.header-cta {
  margin-left: 0.4rem;
}
.burger {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.4s;
}
.burger i {
  position: absolute;
  left: 50%;
  width: 1.3rem;
  height: 0.14rem;
  margin-left: -0.65rem;
  border-radius: 9px;
  background: currentColor;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.burger i:nth-child(1) {
  top: 1.1rem;
}
.burger i:nth-child(2) {
  top: 1.5rem;
}
.burger.is-open i:nth-child(1) {
  top: 1.3rem;
  transform: rotate(45deg);
}
.burger.is-open i:nth-child(2) {
  top: 1.3rem;
  transform: rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem calc(var(--gap) + 0.8rem) 1.8rem;
  background: rgba(23, 1, 3, 0.97);
  clip-path: circle(0 at calc(100% - 2.6rem) 2.6rem);
  pointer-events: none;
  transition: clip-path 0.9s var(--ease-io);
}
.mobile-menu.is-open {
  clip-path: circle(160% at calc(100% - 2.6rem) 2.6rem);
  pointer-events: auto;
}
.mobile-menu nav a {
  display: block;
  font-size: 2.6rem;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-transform: none;
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), color 0.4s;
}
.mobile-menu.is-open nav a {
  opacity: 1;
  transform: none;
}
.mobile-menu nav a:hover {
  color: var(--red-hot);
}
.mobile-menu nav .mobile-menu-cta {
  color: var(--red-hot);
}
.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

/* ───────── первый экран ───────── */
.hero {
  position: relative;
  z-index: 2;
  height: 500vh;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: var(--gap);
}
.hero-frame {
  position: relative;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2b0508;
  isolation: isolate;
}
.hero-video-wrap {
  position: absolute;
  inset: -3%;
  z-index: 1;
  will-change: transform;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 1, 3, 0.55) 0%, rgba(23, 1, 3, 0) 26%, rgba(23, 1, 3, 0) 52%, rgba(23, 1, 3, 0.68) 100%),
    linear-gradient(90deg, rgba(23, 1, 3, 0.4), rgba(23, 1, 3, 0) 40%, rgba(23, 1, 3, 0) 60%, rgba(23, 1, 3, 0.32));
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  color: #fff;
}
@keyframes heroIn {
  from {
    opacity: 0;
    translate: 0 2rem;
  }
}
[data-hero-fade] {
  animation: heroIn 1.2s var(--ease) backwards;
  animation-delay: var(--d, 0.6s);
}
.hero-tag {
  position: absolute;
  left: 2.3rem;
  top: 47%;
  transform: translateY(-50%);
}
.hero-tag-title {
  font-size: 2.3rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: none;
}
.hero-tag-sub {
  margin-top: 0.9rem;
  max-width: 14rem;
  font-size: 1rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
}
.hero-right {
  position: absolute;
  right: 2.3rem;
  bottom: 2.3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-title {
  margin: 0;
  font-weight: 400;
  font-size: calc(2.3rem + 12px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: none;
}
.hero-title-line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.08em 0.1em;
  margin-inline: -0.08em;
  margin-bottom: -0.08em;
}
.hero-title-line-inner {
  display: block;
  white-space: nowrap;
}
.hero-char {
  display: inline-block;
  will-change: transform, opacity;
}
.hero-sub {
  display: flex;
  align-items: flex-end;
  gap: 1.4rem;
  margin-top: 1.8rem;
  max-width: 29rem;
}
.hero-sub p {
  font-size: 1.02rem;
  line-height: 1.28;
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
}
.hero-go {
  flex: none;
  width: var(--round-button-size);
  height: var(--round-button-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: inset 0 0 0 0.12rem rgba(255, 255, 255, 0.85);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.6s var(--ease);
}
.hero-go svg {
  width: var(--round-icon-size);
  height: var(--round-icon-size);
}
.hero-go:hover {
  background: var(--red);
  box-shadow: inset 0 0 0 0.12rem var(--red);
}
.hero-cards {
  position: absolute;
  left: 2.3rem;
  bottom: 2.3rem;
  display: flex;
  gap: 0.9rem;
  align-items: stretch;
}
.stat-card {
  width: 11.8rem;
  min-height: 10.6rem;
  padding: 1.05rem;
  border-radius: 1.15rem;
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-star {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--red);
}
.stat-card strong {
  display: block;
  font-size: 3.3rem;
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1;
}
.stat-card span {
  display: block;
  margin-top: 0.3rem;
  font-size: max(14px, 0.92rem);
  line-height: 1.18;
}
.glass-card {
  width: 14rem;
  min-height: 10.6rem;
  padding: 1.05rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.glass-card p {
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.glass-star {
  align-self: flex-end;
  width: 1.9rem;
  height: 1.9rem;
  animation: spin 9s linear infinite;
}
.hero-chips {
  position: static;
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  max-width: none;
}
.chip {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--control-padding-block) var(--control-padding-inline);
  line-height: 1.2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: var(--control-font-size);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.chip:hover {
  background: #fff;
  color: var(--ink);
}
.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 2.3rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}
.hero-scroll-ring {
  position: relative;
  width: var(--round-button-size);
  height: var(--round-button-size);
  display: grid;
  place-items: center;
  transition: transform 0.6s var(--ease);
}
.hero-scroll:hover .hero-scroll-ring {
  transform: translateY(0.3rem);
}
.hero-scroll-ring svg:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.hero-scroll-ring svg:last-child {
  width: var(--round-icon-size);
  height: var(--round-icon-size);
}
.ring-bg,
.ring-fg {
  fill: none;
  stroke-width: 3;
}
.ring-bg {
  stroke: rgba(255, 255, 255, 0.3);
}
.ring-fg {
  stroke: #fff;
  stroke-linecap: round;
}
.hero-scroll-text {
  font-size: max(14px, 0.95rem);
  opacity: 0.85;
}

/* ───────── вступление ───────── */
.intro {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr) 9.5rem;
  gap: 1.5rem;
  padding-top: 6.5rem;
  padding-bottom: 7.5rem;
}
.intro-gutter {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.intro-star {
  width: 3.4rem;
  height: 3.4rem;
  color: var(--red);
}
.intro-main .display {
  padding-left: 5%;
}
.intro-main .lead {
  margin: 2.8rem 0 2.4rem 24%;
  max-width: 26rem;
  font-size: 1.05rem;
}
.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-left: 24%;
}
.intro-side {
  text-align: left;
  font-size: max(14px, 0.98rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ───────── преимущества ───────── */
.adv {
  padding-top: 5rem;
}
.adv .display.center {
  max-width: 64rem;
  margin: 0 auto;
}
.adv .lead.center {
  margin-top: 2rem;
  max-width: 34rem;
}
.adv-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  height: 34rem;
  margin-top: 4rem;
}
.adv-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 30rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #2b0508;
  color: #fff;
  cursor: pointer;
  transition: flex-grow 0.95s var(--ease), height 0.95s var(--ease), box-shadow 0.95s var(--ease);
}
.adv-card.is-active {
  flex-grow: 1.95;
  height: 34rem;
  box-shadow: 0 2.2rem 4rem -1.2rem rgba(58, 7, 9, 0.5);
}
.adv-img {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  max-width: none;
  object-fit: cover;
  transform: translate(calc(var(--fx, 0) * -1.8rem), calc(var(--fy, 0) * -1.8rem)) scale(1.02);
  transition: transform 1.2s var(--ease);
}
.adv-card.is-active .adv-img {
  transform: translate(calc(var(--fx, 0) * -1.8rem), calc(var(--fy, 0) * -1.8rem)) scale(1.1);
}
.adv-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 1, 3, 0) 30%, rgba(23, 1, 3, 0.88) 100%);
}
.adv-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(23, 1, 3, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: max(14px, 0.95rem);
}
.adv-text {
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.3rem;
}
.adv-text h3 {
  font-size: 1.95rem;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.adv-text p {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 1.02rem;
  line-height: 1.26;
  max-width: 24rem;
  transition: max-height 0.95s var(--ease), opacity 0.7s var(--ease), margin 0.95s var(--ease);
}
.adv-card.is-active .adv-text p {
  max-height: 10rem;
  margin-top: 0.9rem;
  opacity: 0.92;
  transition-delay: 0.15s;
}

/* ───────── безопасность ───────── */
.safety {
  padding-top: 4rem;
}
.safety .display.center {
  max-width: 68rem;
  margin: 0 auto;
}
.safe-trio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 4.5rem;
  align-items: start;
}
.safe-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.safe-photo {
  position: relative;
  aspect-ratio: 3 / 3.8;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #2b0508;
}
.safe-photo-sm {
  aspect-ratio: 3 / 3.3;
}
.safe-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.note-star {
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  color: var(--red);
}
.safe-note p {
  font-size: max(14px, 0.98rem);
  line-height: 1.22;
  max-width: 16rem;
}
.safe-glow {
  position: relative;
  min-height: 36rem;
  padding: 1.7rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: radial-gradient(circle at var(--gx) var(--gy), #ff6a45 0%, #e0261c 26%, #9a0f17 58%, #4a070c 100%);
  transition: --gx 1s var(--ease), --gy 1s var(--ease);
}
.safe-big {
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.o-pill {
  display: inline-block;
  width: 3.4rem;
  height: 1.5rem;
  margin: 0 0.08em;
  vertical-align: -0.1em;
  border-radius: 999px;
  box-shadow: inset 0 0 0 0.12rem rgba(255, 255, 255, 0.85);
  transition: width 0.8s var(--ease), background 0.8s var(--ease);
}
.safe-glow:hover .o-pill {
  width: 4.8rem;
  background: rgba(255, 255, 255, 0.2);
}
.safe-round {
  align-self: flex-end;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--red);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.7s var(--ease);
}
.safe-round svg {
  width: 1.4rem;
  height: 1.4rem;
}
.safe-round:hover {
  background: var(--ink);
  color: #fff;
}

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  margin-top: 6rem;
  scroll-margin-top: 2rem;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem 0;
}
.steps-head {
  max-width: 23rem;
  margin-bottom: 1.4rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink-soft);
}
.step-row {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.5rem 1.2rem 0.6rem 0;
  border-radius: 1rem;
  overflow: hidden;
  text-align: left;
  color: var(--mute);
  background: transparent;
  transition: color 0.6s var(--ease), padding 0.7s var(--ease);
}
.step-row:hover {
  color: var(--ink);
}
.step-row.is-active {
  color: var(--ink);
  padding-left: 1.2rem;
}
.step-num {
  min-width: 2rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.step-title {
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.058em;
  text-transform: none;
}
.step-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0.3rem;
  width: 0;
  border-radius: 9px;
  background: var(--red);
  animation: fillbar linear forwards;
}
.steps-list.is-paused .step-bar {
  animation-play-state: paused;
}
@keyframes fillbar {
  to {
    width: 100%;
  }
}
.steps-card {
  position: relative;
  min-height: 28rem;
  padding: 2.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: radial-gradient(60rem circle at var(--gx) var(--gy), #b8131c 0%, #5d0a10 45%, #2a0408 100%);
  transition: --gx 1s var(--ease), --gy 1s var(--ease);
}
.steps-body {
  animation: bodyIn 0.9s var(--ease) both;
}
@keyframes bodyIn {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}
.steps-stat {
  display: block;
  font-size: 6.2rem;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.07em;
  overflow-wrap: anywhere;
}
.steps-statnote {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.1rem;
  opacity: 0.8;
}
.steps-text {
  max-width: 28rem;
  margin-top: 2rem;
  font-size: 1.15rem;
  line-height: 1.28;
}
.steps-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}
.steps-dots i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.6s var(--ease), background 0.6s var(--ease);
}
.steps-dots i.on {
  width: 2.3rem;
  background: #fff;
}
.steps-dots i.done {
  background: rgba(255, 255, 255, 0.7);
}

/* ───────── мастер и блог ───────── */
.master-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 3.2rem;
  align-items: start;
}
.master-left {
  position: sticky;
  top: 6rem;
}
.portrait {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2b0508;
}
.portrait-media {
  position: absolute;
  inset: -5%;
}
.portrait-media img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
}
.float-chip {
  position: absolute;
  z-index: 4;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.01em;
  box-shadow: 0 1rem 2.5rem -0.6rem rgba(58, 7, 9, 0.4);
}
.fc-1 {
  left: 1.1rem;
  top: 1.1rem;
}
.fc-2 {
  right: 1.1rem;
  bottom: 1.1rem;
  background: var(--red);
  color: #fff;
}
.master-right .display {
  font-size: 3.9rem;
}
.master-text {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
  margin-top: 2.2rem;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2.6rem;
}
.fact {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-sm);
  background: #fff;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.7s var(--ease);
}
.fact strong {
  display: block;
  font-size: 2.9rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.fact span {
  display: block;
  margin-top: 0.5rem;
  font-size: max(14px, 0.97rem);
}
.fact:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-0.35rem);
}
.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4.5rem;
}
.blog-head h3 {
  font-size: 2.4rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.055em;
  line-height: 1;
}
.blog-head span {
  font-size: 1rem;
  color: var(--ink-soft);
}
.post-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.3rem;
}
.post {
  width: 100%;
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr) 3rem;
  grid-template-areas: "meta title arrow" "meta excerpt arrow";
  gap: 0.35rem 1.3rem;
  padding: 1.3rem 1.2rem 1.3rem 1.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  text-align: left;
  transition: background 0.5s var(--ease), padding 0.7s var(--ease);
}
.post:hover {
  background: #fff;
  padding-left: 2.1rem;
}
.post-meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  font-size: max(14px, 0.97rem);
  line-height: 1.25;
  color: var(--ink-soft);
}
.post-meta b {
  font-weight: 500;
  color: var(--red);
}
.post-title {
  grid-area: title;
  font-size: 1.75rem;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.post-excerpt {
  grid-area: excerpt;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--ink-soft);
}
.post-arrow {
  grid-area: arrow;
  align-self: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  transition: background 0.5s var(--ease), transform 0.7s var(--ease);
}
.post-arrow svg {
  width: 1.2rem;
  height: 1.2rem;
}
.post:hover .post-arrow {
  background: var(--red);
  transform: rotate(45deg);
}
.post-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 16rem;
  height: 21rem;
  border-radius: 1.2rem;
  overflow: hidden;
  pointer-events: none;
  background: #2b0508;
  opacity: 0;
  scale: 0.8;
  box-shadow: 0 2rem 4rem -1rem rgba(23, 1, 3, 0.6);
  transition: opacity 0.45s var(--ease), scale 0.8s var(--ease);
}
.post-preview.on {
  opacity: 1;
  scale: 1;
}
.post-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 0.5s var(--ease), transform 1s var(--ease);
}
.post-preview img.show {
  opacity: 1;
  transform: scale(1);
}
@media (hover: none) {
  .post-preview {
    display: none;
  }
}

.modal-back {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--gap);
  background: rgba(15, 1, 3, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: fadeIn 0.5s var(--ease);
}
.article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  width: min(66rem, 100%);
  max-height: 92svh;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  animation: popIn 0.7s var(--ease);
}
.article-img {
  position: relative;
  min-height: 24rem;
}
.article-img img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  transform: translate(calc(var(--fx, 0) * -1.4rem), calc(var(--fy, 0) * -1.4rem));
  transition: transform 1.1s var(--ease);
}
.article-img {
  overflow: hidden;
}
.article-body {
  padding: 2.4rem 2.4rem 2.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.article-meta {
  font-size: max(14px, 0.97rem);
  color: var(--red);
}
.article-body h3 {
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.article-body p {
  font-size: 1.08rem;
  line-height: 1.32;
}
.article-body .btn {
  margin-top: 0.8rem;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  transition: background 0.45s var(--ease), color 0.45s, transform 0.7s var(--ease);
}
.modal-close svg {
  width: 1.2rem;
  height: 1.2rem;
}
.modal-close:hover {
  background: var(--red);
  color: #fff;
  transform: rotate(90deg);
}

/* ───────── цены ───────── */
.prices {
  padding-top: 5rem;
}
.prices .display {
  max-width: 62rem;
}
.prices-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: 2.4rem;
  margin-top: 3.5rem;
  align-items: start;
}
.prices-left {
  position: sticky;
  top: 6rem;
}
.prices-photo {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2b0508;
}
.prices-photo .tcard-media img {
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.prices-photo .tcard-media img.show {
  opacity: 1;
}
.prices-photo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 3rem 1.2rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
  background: linear-gradient(transparent, rgba(23, 1, 3, 0.82));
  pointer-events: none;
}
.prices-photo-cap span {
  font-size: 1.7rem;
  letter-spacing: -0.045em;
  line-height: 1;
}
.prices-photo-cap b {
  font-size: 1.05rem;
  font-weight: 400;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tab {
  min-height: var(--control-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--control-padding-block) var(--control-padding-inline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: var(--control-font-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.tab:hover {
  background: #e7dfdf;
}
.tab.is-active {
  background: var(--ink);
  color: #fff;
}
.price-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem 9rem 3.2rem;
  gap: 1rem;
  padding: 1.8rem 1.4rem 0.7rem;
  font-size: max(14px, 0.97rem);
  color: var(--ink-soft);
}
.price-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price-rows li {
  animation: rowIn 0.9s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms);
}
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
}
.price-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem 9rem 3.2rem;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), padding 0.7s var(--ease);
}
.price-row:hover {
  background: var(--ink);
  color: #fff;
  padding-left: 2.1rem;
}
.pr-name {
  display: block;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.pr-note {
  display: block;
  margin-top: 0.35rem;
  font-size: max(14px, 0.97rem);
  line-height: 1.2;
  color: var(--ink-soft);
  transition: color 0.5s var(--ease);
}
.price-row:hover .pr-note {
  color: rgba(255, 255, 255, 0.72);
}
.pr-time {
  font-size: 1.05rem;
}
.pr-price {
  font-size: 1.55rem;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.pr-go {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.7s var(--ease);
}
.pr-go svg {
  width: 1.2rem;
  height: 1.2rem;
}
.price-row:hover .pr-go {
  background: var(--red);
  color: #fff;
  transform: rotate(45deg);
}
.prices-foot {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: max(14px, 0.97rem);
  line-height: 1.25;
  color: var(--ink-soft);
}

/* ───────── видео-отзывы ───────── */
.reviews {
  padding-top: 5rem;
}
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.reels-nav {
  display: flex;
  gap: 0.6rem;
}
.reels-nav button {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  transition: background 0.45s var(--ease), color 0.45s;
}
.reels-nav button svg {
  width: 1.3rem;
  height: 1.3rem;
}
.reels-nav button:hover {
  background: var(--red);
  color: #fff;
}
.reels {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  padding: 1.2rem 0 2.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reels::-webkit-scrollbar {
  display: none;
}
.reels.is-drag {
  scroll-snap-type: none;
}
.reel {
  position: relative;
  flex: 0 0 auto;
  width: 17.4rem;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  background: #2b0508;
  color: #fff;
  text-align: left;
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
}
.reel:hover {
  transform: translateY(-0.7rem) scale(1.02);
  box-shadow: none;
}
.reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.reel:hover video {
  transform: scale(1.08);
}
.reel-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 1, 3, 0.15), transparent 30%, rgba(23, 1, 3, 0.82) 100%);
}
.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.3rem;
  height: 4.3rem;
  margin: -2.15rem 0 0 -2.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}
.reel-play svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.15rem;
}
.reel:hover .reel-play {
  opacity: 0;
  transform: scale(1.6);
}
.reel-info {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  flex-direction: column;
}
.reel-info b {
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.045em;
}
.reel-info span {
  font-size: max(14px, 0.97rem);
  opacity: 0.85;
}

.story-back {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(15, 1, 3, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: fadeIn 0.5s var(--ease);
}
.story {
  position: relative;
  height: min(90svh, 54rem);
  aspect-ratio: 9 / 16;
  max-width: 94vw;
  border-radius: 1.7rem;
  overflow: hidden;
  background: #000;
  color: #fff;
  animation: popIn 0.7s var(--ease);
}
.story-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-bars {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  z-index: 4;
  display: flex;
  gap: 0.35rem;
}
.story-bars i {
  flex: 1;
  height: 0.28rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.story-bars b {
  display: block;
  height: 100%;
  background: #fff;
}
.story-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(transparent 50%, rgba(15, 1, 3, 0.9));
}
.story-zone {
  position: absolute;
  top: 3rem;
  bottom: 11rem;
  z-index: 3;
  background: transparent;
}
.story-zone-l {
  left: 0;
  width: 38%;
}
.story-zone-r {
  right: 0;
  width: 62%;
}
.story-caption {
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.story-name {
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}
.story-name span {
  font-size: 1rem;
  opacity: 0.7;
}
.story-quote {
  font-size: 1.05rem;
  line-height: 1.26;
}
.story-nav {
  flex: none;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.45s var(--ease), opacity 0.4s;
}
.story-nav svg {
  width: 1.4rem;
  height: 1.4rem;
}
.story-nav:hover:not(:disabled) {
  background: var(--red);
}
.story-nav:disabled {
  opacity: 0.3;
}
.story-close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* ───────── до / после ───────── */
.works {
  padding-top: 5rem;
}
.works .display {
  max-width: 60rem;
}
.cmp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 3.5rem;
}
.cmp {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2b0508;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  --p: 50%;
}
.cmp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.cmp:hover img {
  transform: scale(1.04);
}
.cmp-before {
  clip-path: inset(0 calc(100% - var(--p)) 0 0);
}
.cmp-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--p);
  width: 0.28rem;
  margin-left: -0.14rem;
  background: #fff;
  box-shadow: 0 0 1.4rem rgba(0, 0, 0, 0.3);
}
.cmp-knob {
  position: absolute;
  top: 50%;
  left: var(--p);
  width: 3.5rem;
  height: 3.5rem;
  margin: -1.75rem 0 0 -1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.35);
  transition: scale 0.5s var(--ease);
}
.cmp:hover .cmp-knob {
  scale: 1.18;
}
.cmp-knob svg {
  width: 1.4rem;
  height: 1.4rem;
}
.cmp-chip {
  position: absolute;
  top: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(23, 1, 3, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: max(14px, 0.97rem);
  pointer-events: none;
}
.cmp-chip-l {
  left: 1rem;
}
.cmp-chip-r {
  right: 1rem;
}
.cmp-item figcaption h3 {
  margin-top: 1.1rem;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.cmp-item figcaption p {
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--ink-soft);
}
.cmp-meta {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #fff;
  font-size: max(14px, 0.97rem);
}
.gallery {
  margin-top: 8rem;
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.gallery-head h3 {
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 0.95;
  text-transform: none;
  letter-spacing: -0.058em;
}
.gallery-head p {
  max-width: 24rem;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ink-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.6rem;
  align-items: start;
}
.gallery-card {
  aspect-ratio: 4 / 5;
}
.gallery-scrollbar,
.gallery-scroll-hint,
.compare-scrollbar,
.compare-scroll-hint {
  display: none;
}
.gc-1 {
  margin-top: 4rem;
}
.gc-2 {
  margin-top: 1.6rem;
}

/* ───────── запись ───────── */
.booking {
  padding-top: 5rem;
  padding-bottom: 6rem;
}
.booking .display {
  max-width: 58rem;
}
.booking .lead {
  margin-top: 1.8rem;
}
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  align-items: stretch;
}
.cal {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-self: start;
  border-radius: var(--radius);
  background: #fff;
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cal-head h3 {
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
  text-transform: capitalize;
}
.cal-nav {
  display: flex;
  gap: 0.5rem;
}
.cal-nav button {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  transition: background 0.45s var(--ease), color 0.45s, opacity 0.4s;
}
.cal-nav button svg {
  width: 1.2rem;
  height: 1.2rem;
}
.cal-nav button:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
}
.cal-nav button:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.cal-week,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}
.cal-week {
  margin-top: 0.8rem;
  text-align: center;
  font-size: max(14px, 0.97rem);
  color: var(--ink-soft);
}
.cal-days {
  margin-top: 0.4rem;
  transition: opacity 0.4s;
}
.cal-days.is-loading {
  opacity: 0.5;
}
.day {
  min-height: calc(2.1rem + 18px);
  padding: 6px 0 12px;
  border-radius: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  line-height: 1;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  background: var(--paper);
  color: var(--ink);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.6s var(--ease), box-shadow 0.5s var(--ease);
}
.day em {
  display: flex;
  gap: 0.18rem;
  font-style: normal;
  line-height: 1;
}
.day em i {
  width: 0.24rem;
  height: 0.24rem;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  transition: background 0.4s;
}
.day.free:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-0.25rem) scale(1.05);
}
.day.free:hover em i {
  background: #fff;
}
.day.sel {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0.8rem 1.6rem -0.4rem rgba(232, 38, 28, 0.55);
}
.day.sel em i {
  background: #fff;
}
.day.busy,
.slot.is-busy {
  background: repeating-linear-gradient(135deg, rgba(58, 7, 9, 0.07) 0 0.3rem, transparent 0.3rem 0.6rem), #f6f3f3;
  color: rgba(58, 7, 9, 0.38);
}
.day.busy {
  text-decoration: line-through;
  text-decoration-thickness: 0.07em;
}
.day.off,
.day.past,
.day.wait {
  background: transparent;
  color: rgba(58, 7, 9, 0.26);
}
.day.today {
  box-shadow: inset 0 0 0 0.15rem var(--ink);
}
.day.today.sel {
  box-shadow: 0 0.8rem 1.6rem -0.4rem rgba(232, 38, 28, 0.55);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.8rem;
  font-size: max(14px, 0.85rem);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.legend i {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 0.35rem;
}
.lg-free {
  background: var(--paper);
  box-shadow: inset 0 0 0 0.15rem var(--red);
}
.lg-busy {
  background: repeating-linear-gradient(135deg, rgba(58, 7, 9, 0.3) 0 0.2rem, transparent 0.2rem 0.4rem), #f6f3f3;
}
.lg-off {
  background: transparent;
  box-shadow: inset 0 0 0 0.12rem rgba(58, 7, 9, 0.22);
}
.slots-wrap {
  margin-top: 1rem;
}
.slots-wrap h4 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.6rem;
  min-height: 3.15rem;
}
.slot {
  padding: 0.5rem 0.4rem;
  border-radius: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  background: var(--paper);
  color: var(--ink);
  animation: rowIn 0.7s var(--ease) both;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.6s var(--ease);
}
.slot b {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.045em;
}
.slot span {
  font-size: max(14px, 0.8rem);
  color: var(--ink-soft);
}
.slot:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
  transform: translateY(-0.2rem);
}
.slot:hover:not(:disabled) span {
  color: rgba(255, 255, 255, 0.75);
}
.slot.sel {
  background: var(--red);
  color: #fff;
}
.slot.sel span {
  color: rgba(255, 255, 255, 0.85);
}
.slot.is-busy span {
  color: rgba(58, 7, 9, 0.42);
}
.book-card {
  position: relative;
  align-self: start;
  padding: 2.1rem;
  border-radius: var(--radius);
  color: #fff;
  background: radial-gradient(48rem circle at var(--gx) var(--gy), #ab111a 0%, #5a0a10 50%, #2a0408 100%);
  transition: --gx 1s var(--ease), --gy 1s var(--ease);
}
.book-card h3 {
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
}
.book-summary {
  margin: 0.6rem 0 1.4rem;
  font-size: 1.1rem;
  opacity: 0.92;
}
.book-summary b {
  font-weight: 500;
}
.field {
  display: block;
  margin-top: 0.8rem;
}
.field span {
  display: block;
  margin: 0 0 0.35rem 0.3rem;
  font-size: max(14px, 0.97rem);
  opacity: 0.78;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--control-height);
  padding: 0.55rem 1.15rem;
  border: 0;
  border-radius: var(--control-radius);
  outline: 0;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  font: inherit;
  font-size: max(16px, 1.06rem);
  line-height: 1.4;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.field textarea {
  resize: none;
}
.select-control {
  position: relative;
}
.select-control select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3.5rem;
}
.select-control::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 1.2rem;
  height: 1.2rem;
  transform: translateY(-50%);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.field ::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  background: rgba(255, 255, 255, 0.16);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.85);
}
.field select option,
.field select optgroup {
  color: #000;
}
.form-error {
  margin-top: 1rem;
  padding-left: 0.85rem;
  border-left: 0.15rem solid #fff;
  font-size: 1rem;
  line-height: 1.25;
}
.schedule-notice {
  margin: 1rem 0;
  padding-left: 0.85rem;
  border-left: 0.15rem solid var(--red);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
}
.schedule-notice button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0;
  background: transparent;
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.btn-submit {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  width: 100%;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.book-hint {
  margin-top: 1rem;
  font-size: max(14px, 0.92rem);
  line-height: 1.25;
  opacity: 0.62;
}
.success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  animation: bodyIn 0.9s var(--ease) both;
}
.success-mark {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  font-size: 1.8rem;
}
.success-when {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  text-transform: capitalize;
}
.success p {
  font-size: 1.05rem;
  line-height: 1.3;
  opacity: 0.88;
}

/* ───────── футер ───────── */
.footer {
  position: relative;
  padding: 7rem calc(var(--gap) + 1.4rem) 3rem;
  color: #fff;
  overflow: hidden;
  background: radial-gradient(46rem circle at var(--gx) var(--gy), rgba(232, 38, 28, 0.32), transparent 62%);
  transition: --gx 1.2s var(--ease), --gy 1.2s var(--ease);
}
.footer-kicker {
  margin-bottom: 1.6rem;
  font-size: 1.6rem;
  letter-spacing: -0.035em;
  opacity: 0.82;
}
.footer-phone {
  display: inline-block;
  font-size: min(8.2rem, 9.2vw);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.footer-mail {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: min(4.2rem, 5.2vw);
  line-height: 1;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.2rem;
  margin-top: 3.6rem;
}
.footer-ig {
  display: flex;
  align-items: baseline;
  gap: 1.3rem;
  font-size: min(3.6rem, 5vw);
  line-height: 1;
  letter-spacing: -0.055em;
}
.footer-ig-handle {
  color: var(--red-hot);
}
.footer-ig-arrow {
  align-self: center;
  width: 3rem;
  height: 3rem;
  transition: transform 0.7s var(--ease), color 0.4s;
}
.footer-ig:hover .footer-ig-arrow {
  transform: translate(0.5rem, -0.5rem);
  color: var(--red-hot);
}
.footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 6.5rem;
}
.footer-info h4 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.footer-info p {
  font-size: 1.08rem;
  line-height: 1.35;
  opacity: 0.8;
}

@media (max-width: 1199px) {
  .nav,
  .header-cta { display: none; }
  .burger { display: block; }
  .hero-title { --hero-heading-size: 40px; max-width: 100%; }
}

/* ───────── планшет ───────── */
@media (max-width: 1100px) {
  .nav,
  .header-cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-scroll {
    display: none;
  }
  .hero-title {
    font-size: calc(2.3rem + 12px);
    --hero-heading-size: 40px;
    max-width: 100%;
  }
  .hero-title-line-inner {
    white-space: normal;
  }
}
@media (max-width: 1000px) {
  .section {
    padding: 5.5rem 1.8rem;
  }
  .display {
    font-size: 3.8rem;
  }
  .intro {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }
  .intro-side {
    display: none;
  }
  .intro-main .lead,
  .intro-cards {
    margin-left: 0;
  }
  .intro-main .display {
    padding-left: 0;
  }
  .master-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .master-left {
    position: static;
  }
  .portrait {
    max-width: 26rem;
  }
  .master-right .display {
    font-size: 3.3rem;
  }
  .safe-trio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .safe-trio .safe-col:nth-child(2) {
    grid-column: 1 / -1;
    order: -1;
  }
  .safe-glow {
    min-height: 26rem;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .prices-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .prices-left {
    position: static;
  }
  .prices-photo {
    aspect-ratio: 16 / 8;
  }
  .book-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .book-card {
    position: static;
  }
  .cmp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cmp-grid .cmp-item:last-child {
    grid-column: 1 / -1;
  }
  .article {
    grid-template-columns: minmax(0, 1fr);
    overflow-y: auto;
  }
  .article-img {
    min-height: 14rem;
  }
}

/* первый экран: вертикальная раскладка на планшетах и телефонах */
@media (max-width: 1000px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    padding: 5.6rem 1.6rem 1.6rem;
  }
  .hero-tag {
    display: none;
  }
  .hero-right {
    position: static;
    align-items: flex-start;
    text-align: left;
  }
  .hero-title {
    font-size: calc(2.3rem + 12px);
  }
  .hero-sub {
    margin-top: 1.4rem;
    align-items: center;
  }
  .hero-sub p {
    text-align: left;
  }
  .hero-cards {
    position: static;
    margin-top: auto;
  }
  .stat-card,
  .glass-card {
    flex: 0 1 15rem;
    width: auto;
  }
  .hero-chips {
    position: static;
    justify-content: flex-start;
    margin-top: 0.8rem;
    max-width: none;
  }
}

/* низкие окна (ноутбуки с панелями браузера) */
@media (min-width: 1001px) and (max-height: 700px) {
  .hero-title {
    font-size: calc(2.3rem + 12px);
  }
  .hero-right {
    bottom: 2.3rem;
  }
  .hero-sub {
    margin-top: 1rem;
  }
  .hero-tag {
    top: 50%;
  }
  .stat-card,
  .glass-card {
    min-height: 8.6rem;
  }
  .stat-card strong {
    font-size: 2.6rem;
  }
}

/* ───────── телефон ───────── */
@media (max-width: 768px) {
  .site-header {
    top: calc(var(--gap) + 0.4rem);
    left: calc(var(--gap) + 0.4rem);
    right: calc(var(--gap) + 0.4rem);
    padding: 0.45rem 0.45rem 0.45rem 1.1rem;
  }
  .logo {
    font-size: 1.4rem;
  }
  .round-btn {
    display: none;
  }
  .section {
    padding: 4rem 1.05rem;
  }
  .display {
    font-size: 2.55rem;
    letter-spacing: -0.055em;
  }
  .lead {
    font-size: 1.05rem;
  }
  .btn {
    min-height: var(--control-height);
  }

  /* hero */
  .hero-shade {
    background: linear-gradient(180deg,
      rgba(23, 1, 3, 0.25) 0%,
      rgba(23, 1, 3, 0.06) 25%,
      rgba(15, 2, 3, 0.2) 40%,
      rgba(15, 2, 3, 0.6) 60%,
      rgba(23, 1, 3, 0.86) 85%,
      var(--bg) 100%);
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    padding: 5.4rem 1.05rem 1.05rem;
  }
  .hero-tag {
    display: none;
  }
  .hero-right {
    position: relative;
    isolation: isolate;
    right: auto;
    bottom: auto;
    margin-top: auto;
    align-items: flex-start;
    text-align: left;
  }
  .hero-title {
    font-size: calc(2.3rem + 12px);
  }
  .hero-sub {
    flex-direction: row;
    margin-top: 1.2rem;
    align-items: center;
  }
  .hero-sub p {
    text-align: left;
    font-size: max(14px, 0.97rem);
  }
  .hero-go {
    width: var(--round-button-size);
    height: var(--round-button-size);
  }
  .hero-cards {
    position: static;
    margin-top: 1.1rem;
    gap: 0.6rem;
  }
  .stat-card,
  .glass-card {
    flex: 1 1 0;
    width: auto;
    min-height: 8.6rem;
    padding: 0.85rem;
  }
  .stat-card strong {
    font-size: 2.6rem;
  }
  .stat-card span {
    font-size: max(14px, 0.88rem);
  }
  .glass-card p {
    font-size: 1.15rem;
  }
  .hero-chips {
    position: static;
    justify-content: flex-start;
    margin-top: 0.7rem;
    max-width: none;
  }
  .chip {
    padding: var(--control-padding-block) var(--control-padding-inline);
    font-size: max(14px, 0.97rem);
  }

  /* intro */
  .intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    padding-top: 3.4rem;
  }
  .intro-gutter {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .intro-star {
    width: 2.6rem;
    height: 2.6rem;
  }
  .intro-main .lead {
    margin: 1.8rem 0 1.8rem;
  }
  .intro-cards {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: -1.05rem;
    padding-right: 1.05rem;
    scrollbar-width: none;
  }
  .intro-cards::-webkit-scrollbar {
    display: none;
  }
  .intro-cards > div {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }

  /* advantages */
  .adv-row {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    margin-top: 2.6rem;
  }
  .adv-card,
  .adv-card.is-active {
    flex: none;
    height: 24rem;
  }
  .adv-text p {
    max-height: none;
    margin-top: 0.7rem;
    opacity: 0.92;
  }
  .adv-text h3 {
    font-size: 1.75rem;
  }

  /* safety */
  .safe-trio {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2.6rem;
  }
  .safe-trio .safe-col:nth-child(2) {
    grid-column: auto;
  }
  .safe-big {
    font-size: 2rem;
  }
  .o-pill {
    width: 2.6rem;
    height: 1.2rem;
  }
  .safe-glow {
    min-height: 24rem;
    padding: 1.3rem;
  }
  .steps {
    margin-top: 3.4rem;
  }
  .step-title {
    font-size: 2.3rem;
  }
  .steps-stat {
    font-size: 3.9rem;
  }
  .steps-card {
    min-height: 24rem;
    padding: 1.5rem;
  }

  /* master */
  .master-right .display {
    font-size: 2.45rem;
  }
  .portrait {
    max-width: none;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
  .fact {
    padding: 0.9rem 0.8rem;
  }
  .fact strong {
    font-size: 1.9rem;
  }
  .fact span {
    font-size: max(14px, 0.86rem);
  }
  .blog-head {
    margin-top: 3rem;
  }
  .blog-head h3 {
    font-size: 2rem;
  }
  .post {
    grid-template-columns: minmax(0, 1fr) 2.8rem;
    grid-template-areas: "meta arrow" "title arrow" "excerpt excerpt";
    padding: 1.1rem;
  }
  .post:hover {
    padding-left: 1.1rem;
  }
  .post-meta {
    flex-direction: row;
    gap: 0.6rem;
  }
  .post-title {
    font-size: 1.5rem;
  }
  .modal-back {
    place-items: end center;
  }
  .article {
    max-height: 94svh;
  }
  .article-body {
    padding: 1.5rem 1.3rem 1.6rem;
  }
  .article-body h3 {
    font-size: 2rem;
  }

  /* prices */
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -1.05rem;
    padding-inline: 1.05rem;
    scroll-padding-inline: 1.05rem;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tab {
    flex: none;
  }
  .price-head {
    display: none;
  }
  .price-rows {
    margin-top: 1rem;
  }
  .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "main go" "time price";
    gap: 0.8rem 1rem;
    padding: 1.1rem;
  }
  .price-row:hover {
    padding-left: 1.1rem;
  }
  .pr-main {
    grid-area: main;
  }
  .pr-go {
    grid-area: go;
    align-self: start;
    justify-self: end;
  }
  .pr-time {
    grid-area: time;
    align-self: end;
    color: var(--ink-soft);
  }
  .pr-price {
    grid-area: price;
    justify-self: end;
  }
  .pr-name {
    font-size: 1.35rem;
  }
  .prices-photo {
    aspect-ratio: 16 / 9;
  }

  /* reviews */
  .reviews-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .reels {
    margin-right: -1.05rem;
    margin-left: -1.05rem;
    padding-left: 1.05rem;
    padding-right: 1.05rem;
    scroll-padding-left: 1.05rem;
  }
  .reel {
    width: 70vw;
  }
  .reels-nav {
    display: none;
  }
  .story-nav {
    display: none;
  }
  .story {
    height: 92svh;
    border-radius: 1.3rem;
  }

  /* works */
  .cmp-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2.4rem;
  }
  .gallery {
    margin-top: 5rem;
  }
  .gallery-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .gallery-head h3 {
    font-size: 2.5rem;
  }
  .gallery-grid {
    gap: 0.6rem;
  }
  .gc-1,
  .gc-2 {
    margin-top: 0;
  }

  /* booking */
  .cal,
  .book-card {
    padding: 1.2rem;
  }
  .cal-head h3,
  .book-card h3 {
    font-size: 1.8rem;
  }
  .cal-week,
  .cal-days {
    gap: 0.25rem;
  }
  .day {
    font-size: 1.05rem;
    border-radius: 0.8rem;
  }
  .slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* footer */
  .footer {
    padding: 4.5rem calc(var(--gap) + 0.5rem) 2.2rem;
  }
  .footer-kicker {
    font-size: 1.3rem;
  }
  .footer-phone {
    font-size: 11.4vw;
  }
  .footer-mail {
    font-size: 9.4vw;
    margin-top: 1rem;
  }
  .footer-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
    margin-top: 2.4rem;
  }
  .footer-ig {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 10.6vw;
    position: relative;
    padding-right: 3rem;
  }
  .footer-ig-arrow {
    position: absolute;
    right: 0;
    top: 0.2rem;
    width: 2.4rem;
    height: 2.4rem;
  }
  .footer-btns {
    width: 100%;
    flex-direction: column;
  }
  .footer-btns .btn {
    width: 100%;
    justify-content: space-between;
  }
  .footer-info {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    margin-top: 3.4rem;
  }
}

.prices-right,
.master-right,
.intro-main {
  min-width: 0;
}

@media (max-width: 1199px) {
  .gallery { --gallery-gutter: 2.4rem; }
  .gallery-grid {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gallery-gutter));
    padding-inline: var(--gallery-gutter);
    scroll-padding-inline: var(--gallery-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    user-select: none;
    touch-action: pan-x pan-y;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-grid[data-dragging="true"] { scroll-snap-type: none; }
  .gallery-grid[data-dragging="true"],
  .gallery-grid[data-dragging="true"] * { cursor: grabbing !important; }
  .gallery-cell {
    flex: 0 0 80vw;
    min-width: 0;
    margin-top: 0;
    scroll-snap-align: start;
    transform: none !important;
  }
  .gallery-card {
    height: min(70svh, 38rem);
    aspect-ratio: auto;
  }
  .gallery-card,
  .gallery-card .tcard-media,
  .gallery-card img { transform: none !important; }
  .gallery-scrollbar,
  .compare-scrollbar {
    display: block;
    position: relative;
    height: 3px;
    margin-top: 1rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(58, 7, 9, 0.12);
  }
  .gallery-scrollbar span,
  .compare-scrollbar span {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: var(--red);
  }
  .gallery-scroll-hint,
  .compare-scroll-hint {
    display: block;
    margin-top: 0.6rem;
    font-size: max(14px, 0.95rem);
    color: var(--ink-soft);
  }
}
@media (max-width: 768px) {
  .gallery { --gallery-gutter: 1.05rem; }
}

@media (min-width: 769px) and (max-width: 1000px) {
  .hero-content { --hero-column-width: 30.9rem; }
  .hero-right {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: auto;
    width: min(100%, var(--hero-column-width));
  }
  .hero-title { --hero-heading-size: 48px; }
  .hero-cards {
    margin-top: 1.1rem;
    width: min(100%, var(--hero-column-width));
  }
  .hero-shade {
    background: linear-gradient(180deg,
      rgba(23, 1, 3, 0.25) 0%,
      rgba(23, 1, 3, 0.06) 25%,
      rgba(15, 2, 3, 0.2) 40%,
      rgba(15, 2, 3, 0.6) 60%,
      rgba(23, 1, 3, 0.86) 85%,
      var(--bg) 100%);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .master-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 2rem;
  }
  .master-left {
    position: sticky;
    top: 7rem;
  }
  .portrait { max-width: none; }
  .master-right .display { font-size: 2.7rem; }
  .master-right .facts { grid-template-columns: minmax(0, 1fr); }
  .master-right .fact {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }
  .master-right .fact strong { font-size: 2.2rem; }
  .master-right .fact span { margin-top: 0; }
}

/* Центр кадра задаётся по расположению ногтей в каждом исходном снимке. */
img[src="/img/m1.jpg"] { object-position: 50% 65%; }
img[src="/img/m2.jpg"] { object-position: 50% 85%; }
img[src="/img/m3.jpg"] { object-position: 45% 65%; }
img[src="/img/m4.jpg"] { object-position: 50% 60%; }
img[src="/img/m5.jpg"] { object-position: 50% 55%; }
img[src="/img/m6.jpg"] { object-position: 50% 100%; }
img[src="/img/m7.jpg"] { object-position: 40% 70%; }
img[src="/img/p1.jpg"] { object-position: 50% 40%; }
img[src="/img/p2.jpg"] { object-position: 50% 50%; }
img[src="/img/p4.jpg"] { object-position: 50% 55%; }
img[src="/img/nude-glitter.jpg"] { object-position: 50% 60%; }
img[src="/img/pedicure-pastel.jpg"] { object-position: 55% 50%; }

@media (max-width: 1199px) {
  .works { --works-gutter: 2.4rem; }
  .cmp-grid {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--works-gutter));
    padding-inline: var(--works-gutter);
    scroll-padding-inline: var(--works-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .cmp-grid::-webkit-scrollbar { display: none; }
  .cmp-item {
    flex: 0 0 80vw;
    min-width: 0;
    scroll-snap-align: start;
    opacity: 1 !important;
    transform: none !important;
  }
  .cmp {
    height: min(70svh, 38rem);
    aspect-ratio: auto;
    touch-action: pan-x pan-y;
  }
  .cmp-knob { touch-action: none; pointer-events: auto; }
  .gallery-card .tcard-media img {
    top: 0;
    height: 100%;
  }
  .cal {
    align-self: start;
    height: auto;
    min-height: 0;
  }
  .slots-wrap {
    margin-top: 1rem;
    padding-top: 0;
  }
  .slots:empty { display: none; }
}
@media (max-width: 768px) {
  .works { --works-gutter: 1.05rem; }
}
@media (min-width: 769px) and (max-width: 1000px) {
  .gallery { --gallery-gutter: 1.8rem; }
  .works { --works-gutter: 1.8rem; }
}


/* Карточки этапов обработки */
.process-process {
  margin-top: 5rem;
}
.process-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}
.process-heading h3 {
  max-width: 24rem;
  font-size: 1.65rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.process-heading p {
  max-width: 18rem;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink-soft);
}
.process-track {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 1.2rem 0.6rem 1.5rem;
  margin-inline: -0.6rem;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x pan-y;
}
.process-track[data-dragging="true"] {
  scroll-snap-type: none;
  cursor: grabbing !important;
}
.process-track[data-dragging="true"] * {
  cursor: grabbing !important;
}
.process-track::-webkit-scrollbar { display: none; }
.process-progress {
  position: relative;
  height: 3px;
  margin-top: 0.2rem;
  border-radius: 999px;
  background: rgba(58, 7, 9, 0.12);
  overflow: hidden;
}
.process-progress span {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--red);
  border-radius: inherit;
}
.process-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 clamp(16rem, 22vw, 22rem);
  aspect-ratio: 3 / 4.2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--ink);
  color: white;
  text-align: left;
  white-space: normal;
  scroll-snap-align: center;
  transform: scale(0.96);
  transition: transform 0.65s var(--ease);
}
.process-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(35, 3, 6, 0.28), transparent 35%, rgba(35, 3, 6, 0.65) 65%, #200306 100%);
  pointer-events: none;
}
.process-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform 0.85s var(--ease);
}
.process-active {
  z-index: 2;
  transform: translateY(-0.4rem) scale(1.015);
}
.process-active .process-image {
  transform: scale(1.06);
}
.process-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.process-number {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: max(14px, 0.75rem);
  line-height: 1;
  background: rgba(35, 3, 6, 0.2);
}
.process-content {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 7rem;
}
.process-stat {
  font-size: max(14px, 0.8rem);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.8);
}
.process-title {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.045em;
}
.process-description {
  font-size: max(14px, 0.88rem);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}
.process-hint {
  margin-top: 0.4rem;
  font-size: max(14px, 0.9rem);
  color: var(--ink-soft);
}
@media (max-width: 768px) {
  .process-process { margin-top: 3rem; }
  .process-heading { align-items: flex-start; flex-direction: column; gap: 0.7rem; }
  .process-heading h3 { font-size: 1.5rem; }
  .process-card { flex-basis: 78vw; max-width: 22rem; }
  .process-title { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .process-card, .process-image { transition: none; }
}


/* Сбалансированные отступы у даты с точкой свободного дня. */
.day { padding: 6px 0; gap: calc(0.15rem + 4px); }

/* Индикатор скролла анимируется через JS, без конфликта с покадровым видео. */
.js .hero-scroll { animation: none; }

/* При перемотке 4K-видео браузер переcоздаёт видеослой. Держим текст,
   карточки и фиксированное меню в отдельных слоях поверх него. */
.site-header, .hero-content, .hero-scroll {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.site-header, .hero-content { transform: translateZ(0); }

/* backdrop-filter над перематываемым видео повторно размывал каждый кадр.
   Внешний вид стекла оставляем, но фон этих элементов больше не пересчитывается. */
.site-header { transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.site-header.is-solid {
  background: rgba(24, 2, 5, 0.92);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.glass-card {
  background: rgba(62, 48, 51, 0.82);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-chips .chip {
  background: rgba(54, 43, 46, 0.88);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-chips .chip:hover { background: #fff; }

/* Рисуем уже декодированный кадр в обычном слое. Сам video остаётся
   источником кадров, но не участвует в отрисовке поверх интерфейса. */
.hero-canvas {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../img/video/hero-enhanced-poster.jpg') center / cover no-repeat;
}
.has-hero-canvas .hero-canvas { display: block; }
.has-hero-canvas .hero-video { opacity: 0; }
.hero-ready [data-hero-fade] { animation: none; }
.select-control .service-trigger { width: 100%; min-height: var(--control-height); padding: .55rem 3.5rem .55rem 1.15rem; border-radius: var(--control-radius); background: rgba(255,255,255,.11); color: #fff; text-align: left; font-size: max(16px,1.06rem); }
.select-control .service-trigger:hover, .select-control .service-trigger:focus-visible { background: rgba(255,255,255,.18); }
.select-control:has(.service-trigger) { z-index: 5; }
.service-options:not([hidden]) { position: absolute; top: calc(100% + .35rem); left: 0; right: 0; z-index: 8; max-height: 17rem; overflow-y: auto; padding: .65rem; border-radius: 1rem; background: #3b1015; box-shadow: 0 .8rem 2rem rgba(0,0,0,.35); }
.service-options label { display: flex; align-items: center; gap: .6rem; padding: .45rem; cursor: pointer; color: #fff; }
.service-options label:hover { background: rgba(255,255,255,.12); }
.service-options input[type=checkbox] { width: 1rem; min-height: 1rem; flex: 0 0 1rem; accent-color: #fff; }
.service-options .service-group { padding: .6rem .45rem .2rem; font-size: .85rem; opacity: .65; }
